FitTrackee/fittrackee/dist/static/js/chunk-vendors.87c31c45.js
2022-06-22 18:09:20 +02:00

60 lines
522 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(self["webpackChunkfittrackee_client"]=self["webpackChunkfittrackee_client"]||[]).push([[998],{2262:function(t,e,n){"use strict";n.d(e,{BK:function(){return Ht},Bj:function(){return o},Fl:function(){return Yt},IU:function(){return Pt},Jd:function(){return k},PG:function(){return Mt},SU:function(){return Wt},Um:function(){return _t},WL:function(){return Ut},X$:function(){return C},X3:function(){return Ct},XI:function(){return It},Xl:function(){return Tt},dq:function(){return Lt},iH:function(){return Ft},j:function(){return S},lk:function(){return M},qj:function(){return xt},qq:function(){return y},yT:function(){return Ot}});var r=n(3577);let i;class o{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&i&&(this.parent=i,this.index=(i.scopes||(i.scopes=[])).push(this)-1)}run(t){if(this.active){const e=i;try{return i=this,t()}finally{i=e}}else 0}on(){i=this}off(){i=this.parent}stop(t){if(this.active){let e,n;for(e=0,n=this.effects.length;e<n;e++)this.effects[e].stop();for(e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(!0);if(this.parent&&!t){const t=this.parent.scopes.pop();t&&t!==this&&(this.parent.scopes[this.index]=t,t.index=this.index)}this.active=!1}}}function s(t,e=i){e&&e.active&&e.effects.push(t)}const a=t=>{const e=new Set(t);return e.w=0,e.n=0,e},c=t=>(t.w&p)>0,l=t=>(t.n&p)>0,u=({deps:t})=>{if(t.length)for(let e=0;e<t.length;e++)t[e].w|=p},h=t=>{const{deps:e}=t;if(e.length){let n=0;for(let r=0;r<e.length;r++){const i=e[r];c(i)&&!l(i)?i.delete(t):e[n++]=i,i.w&=~p,i.n&=~p}e.length=n}},f=new WeakMap;let d=0,p=1;const g=30;let m;const b=Symbol(""),v=Symbol("");class y{constructor(t,e=null,n){this.fn=t,this.scheduler=e,this.active=!0,this.deps=[],this.parent=void 0,s(this,n)}run(){if(!this.active)return this.fn();let t=m,e=_;while(t){if(t===this)return;t=t.parent}try{return this.parent=m,m=this,_=!0,p=1<<++d,d<=g?u(this):x(this),this.fn()}finally{d<=g&&h(this),p=1<<--d,m=this.parent,_=e,this.parent=void 0,this.deferStop&&this.stop()}}stop(){m===this?this.deferStop=!0:this.active&&(x(this),this.onStop&&this.onStop(),this.active=!1)}}function x(t){const{deps:e}=t;if(e.length){for(let n=0;n<e.length;n++)e[n].delete(t);e.length=0}}let _=!0;const w=[];function k(){w.push(_),_=!1}function M(){const t=w.pop();_=void 0===t||t}function S(t,e,n){if(_&&m){let e=f.get(t);e||f.set(t,e=new Map);let r=e.get(n);r||e.set(n,r=a());const i=void 0;O(r,i)}}function O(t,e){let n=!1;d<=g?l(t)||(t.n|=p,n=!c(t)):n=!t.has(m),n&&(t.add(m),m.deps.push(t))}function C(t,e,n,i,o,s){const c=f.get(t);if(!c)return;let l=[];if("clear"===e)l=[...c.values()];else if("length"===n&&(0,r.kJ)(t))c.forEach(((t,e)=>{("length"===e||e>=i)&&l.push(t)}));else switch(void 0!==n&&l.push(c.get(n)),e){case"add":(0,r.kJ)(t)?(0,r.S0)(n)&&l.push(c.get("length")):(l.push(c.get(b)),(0,r._N)(t)&&l.push(c.get(v)));break;case"delete":(0,r.kJ)(t)||(l.push(c.get(b)),(0,r._N)(t)&&l.push(c.get(v)));break;case"set":(0,r._N)(t)&&l.push(c.get(b));break}if(1===l.length)l[0]&&P(l[0]);else{const t=[];for(const e of l)e&&t.push(...e);P(a(t))}}function P(t,e){const n=(0,r.kJ)(t)?t:[...t];for(const r of n)r.computed&&T(r,e);for(const r of n)r.computed||T(r,e)}function T(t,e){(t!==m||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const D=(0,r.fY)("__proto__,__v_isRef,__isVue"),E=new Set(Object.getOwnPropertyNames(Symbol).filter((t=>"arguments"!==t&&"caller"!==t)).map((t=>Symbol[t])).filter(r.yk)),j=R(),A=R(!1,!0),L=R(!0),F=I();function I(){const t={};return["includes","indexOf","lastIndexOf"].forEach((e=>{t[e]=function(...t){const n=Pt(this);for(let e=0,i=this.length;e<i;e++)S(n,"get",e+"");const r=n[e](...t);return-1===r||!1===r?n[e](...t.map(Pt)):r}})),["push","pop","shift","unshift","splice"].forEach((e=>{t[e]=function(...t){k();const n=Pt(this)[e].apply(this,t);return M(),n}})),t}function R(t=!1,e=!1){return function(n,i,o){if("__v_isReactive"===i)return!t;if("__v_isReadonly"===i)return t;if("__v_isShallow"===i)return e;if("__v_raw"===i&&o===(t?e?bt:mt:e?gt:pt).get(n))return n;const s=(0,r.kJ)(n);if(!t&&s&&(0,r.RI)(F,i))return Reflect.get(F,i,o);const a=Reflect.get(n,i,o);return((0,r.yk)(i)?E.has(i):D(i))?a:(t||S(n,"get",i),e?a:Lt(a)?s&&(0,r.S0)(i)?a:a.value:(0,r.Kn)(a)?t?wt(a):xt(a):a)}}const N=z(),W=z(!0);function z(t=!1){return function(e,n,i,o){let s=e[n];if(St(s)&&Lt(s)&&!Lt(i))return!1;if(!t&&!St(i)&&(Ot(i)||(i=Pt(i),s=Pt(s)),!(0,r.kJ)(e)&&Lt(s)&&!Lt(i)))return s.value=i,!0;const a=(0,r.kJ)(e)&&(0,r.S0)(n)?Number(n)<e.length:(0,r.RI)(e,n),c=Reflect.set(e,n,i,o);return e===Pt(o)&&(a?(0,r.aU)(i,s)&&C(e,"set",n,i,s):C(e,"add",n,i)),c}}function U(t,e){const n=(0,r.RI)(t,e),i=t[e],o=Reflect.deleteProperty(t,e);return o&&n&&C(t,"delete",e,void 0,i),o}function H(t,e){const n=Reflect.has(t,e);return(0,r.yk)(e)&&E.has(e)||S(t,"has",e),n}function $(t){return S(t,"iterate",(0,r.kJ)(t)?"length":b),Reflect.ownKeys(t)}const B={get:j,set:N,deleteProperty:U,has:H,ownKeys:$},V={get:L,set(t,e){return!0},deleteProperty(t,e){return!0}},Y=(0,r.l7)({},B,{get:A,set:W}),Z=t=>t,q=t=>Reflect.getPrototypeOf(t);function X(t,e,n=!1,r=!1){t=t["__v_raw"];const i=Pt(t),o=Pt(e);n||(e!==o&&S(i,"get",e),S(i,"get",o));const{has:s}=q(i),a=r?Z:n?Et:Dt;return s.call(i,e)?a(t.get(e)):s.call(i,o)?a(t.get(o)):void(t!==i&&t.get(e))}function G(t,e=!1){const n=this["__v_raw"],r=Pt(n),i=Pt(t);return e||(t!==i&&S(r,"has",t),S(r,"has",i)),t===i?n.has(t):n.has(t)||n.has(i)}function J(t,e=!1){return t=t["__v_raw"],!e&&S(Pt(t),"iterate",b),Reflect.get(t,"size",t)}function Q(t){t=Pt(t);const e=Pt(this),n=q(e),r=n.has.call(e,t);return r||(e.add(t),C(e,"add",t,t)),this}function K(t,e){e=Pt(e);const n=Pt(this),{has:i,get:o}=q(n);let s=i.call(n,t);s||(t=Pt(t),s=i.call(n,t));const a=o.call(n,t);return n.set(t,e),s?(0,r.aU)(e,a)&&C(n,"set",t,e,a):C(n,"add",t,e),this}function tt(t){const e=Pt(this),{has:n,get:r}=q(e);let i=n.call(e,t);i||(t=Pt(t),i=n.call(e,t));const o=r?r.call(e,t):void 0,s=e.delete(t);return i&&C(e,"delete",t,void 0,o),s}function et(){const t=Pt(this),e=0!==t.size,n=void 0,r=t.clear();return e&&C(t,"clear",void 0,void 0,n),r}function nt(t,e){return function(n,r){const i=this,o=i["__v_raw"],s=Pt(o),a=e?Z:t?Et:Dt;return!t&&S(s,"iterate",b),o.forEach(((t,e)=>n.call(r,a(t),a(e),i)))}}function rt(t,e,n){return function(...i){const o=this["__v_raw"],s=Pt(o),a=(0,r._N)(s),c="entries"===t||t===Symbol.iterator&&a,l="keys"===t&&a,u=o[t](...i),h=n?Z:e?Et:Dt;return!e&&S(s,"iterate",l?v:b),{next(){const{value:t,done:e}=u.next();return e?{value:t,done:e}:{value:c?[h(t[0]),h(t[1])]:h(t),done:e}},[Symbol.iterator](){return this}}}}function it(t){return function(...e){return"delete"!==t&&this}}function ot(){const t={get(t){return X(this,t)},get size(){return J(this)},has:G,add:Q,set:K,delete:tt,clear:et,forEach:nt(!1,!1)},e={get(t){return X(this,t,!1,!0)},get size(){return J(this)},has:G,add:Q,set:K,delete:tt,clear:et,forEach:nt(!1,!0)},n={get(t){return X(this,t,!0)},get size(){return J(this,!0)},has(t){return G.call(this,t,!0)},add:it("add"),set:it("set"),delete:it("delete"),clear:it("clear"),forEach:nt(!0,!1)},r={get(t){return X(this,t,!0,!0)},get size(){return J(this,!0)},has(t){return G.call(this,t,!0)},add:it("add"),set:it("set"),delete:it("delete"),clear:it("clear"),forEach:nt(!0,!0)},i=["keys","values","entries",Symbol.iterator];return i.forEach((i=>{t[i]=rt(i,!1,!1),n[i]=rt(i,!0,!1),e[i]=rt(i,!1,!0),r[i]=rt(i,!0,!0)})),[t,n,e,r]}const[st,at,ct,lt]=ot();function ut(t,e){const n=e?t?lt:ct:t?at:st;return(e,i,o)=>"__v_isReactive"===i?!t:"__v_isReadonly"===i?t:"__v_raw"===i?e:Reflect.get((0,r.RI)(n,i)&&i in e?n:e,i,o)}const ht={get:ut(!1,!1)},ft={get:ut(!1,!0)},dt={get:ut(!0,!1)};const pt=new WeakMap,gt=new WeakMap,mt=new WeakMap,bt=new WeakMap;function vt(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function yt(t){return t["__v_skip"]||!Object.isExtensible(t)?0:vt((0,r.W7)(t))}function xt(t){return St(t)?t:kt(t,!1,B,ht,pt)}function _t(t){return kt(t,!1,Y,ft,gt)}function wt(t){return kt(t,!0,V,dt,mt)}function kt(t,e,n,i,o){if(!(0,r.Kn)(t))return t;if(t["__v_raw"]&&(!e||!t["__v_isReactive"]))return t;const s=o.get(t);if(s)return s;const a=yt(t);if(0===a)return t;const c=new Proxy(t,2===a?i:n);return o.set(t,c),c}function Mt(t){return St(t)?Mt(t["__v_raw"]):!(!t||!t["__v_isReactive"])}function St(t){return!(!t||!t["__v_isReadonly"])}function Ot(t){return!(!t||!t["__v_isShallow"])}function Ct(t){return Mt(t)||St(t)}function Pt(t){const e=t&&t["__v_raw"];return e?Pt(e):t}function Tt(t){return(0,r.Nj)(t,"__v_skip",!0),t}const Dt=t=>(0,r.Kn)(t)?xt(t):t,Et=t=>(0,r.Kn)(t)?wt(t):t;function jt(t){_&&m&&(t=Pt(t),O(t.dep||(t.dep=a())))}function At(t,e){t=Pt(t),t.dep&&P(t.dep)}function Lt(t){return!(!t||!0!==t.__v_isRef)}function Ft(t){return Rt(t,!1)}function It(t){return Rt(t,!0)}function Rt(t,e){return Lt(t)?t:new Nt(t,e)}class Nt{constructor(t,e){this.__v_isShallow=e,this.dep=void 0,this.__v_isRef=!0,this._rawValue=e?t:Pt(t),this._value=e?t:Dt(t)}get value(){return jt(this),this._value}set value(t){t=this.__v_isShallow?t:Pt(t),(0,r.aU)(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Dt(t),At(this,t))}}function Wt(t){return Lt(t)?t.value:t}const zt={get:(t,e,n)=>Wt(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const i=t[e];return Lt(i)&&!Lt(n)?(i.value=n,!0):Reflect.set(t,e,n,r)}};function Ut(t){return Mt(t)?t:new Proxy(t,zt)}function Ht(t){const e=(0,r.kJ)(t)?new Array(t.length):{};for(const n in t)e[n]=Bt(t,n);return e}class $t{constructor(t,e,n){this._object=t,this._key=e,this._defaultValue=n,this.__v_isRef=!0}get value(){const t=this._object[this._key];return void 0===t?this._defaultValue:t}set value(t){this._object[this._key]=t}}function Bt(t,e,n){const r=t[e];return Lt(r)?r:new $t(t,e,n)}class Vt{constructor(t,e,n,r){this._setter=e,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new y(t,(()=>{this._dirty||(this._dirty=!0,At(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!r,this["__v_isReadonly"]=n}get value(){const t=Pt(this);return jt(t),!t._dirty&&t._cacheable||(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Yt(t,e,n=!1){let i,o;const s=(0,r.mf)(t);s?(i=t,o=r.dG):(i=t.get,o=t.set);const a=new Vt(i,o,s||!o,n);return a}},6252:function(t,e,n){"use strict";n.d(e,{$d:function(){return s},Ah:function(){return jt},Cn:function(){return U},FN:function(){return Tn},Fl:function(){return Vn},HY:function(){return Ze},JJ:function(){return J},Jd:function(){return Et},Ko:function(){return Yt},P$:function(){return ct},Q2:function(){return $t},Q6:function(){return pt},U2:function(){return ut},Uk:function(){return bn},Us:function(){return Le},WI:function(){return Zt},Wm:function(){return dn},Y3:function(){return w},Y8:function(){return ot},YP:function(){return tt},_:function(){return fn},aZ:function(){return gt},bv:function(){return Pt},dD:function(){return z},dG:function(){return kn},f3:function(){return Q},h:function(){return Yn},iD:function(){return on},ic:function(){return Dt},j4:function(){return sn},kq:function(){return yn},lR:function(){return Ye},nK:function(){return dt},uE:function(){return vn},up:function(){return Ut},w5:function(){return H},wF:function(){return Ct},wg:function(){return Ke},wy:function(){return Rt},xv:function(){return qe}});var r=n(2262),i=n(3577);function o(t,e,n,r){let i;try{i=r?t(...r):t()}catch(o){a(o,e,n)}return i}function s(t,e,n,r){if((0,i.mf)(t)){const s=o(t,e,n,r);return s&&(0,i.tI)(s)&&s.catch((t=>{a(t,e,n)})),s}const c=[];for(let i=0;i<t.length;i++)c.push(s(t[i],e,n,r));return c}function a(t,e,n,r=!0){const i=e?e.vnode:null;if(e){let r=e.parent;const i=e.proxy,s=n;while(r){const e=r.ec;if(e)for(let n=0;n<e.length;n++)if(!1===e[n](t,i,s))return;r=r.parent}const a=e.appContext.config.errorHandler;if(a)return void o(a,null,10,[t,i,s])}c(t,n,i,r)}function c(t,e,n,r=!0){console.error(t)}let l=!1,u=!1;const h=[];let f=0;const d=[];let p=null,g=0;const m=[];let b=null,v=0;const y=Promise.resolve();let x=null,_=null;function w(t){const e=x||y;return t?e.then(this?t.bind(this):t):e}function k(t){let e=f+1,n=h.length;while(e<n){const r=e+n>>>1,i=j(h[r]);i<t?e=r+1:n=r}return e}function M(t){h.length&&h.includes(t,l&&t.allowRecurse?f+1:f)||t===_||(null==t.id?h.push(t):h.splice(k(t.id),0,t),S())}function S(){l||u||(u=!0,x=y.then(A))}function O(t){const e=h.indexOf(t);e>f&&h.splice(e,1)}function C(t,e,n,r){(0,i.kJ)(t)?n.push(...t):e&&e.includes(t,t.allowRecurse?r+1:r)||n.push(t),S()}function P(t){C(t,p,d,g)}function T(t){C(t,b,m,v)}function D(t,e=null){if(d.length){for(_=e,p=[...new Set(d)],d.length=0,g=0;g<p.length;g++)p[g]();p=null,g=0,_=null,D(t,e)}}function E(t){if(D(),m.length){const t=[...new Set(m)];if(m.length=0,b)return void b.push(...t);for(b=t,b.sort(((t,e)=>j(t)-j(e))),v=0;v<b.length;v++)b[v]();b=null,v=0}}const j=t=>null==t.id?1/0:t.id;function A(t){u=!1,l=!0,D(t),h.sort(((t,e)=>j(t)-j(e)));i.dG;try{for(f=0;f<h.length;f++){const t=h[f];t&&!1!==t.active&&o(t,null,14)}}finally{f=0,h.length=0,E(t),l=!1,x=null,(h.length||d.length||m.length)&&A(t)}}new Set;new Map;function L(t,e,...n){if(t.isUnmounted)return;const r=t.vnode.props||i.kT;let o=n;const a=e.startsWith("update:"),c=a&&e.slice(7);if(c&&c in r){const t=`${"modelValue"===c?"model":c}Modifiers`,{number:e,trim:s}=r[t]||i.kT;s&&(o=n.map((t=>t.trim()))),e&&(o=n.map(i.He))}let l;let u=r[l=(0,i.hR)(e)]||r[l=(0,i.hR)((0,i._A)(e))];!u&&a&&(u=r[l=(0,i.hR)((0,i.rs)(e))]),u&&s(u,t,6,o);const h=r[l+"Once"];if(h){if(t.emitted){if(t.emitted[l])return}else t.emitted={};t.emitted[l]=!0,s(h,t,6,o)}}function F(t,e,n=!1){const r=e.emitsCache,o=r.get(t);if(void 0!==o)return o;const s=t.emits;let a={},c=!1;if(!(0,i.mf)(t)){const r=t=>{const n=F(t,e,!0);n&&(c=!0,(0,i.l7)(a,n))};!n&&e.mixins.length&&e.mixins.forEach(r),t.extends&&r(t.extends),t.mixins&&t.mixins.forEach(r)}return s||c?((0,i.kJ)(s)?s.forEach((t=>a[t]=null)):(0,i.l7)(a,s),r.set(t,a),a):(r.set(t,null),null)}function I(t,e){return!(!t||!(0,i.F7)(e))&&(e=e.slice(2).replace(/Once$/,""),(0,i.RI)(t,e[0].toLowerCase()+e.slice(1))||(0,i.RI)(t,(0,i.rs)(e))||(0,i.RI)(t,e))}let R=null,N=null;function W(t){const e=R;return R=t,N=t&&t.type.__scopeId||null,e}function z(t){N=t}function U(){N=null}function H(t,e=R,n){if(!e)return t;if(t._n)return t;const r=(...n)=>{r._d&&nn(-1);const i=W(e),o=t(...n);return W(i),r._d&&nn(1),o};return r._n=!0,r._c=!0,r._d=!0,r}function $(t){const{type:e,vnode:n,proxy:r,withProxy:o,props:s,propsOptions:[c],slots:l,attrs:u,emit:h,render:f,renderCache:d,data:p,setupState:g,ctx:m,inheritAttrs:b}=t;let v,y;const x=W(t);try{if(4&n.shapeFlag){const t=o||r;v=xn(f.call(t,t,d,s,g,p,m)),y=u}else{const t=e;0,v=xn(t.length>1?t(s,{attrs:u,slots:l,emit:h}):t(s,null)),y=e.props?u:B(u)}}catch(w){Je.length=0,a(w,t,1),v=dn(Xe)}let _=v;if(y&&!1!==b){const t=Object.keys(y),{shapeFlag:e}=_;t.length&&7&e&&(c&&t.some(i.tR)&&(y=V(y,c)),_=mn(_,y))}return n.dirs&&(_=mn(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),v=_,W(x),v}const B=t=>{let e;for(const n in t)("class"===n||"style"===n||(0,i.F7)(n))&&((e||(e={}))[n]=t[n]);return e},V=(t,e)=>{const n={};for(const r in t)(0,i.tR)(r)&&r.slice(9)in e||(n[r]=t[r]);return n};function Y(t,e,n){const{props:r,children:i,component:o}=t,{props:s,children:a,patchFlag:c}=e,l=o.emitsOptions;if(e.dirs||e.transition)return!0;if(!(n&&c>=0))return!(!i&&!a||a&&a.$stable)||r!==s&&(r?!s||Z(r,s,l):!!s);if(1024&c)return!0;if(16&c)return r?Z(r,s,l):!!s;if(8&c){const t=e.dynamicProps;for(let e=0;e<t.length;e++){const n=t[e];if(s[n]!==r[n]&&!I(l,n))return!0}}return!1}function Z(t,e,n){const r=Object.keys(e);if(r.length!==Object.keys(t).length)return!0;for(let i=0;i<r.length;i++){const o=r[i];if(e[o]!==t[o]&&!I(n,o))return!0}return!1}function q({vnode:t,parent:e},n){while(e&&e.subTree===t)(t=e.vnode).el=n,e=e.parent}const X=t=>t.__isSuspense;function G(t,e){e&&e.pendingBranch?(0,i.kJ)(t)?e.effects.push(...t):e.effects.push(t):T(t)}function J(t,e){if(Pn){let n=Pn.provides;const r=Pn.parent&&Pn.parent.provides;r===n&&(n=Pn.provides=Object.create(r)),n[t]=e}else 0}function Q(t,e,n=!1){const r=Pn||R;if(r){const o=null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(o&&t in o)return o[t];if(arguments.length>1)return n&&(0,i.mf)(e)?e.call(r.proxy):e}else 0}const K={};function tt(t,e,n){return et(t,e,n)}function et(t,e,{immediate:n,deep:a,flush:c,onTrack:l,onTrigger:u}=i.kT){const h=Pn;let f,d,p=!1,g=!1;if((0,r.dq)(t)?(f=()=>t.value,p=(0,r.yT)(t)):(0,r.PG)(t)?(f=()=>t,a=!0):(0,i.kJ)(t)?(g=!0,p=t.some((t=>(0,r.PG)(t)||(0,r.yT)(t))),f=()=>t.map((t=>(0,r.dq)(t)?t.value:(0,r.PG)(t)?it(t):(0,i.mf)(t)?o(t,h,2):void 0))):f=(0,i.mf)(t)?e?()=>o(t,h,2):()=>{if(!h||!h.isUnmounted)return d&&d(),s(t,h,3,[m])}:i.dG,e&&a){const t=f;f=()=>it(t())}let m=t=>{d=x.onStop=()=>{o(t,h,4)}};if(Fn)return m=i.dG,e?n&&s(e,h,3,[f(),g?[]:void 0,m]):f(),i.dG;let b=g?[]:K;const v=()=>{if(x.active)if(e){const t=x.run();(a||p||(g?t.some(((t,e)=>(0,i.aU)(t,b[e]))):(0,i.aU)(t,b)))&&(d&&d(),s(e,h,3,[t,b===K?void 0:b,m]),b=t)}else x.run()};let y;v.allowRecurse=!!e,y="sync"===c?v:"post"===c?()=>Ae(v,h&&h.suspense):()=>P(v);const x=new r.qq(f,y);return e?n?v():b=x.run():"post"===c?Ae(x.run.bind(x),h&&h.suspense):x.run(),()=>{x.stop(),h&&h.scope&&(0,i.Od)(h.scope.effects,x)}}function nt(t,e,n){const r=this.proxy,o=(0,i.HD)(t)?t.includes(".")?rt(r,t):()=>r[t]:t.bind(r,r);let s;(0,i.mf)(e)?s=e:(s=e.handler,n=e);const a=Pn;Dn(this);const c=et(o,s.bind(r),n);return a?Dn(a):En(),c}function rt(t,e){const n=e.split(".");return()=>{let e=t;for(let t=0;t<n.length&&e;t++)e=e[n[t]];return e}}function it(t,e){if(!(0,i.Kn)(t)||t["__v_skip"])return t;if(e=e||new Set,e.has(t))return t;if(e.add(t),(0,r.dq)(t))it(t.value,e);else if((0,i.kJ)(t))for(let n=0;n<t.length;n++)it(t[n],e);else if((0,i.DM)(t)||(0,i._N)(t))t.forEach((t=>{it(t,e)}));else if((0,i.PO)(t))for(const n in t)it(t[n],e);return t}function ot(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Pt((()=>{t.isMounted=!0})),Et((()=>{t.isUnmounting=!0})),t}const st=[Function,Array],at={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:st,onEnter:st,onAfterEnter:st,onEnterCancelled:st,onBeforeLeave:st,onLeave:st,onAfterLeave:st,onLeaveCancelled:st,onBeforeAppear:st,onAppear:st,onAfterAppear:st,onAppearCancelled:st},setup(t,{slots:e}){const n=Tn(),i=ot();let o;return()=>{const s=e.default&&pt(e.default(),!0);if(!s||!s.length)return;let a=s[0];if(s.length>1){let t=!1;for(const e of s)if(e.type!==Xe){0,a=e,t=!0;break}}const c=(0,r.IU)(t),{mode:l}=c;if(i.isLeaving)return ht(a);const u=ft(a);if(!u)return ht(a);const h=ut(u,c,i,n);dt(u,h);const f=n.subTree,d=f&&ft(f);let p=!1;const{getTransitionKey:g}=u.type;if(g){const t=g();void 0===o?o=t:t!==o&&(o=t,p=!0)}if(d&&d.type!==Xe&&(!cn(u,d)||p)){const t=ut(d,c,i,n);if(dt(d,t),"out-in"===l)return i.isLeaving=!0,t.afterLeave=()=>{i.isLeaving=!1,n.update()},ht(a);"in-out"===l&&u.type!==Xe&&(t.delayLeave=(t,e,n)=>{const r=lt(i,d);r[String(d.key)]=d,t._leaveCb=()=>{e(),t._leaveCb=void 0,delete h.delayedLeave},h.delayedLeave=n})}return a}}},ct=at;function lt(t,e){const{leavingVNodes:n}=t;let r=n.get(e.type);return r||(r=Object.create(null),n.set(e.type,r)),r}function ut(t,e,n,r){const{appear:o,mode:a,persisted:c=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:h,onEnterCancelled:f,onBeforeLeave:d,onLeave:p,onAfterLeave:g,onLeaveCancelled:m,onBeforeAppear:b,onAppear:v,onAfterAppear:y,onAppearCancelled:x}=e,_=String(t.key),w=lt(n,t),k=(t,e)=>{t&&s(t,r,9,e)},M=(t,e)=>{const n=e[1];k(t,e),(0,i.kJ)(t)?t.every((t=>t.length<=1))&&n():t.length<=1&&n()},S={mode:a,persisted:c,beforeEnter(e){let r=l;if(!n.isMounted){if(!o)return;r=b||l}e._leaveCb&&e._leaveCb(!0);const i=w[_];i&&cn(t,i)&&i.el._leaveCb&&i.el._leaveCb(),k(r,[e])},enter(t){let e=u,r=h,i=f;if(!n.isMounted){if(!o)return;e=v||u,r=y||h,i=x||f}let s=!1;const a=t._enterCb=e=>{s||(s=!0,k(e?i:r,[t]),S.delayedLeave&&S.delayedLeave(),t._enterCb=void 0)};e?M(e,[t,a]):a()},leave(e,r){const i=String(t.key);if(e._enterCb&&e._enterCb(!0),n.isUnmounting)return r();k(d,[e]);let o=!1;const s=e._leaveCb=n=>{o||(o=!0,r(),k(n?m:g,[e]),e._leaveCb=void 0,w[i]===t&&delete w[i])};w[i]=t,p?M(p,[e,s]):s()},clone(t){return ut(t,e,n,r)}};return S}function ht(t){if(bt(t))return t=mn(t),t.children=null,t}function ft(t){return bt(t)?t.children?t.children[0]:void 0:t}function dt(t,e){6&t.shapeFlag&&t.component?dt(t.component.subTree,e):128&t.shapeFlag?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function pt(t,e=!1,n){let r=[],i=0;for(let o=0;o<t.length;o++){let s=t[o];const a=null==n?s.key:String(n)+String(null!=s.key?s.key:o);s.type===Ze?(128&s.patchFlag&&i++,r=r.concat(pt(s.children,e,a))):(e||s.type!==Xe)&&r.push(null!=a?mn(s,{key:a}):s)}if(i>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}function gt(t){return(0,i.mf)(t)?{setup:t,name:t.name}:t}const mt=t=>!!t.type.__asyncLoader;const bt=t=>t.type.__isKeepAlive;RegExp,RegExp;function vt(t,e){return(0,i.kJ)(t)?t.some((t=>vt(t,e))):(0,i.HD)(t)?t.split(",").includes(e):!!t.test&&t.test(e)}function yt(t,e){_t(t,"a",e)}function xt(t,e){_t(t,"da",e)}function _t(t,e,n=Pn){const r=t.__wdc||(t.__wdc=()=>{let e=n;while(e){if(e.isDeactivated)return;e=e.parent}return t()});if(St(e,r,n),n){let t=n.parent;while(t&&t.parent)bt(t.parent.vnode)&&wt(r,e,n,t),t=t.parent}}function wt(t,e,n,r){const o=St(e,t,r,!0);jt((()=>{(0,i.Od)(r[e],o)}),n)}function kt(t){let e=t.shapeFlag;256&e&&(e-=256),512&e&&(e-=512),t.shapeFlag=e}function Mt(t){return 128&t.shapeFlag?t.ssContent:t}function St(t,e,n=Pn,i=!1){if(n){const o=n[t]||(n[t]=[]),a=e.__weh||(e.__weh=(...i)=>{if(n.isUnmounted)return;(0,r.Jd)(),Dn(n);const o=s(e,n,t,i);return En(),(0,r.lk)(),o});return i?o.unshift(a):o.push(a),a}}const Ot=t=>(e,n=Pn)=>(!Fn||"sp"===t)&&St(t,e,n),Ct=Ot("bm"),Pt=Ot("m"),Tt=Ot("bu"),Dt=Ot("u"),Et=Ot("bum"),jt=Ot("um"),At=Ot("sp"),Lt=Ot("rtg"),Ft=Ot("rtc");function It(t,e=Pn){St("ec",t,e)}function Rt(t,e){const n=R;if(null===n)return t;const r=Hn(n)||n.proxy,o=t.dirs||(t.dirs=[]);for(let s=0;s<e.length;s++){let[t,n,a,c=i.kT]=e[s];(0,i.mf)(t)&&(t={mounted:t,updated:t}),t.deep&&it(n),o.push({dir:t,instance:r,value:n,oldValue:void 0,arg:a,modifiers:c})}return t}function Nt(t,e,n,i){const o=t.dirs,a=e&&e.dirs;for(let c=0;c<o.length;c++){const l=o[c];a&&(l.oldValue=a[c].value);let u=l.dir[i];u&&((0,r.Jd)(),s(u,n,8,[t.el,l,t,e]),(0,r.lk)())}}const Wt="components",zt="directives";function Ut(t,e){return Bt(Wt,t,!0,e)||t}const Ht=Symbol();function $t(t){return Bt(zt,t)}function Bt(t,e,n=!0,r=!1){const o=R||Pn;if(o){const n=o.type;if(t===Wt){const t=$n(n,!1);if(t&&(t===e||t===(0,i._A)(e)||t===(0,i.kC)((0,i._A)(e))))return n}const s=Vt(o[t]||n[t],e)||Vt(o.appContext[t],e);return!s&&r?n:s}}function Vt(t,e){return t&&(t[e]||t[(0,i._A)(e)]||t[(0,i.kC)((0,i._A)(e))])}function Yt(t,e,n,r){let o;const s=n&&n[r];if((0,i.kJ)(t)||(0,i.HD)(t)){o=new Array(t.length);for(let n=0,r=t.length;n<r;n++)o[n]=e(t[n],n,void 0,s&&s[n])}else if("number"===typeof t){0,o=new Array(t);for(let n=0;n<t;n++)o[n]=e(n+1,n,void 0,s&&s[n])}else if((0,i.Kn)(t))if(t[Symbol.iterator])o=Array.from(t,((t,n)=>e(t,n,void 0,s&&s[n])));else{const n=Object.keys(t);o=new Array(n.length);for(let r=0,i=n.length;r<i;r++){const i=n[r];o[r]=e(t[i],i,r,s&&s[r])}}else o=[];return n&&(n[r]=o),o}function Zt(t,e,n={},r,i){if(R.isCE||R.parent&&mt(R.parent)&&R.parent.isCE)return dn("slot","default"===e?null:{name:e},r&&r());let o=t[e];o&&o._c&&(o._d=!1),Ke();const s=o&&qt(o(n)),a=sn(Ze,{key:n.key||`_${e}`},s||(r?r():[]),s&&1===t._?64:-2);return!i&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),o&&o._c&&(o._d=!0),a}function qt(t){return t.some((t=>!an(t)||t.type!==Xe&&!(t.type===Ze&&!qt(t.children))))?t:null}const Xt=t=>t?jn(t)?Hn(t)||t.proxy:Xt(t.parent):null,Gt=(0,i.l7)(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Xt(t.parent),$root:t=>Xt(t.root),$emit:t=>t.emit,$options:t=>re(t),$forceUpdate:t=>t.f||(t.f=()=>M(t.update)),$nextTick:t=>t.n||(t.n=w.bind(t.proxy)),$watch:t=>nt.bind(t)}),Jt={get({_:t},e){const{ctx:n,setupState:o,data:s,props:a,accessCache:c,type:l,appContext:u}=t;let h;if("$"!==e[0]){const r=c[e];if(void 0!==r)switch(r){case 1:return o[e];case 2:return s[e];case 4:return n[e];case 3:return a[e]}else{if(o!==i.kT&&(0,i.RI)(o,e))return c[e]=1,o[e];if(s!==i.kT&&(0,i.RI)(s,e))return c[e]=2,s[e];if((h=t.propsOptions[0])&&(0,i.RI)(h,e))return c[e]=3,a[e];if(n!==i.kT&&(0,i.RI)(n,e))return c[e]=4,n[e];Qt&&(c[e]=0)}}const f=Gt[e];let d,p;return f?("$attrs"===e&&(0,r.j)(t,"get",e),f(t)):(d=l.__cssModules)&&(d=d[e])?d:n!==i.kT&&(0,i.RI)(n,e)?(c[e]=4,n[e]):(p=u.config.globalProperties,(0,i.RI)(p,e)?p[e]:void 0)},set({_:t},e,n){const{data:r,setupState:o,ctx:s}=t;return o!==i.kT&&(0,i.RI)(o,e)?(o[e]=n,!0):r!==i.kT&&(0,i.RI)(r,e)?(r[e]=n,!0):!(0,i.RI)(t.props,e)&&(("$"!==e[0]||!(e.slice(1)in t))&&(s[e]=n,!0))},has({_:{data:t,setupState:e,accessCache:n,ctx:r,appContext:o,propsOptions:s}},a){let c;return!!n[a]||t!==i.kT&&(0,i.RI)(t,a)||e!==i.kT&&(0,i.RI)(e,a)||(c=s[0])&&(0,i.RI)(c,a)||(0,i.RI)(r,a)||(0,i.RI)(Gt,a)||(0,i.RI)(o.config.globalProperties,a)},defineProperty(t,e,n){return null!=n.get?t._.accessCache[e]=0:(0,i.RI)(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};let Qt=!0;function Kt(t){const e=re(t),n=t.proxy,o=t.ctx;Qt=!1,e.beforeCreate&&ee(e.beforeCreate,t,"bc");const{data:s,computed:a,methods:c,watch:l,provide:u,inject:h,created:f,beforeMount:d,mounted:p,beforeUpdate:g,updated:m,activated:b,deactivated:v,beforeDestroy:y,beforeUnmount:x,destroyed:_,unmounted:w,render:k,renderTracked:M,renderTriggered:S,errorCaptured:O,serverPrefetch:C,expose:P,inheritAttrs:T,components:D,directives:E,filters:j}=e,A=null;if(h&&te(h,o,A,t.appContext.config.unwrapInjectedRef),c)for(const r in c){const t=c[r];(0,i.mf)(t)&&(o[r]=t.bind(n))}if(s){0;const e=s.call(n,n);0,(0,i.Kn)(e)&&(t.data=(0,r.qj)(e))}if(Qt=!0,a)for(const r in a){const t=a[r],e=(0,i.mf)(t)?t.bind(n,n):(0,i.mf)(t.get)?t.get.bind(n,n):i.dG;0;const s=!(0,i.mf)(t)&&(0,i.mf)(t.set)?t.set.bind(n):i.dG,c=Vn({get:e,set:s});Object.defineProperty(o,r,{enumerable:!0,configurable:!0,get:()=>c.value,set:t=>c.value=t})}if(l)for(const r in l)ne(l[r],o,n,r);if(u){const t=(0,i.mf)(u)?u.call(n):u;Reflect.ownKeys(t).forEach((e=>{J(e,t[e])}))}function L(t,e){(0,i.kJ)(e)?e.forEach((e=>t(e.bind(n)))):e&&t(e.bind(n))}if(f&&ee(f,t,"c"),L(Ct,d),L(Pt,p),L(Tt,g),L(Dt,m),L(yt,b),L(xt,v),L(It,O),L(Ft,M),L(Lt,S),L(Et,x),L(jt,w),L(At,C),(0,i.kJ)(P))if(P.length){const e=t.exposed||(t.exposed={});P.forEach((t=>{Object.defineProperty(e,t,{get:()=>n[t],set:e=>n[t]=e})}))}else t.exposed||(t.exposed={});k&&t.render===i.dG&&(t.render=k),null!=T&&(t.inheritAttrs=T),D&&(t.components=D),E&&(t.directives=E)}function te(t,e,n=i.dG,o=!1){(0,i.kJ)(t)&&(t=ce(t));for(const s in t){const n=t[s];let a;a=(0,i.Kn)(n)?"default"in n?Q(n.from||s,n.default,!0):Q(n.from||s):Q(n),(0,r.dq)(a)&&o?Object.defineProperty(e,s,{enumerable:!0,configurable:!0,get:()=>a.value,set:t=>a.value=t}):e[s]=a}}function ee(t,e,n){s((0,i.kJ)(t)?t.map((t=>t.bind(e.proxy))):t.bind(e.proxy),e,n)}function ne(t,e,n,r){const o=r.includes(".")?rt(n,r):()=>n[r];if((0,i.HD)(t)){const n=e[t];(0,i.mf)(n)&&tt(o,n)}else if((0,i.mf)(t))tt(o,t.bind(n));else if((0,i.Kn)(t))if((0,i.kJ)(t))t.forEach((t=>ne(t,e,n,r)));else{const r=(0,i.mf)(t.handler)?t.handler.bind(n):e[t.handler];(0,i.mf)(r)&&tt(o,r,t)}else 0}function re(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:i,optionsCache:o,config:{optionMergeStrategies:s}}=t.appContext,a=o.get(e);let c;return a?c=a:i.length||n||r?(c={},i.length&&i.forEach((t=>ie(c,t,s,!0))),ie(c,e,s)):c=e,o.set(e,c),c}function ie(t,e,n,r=!1){const{mixins:i,extends:o}=e;o&&ie(t,o,n,!0),i&&i.forEach((e=>ie(t,e,n,!0)));for(const s in e)if(r&&"expose"===s);else{const r=oe[s]||n&&n[s];t[s]=r?r(t[s],e[s]):e[s]}return t}const oe={data:se,props:ue,emits:ue,methods:ue,computed:ue,beforeCreate:le,created:le,beforeMount:le,mounted:le,beforeUpdate:le,updated:le,beforeDestroy:le,beforeUnmount:le,destroyed:le,unmounted:le,activated:le,deactivated:le,errorCaptured:le,serverPrefetch:le,components:ue,directives:ue,watch:he,provide:se,inject:ae};function se(t,e){return e?t?function(){return(0,i.l7)((0,i.mf)(t)?t.call(this,this):t,(0,i.mf)(e)?e.call(this,this):e)}:e:t}function ae(t,e){return ue(ce(t),ce(e))}function ce(t){if((0,i.kJ)(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function le(t,e){return t?[...new Set([].concat(t,e))]:e}function ue(t,e){return t?(0,i.l7)((0,i.l7)(Object.create(null),t),e):e}function he(t,e){if(!t)return e;if(!e)return t;const n=(0,i.l7)(Object.create(null),t);for(const r in e)n[r]=le(t[r],e[r]);return n}function fe(t,e,n,o=!1){const s={},a={};(0,i.Nj)(a,ln,1),t.propsDefaults=Object.create(null),pe(t,e,s,a);for(const r in t.propsOptions[0])r in s||(s[r]=void 0);n?t.props=o?s:(0,r.Um)(s):t.type.props?t.props=s:t.props=a,t.attrs=a}function de(t,e,n,o){const{props:s,attrs:a,vnode:{patchFlag:c}}=t,l=(0,r.IU)(s),[u]=t.propsOptions;let h=!1;if(!(o||c>0)||16&c){let r;pe(t,e,s,a)&&(h=!0);for(const o in l)e&&((0,i.RI)(e,o)||(r=(0,i.rs)(o))!==o&&(0,i.RI)(e,r))||(u?!n||void 0===n[o]&&void 0===n[r]||(s[o]=ge(u,l,o,void 0,t,!0)):delete s[o]);if(a!==l)for(const t in a)e&&(0,i.RI)(e,t)||(delete a[t],h=!0)}else if(8&c){const n=t.vnode.dynamicProps;for(let r=0;r<n.length;r++){let o=n[r];if(I(t.emitsOptions,o))continue;const c=e[o];if(u)if((0,i.RI)(a,o))c!==a[o]&&(a[o]=c,h=!0);else{const e=(0,i._A)(o);s[e]=ge(u,l,e,c,t,!1)}else c!==a[o]&&(a[o]=c,h=!0)}}h&&(0,r.X$)(t,"set","$attrs")}function pe(t,e,n,o){const[s,a]=t.propsOptions;let c,l=!1;if(e)for(let r in e){if((0,i.Gg)(r))continue;const u=e[r];let h;s&&(0,i.RI)(s,h=(0,i._A)(r))?a&&a.includes(h)?(c||(c={}))[h]=u:n[h]=u:I(t.emitsOptions,r)||r in o&&u===o[r]||(o[r]=u,l=!0)}if(a){const e=(0,r.IU)(n),o=c||i.kT;for(let r=0;r<a.length;r++){const c=a[r];n[c]=ge(s,e,c,o[c],t,!(0,i.RI)(o,c))}}return l}function ge(t,e,n,r,o,s){const a=t[n];if(null!=a){const t=(0,i.RI)(a,"default");if(t&&void 0===r){const t=a.default;if(a.type!==Function&&(0,i.mf)(t)){const{propsDefaults:i}=o;n in i?r=i[n]:(Dn(o),r=i[n]=t.call(null,e),En())}else r=t}a[0]&&(s&&!t?r=!1:!a[1]||""!==r&&r!==(0,i.rs)(n)||(r=!0))}return r}function me(t,e,n=!1){const r=e.propsCache,o=r.get(t);if(o)return o;const s=t.props,a={},c=[];let l=!1;if(!(0,i.mf)(t)){const r=t=>{l=!0;const[n,r]=me(t,e,!0);(0,i.l7)(a,n),r&&c.push(...r)};!n&&e.mixins.length&&e.mixins.forEach(r),t.extends&&r(t.extends),t.mixins&&t.mixins.forEach(r)}if(!s&&!l)return r.set(t,i.Z6),i.Z6;if((0,i.kJ)(s))for(let h=0;h<s.length;h++){0;const t=(0,i._A)(s[h]);be(t)&&(a[t]=i.kT)}else if(s){0;for(const t in s){const e=(0,i._A)(t);if(be(e)){const n=s[t],r=a[e]=(0,i.kJ)(n)||(0,i.mf)(n)?{type:n}:n;if(r){const t=xe(Boolean,r.type),n=xe(String,r.type);r[0]=t>-1,r[1]=n<0||t<n,(t>-1||(0,i.RI)(r,"default"))&&c.push(e)}}}}const u=[a,c];return r.set(t,u),u}function be(t){return"$"!==t[0]}function ve(t){const e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:null===t?"null":""}function ye(t,e){return ve(t)===ve(e)}function xe(t,e){return(0,i.kJ)(e)?e.findIndex((e=>ye(e,t))):(0,i.mf)(e)&&ye(e,t)?0:-1}const _e=t=>"_"===t[0]||"$stable"===t,we=t=>(0,i.kJ)(t)?t.map(xn):[xn(t)],ke=(t,e,n)=>{if(e._n)return e;const r=H(((...t)=>we(e(...t))),n);return r._c=!1,r},Me=(t,e,n)=>{const r=t._ctx;for(const o in t){if(_e(o))continue;const n=t[o];if((0,i.mf)(n))e[o]=ke(o,n,r);else if(null!=n){0;const t=we(n);e[o]=()=>t}}},Se=(t,e)=>{const n=we(e);t.slots.default=()=>n},Oe=(t,e)=>{if(32&t.vnode.shapeFlag){const n=e._;n?(t.slots=(0,r.IU)(e),(0,i.Nj)(e,"_",n)):Me(e,t.slots={})}else t.slots={},e&&Se(t,e);(0,i.Nj)(t.slots,ln,1)},Ce=(t,e,n)=>{const{vnode:r,slots:o}=t;let s=!0,a=i.kT;if(32&r.shapeFlag){const t=e._;t?n&&1===t?s=!1:((0,i.l7)(o,e),n||1!==t||delete o._):(s=!e.$stable,Me(e,o)),a=e}else e&&(Se(t,e),a={default:1});if(s)for(const i in o)_e(i)||i in a||delete o[i]};function Pe(){return{app:null,config:{isNativeTag:i.NO,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 Te=0;function De(t,e){return function(n,r=null){(0,i.mf)(n)||(n=Object.assign({},n)),null==r||(0,i.Kn)(r)||(r=null);const o=Pe(),s=new Set;let a=!1;const c=o.app={_uid:Te++,_component:n,_props:r,_container:null,_context:o,_instance:null,version:Zn,get config(){return o.config},set config(t){0},use(t,...e){return s.has(t)||(t&&(0,i.mf)(t.install)?(s.add(t),t.install(c,...e)):(0,i.mf)(t)&&(s.add(t),t(c,...e))),c},mixin(t){return o.mixins.includes(t)||o.mixins.push(t),c},component(t,e){return e?(o.components[t]=e,c):o.components[t]},directive(t,e){return e?(o.directives[t]=e,c):o.directives[t]},mount(i,s,l){if(!a){0;const u=dn(n,r);return u.appContext=o,s&&e?e(u,i):t(u,i,l),a=!0,c._container=i,i.__vue_app__=c,Hn(u.component)||u.component.proxy}},unmount(){a&&(t(null,c._container),delete c._container.__vue_app__)},provide(t,e){return o.provides[t]=e,c}};return c}}function Ee(t,e,n,s,a=!1){if((0,i.kJ)(t))return void t.forEach(((t,r)=>Ee(t,e&&((0,i.kJ)(e)?e[r]:e),n,s,a)));if(mt(s)&&!a)return;const c=4&s.shapeFlag?Hn(s.component)||s.component.proxy:s.el,l=a?null:c,{i:u,r:h}=t;const f=e&&e.r,d=u.refs===i.kT?u.refs={}:u.refs,p=u.setupState;if(null!=f&&f!==h&&((0,i.HD)(f)?(d[f]=null,(0,i.RI)(p,f)&&(p[f]=null)):(0,r.dq)(f)&&(f.value=null)),(0,i.mf)(h))o(h,u,12,[l,d]);else{const e=(0,i.HD)(h),o=(0,r.dq)(h);if(e||o){const r=()=>{if(t.f){const n=e?d[h]:h.value;a?(0,i.kJ)(n)&&(0,i.Od)(n,c):(0,i.kJ)(n)?n.includes(c)||n.push(c):e?(d[h]=[c],(0,i.RI)(p,h)&&(p[h]=d[h])):(h.value=[c],t.k&&(d[t.k]=h.value))}else e?(d[h]=l,(0,i.RI)(p,h)&&(p[h]=l)):o&&(h.value=l,t.k&&(d[t.k]=l))};l?(r.id=-1,Ae(r,n)):r()}else 0}}function je(){}const Ae=G;function Le(t){return Fe(t)}function Fe(t,e){je();const n=(0,i.E9)();n.__VUE__=!0;const{insert:o,remove:s,patchProp:a,createElement:c,createText:l,createComment:u,setText:h,setElementText:f,parentNode:d,nextSibling:p,setScopeId:g=i.dG,cloneNode:m,insertStaticContent:b}=t,v=(t,e,n,r=null,i=null,o=null,s=!1,a=null,c=!!e.dynamicChildren)=>{if(t===e)return;t&&!cn(t,e)&&(r=K(t),Z(t,i,o,!0),t=null),-2===e.patchFlag&&(c=!1,e.dynamicChildren=null);const{type:l,ref:u,shapeFlag:h}=e;switch(l){case qe:y(t,e,n,r);break;case Xe:x(t,e,n,r);break;case Ge:null==t&&_(e,n,r,s);break;case Ze:F(t,e,n,r,i,o,s,a,c);break;default:1&h?S(t,e,n,r,i,o,s,a,c):6&h?I(t,e,n,r,i,o,s,a,c):(64&h||128&h)&&l.process(t,e,n,r,i,o,s,a,c,et)}null!=u&&i&&Ee(u,t&&t.ref,o,e||t,!e)},y=(t,e,n,r)=>{if(null==t)o(e.el=l(e.children),n,r);else{const n=e.el=t.el;e.children!==t.children&&h(n,e.children)}},x=(t,e,n,r)=>{null==t?o(e.el=u(e.children||""),n,r):e.el=t.el},_=(t,e,n,r)=>{[t.el,t.anchor]=b(t.children,e,n,r,t.el,t.anchor)},w=({el:t,anchor:e},n,r)=>{let i;while(t&&t!==e)i=p(t),o(t,n,r),t=i;o(e,n,r)},k=({el:t,anchor:e})=>{let n;while(t&&t!==e)n=p(t),s(t),t=n;s(e)},S=(t,e,n,r,i,o,s,a,c)=>{s=s||"svg"===e.type,null==t?C(e,n,r,i,o,s,a,c):j(t,e,i,o,s,a,c)},C=(t,e,n,r,s,l,u,h)=>{let d,p;const{type:g,props:b,shapeFlag:v,transition:y,patchFlag:x,dirs:_}=t;if(t.el&&void 0!==m&&-1===x)d=t.el=m(t.el);else{if(d=t.el=c(t.type,l,b&&b.is,b),8&v?f(d,t.children):16&v&&T(t.children,d,null,r,s,l&&"foreignObject"!==g,u,h),_&&Nt(t,null,r,"created"),b){for(const e in b)"value"===e||(0,i.Gg)(e)||a(d,e,null,b[e],l,t.children,r,s,Q);"value"in b&&a(d,"value",null,b.value),(p=b.onVnodeBeforeMount)&&Mn(p,r,t)}P(d,t,t.scopeId,u,r)}_&&Nt(t,null,r,"beforeMount");const w=(!s||s&&!s.pendingBranch)&&y&&!y.persisted;w&&y.beforeEnter(d),o(d,e,n),((p=b&&b.onVnodeMounted)||w||_)&&Ae((()=>{p&&Mn(p,r,t),w&&y.enter(d),_&&Nt(t,null,r,"mounted")}),s)},P=(t,e,n,r,i)=>{if(n&&g(t,n),r)for(let o=0;o<r.length;o++)g(t,r[o]);if(i){let n=i.subTree;if(e===n){const e=i.vnode;P(t,e,e.scopeId,e.slotScopeIds,i.parent)}}},T=(t,e,n,r,i,o,s,a,c=0)=>{for(let l=c;l<t.length;l++){const c=t[l]=a?_n(t[l]):xn(t[l]);v(null,c,e,n,r,i,o,s,a)}},j=(t,e,n,r,o,s,c)=>{const l=e.el=t.el;let{patchFlag:u,dynamicChildren:h,dirs:d}=e;u|=16&t.patchFlag;const p=t.props||i.kT,g=e.props||i.kT;let m;n&&Ie(n,!1),(m=g.onVnodeBeforeUpdate)&&Mn(m,n,e,t),d&&Nt(e,t,n,"beforeUpdate"),n&&Ie(n,!0);const b=o&&"foreignObject"!==e.type;if(h?A(t.dynamicChildren,h,l,n,r,b,s):c||U(t,e,l,null,n,r,b,s,!1),u>0){if(16&u)L(l,e,p,g,n,r,o);else if(2&u&&p.class!==g.class&&a(l,"class",null,g.class,o),4&u&&a(l,"style",p.style,g.style,o),8&u){const i=e.dynamicProps;for(let e=0;e<i.length;e++){const s=i[e],c=p[s],u=g[s];u===c&&"value"!==s||a(l,s,c,u,o,t.children,n,r,Q)}}1&u&&t.children!==e.children&&f(l,e.children)}else c||null!=h||L(l,e,p,g,n,r,o);((m=g.onVnodeUpdated)||d)&&Ae((()=>{m&&Mn(m,n,e,t),d&&Nt(e,t,n,"updated")}),r)},A=(t,e,n,r,i,o,s)=>{for(let a=0;a<e.length;a++){const c=t[a],l=e[a],u=c.el&&(c.type===Ze||!cn(c,l)||70&c.shapeFlag)?d(c.el):n;v(c,l,u,null,r,i,o,s,!0)}},L=(t,e,n,r,o,s,c)=>{if(n!==r){for(const l in r){if((0,i.Gg)(l))continue;const u=r[l],h=n[l];u!==h&&"value"!==l&&a(t,l,h,u,c,e.children,o,s,Q)}if(n!==i.kT)for(const l in n)(0,i.Gg)(l)||l in r||a(t,l,n[l],null,c,e.children,o,s,Q);"value"in r&&a(t,"value",n.value,r.value)}},F=(t,e,n,r,i,s,a,c,u)=>{const h=e.el=t?t.el:l(""),f=e.anchor=t?t.anchor:l("");let{patchFlag:d,dynamicChildren:p,slotScopeIds:g}=e;g&&(c=c?c.concat(g):g),null==t?(o(h,n,r),o(f,n,r),T(e.children,n,f,i,s,a,c,u)):d>0&&64&d&&p&&t.dynamicChildren?(A(t.dynamicChildren,p,n,i,s,a,c),(null!=e.key||i&&e===i.subTree)&&Re(t,e,!0)):U(t,e,n,f,i,s,a,c,u)},I=(t,e,n,r,i,o,s,a,c)=>{e.slotScopeIds=a,null==t?512&e.shapeFlag?i.ctx.activate(e,n,r,s,c):R(e,n,r,i,o,s,c):N(t,e,c)},R=(t,e,n,r,i,o,s)=>{const a=t.component=Cn(t,r,i);if(bt(t)&&(a.ctx.renderer=et),In(a),a.asyncDep){if(i&&i.registerDep(a,W),!t.el){const t=a.subTree=dn(Xe);x(null,t,e,n)}}else W(a,t,e,n,i,o,s)},N=(t,e,n)=>{const r=e.component=t.component;if(Y(t,e,n)){if(r.asyncDep&&!r.asyncResolved)return void z(r,e,n);r.next=e,O(r.update),r.update()}else e.el=t.el,r.vnode=e},W=(t,e,n,o,s,a,c)=>{const l=()=>{if(t.isMounted){let e,{next:n,bu:r,u:o,parent:l,vnode:u}=t,h=n;0,Ie(t,!1),n?(n.el=u.el,z(t,n,c)):n=u,r&&(0,i.ir)(r),(e=n.props&&n.props.onVnodeBeforeUpdate)&&Mn(e,l,n,u),Ie(t,!0);const f=$(t);0;const p=t.subTree;t.subTree=f,v(p,f,d(p.el),K(p),t,s,a),n.el=f.el,null===h&&q(t,f.el),o&&Ae(o,s),(e=n.props&&n.props.onVnodeUpdated)&&Ae((()=>Mn(e,l,n,u)),s)}else{let r;const{el:c,props:l}=e,{bm:u,m:h,parent:f}=t,d=mt(e);if(Ie(t,!1),u&&(0,i.ir)(u),!d&&(r=l&&l.onVnodeBeforeMount)&&Mn(r,f,e),Ie(t,!0),c&&rt){const n=()=>{t.subTree=$(t),rt(c,t.subTree,t,s,null)};d?e.type.__asyncLoader().then((()=>!t.isUnmounted&&n())):n()}else{0;const r=t.subTree=$(t);0,v(null,r,n,o,t,s,a),e.el=r.el}if(h&&Ae(h,s),!d&&(r=l&&l.onVnodeMounted)){const t=e;Ae((()=>Mn(r,f,t)),s)}(256&e.shapeFlag||f&&mt(f.vnode)&&256&f.vnode.shapeFlag)&&t.a&&Ae(t.a,s),t.isMounted=!0,e=n=o=null}},u=t.effect=new r.qq(l,(()=>M(h)),t.scope),h=t.update=()=>u.run();h.id=t.uid,Ie(t,!0),h()},z=(t,e,n)=>{e.component=t;const i=t.vnode.props;t.vnode=e,t.next=null,de(t,e.props,i,n),Ce(t,e.children,n),(0,r.Jd)(),D(void 0,t.update),(0,r.lk)()},U=(t,e,n,r,i,o,s,a,c=!1)=>{const l=t&&t.children,u=t?t.shapeFlag:0,h=e.children,{patchFlag:d,shapeFlag:p}=e;if(d>0){if(128&d)return void B(l,h,n,r,i,o,s,a,c);if(256&d)return void H(l,h,n,r,i,o,s,a,c)}8&p?(16&u&&Q(l,i,o),h!==l&&f(n,h)):16&u?16&p?B(l,h,n,r,i,o,s,a,c):Q(l,i,o,!0):(8&u&&f(n,""),16&p&&T(h,n,r,i,o,s,a,c))},H=(t,e,n,r,o,s,a,c,l)=>{t=t||i.Z6,e=e||i.Z6;const u=t.length,h=e.length,f=Math.min(u,h);let d;for(d=0;d<f;d++){const r=e[d]=l?_n(e[d]):xn(e[d]);v(t[d],r,n,null,o,s,a,c,l)}u>h?Q(t,o,s,!0,!1,f):T(e,n,r,o,s,a,c,l,f)},B=(t,e,n,r,o,s,a,c,l)=>{let u=0;const h=e.length;let f=t.length-1,d=h-1;while(u<=f&&u<=d){const r=t[u],i=e[u]=l?_n(e[u]):xn(e[u]);if(!cn(r,i))break;v(r,i,n,null,o,s,a,c,l),u++}while(u<=f&&u<=d){const r=t[f],i=e[d]=l?_n(e[d]):xn(e[d]);if(!cn(r,i))break;v(r,i,n,null,o,s,a,c,l),f--,d--}if(u>f){if(u<=d){const t=d+1,i=t<h?e[t].el:r;while(u<=d)v(null,e[u]=l?_n(e[u]):xn(e[u]),n,i,o,s,a,c,l),u++}}else if(u>d)while(u<=f)Z(t[u],o,s,!0),u++;else{const p=u,g=u,m=new Map;for(u=g;u<=d;u++){const t=e[u]=l?_n(e[u]):xn(e[u]);null!=t.key&&m.set(t.key,u)}let b,y=0;const x=d-g+1;let _=!1,w=0;const k=new Array(x);for(u=0;u<x;u++)k[u]=0;for(u=p;u<=f;u++){const r=t[u];if(y>=x){Z(r,o,s,!0);continue}let i;if(null!=r.key)i=m.get(r.key);else for(b=g;b<=d;b++)if(0===k[b-g]&&cn(r,e[b])){i=b;break}void 0===i?Z(r,o,s,!0):(k[i-g]=u+1,i>=w?w=i:_=!0,v(r,e[i],n,null,o,s,a,c,l),y++)}const M=_?Ne(k):i.Z6;for(b=M.length-1,u=x-1;u>=0;u--){const t=g+u,i=e[t],f=t+1<h?e[t+1].el:r;0===k[u]?v(null,i,n,f,o,s,a,c,l):_&&(b<0||u!==M[b]?V(i,n,f,2):b--)}}},V=(t,e,n,r,i=null)=>{const{el:s,type:a,transition:c,children:l,shapeFlag:u}=t;if(6&u)return void V(t.component.subTree,e,n,r);if(128&u)return void t.suspense.move(e,n,r);if(64&u)return void a.move(t,e,n,et);if(a===Ze){o(s,e,n);for(let t=0;t<l.length;t++)V(l[t],e,n,r);return void o(t.anchor,e,n)}if(a===Ge)return void w(t,e,n);const h=2!==r&&1&u&&c;if(h)if(0===r)c.beforeEnter(s),o(s,e,n),Ae((()=>c.enter(s)),i);else{const{leave:t,delayLeave:r,afterLeave:i}=c,a=()=>o(s,e,n),l=()=>{t(s,(()=>{a(),i&&i()}))};r?r(s,a,l):l()}else o(s,e,n)},Z=(t,e,n,r=!1,i=!1)=>{const{type:o,props:s,ref:a,children:c,dynamicChildren:l,shapeFlag:u,patchFlag:h,dirs:f}=t;if(null!=a&&Ee(a,null,n,t,!0),256&u)return void e.ctx.deactivate(t);const d=1&u&&f,p=!mt(t);let g;if(p&&(g=s&&s.onVnodeBeforeUnmount)&&Mn(g,e,t),6&u)J(t.component,n,r);else{if(128&u)return void t.suspense.unmount(n,r);d&&Nt(t,null,e,"beforeUnmount"),64&u?t.type.remove(t,e,n,i,et,r):l&&(o!==Ze||h>0&&64&h)?Q(l,e,n,!1,!0):(o===Ze&&384&h||!i&&16&u)&&Q(c,e,n),r&&X(t)}(p&&(g=s&&s.onVnodeUnmounted)||d)&&Ae((()=>{g&&Mn(g,e,t),d&&Nt(t,null,e,"unmounted")}),n)},X=t=>{const{type:e,el:n,anchor:r,transition:i}=t;if(e===Ze)return void G(n,r);if(e===Ge)return void k(t);const o=()=>{s(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&t.shapeFlag&&i&&!i.persisted){const{leave:e,delayLeave:r}=i,s=()=>e(n,o);r?r(t.el,o,s):s()}else o()},G=(t,e)=>{let n;while(t!==e)n=p(t),s(t),t=n;s(e)},J=(t,e,n)=>{const{bum:r,scope:o,update:s,subTree:a,um:c}=t;r&&(0,i.ir)(r),o.stop(),s&&(s.active=!1,Z(a,t,e,n)),c&&Ae(c,e),Ae((()=>{t.isUnmounted=!0}),e),e&&e.pendingBranch&&!e.isUnmounted&&t.asyncDep&&!t.asyncResolved&&t.suspenseId===e.pendingId&&(e.deps--,0===e.deps&&e.resolve())},Q=(t,e,n,r=!1,i=!1,o=0)=>{for(let s=o;s<t.length;s++)Z(t[s],e,n,r,i)},K=t=>6&t.shapeFlag?K(t.component.subTree):128&t.shapeFlag?t.suspense.next():p(t.anchor||t.el),tt=(t,e,n)=>{null==t?e._vnode&&Z(e._vnode,null,null,!0):v(e._vnode||null,t,e,null,null,null,n),E(),e._vnode=t},et={p:v,um:Z,m:V,r:X,mt:R,mc:T,pc:U,pbc:A,n:K,o:t};let nt,rt;return e&&([nt,rt]=e(et)),{render:tt,hydrate:nt,createApp:De(tt,nt)}}function Ie({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Re(t,e,n=!1){const r=t.children,o=e.children;if((0,i.kJ)(r)&&(0,i.kJ)(o))for(let i=0;i<r.length;i++){const t=r[i];let e=o[i];1&e.shapeFlag&&!e.dynamicChildren&&((e.patchFlag<=0||32===e.patchFlag)&&(e=o[i]=_n(o[i]),e.el=t.el),n||Re(t,e))}}function Ne(t){const e=t.slice(),n=[0];let r,i,o,s,a;const c=t.length;for(r=0;r<c;r++){const c=t[r];if(0!==c){if(i=n[n.length-1],t[i]<c){e[r]=i,n.push(r);continue}o=0,s=n.length-1;while(o<s)a=o+s>>1,t[n[a]]<c?o=a+1:s=a;c<t[n[o]]&&(o>0&&(e[r]=n[o-1]),n[o]=r)}}o=n.length,s=n[o-1];while(o-- >0)n[o]=s,s=e[s];return n}const We=t=>t.__isTeleport,ze=t=>t&&(t.disabled||""===t.disabled),Ue=t=>"undefined"!==typeof SVGElement&&t instanceof SVGElement,He=(t,e)=>{const n=t&&t.to;if((0,i.HD)(n)){if(e){const t=e(n);return t}return null}return n},$e={__isTeleport:!0,process(t,e,n,r,i,o,s,a,c,l){const{mc:u,pc:h,pbc:f,o:{insert:d,querySelector:p,createText:g,createComment:m}}=l,b=ze(e.props);let{shapeFlag:v,children:y,dynamicChildren:x}=e;if(null==t){const t=e.el=g(""),l=e.anchor=g("");d(t,n,r),d(l,n,r);const h=e.target=He(e.props,p),f=e.targetAnchor=g("");h&&(d(f,h),s=s||Ue(h));const m=(t,e)=>{16&v&&u(y,t,e,i,o,s,a,c)};b?m(n,l):h&&m(h,f)}else{e.el=t.el;const r=e.anchor=t.anchor,u=e.target=t.target,d=e.targetAnchor=t.targetAnchor,g=ze(t.props),m=g?n:u,v=g?r:d;if(s=s||Ue(u),x?(f(t.dynamicChildren,x,m,i,o,s,a),Re(t,e,!0)):c||h(t,e,m,v,i,o,s,a,!1),b)g||Be(e,n,r,l,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const t=e.target=He(e.props,p);t&&Be(e,t,null,l,0)}else g&&Be(e,u,d,l,1)}},remove(t,e,n,r,{um:i,o:{remove:o}},s){const{shapeFlag:a,children:c,anchor:l,targetAnchor:u,target:h,props:f}=t;if(h&&o(u),(s||!ze(f))&&(o(l),16&a))for(let d=0;d<c.length;d++){const t=c[d];i(t,e,n,!0,!!t.dynamicChildren)}},move:Be,hydrate:Ve};function Be(t,e,n,{o:{insert:r},m:i},o=2){0===o&&r(t.targetAnchor,e,n);const{el:s,anchor:a,shapeFlag:c,children:l,props:u}=t,h=2===o;if(h&&r(s,e,n),(!h||ze(u))&&16&c)for(let f=0;f<l.length;f++)i(l[f],e,n,2);h&&r(a,e,n)}function Ve(t,e,n,r,i,o,{o:{nextSibling:s,parentNode:a,querySelector:c}},l){const u=e.target=He(e.props,c);if(u){const c=u._lpa||u.firstChild;if(16&e.shapeFlag)if(ze(e.props))e.anchor=l(s(t),e,a(t),n,r,i,o),e.targetAnchor=c;else{e.anchor=s(t);let a=c;while(a)if(a=s(a),a&&8===a.nodeType&&"teleport anchor"===a.data){e.targetAnchor=a,u._lpa=e.targetAnchor&&s(e.targetAnchor);break}l(c,e,u,n,r,i,o)}}return e.anchor&&s(e.anchor)}const Ye=$e,Ze=Symbol(void 0),qe=Symbol(void 0),Xe=Symbol(void 0),Ge=Symbol(void 0),Je=[];let Qe=null;function Ke(t=!1){Je.push(Qe=t?null:[])}function tn(){Je.pop(),Qe=Je[Je.length-1]||null}let en=1;function nn(t){en+=t}function rn(t){return t.dynamicChildren=en>0?Qe||i.Z6:null,tn(),en>0&&Qe&&Qe.push(t),t}function on(t,e,n,r,i,o){return rn(fn(t,e,n,r,i,o,!0))}function sn(t,e,n,r,i){return rn(dn(t,e,n,r,i,!0))}function an(t){return!!t&&!0===t.__v_isVNode}function cn(t,e){return t.type===e.type&&t.key===e.key}const ln="__vInternal",un=({key:t})=>null!=t?t:null,hn=({ref:t,ref_key:e,ref_for:n})=>null!=t?(0,i.HD)(t)||(0,r.dq)(t)||(0,i.mf)(t)?{i:R,r:t,k:e,f:!!n}:t:null;function fn(t,e=null,n=null,r=0,o=null,s=(t===Ze?0:1),a=!1,c=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&un(e),ref:e&&hn(e),scopeId:N,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:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null};return c?(wn(l,n),128&s&&t.normalize(l)):n&&(l.shapeFlag|=(0,i.HD)(n)?8:16),en>0&&!a&&Qe&&(l.patchFlag>0||6&s)&&32!==l.patchFlag&&Qe.push(l),l}const dn=pn;function pn(t,e=null,n=null,o=0,s=null,a=!1){if(t&&t!==Ht||(t=Xe),an(t)){const r=mn(t,e,!0);return n&&wn(r,n),en>0&&!a&&Qe&&(6&r.shapeFlag?Qe[Qe.indexOf(t)]=r:Qe.push(r)),r.patchFlag|=-2,r}if(Bn(t)&&(t=t.__vccOpts),e){e=gn(e);let{class:t,style:n}=e;t&&!(0,i.HD)(t)&&(e.class=(0,i.C_)(t)),(0,i.Kn)(n)&&((0,r.X3)(n)&&!(0,i.kJ)(n)&&(n=(0,i.l7)({},n)),e.style=(0,i.j5)(n))}const c=(0,i.HD)(t)?1:X(t)?128:We(t)?64:(0,i.Kn)(t)?4:(0,i.mf)(t)?2:0;return fn(t,e,n,o,s,c,a,!0)}function gn(t){return t?(0,r.X3)(t)||ln in t?(0,i.l7)({},t):t:null}function mn(t,e,n=!1){const{props:r,ref:o,patchFlag:s,children:a}=t,c=e?kn(r||{},e):r,l={__v_isVNode:!0,__v_skip:!0,type:t.type,props:c,key:c&&un(c),ref:e&&e.ref?n&&o?(0,i.kJ)(o)?o.concat(hn(e)):[o,hn(e)]:hn(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Ze?-1===s?16:16|s:s,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&mn(t.ssContent),ssFallback:t.ssFallback&&mn(t.ssFallback),el:t.el,anchor:t.anchor};return l}function bn(t=" ",e=0){return dn(qe,null,t,e)}function vn(t,e){const n=dn(Ge,null,t);return n.staticCount=e,n}function yn(t="",e=!1){return e?(Ke(),sn(Xe,null,t)):dn(Xe,null,t)}function xn(t){return null==t||"boolean"===typeof t?dn(Xe):(0,i.kJ)(t)?dn(Ze,null,t.slice()):"object"===typeof t?_n(t):dn(qe,null,String(t))}function _n(t){return null===t.el||t.memo?t:mn(t)}function wn(t,e){let n=0;const{shapeFlag:r}=t;if(null==e)e=null;else if((0,i.kJ)(e))n=16;else if("object"===typeof e){if(65&r){const n=e.default;return void(n&&(n._c&&(n._d=!1),wn(t,n()),n._c&&(n._d=!0)))}{n=32;const r=e._;r||ln in e?3===r&&R&&(1===R.slots._?e._=1:(e._=2,t.patchFlag|=1024)):e._ctx=R}}else(0,i.mf)(e)?(e={default:e,_ctx:R},n=32):(e=String(e),64&r?(n=16,e=[bn(e)]):n=8);t.children=e,t.shapeFlag|=n}function kn(...t){const e={};for(let n=0;n<t.length;n++){const r=t[n];for(const t in r)if("class"===t)e.class!==r.class&&(e.class=(0,i.C_)([e.class,r.class]));else if("style"===t)e.style=(0,i.j5)([e.style,r.style]);else if((0,i.F7)(t)){const n=e[t],o=r[t];!o||n===o||(0,i.kJ)(n)&&n.includes(o)||(e[t]=n?[].concat(n,o):o)}else""!==t&&(e[t]=r[t])}return e}function Mn(t,e,n,r=null){s(t,e,7,[n,r])}const Sn=Pe();let On=0;function Cn(t,e,n){const o=t.type,s=(e?e.appContext:t.appContext)||Sn,a={uid:On++,vnode:t,type:o,parent:e,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new r.Bj(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:me(o,s),emitsOptions:F(o,s),emit:null,emitted:null,propsDefaults:i.kT,inheritAttrs:o.inheritAttrs,ctx:i.kT,data:i.kT,props:i.kT,attrs:i.kT,slots:i.kT,refs:i.kT,setupState:i.kT,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=e?e.root:a,a.emit=L.bind(null,a),t.ce&&t.ce(a),a}let Pn=null;const Tn=()=>Pn||R,Dn=t=>{Pn=t,t.scope.on()},En=()=>{Pn&&Pn.scope.off(),Pn=null};function jn(t){return 4&t.vnode.shapeFlag}let An,Ln,Fn=!1;function In(t,e=!1){Fn=e;const{props:n,children:r}=t.vnode,i=jn(t);fe(t,n,i,e),Oe(t,r);const o=i?Rn(t,e):void 0;return Fn=!1,o}function Rn(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=(0,r.Xl)(new Proxy(t.ctx,Jt));const{setup:s}=n;if(s){const n=t.setupContext=s.length>1?Un(t):null;Dn(t),(0,r.Jd)();const c=o(s,t,0,[t.props,n]);if((0,r.lk)(),En(),(0,i.tI)(c)){if(c.then(En,En),e)return c.then((n=>{Nn(t,n,e)})).catch((e=>{a(e,t,0)}));t.asyncDep=c}else Nn(t,c,e)}else Wn(t,e)}function Nn(t,e,n){(0,i.mf)(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:(0,i.Kn)(e)&&(t.setupState=(0,r.WL)(e)),Wn(t,n)}function Wn(t,e,n){const o=t.type;if(!t.render){if(!e&&An&&!o.render){const e=o.template;if(e){0;const{isCustomElement:n,compilerOptions:r}=t.appContext.config,{delimiters:s,compilerOptions:a}=o,c=(0,i.l7)((0,i.l7)({isCustomElement:n,delimiters:s},r),a);o.render=An(e,c)}}t.render=o.render||i.dG,Ln&&Ln(t)}Dn(t),(0,r.Jd)(),Kt(t),(0,r.lk)(),En()}function zn(t){return new Proxy(t.attrs,{get(e,n){return(0,r.j)(t,"get","$attrs"),e[n]}})}function Un(t){const e=e=>{t.exposed=e||{}};let n;return{get attrs(){return n||(n=zn(t))},slots:t.slots,emit:t.emit,expose:e}}function Hn(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy((0,r.WL)((0,r.Xl)(t.exposed)),{get(e,n){return n in e?e[n]:n in Gt?Gt[n](t):void 0}}))}function $n(t,e=!0){return(0,i.mf)(t)?t.displayName||t.name:t.name||e&&t.__name}function Bn(t){return(0,i.mf)(t)&&"__vccOpts"in t}const Vn=(t,e)=>(0,r.Fl)(t,e,Fn);function Yn(t,e,n){const r=arguments.length;return 2===r?(0,i.Kn)(e)&&!(0,i.kJ)(e)?an(e)?dn(t,null,[e]):dn(t,e):dn(t,null,e):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&an(n)&&(n=[n]),dn(t,e,n))}Symbol("");const Zn="3.2.37"},9963:function(t,e,n){"use strict";n.d(e,{D2:function(){return bt},YZ:function(){return ut},bM:function(){return st},iM:function(){return gt},nr:function(){return nt},ri:function(){return wt},sY:function(){return _t}});var r=n(3577),i=n(6252);n(2262);const o="http://www.w3.org/2000/svg",s="undefined"!==typeof document?document:null,a=s&&s.createElement("template"),c={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const i=e?s.createElementNS(o,t):s.createElement(t,n?{is:n}:void 0);return"select"===t&&r&&null!=r.multiple&&i.setAttribute("multiple",r.multiple),i},createText:t=>s.createTextNode(t),createComment:t=>s.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>s.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},cloneNode(t){const e=t.cloneNode(!0);return"_value"in t&&(e._value=t._value),e},insertStaticContent(t,e,n,r,i,o){const s=n?n.previousSibling:e.lastChild;if(i&&(i===o||i.nextSibling)){while(1)if(e.insertBefore(i.cloneNode(!0),n),i===o||!(i=i.nextSibling))break}else{a.innerHTML=r?`<svg>${t}</svg>`:t;const i=a.content;if(r){const t=i.firstChild;while(t.firstChild)i.appendChild(t.firstChild);i.removeChild(t)}e.insertBefore(i,n)}return[s?s.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}};function l(t,e,n){const r=t._vtc;r&&(e=(e?[e,...r]:[...r]).join(" ")),null==e?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}function u(t,e,n){const i=t.style,o=(0,r.HD)(n);if(n&&!o){for(const t in n)f(i,t,n[t]);if(e&&!(0,r.HD)(e))for(const t in e)null==n[t]&&f(i,t,"")}else{const r=i.display;o?e!==n&&(i.cssText=n):e&&t.removeAttribute("style"),"_vod"in t&&(i.display=r)}}const h=/\s*!important$/;function f(t,e,n){if((0,r.kJ)(n))n.forEach((n=>f(t,e,n)));else if(null==n&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const i=g(t,e);h.test(n)?t.setProperty((0,r.rs)(i),n.replace(h,""),"important"):t[i]=n}}const d=["Webkit","Moz","ms"],p={};function g(t,e){const n=p[e];if(n)return n;let i=(0,r._A)(e);if("filter"!==i&&i in t)return p[e]=i;i=(0,r.kC)(i);for(let r=0;r<d.length;r++){const n=d[r]+i;if(n in t)return p[e]=n}return e}const m="http://www.w3.org/1999/xlink";function b(t,e,n,i,o){if(i&&e.startsWith("xlink:"))null==n?t.removeAttributeNS(m,e.slice(6,e.length)):t.setAttributeNS(m,e,n);else{const i=(0,r.Pq)(e);null==n||i&&!(0,r.yA)(n)?t.removeAttribute(e):t.setAttribute(e,i?"":n)}}function v(t,e,n,i,o,s,a){if("innerHTML"===e||"textContent"===e)return i&&a(i,o,s),void(t[e]=null==n?"":n);if("value"===e&&"PROGRESS"!==t.tagName&&!t.tagName.includes("-")){t._value=n;const r=null==n?"":n;return t.value===r&&"OPTION"!==t.tagName||(t.value=r),void(null==n&&t.removeAttribute(e))}let c=!1;if(""===n||null==n){const i=typeof t[e];"boolean"===i?n=(0,r.yA)(n):null==n&&"string"===i?(n="",c=!0):"number"===i&&(n=0,c=!0)}try{t[e]=n}catch(l){0}c&&t.removeAttribute(e)}const[y,x]=(()=>{let t=Date.now,e=!1;if("undefined"!==typeof window){Date.now()>document.createEvent("Event").timeStamp&&(t=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);e=!!(n&&Number(n[1])<=53)}return[t,e]})();let _=0;const w=Promise.resolve(),k=()=>{_=0},M=()=>_||(w.then(k),_=y());function S(t,e,n,r){t.addEventListener(e,n,r)}function O(t,e,n,r){t.removeEventListener(e,n,r)}function C(t,e,n,r,i=null){const o=t._vei||(t._vei={}),s=o[e];if(r&&s)s.value=r;else{const[n,a]=T(e);if(r){const s=o[e]=D(r,i);S(t,n,s,a)}else s&&(O(t,n,s,a),o[e]=void 0)}}const P=/(?:Once|Passive|Capture)$/;function T(t){let e;if(P.test(t)){let n;e={};while(n=t.match(P))t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[(0,r.rs)(t.slice(2)),e]}function D(t,e){const n=t=>{const r=t.timeStamp||y();(x||r>=n.attached-1)&&(0,i.$d)(E(t,n.value),e,5,[t])};return n.value=t,n.attached=M(),n}function E(t,e){if((0,r.kJ)(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map((t=>e=>!e._stopped&&t&&t(e)))}return e}const j=/^on[a-z]/,A=(t,e,n,i,o=!1,s,a,c,h)=>{"class"===e?l(t,i,o):"style"===e?u(t,n,i):(0,r.F7)(e)?(0,r.tR)(e)||C(t,e,n,i,a):("."===e[0]?(e=e.slice(1),1):"^"===e[0]?(e=e.slice(1),0):L(t,e,i,o))?v(t,e,i,s,a,c,h):("true-value"===e?t._trueValue=i:"false-value"===e&&(t._falseValue=i),b(t,e,i,o))};function L(t,e,n,i){return i?"innerHTML"===e||"textContent"===e||!!(e in t&&j.test(e)&&(0,r.mf)(n)):"spellcheck"!==e&&"draggable"!==e&&"translate"!==e&&("form"!==e&&(("list"!==e||"INPUT"!==t.tagName)&&(("type"!==e||"TEXTAREA"!==t.tagName)&&((!j.test(e)||!(0,r.HD)(n))&&e in t))))}"undefined"!==typeof HTMLElement&&HTMLElement;const F="transition",I="animation",R=(t,{slots:e})=>(0,i.h)(i.P$,U(t),e);R.displayName="Transition";const N={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},W=(R.props=(0,r.l7)({},i.P$.props,N),(t,e=[])=>{(0,r.kJ)(t)?t.forEach((t=>t(...e))):t&&t(...e)}),z=t=>!!t&&((0,r.kJ)(t)?t.some((t=>t.length>1)):t.length>1);function U(t){const e={};for(const r in t)r in N||(e[r]=t[r]);if(!1===t.css)return e;const{name:n="v",type:i,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:c=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:u=a,appearToClass:h=c,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=t,g=H(o),m=g&&g[0],b=g&&g[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:x,onLeave:_,onLeaveCancelled:w,onBeforeAppear:k=v,onAppear:M=y,onAppearCancelled:S=x}=e,O=(t,e,n)=>{V(t,e?h:c),V(t,e?u:a),n&&n()},C=(t,e)=>{t._isLeaving=!1,V(t,f),V(t,p),V(t,d),e&&e()},P=t=>(e,n)=>{const r=t?M:y,o=()=>O(e,t,n);W(r,[e,o]),Y((()=>{V(e,t?l:s),B(e,t?h:c),z(r)||q(e,i,m,o)}))};return(0,r.l7)(e,{onBeforeEnter(t){W(v,[t]),B(t,s),B(t,a)},onBeforeAppear(t){W(k,[t]),B(t,l),B(t,u)},onEnter:P(!1),onAppear:P(!0),onLeave(t,e){t._isLeaving=!0;const n=()=>C(t,e);B(t,f),Q(),B(t,d),Y((()=>{t._isLeaving&&(V(t,f),B(t,p),z(_)||q(t,i,b,n))})),W(_,[t,n])},onEnterCancelled(t){O(t,!1),W(x,[t])},onAppearCancelled(t){O(t,!0),W(S,[t])},onLeaveCancelled(t){C(t),W(w,[t])}})}function H(t){if(null==t)return null;if((0,r.Kn)(t))return[$(t.enter),$(t.leave)];{const e=$(t);return[e,e]}}function $(t){const e=(0,r.He)(t);return e}function B(t,e){e.split(/\s+/).forEach((e=>e&&t.classList.add(e))),(t._vtc||(t._vtc=new Set)).add(e)}function V(t,e){e.split(/\s+/).forEach((e=>e&&t.classList.remove(e)));const{_vtc:n}=t;n&&(n.delete(e),n.size||(t._vtc=void 0))}function Y(t){requestAnimationFrame((()=>{requestAnimationFrame(t)}))}let Z=0;function q(t,e,n,r){const i=t._endId=++Z,o=()=>{i===t._endId&&r()};if(n)return setTimeout(o,n);const{type:s,timeout:a,propCount:c}=X(t,e);if(!s)return r();const l=s+"end";let u=0;const h=()=>{t.removeEventListener(l,f),o()},f=e=>{e.target===t&&++u>=c&&h()};setTimeout((()=>{u<c&&h()}),a+1),t.addEventListener(l,f)}function X(t,e){const n=window.getComputedStyle(t),r=t=>(n[t]||"").split(", "),i=r(F+"Delay"),o=r(F+"Duration"),s=G(i,o),a=r(I+"Delay"),c=r(I+"Duration"),l=G(a,c);let u=null,h=0,f=0;e===F?s>0&&(u=F,h=s,f=o.length):e===I?l>0&&(u=I,h=l,f=c.length):(h=Math.max(s,l),u=h>0?s>l?F:I:null,f=u?u===F?o.length:c.length:0);const d=u===F&&/\b(transform|all)(,|$)/.test(n[F+"Property"]);return{type:u,timeout:h,propCount:f,hasTransform:d}}function G(t,e){while(t.length<e.length)t=t.concat(t);return Math.max(...e.map(((e,n)=>J(e)+J(t[n]))))}function J(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function Q(){return document.body.offsetHeight}new WeakMap,new WeakMap;const K=t=>{const e=t.props["onUpdate:modelValue"]||!1;return(0,r.kJ)(e)?t=>(0,r.ir)(e,t):e};function tt(t){t.target.composing=!0}function et(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const nt={created(t,{modifiers:{lazy:e,trim:n,number:i}},o){t._assign=K(o);const s=i||o.props&&"number"===o.props.type;S(t,e?"change":"input",(e=>{if(e.target.composing)return;let i=t.value;n&&(i=i.trim()),s&&(i=(0,r.He)(i)),t._assign(i)})),n&&S(t,"change",(()=>{t.value=t.value.trim()})),e||(S(t,"compositionstart",tt),S(t,"compositionend",et),S(t,"change",et))},mounted(t,{value:e}){t.value=null==e?"":e},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:i,number:o}},s){if(t._assign=K(s),t.composing)return;if(document.activeElement===t&&"range"!==t.type){if(n)return;if(i&&t.value.trim()===e)return;if((o||"number"===t.type)&&(0,r.He)(t.value)===e)return}const a=null==e?"":e;t.value!==a&&(t.value=a)}},rt={deep:!0,created(t,e,n){t._assign=K(n),S(t,"change",(()=>{const e=t._modelValue,n=ct(t),i=t.checked,o=t._assign;if((0,r.kJ)(e)){const t=(0,r.hq)(e,n),s=-1!==t;if(i&&!s)o(e.concat(n));else if(!i&&s){const n=[...e];n.splice(t,1),o(n)}}else if((0,r.DM)(e)){const t=new Set(e);i?t.add(n):t.delete(n),o(t)}else o(lt(t,i))}))},mounted:it,beforeUpdate(t,e,n){t._assign=K(n),it(t,e,n)}};function it(t,{value:e,oldValue:n},i){t._modelValue=e,(0,r.kJ)(e)?t.checked=(0,r.hq)(e,i.props.value)>-1:(0,r.DM)(e)?t.checked=e.has(i.props.value):e!==n&&(t.checked=(0,r.WV)(e,lt(t,!0)))}const ot={created(t,{value:e},n){t.checked=(0,r.WV)(e,n.props.value),t._assign=K(n),S(t,"change",(()=>{t._assign(ct(t))}))},beforeUpdate(t,{value:e,oldValue:n},i){t._assign=K(i),e!==n&&(t.checked=(0,r.WV)(e,i.props.value))}},st={deep:!0,created(t,{value:e,modifiers:{number:n}},i){const o=(0,r.DM)(e);S(t,"change",(()=>{const e=Array.prototype.filter.call(t.options,(t=>t.selected)).map((t=>n?(0,r.He)(ct(t)):ct(t)));t._assign(t.multiple?o?new Set(e):e:e[0])})),t._assign=K(i)},mounted(t,{value:e}){at(t,e)},beforeUpdate(t,e,n){t._assign=K(n)},updated(t,{value:e}){at(t,e)}};function at(t,e){const n=t.multiple;if(!n||(0,r.kJ)(e)||(0,r.DM)(e)){for(let i=0,o=t.options.length;i<o;i++){const o=t.options[i],s=ct(o);if(n)(0,r.kJ)(e)?o.selected=(0,r.hq)(e,s)>-1:o.selected=e.has(s);else if((0,r.WV)(ct(o),e))return void(t.selectedIndex!==i&&(t.selectedIndex=i))}n||-1===t.selectedIndex||(t.selectedIndex=-1)}}function ct(t){return"_value"in t?t._value:t.value}function lt(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const ut={created(t,e,n){ft(t,e,n,null,"created")},mounted(t,e,n){ft(t,e,n,null,"mounted")},beforeUpdate(t,e,n,r){ft(t,e,n,r,"beforeUpdate")},updated(t,e,n,r){ft(t,e,n,r,"updated")}};function ht(t,e){switch(t){case"SELECT":return st;case"TEXTAREA":return nt;default:switch(e){case"checkbox":return rt;case"radio":return ot;default:return nt}}}function ft(t,e,n,r,i){const o=ht(t.tagName,n.props&&n.props.type),s=o[i];s&&s(t,e,n,r)}const dt=["ctrl","shift","alt","meta"],pt={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&0!==t.button,middle:t=>"button"in t&&1!==t.button,right:t=>"button"in t&&2!==t.button,exact:(t,e)=>dt.some((n=>t[`${n}Key`]&&!e.includes(n)))},gt=(t,e)=>(n,...r)=>{for(let t=0;t<e.length;t++){const r=pt[e[t]];if(r&&r(n,e))return}return t(n,...r)},mt={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},bt=(t,e)=>n=>{if(!("key"in n))return;const i=(0,r.rs)(n.key);return e.some((t=>t===i||mt[t]===i))?t(n):void 0};const vt=(0,r.l7)({patchProp:A},c);let yt;function xt(){return yt||(yt=(0,i.Us)(vt))}const _t=(...t)=>{xt().render(...t)},wt=(...t)=>{const e=xt().createApp(...t);const{mount:n}=e;return e.mount=t=>{const i=kt(t);if(!i)return;const o=e._component;(0,r.mf)(o)||o.render||o.template||(o.template=i.innerHTML),i.innerHTML="";const s=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),s},e};function kt(t){if((0,r.HD)(t)){const e=document.querySelector(t);return e}return t}},3577:function(t,e,n){"use strict";function r(t,e){const n=Object.create(null),r=t.split(",");for(let i=0;i<r.length;i++)n[r[i]]=!0;return e?t=>!!n[t.toLowerCase()]:t=>!!n[t]}n.d(e,{C_:function(){return d},DM:function(){return j},E9:function(){return rt},F7:function(){return M},Gg:function(){return B},HD:function(){return F},He:function(){return et},Kn:function(){return R},NO:function(){return w},Nj:function(){return tt},Od:function(){return C},PO:function(){return H},Pq:function(){return a},RI:function(){return T},S0:function(){return $},W7:function(){return U},WV:function(){return g},Z6:function(){return x},_A:function(){return Z},_N:function(){return E},aU:function(){return Q},dG:function(){return _},e1:function(){return o},fY:function(){return r},hR:function(){return J},hq:function(){return m},ir:function(){return K},j5:function(){return l},kC:function(){return G},kJ:function(){return D},kT:function(){return y},l7:function(){return O},mf:function(){return L},rs:function(){return X},tI:function(){return N},tR:function(){return S},yA:function(){return c},yk:function(){return I},zw:function(){return b}});const i="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt",o=r(i);const s="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",a=r(s);function c(t){return!!t||""===t}function l(t){if(D(t)){const e={};for(let n=0;n<t.length;n++){const r=t[n],i=F(r)?f(r):l(r);if(i)for(const t in i)e[t]=i[t]}return e}return F(t)||R(t)?t:void 0}const u=/;(?![^(]*\))/g,h=/:(.+)/;function f(t){const e={};return t.split(u).forEach((t=>{if(t){const n=t.split(h);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}function d(t){let e="";if(F(t))e=t;else if(D(t))for(let n=0;n<t.length;n++){const r=d(t[n]);r&&(e+=r+" ")}else if(R(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}function p(t,e){if(t.length!==e.length)return!1;let n=!0;for(let r=0;n&&r<t.length;r++)n=g(t[r],e[r]);return n}function g(t,e){if(t===e)return!0;let n=A(t),r=A(e);if(n||r)return!(!n||!r)&&t.getTime()===e.getTime();if(n=I(t),r=I(e),n||r)return t===e;if(n=D(t),r=D(e),n||r)return!(!n||!r)&&p(t,e);if(n=R(t),r=R(e),n||r){if(!n||!r)return!1;const i=Object.keys(t).length,o=Object.keys(e).length;if(i!==o)return!1;for(const n in t){const r=t.hasOwnProperty(n),i=e.hasOwnProperty(n);if(r&&!i||!r&&i||!g(t[n],e[n]))return!1}}return String(t)===String(e)}function m(t,e){return t.findIndex((t=>g(t,e)))}const b=t=>F(t)?t:null==t?"":D(t)||R(t)&&(t.toString===W||!L(t.toString))?JSON.stringify(t,v,2):String(t),v=(t,e)=>e&&e.__v_isRef?v(t,e.value):E(e)?{[`Map(${e.size})`]:[...e.entries()].reduce(((t,[e,n])=>(t[`${e} =>`]=n,t)),{})}:j(e)?{[`Set(${e.size})`]:[...e.values()]}:!R(e)||D(e)||H(e)?e:String(e),y={},x=[],_=()=>{},w=()=>!1,k=/^on[^a-z]/,M=t=>k.test(t),S=t=>t.startsWith("onUpdate:"),O=Object.assign,C=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},P=Object.prototype.hasOwnProperty,T=(t,e)=>P.call(t,e),D=Array.isArray,E=t=>"[object Map]"===z(t),j=t=>"[object Set]"===z(t),A=t=>"[object Date]"===z(t),L=t=>"function"===typeof t,F=t=>"string"===typeof t,I=t=>"symbol"===typeof t,R=t=>null!==t&&"object"===typeof t,N=t=>R(t)&&L(t.then)&&L(t.catch),W=Object.prototype.toString,z=t=>W.call(t),U=t=>z(t).slice(8,-1),H=t=>"[object Object]"===z(t),$=t=>F(t)&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,B=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),V=t=>{const e=Object.create(null);return n=>{const r=e[n];return r||(e[n]=t(n))}},Y=/-(\w)/g,Z=V((t=>t.replace(Y,((t,e)=>e?e.toUpperCase():"")))),q=/\B([A-Z])/g,X=V((t=>t.replace(q,"-$1").toLowerCase())),G=V((t=>t.charAt(0).toUpperCase()+t.slice(1))),J=V((t=>t?`on${G(t)}`:"")),Q=(t,e)=>!Object.is(t,e),K=(t,e)=>{for(let n=0;n<t.length;n++)t[n](e)},tt=(t,e,n)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},et=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let nt;const rt=()=>nt||(nt="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{})},3257:function(t,e,n){"use strict";n.d(e,{tu:function(){return It},Mu:function(){return I}});const r=t=>0===Object.keys(t).length,i=(t,e)=>t.push.apply(t,e),o=(t,e)=>{const n=t.split("");return n.map((t=>e[t]||t)).join("")},s=t=>t.sort(((t,e)=>t.i-e.i||t.j-e.j)),a=t=>{const e={};let n=1;return t.forEach((t=>{e[t]=n,n+=1})),e};var c={4:[[1,2],[2,3]],5:[[1,3],[2,3]],6:[[1,2],[2,4],[4,5]],7:[[1,3],[2,3],[4,5],[4,6]],8:[[2,4],[4,6]]};const l=2050,u=1e3,h=c,f=10,d=1e4,p=10,g=50,m=20,b=/^[A-Z\xbf-\xdf][^A-Z\xbf-\xdf]+$/,v=/^[^A-Z\xbf-\xdf]+[A-Z\xbf-\xdf]$/,y=/^[A-Z\xbf-\xdf]+$/,x=/^[^a-z\xdf-\xff]+$/,_=/^[a-z\xdf-\xff]+$/,w=/^[^A-Z\xbf-\xdf]+$/,k=/[a-z\xdf-\xff]/,M=/[A-Z\xbf-\xdf]/,S=/[^A-Za-z\xbf-\xdf]/gi,O=/^\d+$/,C=(new Date).getFullYear(),P={recentYear:/19\d\d|200\d|201\d|202\d/g};class T{match({password:t}){const e=[...this.getMatchesWithoutSeparator(t),...this.getMatchesWithSeparator(t)],n=this.filterNoise(e);return s(n)}getMatchesWithSeparator(t){const e=[],n=/^(\d{1,4})([\s/\\_.-])(\d{1,2})\2(\d{1,4})$/;for(let r=0;r<=Math.abs(t.length-6);r+=1)for(let i=r+5;i<=r+9;i+=1){if(i>=t.length)break;const o=t.slice(r,+i+1||9e9),s=n.exec(o);if(null!=s){const t=this.mapIntegersToDayMonthYear([parseInt(s[1],10),parseInt(s[3],10),parseInt(s[4],10)]);null!=t&&e.push({pattern:"date",token:o,i:r,j:i,separator:s[2],year:t.year,month:t.month,day:t.day})}}return e}getMatchesWithoutSeparator(t){const e=[],n=/^\d{4,8}$/,r=t=>Math.abs(t.year-C);for(let i=0;i<=Math.abs(t.length-4);i+=1)for(let o=i+3;o<=i+7;o+=1){if(o>=t.length)break;const s=t.slice(i,+o+1||9e9);if(n.exec(s)){const t=[],n=s.length,a=h[n];if(a.forEach((([e,n])=>{const r=this.mapIntegersToDayMonthYear([parseInt(s.slice(0,e),10),parseInt(s.slice(e,n),10),parseInt(s.slice(n),10)]);null!=r&&t.push(r)})),t.length>0){let n=t[0],a=r(t[0]);t.slice(1).forEach((t=>{const e=r(t);e<a&&(n=t,a=e)})),e.push({pattern:"date",token:s,i:i,j:o,separator:"",year:n.year,month:n.month,day:n.day})}}}return e}filterNoise(t){return t.filter((e=>{let n=!1;const r=t.length;for(let i=0;i<r;i+=1){const r=t[i];if(e!==r&&r.i<=e.i&&r.j>=e.j){n=!0;break}}return!n}))}mapIntegersToDayMonthYear(t){if(t[1]>31||t[1]<=0)return null;let e=0,n=0,r=0;for(let i=0,o=t.length;i<o;i+=1){const o=t[i];if(o>99&&o<u||o>l)return null;o>31&&(n+=1),o>12&&(e+=1),o<=0&&(r+=1)}return n>=2||3===e||r>=2?null:this.getDayMonth(t)}getDayMonth(t){const e=[[t[2],t.slice(0,2)],[t[0],t.slice(1,3)]],n=e.length;for(let r=0;r<n;r+=1){const[t,n]=e[r];if(u<=t&&t<=l){const e=this.mapIntegersToDayMonth(n);return null!=e?{year:t,month:e.month,day:e.day}:null}}for(let r=0;r<n;r+=1){const[t,n]=e[r],i=this.mapIntegersToDayMonth(n);if(null!=i)return{year:this.twoToFourDigitYear(t),month:i.month,day:i.day}}return null}mapIntegersToDayMonth(t){const e=[t,t.slice().reverse()];for(let n=0;n<e.length;n+=1){const t=e[n],r=t[0],i=t[1];if(r>=1&&r<=31&&i>=1&&i<=12)return{day:r,month:i}}return null}twoToFourDigitYear(t){return t>99?t:t>50?t+1900:t+2e3}}var D=n(5538);const E=(t,e,n)=>{const r=t.length<=e.length,i=t.length<=n,o=r||i;return o?Math.ceil(t.length/4):n},j=(t,e,n)=>{let r=0;const i=Object.keys(e).find((e=>{const i=E(t,e,n),o=(0,D.distance)(t,e),s=o<=i;return s&&(r=o),s}));return i?{levenshteinDistance:r,levenshteinDistanceEntry:i}:{}};var A={a:["4","@"],b:["8"],c:["(","{","[","<"],e:["3"],g:["6","9"],i:["1","!","|"],l:["1","|","7"],o:["0"],s:["$","5"],t:["+","7"],x:["%"],z:["2"]},L={warnings:{straightRow:"straightRow",keyPattern:"keyPattern",simpleRepeat:"simpleRepeat",extendedRepeat:"extendedRepeat",sequences:"sequences",recentYears:"recentYears",dates:"dates",topTen:"topTen",topHundred:"topHundred",common:"common",similarToCommon:"similarToCommon",wordByItself:"wordByItself",namesByThemselves:"namesByThemselves",commonNames:"commonNames",userInputs:"userInputs",pwned:"pwned"},suggestions:{l33t:"l33t",reverseWords:"reverseWords",allUppercase:"allUppercase",capitalization:"capitalization",dates:"dates",recentYears:"recentYears",associatedYears:"associatedYears",sequences:"sequences",repeated:"repeated",longerKeyboardPattern:"longerKeyboardPattern",anotherWord:"anotherWord",useWords:"useWords",noNeed:"noNeed",pwned:"pwned"},timeEstimation:{ltSecond:"ltSecond",second:"second",seconds:"seconds",minute:"minute",minutes:"minutes",hour:"hour",hours:"hours",day:"day",days:"days",month:"month",months:"months",year:"year",years:"years",centuries:"centuries"}};class F{constructor(){this.matchers={},this.l33tTable=A,this.dictionary={userInputs:[]},this.rankedDictionaries={},this.translations=L,this.graphs={},this.availableGraphs=[],this.useLevenshteinDistance=!1,this.levenshteinThreshold=2,this.setRankedDictionaries()}setOptions(t={}){t.l33tTable&&(this.l33tTable=t.l33tTable),t.dictionary&&(this.dictionary=t.dictionary,this.setRankedDictionaries()),t.translations&&this.setTranslations(t.translations),t.graphs&&(this.graphs=t.graphs),void 0!==t.useLevenshteinDistance&&(this.useLevenshteinDistance=t.useLevenshteinDistance),void 0!==t.levenshteinThreshold&&(this.levenshteinThreshold=t.levenshteinThreshold)}setTranslations(t){if(!this.checkCustomTranslations(t))throw new Error("Invalid translations object fallback to keys");this.translations=t}checkCustomTranslations(t){let e=!0;return Object.keys(L).forEach((n=>{if(n in t){const r=n;Object.keys(L[r]).forEach((n=>{n in t[r]||(e=!1)}))}else e=!1})),e}setRankedDictionaries(){const t={};Object.keys(this.dictionary).forEach((e=>{t[e]=this.getRankedDictionary(e)})),this.rankedDictionaries=t}getRankedDictionary(t){const e=this.dictionary[t];if("userInputs"===t){const t=[];return e.forEach((e=>{const n=typeof e;"string"!==n&&"number"!==n&&"boolean"!==n||t.push(e.toString().toLowerCase())})),a(t)}return a(e)}extendUserInputsDictionary(t){this.dictionary.userInputs?this.dictionary.userInputs=[...this.dictionary.userInputs,...t]:this.dictionary.userInputs=t,this.rankedDictionaries.userInputs=this.getRankedDictionary("userInputs")}addMatcher(t,e){this.matchers[t]?console.info("Matcher already exists"):this.matchers[t]=e}}const I=new F;class R{constructor(t){this.defaultMatch=t}match({password:t}){const e=t.split("").reverse().join("");return this.defaultMatch({password:e}).map((e=>({...e,token:e.token.split("").reverse().join(""),reversed:!0,i:t.length-1-e.j,j:t.length-1-e.i})))}}class N{constructor(t){this.defaultMatch=t}match({password:t}){const e=[],n=this.enumerateL33tSubs(this.relevantL33tSubtable(t,I.l33tTable));for(let i=0;i<n.length;i+=1){const s=n[i];if(r(s))break;const a=o(t,s),c=this.defaultMatch({password:a});c.forEach((n=>{const r=t.slice(n.i,+n.j+1||9e9);if(r.toLowerCase()!==n.matchedWord){const t={};Object.keys(s).forEach((e=>{const n=s[e];-1!==r.indexOf(e)&&(t[e]=n)}));const i=Object.keys(t).map((e=>`${e} -> ${t[e]}`)).join(", ");e.push({...n,l33t:!0,token:r,sub:t,subDisplay:i})}}))}return e.filter((t=>t.token.length>1))}relevantL33tSubtable(t,e){const n={},r={};return t.split("").forEach((t=>{n[t]=!0})),Object.keys(e).forEach((t=>{const i=e[t],o=i.filter((t=>t in n));o.length>0&&(r[t]=o)})),r}enumerateL33tSubs(t){const e=Object.keys(t),n=this.getSubs(e,[[]],t);return n.map((t=>{const e={};return t.forEach((([t,n])=>{e[t]=n})),e}))}getSubs(t,e,n){if(!t.length)return e;const r=t[0],i=t.slice(1),o=[];n[r].forEach((t=>{e.forEach((e=>{let n=-1;for(let r=0;r<e.length;r+=1)if(e[r][0]===t){n=r;break}if(-1===n){const n=e.concat([[t,r]]);o.push(n)}else{const i=e.slice(0);i.splice(n,1),i.push([t,r]),o.push(e),o.push(i)}}))}));const s=this.dedup(o);return i.length?this.getSubs(i,s,n):s}dedup(t){const e=[],n={};return t.forEach((t=>{const r=t.map(((t,e)=>[t,e]));r.sort();const i=r.map((([t,e])=>`${t},${e}`)).join("-");i in n||(n[i]=!0,e.push(t))})),e}}class W{constructor(){this.l33t=new N(this.defaultMatch),this.reverse=new R(this.defaultMatch)}match({password:t}){const e=[...this.defaultMatch({password:t}),...this.reverse.match({password:t}),...this.l33t.match({password:t})];return s(e)}defaultMatch({password:t}){const e=[],n=t.length,r=t.toLowerCase();return Object.keys(I.rankedDictionaries).forEach((i=>{const o=I.rankedDictionaries[i];for(let s=0;s<n;s+=1)for(let a=s;a<n;a+=1){const c=r.slice(s,+a+1||9e9),l=c in o;let u={};const h=0===s&&a===n-1;I.useLevenshteinDistance&&h&&!l&&(u=j(c,o,I.levenshteinThreshold));const f=0!==Object.keys(u).length;if(l||f){const n=f?u.levenshteinDistanceEntry:c,r=o[n];e.push({pattern:"dictionary",i:s,j:a,token:t.slice(s,+a+1||9e9),matchedWord:c,rank:r,dictionaryName:i,reversed:!1,l33t:!1,...u})}}})),e}}class z{match({password:t,regexes:e=P}){const n=[];return Object.keys(e).forEach((r=>{const i=e[r];i.lastIndex=0;const o=i.exec(t);if(o){const t=o[0];n.push({pattern:"regex",token:t,i:o.index,j:o.index+o[0].length-1,regexName:r,regexMatch:o})}})),s(n)}}var U={nCk(t,e){let n=t;if(e>n)return 0;if(0===e)return 1;let r=1;for(let i=1;i<=e;i+=1)r*=n,r/=i,n-=1;return r},log10(t){return Math.log(t)/Math.log(10)},log2(t){return Math.log(t)/Math.log(2)},factorial(t){let e=1;for(let n=2;n<=t;n+=1)e*=n;return e}},H=({token:t})=>{let e,n=f**t.length;return n===Number.POSITIVE_INFINITY&&(n=Number.MAX_VALUE),e=1===t.length?p+1:g+1,Math.max(n,e)},$=({year:t,separator:e})=>{const n=Math.max(Math.abs(t-C),m);let r=365*n;return e&&(r*=4),r};const B=t=>{const e=t.split(""),n=e.filter((t=>t.match(k))).length,r=e.filter((t=>t.match(M))).length;let i=0;const o=Math.min(n,r);for(let s=1;s<=o;s+=1)i+=U.nCk(n+r,s);return i};var V=t=>{const e=t.replace(S,"");if(e.match(w)||e.toLowerCase()===e)return 1;const n=[b,v,x],r=n.length;for(let i=0;i<r;i+=1){const t=n[i];if(e.match(t))return 2}return B(e)};const Y=({subs:t,subbed:e,token:n})=>{const r=t[e],i=n.toLowerCase().split(""),o=i.filter((t=>t===e)).length,s=i.filter((t=>t===r)).length;return{subbedCount:o,unsubbedCount:s}};var Z=({l33t:t,sub:e,token:n})=>{if(!t)return 1;let r=1;const i=e;return Object.keys(i).forEach((t=>{const{subbedCount:e,unsubbedCount:o}=Y({subs:i,subbed:t,token:n});if(0===e||0===o)r*=2;else{const t=Math.min(o,e);let n=0;for(let r=1;r<=t;r+=1)n+=U.nCk(o+e,r);r*=n}})),r},q=({rank:t,reversed:e,l33t:n,sub:r,token:i})=>{const o=t,s=V(i),a=Z({l33t:n,sub:r,token:i}),c=e?2:1,l=o*s*a*c;return{baseGuesses:o,uppercaseVariations:s,l33tVariations:a,calculation:l}},X=({regexName:t,regexMatch:e,token:n})=>{const r={alphaLower:26,alphaUpper:26,alpha:52,alphanumeric:62,digits:10,symbols:33};if(t in r)return r[t]**n.length;switch(t){case"recentYear":return Math.max(Math.abs(parseInt(e[0],10)-C),m)}return 0},G=({baseGuesses:t,repeatCount:e})=>t*e,J=({token:t,ascending:e})=>{const n=t.charAt(0);let r=0;const i=["a","A","z","Z","0","1","9"];return r=i.includes(n)?4:n.match(/\d/)?10:26,e||(r*=2),r*t.length};const Q=t=>{let e=0;return Object.keys(t).forEach((n=>{const r=t[n];e+=r.filter((t=>!!t)).length})),e/=Object.entries(t).length,e},K=({token:t,graph:e,turns:n})=>{const r=Object.keys(I.graphs[e]).length,i=Q(I.graphs[e]);let o=0;const s=t.length;for(let a=2;a<=s;a+=1){const t=Math.min(n,a-1);for(let e=1;e<=t;e+=1)o+=U.nCk(a-1,e-1)*r*i**e}return o};var tt=({graph:t,token:e,shiftedCount:n,turns:r})=>{let i=K({token:e,graph:t,turns:r});if(n){const t=e.length-n;if(0===n||0===t)i*=2;else{let e=0;for(let r=1;r<=Math.min(n,t);r+=1)e+=U.nCk(n+t,r);i*=e}}return Math.round(i)};const et=(t,e)=>{let n=1;return t.token.length<e.length&&(n=1===t.token.length?p:g),n},nt={bruteforce:H,date:$,dictionary:q,regex:X,repeat:G,sequence:J,spatial:tt},rt=(t,e)=>nt[t]?nt[t](e):I.matchers[t]&&"scoring"in I.matchers[t]?I.matchers[t].scoring(e):0;var it=(t,e)=>{const n={};if("guesses"in t&&null!=t.guesses)return t;const r=et(t,e),i=rt(t.pattern,t);let o=0;"number"===typeof i?o=i:"dictionary"===t.pattern&&(o=i.calculation,n.baseGuesses=i.baseGuesses,n.uppercaseVariations=i.uppercaseVariations,n.l33tVariations=i.l33tVariations);const s=Math.max(o,r);return{...t,...n,guesses:s,guessesLog10:U.log10(s)}};const ot={password:"",optimal:{},excludeAdditive:!1,fillArray(t,e){const n=[];for(let r=0;r<t;r+=1){let t=[];"object"===e&&(t={}),n.push(t)}return n},makeBruteforceMatch(t,e){return{pattern:"bruteforce",token:this.password.slice(t,+e+1||9e9),i:t,j:e}},update(t,e){const n=t.j,r=it(t,this.password);let i=r.guesses;e>1&&(i*=this.optimal.pi[r.i-1][e-1]);let o=U.factorial(e)*i;this.excludeAdditive||(o+=d**(e-1));let s=!1;Object.keys(this.optimal.g[n]).forEach((t=>{const r=this.optimal.g[n][t];parseInt(t,10)<=e&&r<=o&&(s=!0)})),s||(this.optimal.g[n][e]=o,this.optimal.m[n][e]=r,this.optimal.pi[n][e]=i)},bruteforceUpdate(t){let e=this.makeBruteforceMatch(0,t);this.update(e,1);for(let n=1;n<=t;n+=1){e=this.makeBruteforceMatch(n,t);const r=this.optimal.m[n-1];Object.keys(r).forEach((t=>{const n=r[t];"bruteforce"!==n.pattern&&this.update(e,parseInt(t,10)+1)}))}},unwind(t){const e=[];let n=t-1,r=0,i=Infinity;const o=this.optimal.g[n];o&&Object.keys(o).forEach((t=>{const e=o[t];e<i&&(r=parseInt(t,10),i=e)}));while(n>=0){const t=this.optimal.m[n][r];e.unshift(t),n=t.i-1,r-=1}return e}};var st={mostGuessableMatchSequence(t,e,n=!1){ot.password=t,ot.excludeAdditive=n;const r=t.length;let i=ot.fillArray(r,"array");e.forEach((t=>{i[t.j].push(t)})),i=i.map((t=>t.sort(((t,e)=>t.i-e.i)))),ot.optimal={m:ot.fillArray(r,"object"),pi:ot.fillArray(r,"object"),g:ot.fillArray(r,"object")};for(let c=0;c<r;c+=1)i[c].forEach((t=>{t.i>0?Object.keys(ot.optimal.m[t.i-1]).forEach((e=>{ot.update(t,parseInt(e,10)+1)})):ot.update(t,1)})),ot.bruteforceUpdate(c);const o=ot.unwind(r),s=o.length,a=this.getGuesses(t,s);return{password:t,guesses:a,guessesLog10:U.log10(a),sequence:o}},getGuesses(t,e){const n=t.length;let r=0;return r=0===t.length?1:ot.optimal.g[n-1][e],r}};class at{match({password:t,omniMatch:e}){const n=[];let r=0;while(r<t.length){const i=this.getGreedyMatch(t,r),o=this.getLazyMatch(t,r);if(null==i)break;const{match:s,baseToken:a}=this.setMatchToken(i,o);if(s){const t=s.index+s[0].length-1,i=this.getBaseGuesses(a,e);n.push(this.normalizeMatch(a,t,s,i)),r=t+1}}const i=n.some((t=>t instanceof Promise));return i?Promise.all(n):n}normalizeMatch(t,e,n,r){const i={pattern:"repeat",i:n.index,j:e,token:n[0],baseToken:t,baseGuesses:0,repeatCount:n[0].length/t.length};return r instanceof Promise?r.then((t=>({...i,baseGuesses:t}))):{...i,baseGuesses:r}}getGreedyMatch(t,e){const n=/(.+)\1+/g;return n.lastIndex=e,n.exec(t)}getLazyMatch(t,e){const n=/(.+?)\1+/g;return n.lastIndex=e,n.exec(t)}setMatchToken(t,e){const n=/^(.+?)\1+$/;let r,i="";if(e&&t[0].length>e[0].length){r=t;const e=n.exec(r[0]);e&&(i=e[1])}else r=e,r&&(i=r[1]);return{match:r,baseToken:i}}getBaseGuesses(t,e){const n=e.match(t);if(n instanceof Promise)return n.then((e=>{const n=st.mostGuessableMatchSequence(t,e);return n.guesses}));const r=st.mostGuessableMatchSequence(t,n);return r.guesses}}class ct{constructor(){this.MAX_DELTA=5}match({password:t}){const e=[];if(1===t.length)return[];let n=0,r=null;const i=t.length;for(let o=1;o<i;o+=1){const i=t.charCodeAt(o)-t.charCodeAt(o-1);if(null==r&&(r=i),i!==r){const s=o-1;this.update({i:n,j:s,delta:r,password:t,result:e}),n=s,r=i}}return this.update({i:n,j:i-1,delta:r,password:t,result:e}),e}update({i:t,j:e,delta:n,password:r,result:i}){if(e-t>1||1===Math.abs(n)){const o=Math.abs(n);if(o>0&&o<=this.MAX_DELTA){const o=r.slice(t,+e+1||9e9),{sequenceName:s,sequenceSpace:a}=this.getSequence(o);return i.push({pattern:"sequence",i:t,j:e,token:r.slice(t,+e+1||9e9),sequenceName:s,sequenceSpace:a,ascending:n>0})}}return null}getSequence(t){let e="unicode",n=26;return _.test(t)?(e="lower",n=26):y.test(t)?(e="upper",n=26):O.test(t)&&(e="digits",n=10),{sequenceName:e,sequenceSpace:n}}}class lt{constructor(){this.SHIFTED_RX=/[~!@#$%^&*()_+QWERTYUIOP{}|ASDFGHJKL:"ZXCVBNM<>?]/}match({password:t}){const e=[];return Object.keys(I.graphs).forEach((n=>{const r=I.graphs[n];i(e,this.helper(t,r,n))})),s(e)}checkIfShifted(t,e,n){return!t.includes("keypad")&&this.SHIFTED_RX.test(e.charAt(n))?1:0}helper(t,e,n){let r;const i=[];let o=0;const s=t.length;while(o<s-1){let a=o+1,c=0,l=0;r=this.checkIfShifted(n,t,o);while(1){const u=t.charAt(a-1),h=e[u]||[];let f=!1,d=-1,p=-1;if(a<s){const e=t.charAt(a),n=h.length;for(let t=0;t<n;t+=1){const n=h[t];if(p+=1,n){const t=n.indexOf(e);if(-1!==t){f=!0,d=p,1===t&&(r+=1),c!==d&&(l+=1,c=d);break}}}}if(!f){a-o>2&&i.push({pattern:"spatial",i:o,j:a-1,token:t.slice(o,a),graph:n,turns:l,shiftedCount:r}),o=a;break}a+=1}}return i}}class ut{constructor(){this.matchers={date:T,dictionary:W,regex:z,repeat:at,sequence:ct,spatial:lt}}match(t){const e=[],n=[],r=[...Object.keys(this.matchers),...Object.keys(I.matchers)];return r.forEach((r=>{if(!this.matchers[r]&&!I.matchers[r])return;const o=this.matchers[r]?this.matchers[r]:I.matchers[r].Matching,s=new o,a=s.match({password:t,omniMatch:this});a instanceof Promise?(a.then((t=>{i(e,t)})),n.push(a)):i(e,a)})),n.length>0?new Promise((t=>{Promise.all(n).then((()=>{t(s(e))}))})):s(e)}}const ht=1,ft=60*ht,dt=60*ft,pt=24*dt,gt=31*pt,mt=12*gt,bt=100*mt,vt={second:ht,minute:ft,hour:dt,day:pt,month:gt,year:mt,century:bt};class yt{translate(t,e){let n=t;void 0!==e&&1!==e&&(n+="s");const{timeEstimation:r}=I.translations;return r[n].replace("{base}",`${e}`)}estimateAttackTimes(t){const e={onlineThrottling100PerHour:t/(100/3600),onlineNoThrottling10PerSecond:t/10,offlineSlowHashing1e4PerSecond:t/1e4,offlineFastHashing1e10PerSecond:t/1e10},n={onlineThrottling100PerHour:"",onlineNoThrottling10PerSecond:"",offlineSlowHashing1e4PerSecond:"",offlineFastHashing1e10PerSecond:""};return Object.keys(e).forEach((t=>{const r=e[t];n[t]=this.displayTime(r)})),{crackTimesSeconds:e,crackTimesDisplay:n,score:this.guessesToScore(t)}}guessesToScore(t){const e=5;return t<1e3+e?0:t<1e6+e?1:t<1e8+e?2:t<1e10+e?3:4}displayTime(t){let e,n="centuries";const r=Object.keys(vt),i=r.findIndex((e=>t<vt[e]));return i>-1&&(n=r[i-1],0!==i?e=Math.round(t/vt[n]):n="ltSecond"),this.translate(n,e)}}var xt=()=>null,_t=()=>({warning:I.translations.warnings.dates,suggestions:[I.translations.suggestions.dates]});const wt=(t,e)=>{let n="";return!e||t.l33t||t.reversed?t.guessesLog10<=4&&(n=I.translations.warnings.similarToCommon):n=t.rank<=10?I.translations.warnings.topTen:t.rank<=100?I.translations.warnings.topHundred:I.translations.warnings.common,n},kt=(t,e)=>{let n="";return e&&(n=I.translations.warnings.wordByItself),n},Mt=(t,e)=>e?I.translations.warnings.namesByThemselves:I.translations.warnings.commonNames,St=(t,e)=>{let n="";const r=t.dictionaryName,i="lastnames"===r||r.toLowerCase().includes("firstnames");return"passwords"===r?n=wt(t,e):r.includes("wikipedia")?n=kt(t,e):i?n=Mt(t,e):"userInputs"===r&&(n=I.translations.warnings.userInputs),n};var Ot=(t,e)=>{const n=St(t,e),r=[],i=t.token;return i.match(b)?r.push(I.translations.suggestions.capitalization):i.match(x)&&i.toLowerCase()!==i&&r.push(I.translations.suggestions.allUppercase),t.reversed&&t.token.length>=4&&r.push(I.translations.suggestions.reverseWords),t.l33t&&r.push(I.translations.suggestions.l33t),{warning:n,suggestions:r}},Ct=t=>"recentYear"===t.regexName?{warning:I.translations.warnings.recentYears,suggestions:[I.translations.suggestions.recentYears,I.translations.suggestions.associatedYears]}:{warning:"",suggestions:[]},Pt=t=>{let e=I.translations.warnings.extendedRepeat;return 1===t.baseToken.length&&(e=I.translations.warnings.simpleRepeat),{warning:e,suggestions:[I.translations.suggestions.repeated]}},Tt=()=>({warning:I.translations.warnings.sequences,suggestions:[I.translations.suggestions.sequences]}),Dt=t=>{let e=I.translations.warnings.keyPattern;return 1===t.turns&&(e=I.translations.warnings.straightRow),{warning:e,suggestions:[I.translations.suggestions.longerKeyboardPattern]}};const Et={warning:"",suggestions:[]};class jt{constructor(){this.matchers={bruteforce:xt,date:_t,dictionary:Ot,regex:Ct,repeat:Pt,sequence:Tt,spatial:Dt},this.defaultFeedback={warning:"",suggestions:[]},this.setDefaultSuggestions()}setDefaultSuggestions(){this.defaultFeedback.suggestions.push(I.translations.suggestions.useWords,I.translations.suggestions.noNeed)}getFeedback(t,e){if(0===e.length)return this.defaultFeedback;if(t>2)return Et;const n=I.translations.suggestions.anotherWord,r=this.getLongestMatch(e);let i=this.getMatchFeedback(r,1===e.length);return null!==i&&void 0!==i?(i.suggestions.unshift(n),null==i.warning&&(i.warning="")):i={warning:"",suggestions:[n]},i}getLongestMatch(t){let e=t[0];const n=t.slice(1);return n.forEach((t=>{t.token.length>e.token.length&&(e=t)})),e}getMatchFeedback(t,e){return this.matchers[t.pattern]?this.matchers[t.pattern](t,e):I.matchers[t.pattern]&&"feedback"in I.matchers[t.pattern]?I.matchers[t.pattern].feedback(t,e):Et}}const At=()=>(new Date).getTime(),Lt=(t,e,n)=>{const r=new jt,i=new yt,o=st.mostGuessableMatchSequence(e,t),s=At()-n,a=i.estimateAttackTimes(o.guesses);return{calcTime:s,...o,...a,feedback:r.getFeedback(a.score,o.sequence)}},Ft=(t,e)=>{e&&I.extendUserInputsDictionary(e);const n=new ut;return n.match(t)},It=(t,e)=>{const n=At(),r=Ft(t,e);if(r instanceof Promise)throw new Error("You are using a Promised matcher, please use `zxcvbnAsync` for it.");return Lt(r,t,n)}},9669:function(t,e,n){t.exports=n(1609)},5448:function(t,e,n){"use strict";var r=n(4867),i=n(6026),o=n(4372),s=n(5327),a=n(4097),c=n(4109),l=n(7985),u=n(5061),h=n(7874),f=n(5263);t.exports=function(t){return new Promise((function(e,n){var d,p=t.data,g=t.headers,m=t.responseType;function b(){t.cancelToken&&t.cancelToken.unsubscribe(d),t.signal&&t.signal.removeEventListener("abort",d)}r.isFormData(p)&&delete g["Content-Type"];var v=new XMLHttpRequest;if(t.auth){var y=t.auth.username||"",x=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";g.Authorization="Basic "+btoa(y+":"+x)}var _=a(t.baseURL,t.url);function w(){if(v){var r="getAllResponseHeaders"in v?c(v.getAllResponseHeaders()):null,o=m&&"text"!==m&&"json"!==m?v.response:v.responseText,s={data:o,status:v.status,statusText:v.statusText,headers:r,config:t,request:v};i((function(t){e(t),b()}),(function(t){n(t),b()}),s),v=null}}if(v.open(t.method.toUpperCase(),s(_,t.params,t.paramsSerializer),!0),v.timeout=t.timeout,"onloadend"in v?v.onloadend=w:v.onreadystatechange=function(){v&&4===v.readyState&&(0!==v.status||v.responseURL&&0===v.responseURL.indexOf("file:"))&&setTimeout(w)},v.onabort=function(){v&&(n(u("Request aborted",t,"ECONNABORTED",v)),v=null)},v.onerror=function(){n(u("Network Error",t,null,v)),v=null},v.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",r=t.transitional||h;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(u(e,t,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",v)),v=null},r.isStandardBrowserEnv()){var k=(t.withCredentials||l(_))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;k&&(g[t.xsrfHeaderName]=k)}"setRequestHeader"in v&&r.forEach(g,(function(t,e){"undefined"===typeof p&&"content-type"===e.toLowerCase()?delete g[e]:v.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(v.withCredentials=!!t.withCredentials),m&&"json"!==m&&(v.responseType=t.responseType),"function"===typeof t.onDownloadProgress&&v.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&v.upload&&v.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(d=function(t){v&&(n(!t||t&&t.type?new f("canceled"):t),v.abort(),v=null)},t.cancelToken&&t.cancelToken.subscribe(d),t.signal&&(t.signal.aborted?d():t.signal.addEventListener("abort",d))),p||(p=null),v.send(p)}))}},1609:function(t,e,n){"use strict";var r=n(4867),i=n(1849),o=n(321),s=n(7185),a=n(5546);function c(t){var e=new o(t),n=i(o.prototype.request,e);return r.extend(n,o.prototype,e),r.extend(n,e),n.create=function(e){return c(s(t,e))},n}var l=c(a);l.Axios=o,l.Cancel=n(5263),l.CancelToken=n(4972),l.isCancel=n(6502),l.VERSION=n(7288).version,l.all=function(t){return Promise.all(t)},l.spread=n(8713),l.isAxiosError=n(6268),t.exports=l,t.exports["default"]=l},5263:function(t){"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},4972:function(t,e,n){"use strict";var r=n(5263);function i(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;this.promise.then((function(t){if(n._listeners){var e,r=n._listeners.length;for(e=0;e<r;e++)n._listeners[e](t);n._listeners=null}})),this.promise.then=function(t){var e,r=new Promise((function(t){n.subscribe(t),e=t})).then(t);return r.cancel=function(){n.unsubscribe(e)},r},t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},i.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},i.source=function(){var t,e=new i((function(e){t=e}));return{token:e,cancel:t}},t.exports=i},6502:function(t){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},321:function(t,e,n){"use strict";var r=n(4867),i=n(5327),o=n(782),s=n(3572),a=n(7185),c=n(4875),l=c.validators;function u(t){this.defaults=t,this.interceptors={request:new o,response:new o}}u.prototype.request=function(t,e){"string"===typeof t?(e=e||{},e.url=t):e=t||{},e=a(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var n=e.transitional;void 0!==n&&c.assertOptions(n,{silentJSONParsing:l.transitional(l.boolean),forcedJSONParsing:l.transitional(l.boolean),clarifyTimeoutError:l.transitional(l.boolean)},!1);var r=[],i=!0;this.interceptors.request.forEach((function(t){"function"===typeof t.runWhen&&!1===t.runWhen(e)||(i=i&&t.synchronous,r.unshift(t.fulfilled,t.rejected))}));var o,u=[];if(this.interceptors.response.forEach((function(t){u.push(t.fulfilled,t.rejected)})),!i){var h=[s,void 0];Array.prototype.unshift.apply(h,r),h=h.concat(u),o=Promise.resolve(e);while(h.length)o=o.then(h.shift(),h.shift());return o}var f=e;while(r.length){var d=r.shift(),p=r.shift();try{f=d(f)}catch(g){p(g);break}}try{o=s(f)}catch(g){return Promise.reject(g)}while(u.length)o=o.then(u.shift(),u.shift());return o},u.prototype.getUri=function(t){return t=a(this.defaults,t),i(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){u.prototype[t]=function(e,n){return this.request(a(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){u.prototype[t]=function(e,n,r){return this.request(a(r||{},{method:t,url:e,data:n}))}})),t.exports=u},782:function(t,e,n){"use strict";var r=n(4867);function i(){this.handlers=[]}i.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=i},4097:function(t,e,n){"use strict";var r=n(1793),i=n(7303);t.exports=function(t,e){return t&&!r(e)?i(t,e):e}},5061:function(t,e,n){"use strict";var r=n(481);t.exports=function(t,e,n,i,o){var s=new Error(t);return r(s,e,n,i,o)}},3572:function(t,e,n){"use strict";var r=n(4867),i=n(8527),o=n(6502),s=n(5546),a=n(5263);function c(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new a("canceled")}t.exports=function(t){c(t),t.headers=t.headers||{},t.data=i.call(t,t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]}));var e=t.adapter||s.adapter;return e(t).then((function(e){return c(t),e.data=i.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return o(e)||(c(t),e&&e.response&&(e.response.data=i.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},481:function(t){"use strict";t.exports=function(t,e,n,r,i){return t.config=e,n&&(t.code=n),t.request=r,t.response=i,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t}},7185:function(t,e,n){"use strict";var r=n(4867);t.exports=function(t,e){e=e||{};var n={};function i(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function o(n){return r.isUndefined(e[n])?r.isUndefined(t[n])?void 0:i(void 0,t[n]):i(t[n],e[n])}function s(t){if(!r.isUndefined(e[t]))return i(void 0,e[t])}function a(n){return r.isUndefined(e[n])?r.isUndefined(t[n])?void 0:i(void 0,t[n]):i(void 0,e[n])}function c(n){return n in e?i(t[n],e[n]):n in t?i(void 0,t[n]):void 0}var l={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:c};return r.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=l[t]||o,i=e(t);r.isUndefined(i)&&e!==c||(n[t]=i)})),n}},6026:function(t,e,n){"use strict";var r=n(5061);t.exports=function(t,e,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},8527:function(t,e,n){"use strict";var r=n(4867),i=n(5546);t.exports=function(t,e,n){var o=this||i;return r.forEach(n,(function(n){t=n.call(o,t,e)})),t}},5546:function(t,e,n){"use strict";var r=n(4867),i=n(6016),o=n(481),s=n(7874),a={"Content-Type":"application/x-www-form-urlencoded"};function c(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function l(){var t;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(t=n(5448)),t}function u(t,e,n){if(r.isString(t))try{return(e||JSON.parse)(t),r.trim(t)}catch(i){if("SyntaxError"!==i.name)throw i}return(n||JSON.stringify)(t)}var h={transitional:s,adapter:l(),transformRequest:[function(t,e){return i(e,"Accept"),i(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(c(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)||e&&"application/json"===e["Content-Type"]?(c(e,"application/json"),u(t)):t}],transformResponse:[function(t){var e=this.transitional||h.transitional,n=e&&e.silentJSONParsing,i=e&&e.forcedJSONParsing,s=!n&&"json"===this.responseType;if(s||i&&r.isString(t)&&t.length)try{return JSON.parse(t)}catch(a){if(s){if("SyntaxError"===a.name)throw o(a,this,"E_JSON_PARSE");throw a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(t){h.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){h.headers[t]=r.merge(a)})),t.exports=h},7874:function(t){"use strict";t.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},7288:function(t){t.exports={version:"0.26.1"}},1849:function(t){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},5327:function(t,e,n){"use strict";var r=n(4867);function i(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(r.isURLSearchParams(e))o=e.toString();else{var s=[];r.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),s.push(i(e)+"="+i(t))})))})),o=s.join("&")}if(o){var a=t.indexOf("#");-1!==a&&(t=t.slice(0,a)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},7303:function(t){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},4372:function(t,e,n){"use strict";var r=n(4867);t.exports=r.isStandardBrowserEnv()?function(){return{write:function(t,e,n,i,o,s){var a=[];a.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(i)&&a.push("path="+i),r.isString(o)&&a.push("domain="+o),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},1793:function(t){"use strict";t.exports=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}},6268:function(t,e,n){"use strict";var r=n(4867);t.exports=function(t){return r.isObject(t)&&!0===t.isAxiosError}},7985:function(t,e,n){"use strict";var r=n(4867);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=i(window.location.href),function(e){var n=r.isString(e)?i(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return function(){return!0}}()},6016:function(t,e,n){"use strict";var r=n(4867);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},4109:function(t,e,n){"use strict";var r=n(4867),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,o,s={};return t?(r.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=r.trim(t.substr(0,o)).toLowerCase(),n=r.trim(t.substr(o+1)),e){if(s[e]&&i.indexOf(e)>=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([n]):s[e]?s[e]+", "+n:n}})),s):s}},8713:function(t){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},4875:function(t,e,n){"use strict";var r=n(7288).version,i={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){i[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var o={};function s(t,e,n){if("object"!==typeof t)throw new TypeError("options must be an object");var r=Object.keys(t),i=r.length;while(i-- >0){var o=r[i],s=e[o];if(s){var a=t[o],c=void 0===a||s(a,o,t);if(!0!==c)throw new TypeError("option "+o+" must be "+c)}else if(!0!==n)throw Error("Unknown option "+o)}}i.transitional=function(t,e,n){function i(t,e){return"[Axios v"+r+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,r,s){if(!1===t)throw new Error(i(r," has been removed"+(e?" in "+e:"")));return e&&!o[r]&&(o[r]=!0,console.warn(i(r," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,r,s)}},t.exports={assertOptions:s,validators:i}},4867:function(t,e,n){"use strict";var r=n(1849),i=Object.prototype.toString;function o(t){return Array.isArray(t)}function s(t){return"undefined"===typeof t}function a(t){return null!==t&&!s(t)&&null!==t.constructor&&!s(t.constructor)&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function c(t){return"[object ArrayBuffer]"===i.call(t)}function l(t){return"[object FormData]"===i.call(t)}function u(t){var e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&c(t.buffer),e}function h(t){return"string"===typeof t}function f(t){return"number"===typeof t}function d(t){return null!==t&&"object"===typeof t}function p(t){if("[object Object]"!==i.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function g(t){return"[object Date]"===i.call(t)}function m(t){return"[object File]"===i.call(t)}function b(t){return"[object Blob]"===i.call(t)}function v(t){return"[object Function]"===i.call(t)}function y(t){return d(t)&&v(t.pipe)}function x(t){return"[object URLSearchParams]"===i.call(t)}function _(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function w(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function k(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),o(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}function M(){var t={};function e(e,n){p(t[n])&&p(e)?t[n]=M(t[n],e):p(e)?t[n]=M({},e):o(e)?t[n]=e.slice():t[n]=e}for(var n=0,r=arguments.length;n<r;n++)k(arguments[n],e);return t}function S(t,e,n){return k(e,(function(e,i){t[i]=n&&"function"===typeof e?r(e,n):e})),t}function O(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}t.exports={isArray:o,isArrayBuffer:c,isBuffer:a,isFormData:l,isArrayBufferView:u,isString:h,isNumber:f,isObject:d,isPlainObject:p,isUndefined:s,isDate:g,isFile:m,isBlob:b,isFunction:v,isStream:y,isURLSearchParams:x,isStandardBrowserEnv:w,forEach:k,merge:M,extend:S,trim:_,stripBOM:O}},3328:function(t,e,n){"use strict";n.d(e,{De:function(){return Dr},Dx:function(){return Ar},Gu:function(){return Sr},ST:function(){return tt},ZL:function(){return Gn},ce:function(){return r.d},f$:function(){return oi},jn:function(){return Nn},kL:function(){return pn},od:function(){return zn},qi:function(){return Sn},u:function(){return Jr},uw:function(){return ei},vn:function(){return G}});var r=n(3940);
/*!
* Chart.js v3.8.0
* https://www.chartjs.org
* (c) 2022 Chart.js Contributors
* Released under the MIT License
*/class i{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,e,n,r){const i=e.listeners[r],o=e.duration;i.forEach((r=>r({chart:t,initial:e.initial,numSteps:o,currentStep:Math.min(n-e.start,o)})))}_refresh(){this._request||(this._running=!0,this._request=r.r.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(t=Date.now()){let e=0;this._charts.forEach(((n,r)=>{if(!n.running||!n.items.length)return;const i=n.items;let o,s=i.length-1,a=!1;for(;s>=0;--s)o=i[s],o._active?(o._total>n.duration&&(n.duration=o._total),o.tick(t),a=!0):(i[s]=i[i.length-1],i.pop());a&&(r.draw(),this._notify(r,n,t,"progress")),i.length||(n.running=!1,this._notify(r,n,t,"complete"),n.initial=!1),e+=i.length})),this._lastDate=t,0===e&&(this._running=!1)}_getAnims(t){const e=this._charts;let n=e.get(t);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,n)),n}listen(t,e,n){this._getAnims(t).listeners[e].push(n)}add(t,e){e&&e.length&&this._getAnims(t).items.push(...e)}has(t){return this._getAnims(t).items.length>0}start(t){const e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce(((t,e)=>Math.max(t,e._duration)),0),this._refresh())}running(t){if(!this._running)return!1;const e=this._charts.get(t);return!!(e&&e.running&&e.items.length)}stop(t){const e=this._charts.get(t);if(!e||!e.items.length)return;const n=e.items;let r=n.length-1;for(;r>=0;--r)n[r].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var o=new i;const s="transparent",a={boolean(t,e,n){return n>.5?e:t},color(t,e,n){const i=(0,r.c)(t||s),o=i.valid&&(0,r.c)(e||s);return o&&o.valid?o.mix(i,n).hexString():e},number(t,e,n){return t+(e-t)*n}};class c{constructor(t,e,n,i){const o=e[n];i=(0,r.a)([t.to,i,o,t.from]);const s=(0,r.a)([t.from,o,i]);this._active=!0,this._fn=t.fn||a[t.type||typeof s],this._easing=r.e[t.easing]||r.e.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=n,this._from=s,this._to=i,this._promises=void 0}active(){return this._active}update(t,e,n){if(this._active){this._notify(!1);const i=this._target[this._prop],o=n-this._start,s=this._duration-o;this._start=n,this._duration=Math.floor(Math.max(s,t.duration)),this._total+=o,this._loop=!!t.loop,this._to=(0,r.a)([t.to,e,i,t.from]),this._from=(0,r.a)([t.from,i,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,n=this._duration,r=this._prop,i=this._from,o=this._loop,s=this._to;let a;if(this._active=i!==s&&(o||e<n),!this._active)return this._target[r]=s,void this._notify(!0);e<0?this._target[r]=i:(a=e/n%2,a=o&&a>1?2-a:a,a=this._easing(Math.min(1,Math.max(0,a))),this._target[r]=this._fn(i,s,a))}wait(){const t=this._promises||(this._promises=[]);return new Promise(((e,n)=>{t.push({res:e,rej:n})}))}_notify(t){const e=t?"res":"rej",n=this._promises||[];for(let r=0;r<n.length;r++)n[r][e]()}}const l=["x","y","borderWidth","radius","tension"],u=["color","borderColor","backgroundColor"];r.d.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0});const h=Object.keys(r.d.animation);r.d.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>"onProgress"!==t&&"onComplete"!==t&&"fn"!==t}),r.d.set("animations",{colors:{type:"color",properties:u},numbers:{type:"number",properties:l}}),r.d.describe("animations",{_fallback:"animation"}),r.d.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>0|t}}}});class f{constructor(t,e){this._chart=t,this._properties=new Map,this.configure(e)}configure(t){if(!(0,r.i)(t))return;const e=this._properties;Object.getOwnPropertyNames(t).forEach((n=>{const i=t[n];if(!(0,r.i)(i))return;const o={};for(const t of h)o[t]=i[t];((0,r.b)(i.properties)&&i.properties||[n]).forEach((t=>{t!==n&&e.has(t)||e.set(t,o)}))}))}_animateOptions(t,e){const n=e.options,r=p(t,n);if(!r)return[];const i=this._createAnimations(r,n);return n.$shared&&d(t.options.$animations,n).then((()=>{t.options=n}),(()=>{})),i}_createAnimations(t,e){const n=this._properties,r=[],i=t.$animations||(t.$animations={}),o=Object.keys(e),s=Date.now();let a;for(a=o.length-1;a>=0;--a){const l=o[a];if("$"===l.charAt(0))continue;if("options"===l){r.push(...this._animateOptions(t,e));continue}const u=e[l];let h=i[l];const f=n.get(l);if(h){if(f&&h.active()){h.update(f,u,s);continue}h.cancel()}f&&f.duration?(i[l]=h=new c(f,t,l,u),r.push(h)):t[l]=u}return r}update(t,e){if(0===this._properties.size)return void Object.assign(t,e);const n=this._createAnimations(t,e);return n.length?(o.add(this._chart,n),!0):void 0}}function d(t,e){const n=[],r=Object.keys(e);for(let i=0;i<r.length;i++){const e=t[r[i]];e&&e.active()&&n.push(e.wait())}return Promise.all(n)}function p(t,e){if(!e)return;let n=t.options;if(n)return n.$shared&&(t.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n;t.options=e}function g(t,e){const n=t&&t.options||{},r=n.reverse,i=void 0===n.min?e:0,o=void 0===n.max?e:0;return{start:r?o:i,end:r?i:o}}function m(t,e,n){if(!1===n)return!1;const r=g(t,n),i=g(e,n);return{top:i.end,right:r.end,bottom:i.start,left:r.start}}function b(t){let e,n,i,o;return(0,r.i)(t)?(e=t.top,n=t.right,i=t.bottom,o=t.left):e=n=i=o=t,{top:e,right:n,bottom:i,left:o,disabled:!1===t}}function v(t,e){const n=[],r=t._getSortedDatasetMetas(e);let i,o;for(i=0,o=r.length;i<o;++i)n.push(r[i].index);return n}function y(t,e,n,i={}){const o=t.keys,s="single"===i.mode;let a,c,l,u;if(null!==e){for(a=0,c=o.length;a<c;++a){if(l=+o[a],l===n){if(i.all)continue;break}u=t.values[l],(0,r.g)(u)&&(s||0===e||(0,r.s)(e)===(0,r.s)(u))&&(e+=u)}return e}}function x(t){const e=Object.keys(t),n=new Array(e.length);let r,i,o;for(r=0,i=e.length;r<i;++r)o=e[r],n[r]={x:o,y:t[o]};return n}function _(t,e){const n=t&&t.options.stacked;return n||void 0===n&&void 0!==e.stack}function w(t,e,n){return`${t.id}.${e.id}.${n.stack||n.type}`}function k(t){const{min:e,max:n,minDefined:r,maxDefined:i}=t.getUserBounds();return{min:r?e:Number.NEGATIVE_INFINITY,max:i?n:Number.POSITIVE_INFINITY}}function M(t,e,n){const r=t[e]||(t[e]={});return r[n]||(r[n]={})}function S(t,e,n,r){for(const i of e.getMatchingVisibleMetas(r).reverse()){const e=t[i.index];if(n&&e>0||!n&&e<0)return i.index}return null}function O(t,e){const{chart:n,_cachedMeta:r}=t,i=n._stacks||(n._stacks={}),{iScale:o,vScale:s,index:a}=r,c=o.axis,l=s.axis,u=w(o,s,r),h=e.length;let f;for(let d=0;d<h;++d){const t=e[d],{[c]:n,[l]:o}=t,h=t._stacks||(t._stacks={});f=h[l]=M(i,u,n),f[a]=o,f._top=S(f,s,!0,r.type),f._bottom=S(f,s,!1,r.type)}}function C(t,e){const n=t.scales;return Object.keys(n).filter((t=>n[t].axis===e)).shift()}function P(t,e){return(0,r.h)(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function T(t,e,n){return(0,r.h)(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}function D(t,e){const n=t.controller.index,r=t.vScale&&t.vScale.axis;if(r){e=e||t._parsed;for(const t of e){const e=t._stacks;if(!e||void 0===e[r]||void 0===e[r][n])return;delete e[r][n]}}}const E=t=>"reset"===t||"none"===t,j=(t,e)=>e?t:Object.assign({},t),A=(t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:v(n,!0),values:null};class L{constructor(t,e){this.chart=t,this._ctx=t.ctx,this.index=e,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=_(t.vScale,t),this.addElements()}updateIndex(t){this.index!==t&&D(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,e=this._cachedMeta,n=this.getDataset(),i=(t,e,n,r)=>"x"===t?e:"r"===t?r:n,o=e.xAxisID=(0,r.v)(n.xAxisID,C(t,"x")),s=e.yAxisID=(0,r.v)(n.yAxisID,C(t,"y")),a=e.rAxisID=(0,r.v)(n.rAxisID,C(t,"r")),c=e.indexAxis,l=e.iAxisID=i(c,o,s,a),u=e.vAxisID=i(c,s,o,a);e.xScale=this.getScaleForId(o),e.yScale=this.getScaleForId(s),e.rScale=this.getScaleForId(a),e.iScale=this.getScaleForId(l),e.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const e=this._cachedMeta;return t===e.iScale?e.vScale:e.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&(0,r.u)(this._data,this),t._stacked&&D(t)}_dataCheck(){const t=this.getDataset(),e=t.data||(t.data=[]),n=this._data;if((0,r.i)(e))this._data=x(e);else if(n!==e){if(n){(0,r.u)(n,this);const t=this._cachedMeta;D(t),t._parsed=[]}e&&Object.isExtensible(e)&&(0,r.l)(e,this),this._syncList=[],this._data=e}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const e=this._cachedMeta,n=this.getDataset();let r=!1;this._dataCheck();const i=e._stacked;e._stacked=_(e.vScale,e),e.stack!==n.stack&&(r=!0,D(e),e.stack=n.stack),this._resyncElements(t),(r||i!==e._stacked)&&O(this,e._parsed)}configure(){const t=this.chart.config,e=t.datasetScopeKeys(this._type),n=t.getOptionScopes(this.getDataset(),e,!0);this.options=t.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,e){const{_cachedMeta:n,_data:i}=this,{iScale:o,_stacked:s}=n,a=o.axis;let c,l,u,h=0===t&&e===i.length||n._sorted,f=t>0&&n._parsed[t-1];if(!1===this._parsing)n._parsed=i,n._sorted=!0,u=i;else{u=(0,r.b)(i[t])?this.parseArrayData(n,i,t,e):(0,r.i)(i[t])?this.parseObjectData(n,i,t,e):this.parsePrimitiveData(n,i,t,e);const o=()=>null===l[a]||f&&l[a]<f[a];for(c=0;c<e;++c)n._parsed[c+t]=l=u[c],h&&(o()&&(h=!1),f=l);n._sorted=h}s&&O(this,u)}parsePrimitiveData(t,e,n,r){const{iScale:i,vScale:o}=t,s=i.axis,a=o.axis,c=i.getLabels(),l=i===o,u=new Array(r);let h,f,d;for(h=0,f=r;h<f;++h)d=h+n,u[h]={[s]:l||i.parse(c[d],d),[a]:o.parse(e[d],d)};return u}parseArrayData(t,e,n,r){const{xScale:i,yScale:o}=t,s=new Array(r);let a,c,l,u;for(a=0,c=r;a<c;++a)l=a+n,u=e[l],s[a]={x:i.parse(u[0],l),y:o.parse(u[1],l)};return s}parseObjectData(t,e,n,i){const{xScale:o,yScale:s}=t,{xAxisKey:a="x",yAxisKey:c="y"}=this._parsing,l=new Array(i);let u,h,f,d;for(u=0,h=i;u<h;++u)f=u+n,d=e[f],l[u]={x:o.parse((0,r.f)(d,a),f),y:s.parse((0,r.f)(d,c),f)};return l}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,e,n){const r=this.chart,i=this._cachedMeta,o=e[t.axis],s={keys:v(r,!0),values:e._stacks[t.axis]};return y(s,o,i.index,{mode:n})}updateRangeFromParsed(t,e,n,r){const i=n[e.axis];let o=null===i?NaN:i;const s=r&&n._stacks[e.axis];r&&s&&(r.values=s,o=y(r,i,this._cachedMeta.index)),t.min=Math.min(t.min,o),t.max=Math.max(t.max,o)}getMinMax(t,e){const n=this._cachedMeta,i=n._parsed,o=n._sorted&&t===n.iScale,s=i.length,a=this._getOtherScale(t),c=A(e,n,this.chart),l={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:u,max:h}=k(a);let f,d;function p(){d=i[f];const e=d[a.axis];return!(0,r.g)(d[t.axis])||u>e||h<e}for(f=0;f<s;++f)if(!p()&&(this.updateRangeFromParsed(l,t,d,c),o))break;if(o)for(f=s-1;f>=0;--f)if(!p()){this.updateRangeFromParsed(l,t,d,c);break}return l}getAllParsedValues(t){const e=this._cachedMeta._parsed,n=[];let i,o,s;for(i=0,o=e.length;i<o;++i)s=e[i][t.axis],(0,r.g)(s)&&n.push(s);return n}getMaxOverflow(){return!1}getLabelAndValue(t){const e=this._cachedMeta,n=e.iScale,r=e.vScale,i=this.getParsed(t);return{label:n?""+n.getLabelForValue(i[n.axis]):"",value:r?""+r.getLabelForValue(i[r.axis]):""}}_update(t){const e=this._cachedMeta;this.update(t||"default"),e._clip=b((0,r.v)(this.options.clip,m(e.xScale,e.yScale,this.getMaxOverflow())))}update(t){}draw(){const t=this._ctx,e=this.chart,n=this._cachedMeta,r=n.data||[],i=e.chartArea,o=[],s=this._drawStart||0,a=this._drawCount||r.length-s,c=this.options.drawActiveElementsOnTop;let l;for(n.dataset&&n.dataset.draw(t,i,s,a),l=s;l<s+a;++l){const e=r[l];e.hidden||(e.active&&c?o.push(e):e.draw(t,i))}for(l=0;l<o.length;++l)o[l].draw(t,i)}getStyle(t,e){const n=e?"active":"default";return void 0===t&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(n):this.resolveDataElementOptions(t||0,n)}getContext(t,e,n){const r=this.getDataset();let i;if(t>=0&&t<this._cachedMeta.data.length){const e=this._cachedMeta.data[t];i=e.$context||(e.$context=T(this.getContext(),t,e)),i.parsed=this.getParsed(t),i.raw=r.data[t],i.index=i.dataIndex=t}else i=this.$context||(this.$context=P(this.chart.getContext(),this.index)),i.dataset=r,i.index=i.datasetIndex=this.index;return i.active=!!e,i.mode=n,i}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,e){return this._resolveElementOptions(this.dataElementType.id,e,t)}_resolveElementOptions(t,e="default",n){const i="active"===e,o=this._cachedDataOpts,s=t+"-"+e,a=o[s],c=this.enableOptionSharing&&(0,r.j)(n);if(a)return j(a,c);const l=this.chart.config,u=l.datasetElementScopeKeys(this._type,t),h=i?[`${t}Hover`,"hover",t,""]:[t,""],f=l.getOptionScopes(this.getDataset(),u),d=Object.keys(r.d.elements[t]),p=()=>this.getContext(n,i),g=l.resolveNamedOptions(f,d,p,h);return g.$shared&&(g.$shared=c,o[s]=Object.freeze(j(g,c))),g}_resolveAnimations(t,e,n){const r=this.chart,i=this._cachedDataOpts,o=`animation-${e}`,s=i[o];if(s)return s;let a;if(!1!==r.options.animation){const r=this.chart.config,i=r.datasetAnimationScopeKeys(this._type,e),o=r.getOptionScopes(this.getDataset(),i);a=r.createResolver(o,this.getContext(t,n,e))}const c=new f(r,a&&a.animations);return a&&a._cacheable&&(i[o]=Object.freeze(c)),c}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||E(t)||this.chart._animationsDisabled}updateElement(t,e,n,r){E(r)?Object.assign(t,n):this._resolveAnimations(e,r).update(t,n)}updateSharedOptions(t,e,n){t&&!E(e)&&this._resolveAnimations(void 0,e).update(t,n)}_setStyle(t,e,n,r){t.active=r;const i=this.getStyle(e,r);this._resolveAnimations(e,n,r).update(t,{options:!r&&this.getSharedOptions(i)||i})}removeHoverStyle(t,e,n){this._setStyle(t,n,"active",!1)}setHoverStyle(t,e,n){this._setStyle(t,n,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const e=this._data,n=this._cachedMeta.data;for(const[s,a,c]of this._syncList)this[s](a,c);this._syncList=[];const r=n.length,i=e.length,o=Math.min(i,r);o&&this.parse(0,o),i>r?this._insertElements(r,i-r,t):i<r&&this._removeElements(i,r-i)}_insertElements(t,e,n=!0){const r=this._cachedMeta,i=r.data,o=t+e;let s;const a=t=>{for(t.length+=e,s=t.length-1;s>=o;s--)t[s]=t[s-e]};for(a(i),s=t;s<o;++s)i[s]=new this.dataElementType;this._parsing&&a(r._parsed),this.parse(t,e),n&&this.updateElements(i,t,e,"reset")}updateElements(t,e,n,r){}_removeElements(t,e){const n=this._cachedMeta;if(this._parsing){const r=n._parsed.splice(t,e);n._stacked&&D(n,r)}n.data.splice(t,e)}_sync(t){if(this._parsing)this._syncList.push(t);else{const[e,n,r]=t;this[e](n,r)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){const t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,e){e&&this._sync(["_removeElements",t,e]);const n=arguments.length-2;n&&this._sync(["_insertElements",t,n])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function F(t,e){if(!t._cache.$bar){const n=t.getMatchingVisibleMetas(e);let i=[];for(let e=0,r=n.length;e<r;e++)i=i.concat(n[e].controller.getAllParsedValues(t));t._cache.$bar=(0,r._)(i.sort(((t,e)=>t-e)))}return t._cache.$bar}function I(t){const e=t.iScale,n=F(e,t.type);let i,o,s,a,c=e._length;const l=()=>{32767!==s&&-32768!==s&&((0,r.j)(a)&&(c=Math.min(c,Math.abs(s-a)||c)),a=s)};for(i=0,o=n.length;i<o;++i)s=e.getPixelForValue(n[i]),l();for(a=void 0,i=0,o=e.ticks.length;i<o;++i)s=e.getPixelForTick(i),l();return c}function R(t,e,n,i){const o=n.barThickness;let s,a;return(0,r.k)(o)?(s=e.min*n.categoryPercentage,a=n.barPercentage):(s=o*i,a=1),{chunk:s/i,ratio:a,start:e.pixels[t]-s/2}}function N(t,e,n,r){const i=e.pixels,o=i[t];let s=t>0?i[t-1]:null,a=t<i.length-1?i[t+1]:null;const c=n.categoryPercentage;null===s&&(s=o-(null===a?e.end-e.start:a-o)),null===a&&(a=o+o-s);const l=o-(o-Math.min(s,a))/2*c,u=Math.abs(a-s)/2*c;return{chunk:u/r,ratio:n.barPercentage,start:l}}function W(t,e,n,r){const i=n.parse(t[0],r),o=n.parse(t[1],r),s=Math.min(i,o),a=Math.max(i,o);let c=s,l=a;Math.abs(s)>Math.abs(a)&&(c=a,l=s),e[n.axis]=l,e._custom={barStart:c,barEnd:l,start:i,end:o,min:s,max:a}}function z(t,e,n,i){return(0,r.b)(t)?W(t,e,n,i):e[n.axis]=n.parse(t,i),e}function U(t,e,n,r){const i=t.iScale,o=t.vScale,s=i.getLabels(),a=i===o,c=[];let l,u,h,f;for(l=n,u=n+r;l<u;++l)f=e[l],h={},h[i.axis]=a||i.parse(s[l],l),c.push(z(f,h,o,l));return c}function H(t){return t&&void 0!==t.barStart&&void 0!==t.barEnd}function $(t,e,n){return 0!==t?(0,r.s)(t):(e.isHorizontal()?1:-1)*(e.min>=n?1:-1)}function B(t){let e,n,r,i,o;return t.horizontal?(e=t.base>t.x,n="left",r="right"):(e=t.base<t.y,n="bottom",r="top"),e?(i="end",o="start"):(i="start",o="end"),{start:n,end:r,reverse:e,top:i,bottom:o}}function V(t,e,n,r){let i=e.borderSkipped;const o={};if(!i)return void(t.borderSkipped=o);const{start:s,end:a,reverse:c,top:l,bottom:u}=B(t);"middle"===i&&n&&(t.enableBorderRadius=!0,(n._top||0)===r?i=l:(n._bottom||0)===r?i=u:(o[Y(u,s,a,c)]=!0,i=l)),o[Y(i,s,a,c)]=!0,t.borderSkipped=o}function Y(t,e,n,r){return r?(t=Z(t,e,n),t=q(t,n,e)):t=q(t,e,n),t}function Z(t,e,n){return t===e?n:t===n?e:t}function q(t,e,n){return"start"===t?e:"end"===t?n:t}function X(t,{inflateAmount:e},n){t.inflateAmount="auto"===e?1===n?.33:0:e}L.defaults={},L.prototype.datasetElementType=null,L.prototype.dataElementType=null;class G extends L{parsePrimitiveData(t,e,n,r){return U(t,e,n,r)}parseArrayData(t,e,n,r){return U(t,e,n,r)}parseObjectData(t,e,n,i){const{iScale:o,vScale:s}=t,{xAxisKey:a="x",yAxisKey:c="y"}=this._parsing,l="x"===o.axis?a:c,u="x"===s.axis?a:c,h=[];let f,d,p,g;for(f=n,d=n+i;f<d;++f)g=e[f],p={},p[o.axis]=o.parse((0,r.f)(g,l),f),h.push(z((0,r.f)(g,u),p,s,f));return h}updateRangeFromParsed(t,e,n,r){super.updateRangeFromParsed(t,e,n,r);const i=n._custom;i&&e===this._cachedMeta.vScale&&(t.min=Math.min(t.min,i.min),t.max=Math.max(t.max,i.max))}getMaxOverflow(){return 0}getLabelAndValue(t){const e=this._cachedMeta,{iScale:n,vScale:r}=e,i=this.getParsed(t),o=i._custom,s=H(o)?"["+o.start+", "+o.end+"]":""+r.getLabelForValue(i[r.axis]);return{label:""+n.getLabelForValue(i[n.axis]),value:s}}initialize(){this.enableOptionSharing=!0,super.initialize();const t=this._cachedMeta;t.stack=this.getDataset().stack}update(t){const e=this._cachedMeta;this.updateElements(e.data,0,e.data.length,t)}updateElements(t,e,n,i){const o="reset"===i,{index:s,_cachedMeta:{vScale:a}}=this,c=a.getBasePixel(),l=a.isHorizontal(),u=this._getRuler(),h=this.resolveDataElementOptions(e,i),f=this.getSharedOptions(h),d=this.includeOptions(i,f);this.updateSharedOptions(f,i,h);for(let p=e;p<e+n;p++){const e=this.getParsed(p),n=o||(0,r.k)(e[a.axis])?{base:c,head:c}:this._calculateBarValuePixels(p),h=this._calculateBarIndexPixels(p,u),g=(e._stacks||{})[a.axis],m={horizontal:l,base:n.base,enableBorderRadius:!g||H(e._custom)||s===g._top||s===g._bottom,x:l?n.head:h.center,y:l?h.center:n.head,height:l?h.size:Math.abs(n.size),width:l?Math.abs(n.size):h.size};d&&(m.options=f||this.resolveDataElementOptions(p,t[p].active?"active":i));const b=m.options||t[p].options;V(m,b,g,s),X(m,b,u.ratio),this.updateElement(t[p],p,m,i)}}_getStacks(t,e){const n=this._cachedMeta,i=n.iScale,o=i.getMatchingVisibleMetas(this._type),s=i.options.stacked,a=o.length,c=[];let l,u;for(l=0;l<a;++l)if(u=o[l],u.controller.options.grouped){if("undefined"!==typeof e){const t=u.controller.getParsed(e)[u.controller._cachedMeta.vScale.axis];if((0,r.k)(t)||isNaN(t))continue}if((!1===s||-1===c.indexOf(u.stack)||void 0===s&&void 0===u.stack)&&c.push(u.stack),u.index===t)break}return c.length||c.push(void 0),c}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,e,n){const r=this._getStacks(t,n),i=void 0!==e?r.indexOf(e):-1;return-1===i?r.length-1:i}_getRuler(){const t=this.options,e=this._cachedMeta,n=e.iScale,r=[];let i,o;for(i=0,o=e.data.length;i<o;++i)r.push(n.getPixelForValue(this.getParsed(i)[n.axis],i));const s=t.barThickness,a=s||I(e);return{min:a,pixels:r,start:n._startPixel,end:n._endPixel,stackCount:this._getStackCount(),scale:n,grouped:t.grouped,ratio:s?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){const{_cachedMeta:{vScale:e,_stacked:n},options:{base:i,minBarLength:o}}=this,s=i||0,a=this.getParsed(t),c=a._custom,l=H(c);let u,h,f=a[e.axis],d=0,p=n?this.applyStack(e,a,n):f;p!==f&&(d=p-f,p=f),l&&(f=c.barStart,p=c.barEnd-c.barStart,0!==f&&(0,r.s)(f)!==(0,r.s)(c.barEnd)&&(d=0),d+=f);const g=(0,r.k)(i)||l?d:i;let m=e.getPixelForValue(g);if(u=this.chart.getDataVisibility(t)?e.getPixelForValue(d+p):m,h=u-m,Math.abs(h)<o){h=$(h,e,s)*o,f===s&&(m-=h/2);const t=e.getPixelForDecimal(0),n=e.getPixelForDecimal(1),r=Math.min(t,n),i=Math.max(t,n);m=Math.max(Math.min(m,i),r),u=m+h}if(m===e.getPixelForValue(s)){const t=(0,r.s)(h)*e.getLineWidthForValue(s)/2;m+=t,h-=t}return{size:h,base:m,head:u,center:u+h/2}}_calculateBarIndexPixels(t,e){const n=e.scale,i=this.options,o=i.skipNull,s=(0,r.v)(i.maxBarThickness,1/0);let a,c;if(e.grouped){const n=o?this._getStackCount(t):e.stackCount,r="flex"===i.barThickness?N(t,e,i,n):R(t,e,i,n),l=this._getStackIndex(this.index,this._cachedMeta.stack,o?t:void 0);a=r.start+r.chunk*l+r.chunk/2,c=Math.min(s,r.chunk*r.ratio)}else a=n.getPixelForValue(this.getParsed(t)[n.axis],t),c=Math.min(s,e.min*e.ratio);return{base:a-c/2,head:a+c/2,center:a,size:c}}draw(){const t=this._cachedMeta,e=t.vScale,n=t.data,r=n.length;let i=0;for(;i<r;++i)null!==this.getParsed(i)[e.axis]&&n[i].draw(this._ctx)}}G.id="bar",G.defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}},G.overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};class J extends L{initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(t,e,n,r){const i=super.parsePrimitiveData(t,e,n,r);for(let o=0;o<i.length;o++)i[o]._custom=this.resolveDataElementOptions(o+n).radius;return i}parseArrayData(t,e,n,i){const o=super.parseArrayData(t,e,n,i);for(let s=0;s<o.length;s++){const t=e[n+s];o[s]._custom=(0,r.v)(t[2],this.resolveDataElementOptions(s+n).radius)}return o}parseObjectData(t,e,n,i){const o=super.parseObjectData(t,e,n,i);for(let s=0;s<o.length;s++){const t=e[n+s];o[s]._custom=(0,r.v)(t&&t.r&&+t.r,this.resolveDataElementOptions(s+n).radius)}return o}getMaxOverflow(){const t=this._cachedMeta.data;let e=0;for(let n=t.length-1;n>=0;--n)e=Math.max(e,t[n].size(this.resolveDataElementOptions(n))/2);return e>0&&e}getLabelAndValue(t){const e=this._cachedMeta,{xScale:n,yScale:r}=e,i=this.getParsed(t),o=n.getLabelForValue(i.x),s=r.getLabelForValue(i.y),a=i._custom;return{label:e.label,value:"("+o+", "+s+(a?", "+a:"")+")"}}update(t){const e=this._cachedMeta.data;this.updateElements(e,0,e.length,t)}updateElements(t,e,n,r){const i="reset"===r,{iScale:o,vScale:s}=this._cachedMeta,a=this.resolveDataElementOptions(e,r),c=this.getSharedOptions(a),l=this.includeOptions(r,c),u=o.axis,h=s.axis;for(let f=e;f<e+n;f++){const e=t[f],n=!i&&this.getParsed(f),a={},c=a[u]=i?o.getPixelForDecimal(.5):o.getPixelForValue(n[u]),d=a[h]=i?s.getBasePixel():s.getPixelForValue(n[h]);a.skip=isNaN(c)||isNaN(d),l&&(a.options=this.resolveDataElementOptions(f,e.active?"active":r),i&&(a.options.radius=0)),this.updateElement(e,f,a,r)}this.updateSharedOptions(c,r,a)}resolveDataElementOptions(t,e){const n=this.getParsed(t);let i=super.resolveDataElementOptions(t,e);i.$shared&&(i=Object.assign({},i,{$shared:!1}));const o=i.radius;return"active"!==e&&(i.radius=0),i.radius+=(0,r.v)(n&&n._custom,o),i}}function Q(t,e,n){let i=1,o=1,s=0,a=0;if(e<r.T){const c=t,l=c+e,u=Math.cos(c),h=Math.sin(c),f=Math.cos(l),d=Math.sin(l),p=(t,e,i)=>(0,r.p)(t,c,l,!0)?1:Math.max(e,e*n,i,i*n),g=(t,e,i)=>(0,r.p)(t,c,l,!0)?-1:Math.min(e,e*n,i,i*n),m=p(0,u,f),b=p(r.H,h,d),v=g(r.P,u,f),y=g(r.P+r.H,h,d);i=(m-v)/2,o=(b-y)/2,s=-(m+v)/2,a=-(b+y)/2}return{ratioX:i,ratioY:o,offsetX:s,offsetY:a}}J.id="bubble",J.defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}},J.overrides={scales:{x:{type:"linear"},y:{type:"linear"}},plugins:{tooltip:{callbacks:{title(){return""}}}}};class K extends L{constructor(t,e){super(t,e),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,e){const n=this.getDataset().data,i=this._cachedMeta;if(!1===this._parsing)i._parsed=n;else{let o,s,a=t=>+n[t];if((0,r.i)(n[t])){const{key:t="value"}=this._parsing;a=e=>+(0,r.f)(n[e],t)}for(o=t,s=t+e;o<s;++o)i._parsed[o]=a(o)}}_getRotation(){return(0,r.t)(this.options.rotation-90)}_getCircumference(){return(0,r.t)(this.options.circumference)}_getRotationExtents(){let t=r.T,e=-r.T;for(let n=0;n<this.chart.data.datasets.length;++n)if(this.chart.isDatasetVisible(n)){const r=this.chart.getDatasetMeta(n).controller,i=r._getRotation(),o=r._getCircumference();t=Math.min(t,i),e=Math.max(e,i+o)}return{rotation:t,circumference:e-t}}update(t){const e=this.chart,{chartArea:n}=e,i=this._cachedMeta,o=i.data,s=this.getMaxBorderWidth()+this.getMaxOffset(o)+this.options.spacing,a=Math.max((Math.min(n.width,n.height)-s)/2,0),c=Math.min((0,r.m)(this.options.cutout,a),1),l=this._getRingWeight(this.index),{circumference:u,rotation:h}=this._getRotationExtents(),{ratioX:f,ratioY:d,offsetX:p,offsetY:g}=Q(h,u,c),m=(n.width-s)/f,b=(n.height-s)/d,v=Math.max(Math.min(m,b)/2,0),y=(0,r.n)(this.options.radius,v),x=Math.max(y*c,0),_=(y-x)/this._getVisibleDatasetWeightTotal();this.offsetX=p*y,this.offsetY=g*y,i.total=this.calculateTotal(),this.outerRadius=y-_*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-_*l,0),this.updateElements(o,0,o.length,t)}_circumference(t,e){const n=this.options,i=this._cachedMeta,o=this._getCircumference();return e&&n.animation.animateRotate||!this.chart.getDataVisibility(t)||null===i._parsed[t]||i.data[t].hidden?0:this.calculateCircumference(i._parsed[t]*o/r.T)}updateElements(t,e,n,r){const i="reset"===r,o=this.chart,s=o.chartArea,a=o.options,c=a.animation,l=(s.left+s.right)/2,u=(s.top+s.bottom)/2,h=i&&c.animateScale,f=h?0:this.innerRadius,d=h?0:this.outerRadius,p=this.resolveDataElementOptions(e,r),g=this.getSharedOptions(p),m=this.includeOptions(r,g);let b,v=this._getRotation();for(b=0;b<e;++b)v+=this._circumference(b,i);for(b=e;b<e+n;++b){const e=this._circumference(b,i),n=t[b],o={x:l+this.offsetX,y:u+this.offsetY,startAngle:v,endAngle:v+e,circumference:e,outerRadius:d,innerRadius:f};m&&(o.options=g||this.resolveDataElementOptions(b,n.active?"active":r)),v+=e,this.updateElement(n,b,o,r)}this.updateSharedOptions(g,r,p)}calculateTotal(){const t=this._cachedMeta,e=t.data;let n,r=0;for(n=0;n<e.length;n++){const i=t._parsed[n];null===i||isNaN(i)||!this.chart.getDataVisibility(n)||e[n].hidden||(r+=Math.abs(i))}return r}calculateCircumference(t){const e=this._cachedMeta.total;return e>0&&!isNaN(t)?r.T*(Math.abs(t)/e):0}getLabelAndValue(t){const e=this._cachedMeta,n=this.chart,i=n.data.labels||[],o=(0,r.o)(e._parsed[t],n.options.locale);return{label:i[t]||"",value:o}}getMaxBorderWidth(t){let e=0;const n=this.chart;let r,i,o,s,a;if(!t)for(r=0,i=n.data.datasets.length;r<i;++r)if(n.isDatasetVisible(r)){o=n.getDatasetMeta(r),t=o.data,s=o.controller;break}if(!t)return 0;for(r=0,i=t.length;r<i;++r)a=s.resolveDataElementOptions(r),"inner"!==a.borderAlign&&(e=Math.max(e,a.borderWidth||0,a.hoverBorderWidth||0));return e}getMaxOffset(t){let e=0;for(let n=0,r=t.length;n<r;++n){const t=this.resolveDataElementOptions(n);e=Math.max(e,t.offset||0,t.hoverOffset||0)}return e}_getRingWeightOffset(t){let e=0;for(let n=0;n<t;++n)this.chart.isDatasetVisible(n)&&(e+=this._getRingWeight(n));return e}_getRingWeight(t){return Math.max((0,r.v)(this.chart.data.datasets[t].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}K.id="doughnut",K.defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"},K.descriptors={_scriptable:t=>"spacing"!==t,_indexable:t=>"spacing"!==t},K.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:n}}=t.legend.options;return e.labels.map(((e,r)=>{const i=t.getDatasetMeta(0),o=i.controller.getStyle(r);return{text:e,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(r),index:r}}))}return[]}},onClick(t,e,n){n.chart.toggleDataVisibility(e.index),n.chart.update()}},tooltip:{callbacks:{title(){return""},label(t){let e=t.label;const n=": "+t.formattedValue;return(0,r.b)(e)?(e=e.slice(),e[0]+=n):e+=n,e}}}}};class tt extends L{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const e=this._cachedMeta,{dataset:n,data:r=[],_dataset:i}=e,o=this.chart._animationsDisabled;let{start:s,count:a}=et(e,r,o);this._drawStart=s,this._drawCount=a,nt(e)&&(s=0,a=r.length),n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!i._decimated,n.points=r;const c=this.resolveDatasetElementOptions(t);this.options.showLine||(c.borderWidth=0),c.segment=this.options.segment,this.updateElement(n,void 0,{animated:!o,options:c},t),this.updateElements(r,s,a,t)}updateElements(t,e,n,i){const o="reset"===i,{iScale:s,vScale:a,_stacked:c,_dataset:l}=this._cachedMeta,u=this.resolveDataElementOptions(e,i),h=this.getSharedOptions(u),f=this.includeOptions(i,h),d=s.axis,p=a.axis,{spanGaps:g,segment:m}=this.options,b=(0,r.q)(g)?g:Number.POSITIVE_INFINITY,v=this.chart._animationsDisabled||o||"none"===i;let y=e>0&&this.getParsed(e-1);for(let x=e;x<e+n;++x){const e=t[x],n=this.getParsed(x),u=v?e:{},g=(0,r.k)(n[p]),_=u[d]=s.getPixelForValue(n[d],x),w=u[p]=o||g?a.getBasePixel():a.getPixelForValue(c?this.applyStack(a,n,c):n[p],x);u.skip=isNaN(_)||isNaN(w)||g,u.stop=x>0&&Math.abs(n[d]-y[d])>b,m&&(u.parsed=n,u.raw=l.data[x]),f&&(u.options=h||this.resolveDataElementOptions(x,e.active?"active":i)),v||this.updateElement(e,x,u,i),y=n}this.updateSharedOptions(h,i,u)}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,n=e.options&&e.options.borderWidth||0,r=t.data||[];if(!r.length)return n;const i=r[0].size(this.resolveDataElementOptions(0)),o=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(n,i,o)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}function et(t,e,n){const i=e.length;let o=0,s=i;if(t._sorted){const{iScale:a,_parsed:c}=t,l=a.axis,{min:u,max:h,minDefined:f,maxDefined:d}=a.getUserBounds();f&&(o=(0,r.w)(Math.min((0,r.x)(c,a.axis,u).lo,n?i:(0,r.x)(e,l,a.getPixelForValue(u)).lo),0,i-1)),s=d?(0,r.w)(Math.max((0,r.x)(c,a.axis,h).hi+1,n?0:(0,r.x)(e,l,a.getPixelForValue(h)).hi+1),o,i)-o:i-o}return{start:o,count:s}}function nt(t){const{xScale:e,yScale:n,_scaleRanges:r}=t,i={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!r)return t._scaleRanges=i,!0;const o=r.xmin!==e.min||r.xmax!==e.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,i),o}tt.id="line",tt.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},tt.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class rt extends L{constructor(t,e){super(t,e),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const e=this._cachedMeta,n=this.chart,i=n.data.labels||[],o=(0,r.o)(e._parsed[t].r,n.options.locale);return{label:i[t]||"",value:o}}parseObjectData(t,e,n,i){return r.y.bind(this)(t,e,n,i)}update(t){const e=this._cachedMeta.data;this._updateRadius(),this.updateElements(e,0,e.length,t)}getMinMax(){const t=this._cachedMeta,e={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach(((t,n)=>{const r=this.getParsed(n).r;!isNaN(r)&&this.chart.getDataVisibility(n)&&(r<e.min&&(e.min=r),r>e.max&&(e.max=r))})),e}_updateRadius(){const t=this.chart,e=t.chartArea,n=t.options,r=Math.min(e.right-e.left,e.bottom-e.top),i=Math.max(r/2,0),o=Math.max(n.cutoutPercentage?i/100*n.cutoutPercentage:1,0),s=(i-o)/t.getVisibleDatasetCount();this.outerRadius=i-s*this.index,this.innerRadius=this.outerRadius-s}updateElements(t,e,n,i){const o="reset"===i,s=this.chart,a=s.options,c=a.animation,l=this._cachedMeta.rScale,u=l.xCenter,h=l.yCenter,f=l.getIndexAngle(0)-.5*r.P;let d,p=f;const g=360/this.countVisibleElements();for(d=0;d<e;++d)p+=this._computeAngle(d,i,g);for(d=e;d<e+n;d++){const e=t[d];let n=p,r=p+this._computeAngle(d,i,g),a=s.getDataVisibility(d)?l.getDistanceFromCenterForValue(this.getParsed(d).r):0;p=r,o&&(c.animateScale&&(a=0),c.animateRotate&&(n=r=f));const m={x:u,y:h,innerRadius:0,outerRadius:a,startAngle:n,endAngle:r,options:this.resolveDataElementOptions(d,e.active?"active":i)};this.updateElement(e,d,m,i)}}countVisibleElements(){const t=this._cachedMeta;let e=0;return t.data.forEach(((t,n)=>{!isNaN(this.getParsed(n).r)&&this.chart.getDataVisibility(n)&&e++})),e}_computeAngle(t,e,n){return this.chart.getDataVisibility(t)?(0,r.t)(this.resolveDataElementOptions(t,e).angle||n):0}}rt.id="polarArea",rt.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0},rt.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:n}}=t.legend.options;return e.labels.map(((e,r)=>{const i=t.getDatasetMeta(0),o=i.controller.getStyle(r);return{text:e,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(r),index:r}}))}return[]}},onClick(t,e,n){n.chart.toggleDataVisibility(e.index),n.chart.update()}},tooltip:{callbacks:{title(){return""},label(t){return t.chart.data.labels[t.dataIndex]+": "+t.formattedValue}}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class it extends K{}it.id="pie",it.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class ot extends L{getLabelAndValue(t){const e=this._cachedMeta.vScale,n=this.getParsed(t);return{label:e.getLabels()[t],value:""+e.getLabelForValue(n[e.axis])}}parseObjectData(t,e,n,i){return r.y.bind(this)(t,e,n,i)}update(t){const e=this._cachedMeta,n=e.dataset,r=e.data||[],i=e.iScale.getLabels();if(n.points=r,"resize"!==t){const e=this.resolveDatasetElementOptions(t);this.options.showLine||(e.borderWidth=0);const o={_loop:!0,_fullLoop:i.length===r.length,options:e};this.updateElement(n,void 0,o,t)}this.updateElements(r,0,r.length,t)}updateElements(t,e,n,r){const i=this._cachedMeta.rScale,o="reset"===r;for(let s=e;s<e+n;s++){const e=t[s],n=this.resolveDataElementOptions(s,e.active?"active":r),a=i.getPointPositionForValue(s,this.getParsed(s).r),c=o?i.xCenter:a.x,l=o?i.yCenter:a.y,u={x:c,y:l,angle:a.angle,skip:isNaN(c)||isNaN(l),options:n};this.updateElement(e,s,u,r)}}}ot.id="radar",ot.defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}},ot.overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};class st extends tt{}st.id="scatter",st.defaults={showLine:!1,fill:!1},st.overrides={interaction:{mode:"point"},plugins:{tooltip:{callbacks:{title(){return""},label(t){return"("+t.label+", "+t.formattedValue+")"}}}},scales:{x:{type:"linear"},y:{type:"linear"}}};function at(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class ct{constructor(t){this.options=t||{}}formats(){return at()}parse(t,e){return at()}format(t,e){return at()}add(t,e,n){return at()}diff(t,e,n){return at()}startOf(t,e,n){return at()}endOf(t,e){return at()}}ct.override=function(t){Object.assign(ct.prototype,t)};var lt={_date:ct};function ut(t,e,n,i){const{controller:o,data:s,_sorted:a}=t,c=o._cachedMeta.iScale;if(c&&e===c.axis&&"r"!==e&&a&&s.length){const t=c._reversePixels?r.A:r.x;if(!i)return t(s,e,n);if(o._sharedOptions){const r=s[0],i="function"===typeof r.getRange&&r.getRange(e);if(i){const r=t(s,e,n-i),o=t(s,e,n+i);return{lo:r.lo,hi:o.hi}}}}return{lo:0,hi:s.length-1}}function ht(t,e,n,r,i){const o=t.getSortedVisibleDatasetMetas(),s=n[e];for(let a=0,c=o.length;a<c;++a){const{index:t,data:n}=o[a],{lo:c,hi:l}=ut(o[a],e,s,i);for(let e=c;e<=l;++e){const i=n[e];i.skip||r(i,t,e)}}}function ft(t){const e=-1!==t.indexOf("x"),n=-1!==t.indexOf("y");return function(t,r){const i=e?Math.abs(t.x-r.x):0,o=n?Math.abs(t.y-r.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(o,2))}}function dt(t,e,n,i,o){const s=[];if(!o&&!t.isPointInArea(e))return s;const a=function(n,a,c){(o||(0,r.B)(n,t.chartArea,0))&&n.inRange(e.x,e.y,i)&&s.push({element:n,datasetIndex:a,index:c})};return ht(t,n,e,a,!0),s}function pt(t,e,n,i){let o=[];function s(t,n,s){const{startAngle:a,endAngle:c}=t.getProps(["startAngle","endAngle"],i),{angle:l}=(0,r.C)(t,{x:e.x,y:e.y});(0,r.p)(l,a,c)&&o.push({element:t,datasetIndex:n,index:s})}return ht(t,n,e,s),o}function gt(t,e,n,r,i,o){let s=[];const a=ft(n);let c=Number.POSITIVE_INFINITY;function l(n,l,u){const h=n.inRange(e.x,e.y,i);if(r&&!h)return;const f=n.getCenterPoint(i),d=!!o||t.isPointInArea(f);if(!d&&!h)return;const p=a(e,f);p<c?(s=[{element:n,datasetIndex:l,index:u}],c=p):p===c&&s.push({element:n,datasetIndex:l,index:u})}return ht(t,n,e,l),s}function mt(t,e,n,r,i,o){return o||t.isPointInArea(e)?"r"!==n||r?gt(t,e,n,r,i,o):pt(t,e,n,i):[]}function bt(t,e,n,r,i){const o=[],s="x"===n?"inXRange":"inYRange";let a=!1;return ht(t,n,e,((t,r,c)=>{t[s](e[n],i)&&(o.push({element:t,datasetIndex:r,index:c}),a=a||t.inRange(e.x,e.y,i))})),r&&!a?[]:o}var vt={evaluateInteractionItems:ht,modes:{index(t,e,n,i){const o=(0,r.z)(e,t),s=n.axis||"x",a=n.includeInvisible||!1,c=n.intersect?dt(t,o,s,i,a):mt(t,o,s,!1,i,a),l=[];return c.length?(t.getSortedVisibleDatasetMetas().forEach((t=>{const e=c[0].index,n=t.data[e];n&&!n.skip&&l.push({element:n,datasetIndex:t.index,index:e})})),l):[]},dataset(t,e,n,i){const o=(0,r.z)(e,t),s=n.axis||"xy",a=n.includeInvisible||!1;let c=n.intersect?dt(t,o,s,i,a):mt(t,o,s,!1,i,a);if(c.length>0){const e=c[0].datasetIndex,n=t.getDatasetMeta(e).data;c=[];for(let t=0;t<n.length;++t)c.push({element:n[t],datasetIndex:e,index:t})}return c},point(t,e,n,i){const o=(0,r.z)(e,t),s=n.axis||"xy",a=n.includeInvisible||!1;return dt(t,o,s,i,a)},nearest(t,e,n,i){const o=(0,r.z)(e,t),s=n.axis||"xy",a=n.includeInvisible||!1;return mt(t,o,s,n.intersect,i,a)},x(t,e,n,i){const o=(0,r.z)(e,t);return bt(t,o,"x",n.intersect,i)},y(t,e,n,i){const o=(0,r.z)(e,t);return bt(t,o,"y",n.intersect,i)}}};const yt=["left","top","right","bottom"];function xt(t,e){return t.filter((t=>t.pos===e))}function _t(t,e){return t.filter((t=>-1===yt.indexOf(t.pos)&&t.box.axis===e))}function wt(t,e){return t.sort(((t,n)=>{const r=e?n:t,i=e?t:n;return r.weight===i.weight?r.index-i.index:r.weight-i.weight}))}function kt(t){const e=[];let n,r,i,o,s,a;for(n=0,r=(t||[]).length;n<r;++n)i=t[n],({position:o,options:{stack:s,stackWeight:a=1}}=i),e.push({index:n,box:i,pos:o,horizontal:i.isHorizontal(),weight:i.weight,stack:s&&o+s,stackWeight:a});return e}function Mt(t){const e={};for(const n of t){const{stack:t,pos:r,stackWeight:i}=n;if(!t||!yt.includes(r))continue;const o=e[t]||(e[t]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=i}return e}function St(t,e){const n=Mt(t),{vBoxMaxWidth:r,hBoxMaxHeight:i}=e;let o,s,a;for(o=0,s=t.length;o<s;++o){a=t[o];const{fullSize:s}=a.box,c=n[a.stack],l=c&&a.stackWeight/c.weight;a.horizontal?(a.width=l?l*r:s&&e.availableWidth,a.height=i):(a.width=r,a.height=l?l*i:s&&e.availableHeight)}return n}function Ot(t){const e=kt(t),n=wt(e.filter((t=>t.box.fullSize)),!0),r=wt(xt(e,"left"),!0),i=wt(xt(e,"right")),o=wt(xt(e,"top"),!0),s=wt(xt(e,"bottom")),a=_t(e,"x"),c=_t(e,"y");return{fullSize:n,leftAndTop:r.concat(o),rightAndBottom:i.concat(c).concat(s).concat(a),chartArea:xt(e,"chartArea"),vertical:r.concat(i).concat(c),horizontal:o.concat(s).concat(a)}}function Ct(t,e,n,r){return Math.max(t[n],e[n])+Math.max(t[r],e[r])}function Pt(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function Tt(t,e,n,i){const{pos:o,box:s}=n,a=t.maxPadding;if(!(0,r.i)(o)){n.size&&(t[o]-=n.size);const e=i[n.stack]||{size:0,count:1};e.size=Math.max(e.size,n.horizontal?s.height:s.width),n.size=e.size/e.count,t[o]+=n.size}s.getPadding&&Pt(a,s.getPadding());const c=Math.max(0,e.outerWidth-Ct(a,t,"left","right")),l=Math.max(0,e.outerHeight-Ct(a,t,"top","bottom")),u=c!==t.w,h=l!==t.h;return t.w=c,t.h=l,n.horizontal?{same:u,other:h}:{same:h,other:u}}function Dt(t){const e=t.maxPadding;function n(n){const r=Math.max(e[n]-t[n],0);return t[n]+=r,r}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}function Et(t,e){const n=e.maxPadding;function r(t){const r={left:0,top:0,right:0,bottom:0};return t.forEach((t=>{r[t]=Math.max(e[t],n[t])})),r}return r(t?["left","right"]:["top","bottom"])}function jt(t,e,n,r){const i=[];let o,s,a,c,l,u;for(o=0,s=t.length,l=0;o<s;++o){a=t[o],c=a.box,c.update(a.width||e.w,a.height||e.h,Et(a.horizontal,e));const{same:s,other:h}=Tt(e,n,a,r);l|=s&&i.length,u=u||h,c.fullSize||i.push(a)}return l&&jt(i,e,n,r)||u}function At(t,e,n,r,i){t.top=n,t.left=e,t.right=e+r,t.bottom=n+i,t.width=r,t.height=i}function Lt(t,e,n,i){const o=n.padding;let{x:s,y:a}=e;for(const c of t){const t=c.box,l=i[c.stack]||{count:1,placed:0,weight:1},u=c.stackWeight/l.weight||1;if(c.horizontal){const i=e.w*u,s=l.size||t.height;(0,r.j)(l.start)&&(a=l.start),t.fullSize?At(t,o.left,a,n.outerWidth-o.right-o.left,s):At(t,e.left+l.placed,a,i,s),l.start=a,l.placed+=i,a=t.bottom}else{const i=e.h*u,a=l.size||t.width;(0,r.j)(l.start)&&(s=l.start),t.fullSize?At(t,s,o.top,a,n.outerHeight-o.bottom-o.top):At(t,s,e.top+l.placed,a,i),l.start=s,l.placed+=i,s=t.right}}e.x=s,e.y=a}r.d.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}});var Ft={addBox(t,e){t.boxes||(t.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(t){e.draw(t)}}]},t.boxes.push(e)},removeBox(t,e){const n=t.boxes?t.boxes.indexOf(e):-1;-1!==n&&t.boxes.splice(n,1)},configure(t,e,n){e.fullSize=n.fullSize,e.position=n.position,e.weight=n.weight},update(t,e,n,i){if(!t)return;const o=(0,r.D)(t.options.layout.padding),s=Math.max(e-o.width,0),a=Math.max(n-o.height,0),c=Ot(t.boxes),l=c.vertical,u=c.horizontal;(0,r.E)(t.boxes,(t=>{"function"===typeof t.beforeLayout&&t.beforeLayout()}));const h=l.reduce(((t,e)=>e.box.options&&!1===e.box.options.display?t:t+1),0)||1,f=Object.freeze({outerWidth:e,outerHeight:n,padding:o,availableWidth:s,availableHeight:a,vBoxMaxWidth:s/2/h,hBoxMaxHeight:a/2}),d=Object.assign({},o);Pt(d,(0,r.D)(i));const p=Object.assign({maxPadding:d,w:s,h:a,x:o.left,y:o.top},o),g=St(l.concat(u),f);jt(c.fullSize,p,f,g),jt(l,p,f,g),jt(u,p,f,g)&&jt(l,p,f,g),Dt(p),Lt(c.leftAndTop,p,f,g),p.x+=p.w,p.y+=p.h,Lt(c.rightAndBottom,p,f,g),t.chartArea={left:p.left,top:p.top,right:p.left+p.w,bottom:p.top+p.h,height:p.h,width:p.w},(0,r.E)(c.chartArea,(e=>{const n=e.box;Object.assign(n,t.chartArea),n.update(p.w,p.h,{left:0,top:0,right:0,bottom:0})}))}};class It{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,n){}removeEventListener(t,e,n){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,n,r){return e=Math.max(0,e||t.width),n=n||t.height,{width:e,height:Math.max(0,r?Math.floor(e/r):n)}}isAttached(t){return!0}updateConfig(t){}}class Rt extends It{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const Nt="$chartjs",Wt={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},zt=t=>null===t||""===t;function Ut(t,e){const n=t.style,i=t.getAttribute("height"),o=t.getAttribute("width");if(t[Nt]={initial:{height:i,width:o,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",zt(o)){const e=(0,r.I)(t,"width");void 0!==e&&(t.width=e)}if(zt(i))if(""===t.style.height)t.height=t.width/(e||2);else{const e=(0,r.I)(t,"height");void 0!==e&&(t.height=e)}return t}const Ht=!!r.K&&{passive:!0};function $t(t,e,n){t.addEventListener(e,n,Ht)}function Bt(t,e,n){t.canvas.removeEventListener(e,n,Ht)}function Vt(t,e){const n=Wt[t.type]||t.type,{x:i,y:o}=(0,r.z)(t,e);return{type:n,chart:e,native:t,x:void 0!==i?i:null,y:void 0!==o?o:null}}function Yt(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function Zt(t,e,n){const r=t.canvas,i=new MutationObserver((t=>{let e=!1;for(const n of t)e=e||Yt(n.addedNodes,r),e=e&&!Yt(n.removedNodes,r);e&&n()}));return i.observe(document,{childList:!0,subtree:!0}),i}function qt(t,e,n){const r=t.canvas,i=new MutationObserver((t=>{let e=!1;for(const n of t)e=e||Yt(n.removedNodes,r),e=e&&!Yt(n.addedNodes,r);e&&n()}));return i.observe(document,{childList:!0,subtree:!0}),i}const Xt=new Map;let Gt=0;function Jt(){const t=window.devicePixelRatio;t!==Gt&&(Gt=t,Xt.forEach(((e,n)=>{n.currentDevicePixelRatio!==t&&e()})))}function Qt(t,e){Xt.size||window.addEventListener("resize",Jt),Xt.set(t,e)}function Kt(t){Xt.delete(t),Xt.size||window.removeEventListener("resize",Jt)}function te(t,e,n){const i=t.canvas,o=i&&(0,r.G)(i);if(!o)return;const s=(0,r.J)(((t,e)=>{const r=o.clientWidth;n(t,e),r<o.clientWidth&&n()}),window),a=new ResizeObserver((t=>{const e=t[0],n=e.contentRect.width,r=e.contentRect.height;0===n&&0===r||s(n,r)}));return a.observe(o),Qt(t,s),a}function ee(t,e,n){n&&n.disconnect(),"resize"===e&&Kt(t)}function ne(t,e,n){const i=t.canvas,o=(0,r.J)((e=>{null!==t.ctx&&n(Vt(e,t))}),t,(t=>{const e=t[0];return[e,e.offsetX,e.offsetY]}));return $t(i,e,o),o}class re extends It{acquireContext(t,e){const n=t&&t.getContext&&t.getContext("2d");return n&&n.canvas===t?(Ut(t,e),n):null}releaseContext(t){const e=t.canvas;if(!e[Nt])return!1;const n=e[Nt].initial;["height","width"].forEach((t=>{const i=n[t];(0,r.k)(i)?e.removeAttribute(t):e.setAttribute(t,i)}));const i=n.style||{};return Object.keys(i).forEach((t=>{e.style[t]=i[t]})),e.width=e.width,delete e[Nt],!0}addEventListener(t,e,n){this.removeEventListener(t,e);const r=t.$proxies||(t.$proxies={}),i={attach:Zt,detach:qt,resize:te},o=i[e]||ne;r[e]=o(t,e,n)}removeEventListener(t,e){const n=t.$proxies||(t.$proxies={}),r=n[e];if(!r)return;const i={attach:ee,detach:ee,resize:ee},o=i[e]||Bt;o(t,e,r),n[e]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,n,i){return(0,r.F)(t,e,n,i)}isAttached(t){const e=(0,r.G)(t);return!(!e||!e.isConnected)}}function ie(t){return!(0,r.L)()||"undefined"!==typeof OffscreenCanvas&&t instanceof OffscreenCanvas?Rt:re}class oe{constructor(){this.x=void 0,this.y=void 0,this.active=!1,this.options=void 0,this.$animations=void 0}tooltipPosition(t){const{x:e,y:n}=this.getProps(["x","y"],t);return{x:e,y:n}}hasValue(){return(0,r.q)(this.x)&&(0,r.q)(this.y)}getProps(t,e){const n=this.$animations;if(!e||!n)return this;const r={};return t.forEach((t=>{r[t]=n[t]&&n[t].active()?n[t]._to:this[t]})),r}}oe.defaults={},oe.defaultRoutes=void 0;const se={values(t){return(0,r.b)(t)?t:""+t},numeric(t,e,n){if(0===t)return"0";const i=this.chart.options.locale;let o,s=t;if(n.length>1){const e=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(e<1e-4||e>1e15)&&(o="scientific"),s=ae(t,n)}const a=(0,r.M)(Math.abs(s)),c=Math.max(Math.min(-1*Math.floor(a),20),0),l={notation:o,minimumFractionDigits:c,maximumFractionDigits:c};return Object.assign(l,this.options.ticks.format),(0,r.o)(t,i,l)},logarithmic(t,e,n){if(0===t)return"0";const i=t/Math.pow(10,Math.floor((0,r.M)(t)));return 1===i||2===i||5===i?se.numeric.call(this,t,e,n):""}};function ae(t,e){let n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(n)>=1&&t!==Math.floor(t)&&(n=t-Math.floor(t)),n}var ce={formatters:se};function le(t,e){const n=t.options.ticks,i=n.maxTicksLimit||ue(t),o=n.major.enabled?fe(e):[],s=o.length,a=o[0],c=o[s-1],l=[];if(s>i)return de(e,l,o,s/i),l;const u=he(o,e,i);if(s>0){let t,n;const i=s>1?Math.round((c-a)/(s-1)):null;for(pe(e,l,u,(0,r.k)(i)?0:a-i,a),t=0,n=s-1;t<n;t++)pe(e,l,u,o[t],o[t+1]);return pe(e,l,u,c,(0,r.k)(i)?e.length:c+i),l}return pe(e,l,u),l}function ue(t){const e=t.options.offset,n=t._tickSize(),r=t._length/n+(e?0:1),i=t._maxLength/n;return Math.floor(Math.min(r,i))}function he(t,e,n){const i=ge(t),o=e.length/n;if(!i)return Math.max(o,1);const s=(0,r.N)(i);for(let r=0,a=s.length-1;r<a;r++){const t=s[r];if(t>o)return t}return Math.max(o,1)}function fe(t){const e=[];let n,r;for(n=0,r=t.length;n<r;n++)t[n].major&&e.push(n);return e}function de(t,e,n,r){let i,o=0,s=n[0];for(r=Math.ceil(r),i=0;i<t.length;i++)i===s&&(e.push(t[i]),o++,s=n[o*r])}function pe(t,e,n,i,o){const s=(0,r.v)(i,0),a=Math.min((0,r.v)(o,t.length),t.length);let c,l,u,h=0;n=Math.ceil(n),o&&(c=o-i,n=c/Math.floor(c/n)),u=s;while(u<0)h++,u=Math.round(s+h*n);for(l=Math.max(s,0);l<a;l++)l===u&&(e.push(t[l]),h++,u=Math.round(s+h*n))}function ge(t){const e=t.length;let n,r;if(e<2)return!1;for(r=t[0],n=1;n<e;++n)if(t[n]-t[n-1]!==r)return!1;return r}r.d.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:ce.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),r.d.route("scale.ticks","color","","color"),r.d.route("scale.grid","color","","borderColor"),r.d.route("scale.grid","borderColor","","borderColor"),r.d.route("scale.title","color","","color"),r.d.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&"callback"!==t&&"parser"!==t,_indexable:t=>"borderDash"!==t&&"tickBorderDash"!==t}),r.d.describe("scales",{_fallback:"scale"}),r.d.describe("scale.ticks",{_scriptable:t=>"backdropPadding"!==t&&"callback"!==t,_indexable:t=>"backdropPadding"!==t});const me=t=>"left"===t?"right":"right"===t?"left":t,be=(t,e,n)=>"top"===e||"left"===e?t[e]+n:t[e]-n;function ve(t,e){const n=[],r=t.length/e,i=t.length;let o=0;for(;o<i;o+=r)n.push(t[Math.floor(o)]);return n}function ye(t,e,n){const r=t.ticks.length,i=Math.min(e,r-1),o=t._startPixel,s=t._endPixel,a=1e-6;let c,l=t.getPixelForTick(i);if(!(n&&(c=1===r?Math.max(l-o,s-l):0===e?(t.getPixelForTick(1)-l)/2:(l-t.getPixelForTick(i-1))/2,l+=i<e?c:-c,l<o-a||l>s+a)))return l}function xe(t,e){(0,r.E)(t,(t=>{const n=t.gc,r=n.length/2;let i;if(r>e){for(i=0;i<r;++i)delete t.data[n[i]];n.splice(0,r)}}))}function _e(t){return t.drawTicks?t.tickLength:0}function we(t,e){if(!t.display)return 0;const n=(0,r.$)(t.font,e),i=(0,r.D)(t.padding),o=(0,r.b)(t.text)?t.text.length:1;return o*n.lineHeight+i.height}function ke(t,e){return(0,r.h)(t,{scale:e,type:"scale"})}function Me(t,e,n){return(0,r.h)(t,{tick:n,index:e,type:"tick"})}function Se(t,e,n){let i=(0,r.a0)(t);return(n&&"right"!==e||!n&&"right"===e)&&(i=me(i)),i}function Oe(t,e,n,i){const{top:o,left:s,bottom:a,right:c,chart:l}=t,{chartArea:u,scales:h}=l;let f,d,p,g=0;const m=a-o,b=c-s;if(t.isHorizontal()){if(d=(0,r.a1)(i,s,c),(0,r.i)(n)){const t=Object.keys(n)[0],r=n[t];p=h[t].getPixelForValue(r)+m-e}else p="center"===n?(u.bottom+u.top)/2+m-e:be(t,n,e);f=c-s}else{if((0,r.i)(n)){const t=Object.keys(n)[0],r=n[t];d=h[t].getPixelForValue(r)-b+e}else d="center"===n?(u.left+u.right)/2-b+e:be(t,n,e);p=(0,r.a1)(i,a,o),g="left"===n?-r.H:r.H}return{titleX:d,titleY:p,maxWidth:f,rotation:g}}class Ce extends oe{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,e){return t}getUserBounds(){let{_userMin:t,_userMax:e,_suggestedMin:n,_suggestedMax:i}=this;return t=(0,r.O)(t,Number.POSITIVE_INFINITY),e=(0,r.O)(e,Number.NEGATIVE_INFINITY),n=(0,r.O)(n,Number.POSITIVE_INFINITY),i=(0,r.O)(i,Number.NEGATIVE_INFINITY),{min:(0,r.O)(t,n),max:(0,r.O)(e,i),minDefined:(0,r.g)(t),maxDefined:(0,r.g)(e)}}getMinMax(t){let e,{min:n,max:i,minDefined:o,maxDefined:s}=this.getUserBounds();if(o&&s)return{min:n,max:i};const a=this.getMatchingVisibleMetas();for(let r=0,c=a.length;r<c;++r)e=a[r].controller.getMinMax(this,t),o||(n=Math.min(n,e.min)),s||(i=Math.max(i,e.max));return n=s&&n>i?i:n,i=o&&n>i?n:i,{min:(0,r.O)(n,(0,r.O)(i,n)),max:(0,r.O)(i,(0,r.O)(n,i))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){(0,r.Q)(this.options.beforeUpdate,[this])}update(t,e,n){const{beginAtZero:i,grace:o,ticks:s}=this.options,a=s.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=(0,r.R)(this,o,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const c=a<this.ticks.length;this._convertTicksToLabels(c?ve(this.ticks,a):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),s.display&&(s.autoSkip||"auto"===s.source)&&(this.ticks=le(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),c&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t,e,n=this.options.reverse;this.isHorizontal()?(t=this.left,e=this.right):(t=this.top,e=this.bottom,n=!n),this._startPixel=t,this._endPixel=e,this._reversePixels=n,this._length=e-t,this._alignToPixels=this.options.alignToPixels}afterUpdate(){(0,r.Q)(this.options.afterUpdate,[this])}beforeSetDimensions(){(0,r.Q)(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){(0,r.Q)(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),(0,r.Q)(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){(0,r.Q)(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const e=this.options.ticks;let n,i,o;for(n=0,i=t.length;n<i;n++)o=t[n],o.label=(0,r.Q)(e.callback,[o.value,n,t],this)}afterTickToLabelConversion(){(0,r.Q)(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){(0,r.Q)(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,e=t.ticks,n=this.ticks.length,i=e.minRotation||0,o=e.maxRotation;let s,a,c,l=i;if(!this._isVisible()||!e.display||i>=o||n<=1||!this.isHorizontal())return void(this.labelRotation=i);const u=this._getLabelSizes(),h=u.widest.width,f=u.highest.height,d=(0,r.w)(this.chart.width-h,0,this.maxWidth);s=t.offset?this.maxWidth/n:d/(n-1),h+6>s&&(s=d/(n-(t.offset?.5:1)),a=this.maxHeight-_e(t.grid)-e.padding-we(t.title,this.chart.options.font),c=Math.sqrt(h*h+f*f),l=(0,r.S)(Math.min(Math.asin((0,r.w)((u.highest.height+6)/s,-1,1)),Math.asin((0,r.w)(a/c,-1,1))-Math.asin((0,r.w)(f/c,-1,1)))),l=Math.max(i,Math.min(o,l))),this.labelRotation=l}afterCalculateLabelRotation(){(0,r.Q)(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){(0,r.Q)(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:n,title:i,grid:o}}=this,s=this._isVisible(),a=this.isHorizontal();if(s){const s=we(i,e.options.font);if(a?(t.width=this.maxWidth,t.height=_e(o)+s):(t.height=this.maxHeight,t.width=_e(o)+s),n.display&&this.ticks.length){const{first:e,last:i,widest:o,highest:s}=this._getLabelSizes(),c=2*n.padding,l=(0,r.t)(this.labelRotation),u=Math.cos(l),h=Math.sin(l);if(a){const e=n.mirror?0:h*o.width+u*s.height;t.height=Math.min(this.maxHeight,t.height+e+c)}else{const e=n.mirror?0:u*o.width+h*s.height;t.width=Math.min(this.maxWidth,t.width+e+c)}this._calculatePadding(e,i,h,u)}}this._handleMargins(),a?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,e,n,r){const{ticks:{align:i,padding:o},position:s}=this.options,a=0!==this.labelRotation,c="top"!==s&&"x"===this.axis;if(this.isHorizontal()){const s=this.getPixelForTick(0)-this.left,l=this.right-this.getPixelForTick(this.ticks.length-1);let u=0,h=0;a?c?(u=r*t.width,h=n*e.height):(u=n*t.height,h=r*e.width):"start"===i?h=e.width:"end"===i?u=t.width:"inner"!==i&&(u=t.width/2,h=e.width/2),this.paddingLeft=Math.max((u-s+o)*this.width/(this.width-s),0),this.paddingRight=Math.max((h-l+o)*this.width/(this.width-l),0)}else{let n=e.height/2,r=t.height/2;"start"===i?(n=0,r=t.height):"end"===i&&(n=e.height,r=0),this.paddingTop=n+o,this.paddingBottom=r+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){(0,r.Q)(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:e}=this.options;return"top"===e||"bottom"===e||"x"===t}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){let e,n;for(this.beforeTickToLabelConversion(),this.generateTickLabels(t),e=0,n=t.length;e<n;e++)(0,r.k)(t[e].label)&&(t.splice(e,1),n--,e--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){const e=this.options.ticks.sampleSize;let n=this.ticks;e<n.length&&(n=ve(n,e)),this._labelSizes=t=this._computeLabelSizes(n,n.length)}return t}_computeLabelSizes(t,e){const{ctx:n,_longestTextCache:i}=this,o=[],s=[];let a,c,l,u,h,f,d,p,g,m,b,v=0,y=0;for(a=0;a<e;++a){if(u=t[a].label,h=this._resolveTickFontOptions(a),n.font=f=h.string,d=i[f]=i[f]||{data:{},gc:[]},p=h.lineHeight,g=m=0,(0,r.k)(u)||(0,r.b)(u)){if((0,r.b)(u))for(c=0,l=u.length;c<l;++c)b=u[c],(0,r.k)(b)||(0,r.b)(b)||(g=(0,r.U)(n,d.data,d.gc,g,b),m+=p)}else g=(0,r.U)(n,d.data,d.gc,g,u),m=p;o.push(g),s.push(m),v=Math.max(g,v),y=Math.max(m,y)}xe(i,e);const x=o.indexOf(v),_=s.indexOf(y),w=t=>({width:o[t]||0,height:s[t]||0});return{first:w(0),last:w(e-1),widest:w(x),highest:w(_),widths:o,heights:s}}getLabelForValue(t){return t}getPixelForValue(t,e){return NaN}getValueForPixel(t){}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const e=this._startPixel+t*this._length;return(0,r.V)(this._alignToPixels?(0,r.W)(this.chart,e,0):e)}getDecimalForPixel(t){const e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:e}=this;return t<0&&e<0?e:t>0&&e>0?t:0}getContext(t){const e=this.ticks||[];if(t>=0&&t<e.length){const n=e[t];return n.$context||(n.$context=Me(this.getContext(),t,n))}return this.$context||(this.$context=ke(this.chart.getContext(),this))}_tickSize(){const t=this.options.ticks,e=(0,r.t)(this.labelRotation),n=Math.abs(Math.cos(e)),i=Math.abs(Math.sin(e)),o=this._getLabelSizes(),s=t.autoSkipPadding||0,a=o?o.widest.width+s:0,c=o?o.highest.height+s:0;return this.isHorizontal()?c*n>a*i?a/n:c/i:c*i<a*n?c/n:a/i}_isVisible(){const t=this.options.display;return"auto"!==t?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){const e=this.axis,n=this.chart,i=this.options,{grid:o,position:s}=i,a=o.offset,c=this.isHorizontal(),l=this.ticks,u=l.length+(a?1:0),h=_e(o),f=[],d=o.setContext(this.getContext()),p=d.drawBorder?d.borderWidth:0,g=p/2,m=function(t){return(0,r.W)(n,t,p)};let b,v,y,x,_,w,k,M,S,O,C,P;if("top"===s)b=m(this.bottom),w=this.bottom-h,M=b-g,O=m(t.top)+g,P=t.bottom;else if("bottom"===s)b=m(this.top),O=t.top,P=m(t.bottom)-g,w=b+g,M=this.top+h;else if("left"===s)b=m(this.right),_=this.right-h,k=b-g,S=m(t.left)+g,C=t.right;else if("right"===s)b=m(this.left),S=t.left,C=m(t.right)-g,_=b+g,k=this.left+h;else if("x"===e){if("center"===s)b=m((t.top+t.bottom)/2+.5);else if((0,r.i)(s)){const t=Object.keys(s)[0],e=s[t];b=m(this.chart.scales[t].getPixelForValue(e))}O=t.top,P=t.bottom,w=b+g,M=w+h}else if("y"===e){if("center"===s)b=m((t.left+t.right)/2);else if((0,r.i)(s)){const t=Object.keys(s)[0],e=s[t];b=m(this.chart.scales[t].getPixelForValue(e))}_=b-g,k=_-h,S=t.left,C=t.right}const T=(0,r.v)(i.ticks.maxTicksLimit,u),D=Math.max(1,Math.ceil(u/T));for(v=0;v<u;v+=D){const t=o.setContext(this.getContext(v)),e=t.lineWidth,i=t.color,s=o.borderDash||[],l=t.borderDashOffset,u=t.tickWidth,h=t.tickColor,d=t.tickBorderDash||[],p=t.tickBorderDashOffset;y=ye(this,v,a),void 0!==y&&(x=(0,r.W)(n,y,e),c?_=k=S=C=x:w=M=O=P=x,f.push({tx1:_,ty1:w,tx2:k,ty2:M,x1:S,y1:O,x2:C,y2:P,width:e,color:i,borderDash:s,borderDashOffset:l,tickWidth:u,tickColor:h,tickBorderDash:d,tickBorderDashOffset:p}))}return this._ticksLength=u,this._borderValue=b,f}_computeLabelItems(t){const e=this.axis,n=this.options,{position:i,ticks:o}=n,s=this.isHorizontal(),a=this.ticks,{align:c,crossAlign:l,padding:u,mirror:h}=o,f=_e(n.grid),d=f+u,p=h?-u:d,g=-(0,r.t)(this.labelRotation),m=[];let b,v,y,x,_,w,k,M,S,O,C,P,T="middle";if("top"===i)w=this.bottom-p,k=this._getXAxisLabelAlignment();else if("bottom"===i)w=this.top+p,k=this._getXAxisLabelAlignment();else if("left"===i){const t=this._getYAxisLabelAlignment(f);k=t.textAlign,_=t.x}else if("right"===i){const t=this._getYAxisLabelAlignment(f);k=t.textAlign,_=t.x}else if("x"===e){if("center"===i)w=(t.top+t.bottom)/2+d;else if((0,r.i)(i)){const t=Object.keys(i)[0],e=i[t];w=this.chart.scales[t].getPixelForValue(e)+d}k=this._getXAxisLabelAlignment()}else if("y"===e){if("center"===i)_=(t.left+t.right)/2-d;else if((0,r.i)(i)){const t=Object.keys(i)[0],e=i[t];_=this.chart.scales[t].getPixelForValue(e)}k=this._getYAxisLabelAlignment(f).textAlign}"y"===e&&("start"===c?T="top":"end"===c&&(T="bottom"));const D=this._getLabelSizes();for(b=0,v=a.length;b<v;++b){y=a[b],x=y.label;const t=o.setContext(this.getContext(b));M=this.getPixelForTick(b)+o.labelOffset,S=this._resolveTickFontOptions(b),O=S.lineHeight,C=(0,r.b)(x)?x.length:1;const e=C/2,n=t.color,c=t.textStrokeColor,u=t.textStrokeWidth;let f,d=k;if(s?(_=M,"inner"===k&&(d=b===v-1?this.options.reverse?"left":"right":0===b?this.options.reverse?"right":"left":"center"),P="top"===i?"near"===l||0!==g?-C*O+O/2:"center"===l?-D.highest.height/2-e*O+O:-D.highest.height+O/2:"near"===l||0!==g?O/2:"center"===l?D.highest.height/2-e*O:D.highest.height-C*O,h&&(P*=-1)):(w=M,P=(1-C)*O/2),t.showLabelBackdrop){const e=(0,r.D)(t.backdropPadding),n=D.heights[b],i=D.widths[b];let o=w+P-e.top,s=_-e.left;switch(T){case"middle":o-=n/2;break;case"bottom":o-=n;break}switch(k){case"center":s-=i/2;break;case"right":s-=i;break}f={left:s,top:o,width:i+e.width,height:n+e.height,color:t.backdropColor}}m.push({rotation:g,label:x,font:S,color:n,strokeColor:c,strokeWidth:u,textOffset:P,textAlign:d,textBaseline:T,translation:[_,w],backdrop:f})}return m}_getXAxisLabelAlignment(){const{position:t,ticks:e}=this.options,n=-(0,r.t)(this.labelRotation);if(n)return"top"===t?"left":"right";let i="center";return"start"===e.align?i="left":"end"===e.align?i="right":"inner"===e.align&&(i="inner"),i}_getYAxisLabelAlignment(t){const{position:e,ticks:{crossAlign:n,mirror:r,padding:i}}=this.options,o=this._getLabelSizes(),s=t+i,a=o.widest.width;let c,l;return"left"===e?r?(l=this.right+i,"near"===n?c="left":"center"===n?(c="center",l+=a/2):(c="right",l+=a)):(l=this.right-s,"near"===n?c="right":"center"===n?(c="center",l-=a/2):(c="left",l=this.left)):"right"===e?r?(l=this.left+i,"near"===n?c="right":"center"===n?(c="center",l-=a/2):(c="left",l-=a)):(l=this.left+s,"near"===n?c="left":"center"===n?(c="center",l+=a/2):(c="right",l=this.right)):c="right",{textAlign:c,x:l}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,e=this.options.position;return"left"===e||"right"===e?{top:0,left:this.left,bottom:t.height,right:this.right}:"top"===e||"bottom"===e?{top:this.top,left:0,bottom:this.bottom,right:t.width}:void 0}drawBackground(){const{ctx:t,options:{backgroundColor:e},left:n,top:r,width:i,height:o}=this;e&&(t.save(),t.fillStyle=e,t.fillRect(n,r,i,o),t.restore())}getLineWidthForValue(t){const e=this.options.grid;if(!this._isVisible()||!e.display)return 0;const n=this.ticks,r=n.findIndex((e=>e.value===t));if(r>=0){const t=e.setContext(this.getContext(r));return t.lineWidth}return 0}drawGrid(t){const e=this.options.grid,n=this.ctx,r=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let i,o;const s=(t,e,r)=>{r.width&&r.color&&(n.save(),n.lineWidth=r.width,n.strokeStyle=r.color,n.setLineDash(r.borderDash||[]),n.lineDashOffset=r.borderDashOffset,n.beginPath(),n.moveTo(t.x,t.y),n.lineTo(e.x,e.y),n.stroke(),n.restore())};if(e.display)for(i=0,o=r.length;i<o;++i){const t=r[i];e.drawOnChartArea&&s({x:t.x1,y:t.y1},{x:t.x2,y:t.y2},t),e.drawTicks&&s({x:t.tx1,y:t.ty1},{x:t.tx2,y:t.ty2},{color:t.tickColor,width:t.tickWidth,borderDash:t.tickBorderDash,borderDashOffset:t.tickBorderDashOffset})}}drawBorder(){const{chart:t,ctx:e,options:{grid:n}}=this,i=n.setContext(this.getContext()),o=n.drawBorder?i.borderWidth:0;if(!o)return;const s=n.setContext(this.getContext(0)).lineWidth,a=this._borderValue;let c,l,u,h;this.isHorizontal()?(c=(0,r.W)(t,this.left,o)-o/2,l=(0,r.W)(t,this.right,s)+s/2,u=h=a):(u=(0,r.W)(t,this.top,o)-o/2,h=(0,r.W)(t,this.bottom,s)+s/2,c=l=a),e.save(),e.lineWidth=i.borderWidth,e.strokeStyle=i.borderColor,e.beginPath(),e.moveTo(c,u),e.lineTo(l,h),e.stroke(),e.restore()}drawLabels(t){const e=this.options.ticks;if(!e.display)return;const n=this.ctx,i=this._computeLabelArea();i&&(0,r.X)(n,i);const o=this._labelItems||(this._labelItems=this._computeLabelItems(t));let s,a;for(s=0,a=o.length;s<a;++s){const t=o[s],e=t.font,i=t.label;t.backdrop&&(n.fillStyle=t.backdrop.color,n.fillRect(t.backdrop.left,t.backdrop.top,t.backdrop.width,t.backdrop.height));let a=t.textOffset;(0,r.Y)(n,i,0,a,e,t)}i&&(0,r.Z)(n)}drawTitle(){const{ctx:t,options:{position:e,title:n,reverse:i}}=this;if(!n.display)return;const o=(0,r.$)(n.font),s=(0,r.D)(n.padding),a=n.align;let c=o.lineHeight/2;"bottom"===e||"center"===e||(0,r.i)(e)?(c+=s.bottom,(0,r.b)(n.text)&&(c+=o.lineHeight*(n.text.length-1))):c+=s.top;const{titleX:l,titleY:u,maxWidth:h,rotation:f}=Oe(this,c,e,a);(0,r.Y)(t,n.text,0,0,o,{color:n.color,maxWidth:h,rotation:f,textAlign:Se(a,e,i),textBaseline:"middle",translation:[l,u]})}draw(t){this._isVisible()&&(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){const t=this.options,e=t.ticks&&t.ticks.z||0,n=(0,r.v)(t.grid&&t.grid.z,-1);return this._isVisible()&&this.draw===Ce.prototype.draw?[{z:n,draw:t=>{this.drawBackground(),this.drawGrid(t),this.drawTitle()}},{z:n+1,draw:()=>{this.drawBorder()}},{z:e,draw:t=>{this.drawLabels(t)}}]:[{z:e,draw:t=>{this.draw(t)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),n=this.axis+"AxisID",r=[];let i,o;for(i=0,o=e.length;i<o;++i){const o=e[i];o[n]!==this.id||t&&o.type!==t||r.push(o)}return r}_resolveTickFontOptions(t){const e=this.options.ticks.setContext(this.getContext(t));return(0,r.$)(e.font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class Pe{constructor(t,e,n){this.type=t,this.scope=e,this.override=n,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){const e=Object.getPrototypeOf(t);let n;Ee(e)&&(n=this.register(e));const i=this.items,o=t.id,s=this.scope+"."+o;if(!o)throw new Error("class does not have id: "+t);return o in i||(i[o]=t,Te(t,s,n),this.override&&r.d.override(t.id,t.overrides)),s}get(t){return this.items[t]}unregister(t){const e=this.items,n=t.id,i=this.scope;n in e&&delete e[n],i&&n in r.d[i]&&(delete r.d[i][n],this.override&&delete r.a2[n])}}function Te(t,e,n){const i=(0,r.a3)(Object.create(null),[n?r.d.get(n):{},r.d.get(e),t.defaults]);r.d.set(e,i),t.defaultRoutes&&De(e,t.defaultRoutes),t.descriptors&&r.d.describe(e,t.descriptors)}function De(t,e){Object.keys(e).forEach((n=>{const i=n.split("."),o=i.pop(),s=[t].concat(i).join("."),a=e[n].split("."),c=a.pop(),l=a.join(".");r.d.route(s,o,l,c)}))}function Ee(t){return"id"in t&&"defaults"in t}class je{constructor(){this.controllers=new Pe(L,"datasets",!0),this.elements=new Pe(oe,"elements"),this.plugins=new Pe(Object,"plugins"),this.scales=new Pe(Ce,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,e,n){[...e].forEach((e=>{const i=n||this._getRegistryForType(e);n||i.isForType(e)||i===this.plugins&&e.id?this._exec(t,i,e):(0,r.E)(e,(e=>{const r=n||this._getRegistryForType(e);this._exec(t,r,e)}))}))}_exec(t,e,n){const i=(0,r.a4)(t);(0,r.Q)(n["before"+i],[],n),e[t](n),(0,r.Q)(n["after"+i],[],n)}_getRegistryForType(t){for(let e=0;e<this._typedRegistries.length;e++){const n=this._typedRegistries[e];if(n.isForType(t))return n}return this.plugins}_get(t,e,n){const r=e.get(t);if(void 0===r)throw new Error('"'+t+'" is not a registered '+n+".");return r}}var Ae=new je;class Le{constructor(){this._init=[]}notify(t,e,n,r){"beforeInit"===e&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const i=r?this._descriptors(t).filter(r):this._descriptors(t),o=this._notify(i,t,e,n);return"afterDestroy"===e&&(this._notify(i,t,"stop"),this._notify(this._init,t,"uninstall")),o}_notify(t,e,n,i){i=i||{};for(const o of t){const t=o.plugin,s=t[n],a=[e,i,o.options];if(!1===(0,r.Q)(s,a,t)&&i.cancelable)return!1}return!0}invalidate(){(0,r.k)(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const e=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),e}_createDescriptors(t,e){const n=t&&t.config,i=(0,r.v)(n.options&&n.options.plugins,{}),o=Fe(n);return!1!==i||e?Re(t,o,i,e):[]}_notifyStateChanges(t){const e=this._oldCache||[],n=this._cache,r=(t,e)=>t.filter((t=>!e.some((e=>t.plugin.id===e.plugin.id))));this._notify(r(e,n),t,"stop"),this._notify(r(n,e),t,"start")}}function Fe(t){const e=[],n=Object.keys(Ae.plugins.items);for(let i=0;i<n.length;i++)e.push(Ae.getPlugin(n[i]));const r=t.plugins||[];for(let i=0;i<r.length;i++){const t=r[i];-1===e.indexOf(t)&&e.push(t)}return e}function Ie(t,e){return e||!1!==t?!0===t?{}:t:null}function Re(t,e,n,r){const i=[],o=t.getContext();for(let s=0;s<e.length;s++){const a=e[s],c=a.id,l=Ie(n[c],r);null!==l&&i.push({plugin:a,options:Ne(t.config,a,l,o)})}return i}function Ne(t,e,n,r){const i=t.pluginScopeKeys(e),o=t.getOptionScopes(n,i);return t.createResolver(o,r,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function We(t,e){const n=r.d.datasets[t]||{},i=(e.datasets||{})[t]||{};return i.indexAxis||e.indexAxis||n.indexAxis||"x"}function ze(t,e){let n=t;return"_index_"===t?n=e:"_value_"===t&&(n="x"===e?"y":"x"),n}function Ue(t,e){return t===e?"_index_":"_value_"}function He(t){return"top"===t||"bottom"===t?"x":"left"===t||"right"===t?"y":void 0}function $e(t,e){return"x"===t||"y"===t?t:e.axis||He(e.position)||t.charAt(0).toLowerCase()}function Be(t,e){const n=r.a2[t.type]||{scales:{}},i=e.scales||{},o=We(t.type,e),s=Object.create(null),a=Object.create(null);return Object.keys(i).forEach((t=>{const e=i[t];if(!(0,r.i)(e))return console.error(`Invalid scale configuration for scale: ${t}`);if(e._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${t}`);const c=$e(t,e),l=Ue(c,o),u=n.scales||{};s[c]=s[c]||t,a[t]=(0,r.aa)(Object.create(null),[{axis:c},e,u[c],u[l]])})),t.data.datasets.forEach((n=>{const o=n.type||t.type,c=n.indexAxis||We(o,e),l=r.a2[o]||{},u=l.scales||{};Object.keys(u).forEach((t=>{const e=ze(t,c),o=n[e+"AxisID"]||s[e]||e;a[o]=a[o]||Object.create(null),(0,r.aa)(a[o],[{axis:e},i[o],u[t]])}))})),Object.keys(a).forEach((t=>{const e=a[t];(0,r.aa)(e,[r.d.scales[e.type],r.d.scale])})),a}function Ve(t){const e=t.options||(t.options={});e.plugins=(0,r.v)(e.plugins,{}),e.scales=Be(t,e)}function Ye(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function Ze(t){return t=t||{},t.data=Ye(t.data),Ve(t),t}const qe=new Map,Xe=new Set;function Ge(t,e){let n=qe.get(t);return n||(n=e(),qe.set(t,n),Xe.add(n)),n}const Je=(t,e,n)=>{const i=(0,r.f)(e,n);void 0!==i&&t.add(i)};class Qe{constructor(t){this._config=Ze(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=Ye(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),Ve(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return Ge(t,(()=>[[`datasets.${t}`,""]]))}datasetAnimationScopeKeys(t,e){return Ge(`${t}.transition.${e}`,(()=>[[`datasets.${t}.transitions.${e}`,`transitions.${e}`],[`datasets.${t}`,""]]))}datasetElementScopeKeys(t,e){return Ge(`${t}-${e}`,(()=>[[`datasets.${t}.elements.${e}`,`datasets.${t}`,`elements.${e}`,""]]))}pluginScopeKeys(t){const e=t.id,n=this.type;return Ge(`${n}-plugin-${e}`,(()=>[[`plugins.${e}`,...t.additionalOptionScopes||[]]]))}_cachedScopes(t,e){const n=this._scopeCache;let r=n.get(t);return r&&!e||(r=new Map,n.set(t,r)),r}getOptionScopes(t,e,n){const{options:i,type:o}=this,s=this._cachedScopes(t,n),a=s.get(e);if(a)return a;const c=new Set;e.forEach((e=>{t&&(c.add(t),e.forEach((e=>Je(c,t,e)))),e.forEach((t=>Je(c,i,t))),e.forEach((t=>Je(c,r.a2[o]||{},t))),e.forEach((t=>Je(c,r.d,t))),e.forEach((t=>Je(c,r.a5,t)))}));const l=Array.from(c);return 0===l.length&&l.push(Object.create(null)),Xe.has(e)&&s.set(e,l),l}chartOptionScopes(){const{options:t,type:e}=this;return[t,r.a2[e]||{},r.d.datasets[e]||{},{type:e},r.d,r.a5]}resolveNamedOptions(t,e,n,i=[""]){const o={$shared:!0},{resolver:s,subPrefixes:a}=Ke(this._resolverCache,t,i);let c=s;if(en(s,e)){o.$shared=!1,n=(0,r.a6)(n)?n():n;const e=this.createResolver(t,n,a);c=(0,r.a7)(s,n,e)}for(const r of e)o[r]=c[r];return o}createResolver(t,e,n=[""],i){const{resolver:o}=Ke(this._resolverCache,t,n);return(0,r.i)(e)?(0,r.a7)(o,e,void 0,i):o}}function Ke(t,e,n){let i=t.get(e);i||(i=new Map,t.set(e,i));const o=n.join();let s=i.get(o);if(!s){const t=(0,r.a8)(e,n);s={resolver:t,subPrefixes:n.filter((t=>!t.toLowerCase().includes("hover")))},i.set(o,s)}return s}const tn=t=>(0,r.i)(t)&&Object.getOwnPropertyNames(t).reduce(((e,n)=>e||(0,r.a6)(t[n])),!1);function en(t,e){const{isScriptable:n,isIndexable:i}=(0,r.a9)(t);for(const o of e){const e=n(o),s=i(o),a=(s||e)&&t[o];if(e&&((0,r.a6)(a)||tn(a))||s&&(0,r.b)(a))return!0}return!1}var nn="3.8.0";const rn=["top","bottom","left","right","chartArea"];function on(t,e){return"top"===t||"bottom"===t||-1===rn.indexOf(t)&&"x"===e}function sn(t,e){return function(n,r){return n[t]===r[t]?n[e]-r[e]:n[t]-r[t]}}function an(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),(0,r.Q)(n&&n.onComplete,[t],e)}function cn(t){const e=t.chart,n=e.options.animation;(0,r.Q)(n&&n.onProgress,[t],e)}function ln(t){return(0,r.L)()&&"string"===typeof t?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const un={},hn=t=>{const e=ln(t);return Object.values(un).filter((t=>t.canvas===e)).pop()};function fn(t,e,n){const r=Object.keys(t);for(const i of r){const r=+i;if(r>=e){const o=t[i];delete t[i],(n>0||r>e)&&(t[r+n]=o)}}}function dn(t,e,n,r){return n&&"mouseout"!==t.type?r?e:t:null}class pn{constructor(t,e){const n=this.config=new Qe(e),i=ln(t),s=hn(i);if(s)throw new Error("Canvas is already in use. Chart with ID '"+s.id+"' must be destroyed before the canvas can be reused.");const a=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||ie(i)),this.platform.updateConfig(n);const c=this.platform.acquireContext(i,a.aspectRatio),l=c&&c.canvas,u=l&&l.height,h=l&&l.width;this.id=(0,r.ab)(),this.ctx=c,this.canvas=l,this.width=h,this.height=u,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Le,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=(0,r.ac)((t=>this.update(t)),a.resizeDelay||0),this._dataChanges=[],un[this.id]=this,c&&l?(o.listen(this,"complete",an),o.listen(this,"progress",cn),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:e},width:n,height:i,_aspectRatio:o}=this;return(0,r.k)(t)?e&&o?o:i?n/i:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():(0,r.ad)(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return(0,r.ae)(this.canvas,this.ctx),this}stop(){return o.stop(this),this}resize(t,e){o.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){const n=this.options,i=this.canvas,o=n.maintainAspectRatio&&this.aspectRatio,s=this.platform.getMaximumSize(i,t,e,o),a=n.devicePixelRatio||this.platform.getDevicePixelRatio(),c=this.width?"resize":"attach";this.width=s.width,this.height=s.height,this._aspectRatio=this.aspectRatio,(0,r.ad)(this,a,!0)&&(this.notifyPlugins("resize",{size:s}),(0,r.Q)(n.onResize,[this,s],this),this.attached&&this._doResize(c)&&this.render())}ensureScalesHaveIDs(){const t=this.options,e=t.scales||{};(0,r.E)(e,((t,e)=>{t.id=e}))}buildOrUpdateScales(){const t=this.options,e=t.scales,n=this.scales,i=Object.keys(n).reduce(((t,e)=>(t[e]=!1,t)),{});let o=[];e&&(o=o.concat(Object.keys(e).map((t=>{const n=e[t],r=$e(t,n),i="r"===r,o="x"===r;return{options:n,dposition:i?"chartArea":o?"bottom":"left",dtype:i?"radialLinear":o?"category":"linear"}})))),(0,r.E)(o,(e=>{const o=e.options,s=o.id,a=$e(s,o),c=(0,r.v)(o.type,e.dtype);void 0!==o.position&&on(o.position,a)===on(e.dposition)||(o.position=e.dposition),i[s]=!0;let l=null;if(s in n&&n[s].type===c)l=n[s];else{const t=Ae.getScale(c);l=new t({id:s,type:c,ctx:this.ctx,chart:this}),n[l.id]=l}l.init(o,t)})),(0,r.E)(i,((t,e)=>{t||delete n[e]})),(0,r.E)(n,(t=>{Ft.configure(this,t,t.options),Ft.addBox(this,t)}))}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,n=t.length;if(t.sort(((t,e)=>t.index-e.index)),n>e){for(let t=e;t<n;++t)this._destroyDatasetMeta(t);t.splice(e,n-e)}this._sortedMetasets=t.slice(0).sort(sn("order","index"))}_removeUnreferencedMetasets(){const{_metasets:t,data:{datasets:e}}=this;t.length>e.length&&delete this._stacks,t.forEach(((t,n)=>{0===e.filter((e=>e===t._dataset)).length&&this._destroyDatasetMeta(n)}))}buildOrUpdateControllers(){const t=[],e=this.data.datasets;let n,i;for(this._removeUnreferencedMetasets(),n=0,i=e.length;n<i;n++){const i=e[n];let o=this.getDatasetMeta(n);const s=i.type||this.config.type;if(o.type&&o.type!==s&&(this._destroyDatasetMeta(n),o=this.getDatasetMeta(n)),o.type=s,o.indexAxis=i.indexAxis||We(s,this.options),o.order=i.order||0,o.index=n,o.label=""+i.label,o.visible=this.isDatasetVisible(n),o.controller)o.controller.updateIndex(n),o.controller.linkScales();else{const e=Ae.getController(s),{datasetElementType:i,dataElementType:a}=r.d.datasets[s];Object.assign(e.prototype,{dataElementType:Ae.getElement(a),datasetElementType:i&&Ae.getElement(i)}),o.controller=new e(this,n),t.push(o.controller)}}return this._updateMetasets(),t}_resetElements(){(0,r.E)(this.data.datasets,((t,e)=>{this.getDatasetMeta(e).controller.reset()}),this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const e=this.config;e.update();const n=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),i=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0}))return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let s=0;for(let r=0,l=this.data.datasets.length;r<l;r++){const{controller:t}=this.getDatasetMeta(r),e=!i&&-1===o.indexOf(t);t.buildOrUpdateElements(e),s=Math.max(+t.getMaxOverflow(),s)}s=this._minPadding=n.layout.autoPadding?s:0,this._updateLayout(s),i||(0,r.E)(o,(t=>{t.reset()})),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(sn("z","_idx"));const{_active:a,_lastEvent:c}=this;c?this._eventHandler(c,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){(0,r.E)(this.scales,(t=>{Ft.removeBox(this,t)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,e=new Set(Object.keys(this._listeners)),n=new Set(t.events);(0,r.af)(e,n)&&!!this._responsiveListeners===t.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(const{method:n,start:r,count:i}of e){const e="_removeElements"===n?-i:i;fn(t,r,e)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const e=this.data.datasets.length,n=e=>new Set(t.filter((t=>t[0]===e)).map(((t,e)=>e+","+t.splice(1).join(",")))),i=n(0);for(let o=1;o<e;o++)if(!(0,r.af)(i,n(o)))return;return Array.from(i).map((t=>t.split(","))).map((t=>({method:t[1],start:+t[2],count:+t[3]})))}_updateLayout(t){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;Ft.update(this,this.width,this.height,t);const e=this.chartArea,n=e.width<=0||e.height<=0;this._layers=[],(0,r.E)(this.boxes,(t=>{n&&"chartArea"===t.position||(t.configure&&t.configure(),this._layers.push(...t._layers()))}),this),this._layers.forEach(((t,e)=>{t._idx=e})),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})){for(let t=0,e=this.data.datasets.length;t<e;++t)this.getDatasetMeta(t).controller.configure();for(let e=0,n=this.data.datasets.length;e<n;++e)this._updateDataset(e,(0,r.a6)(t)?t({datasetIndex:e}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,e){const n=this.getDatasetMeta(t),r={meta:n,index:t,mode:e,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",r)&&(n.controller._update(e),r.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",r))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(o.has(this)?this.attached&&!o.running(this)&&o.start(this):(this.draw(),an({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){const{width:t,height:e}=this._resizeBeforeDraw;this._resize(t,e),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0)return;if(!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;const e=this._layers;for(t=0;t<e.length&&e[t].z<=0;++t)e[t].draw(this.chartArea);for(this._drawDatasets();t<e.length;++t)e[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){const e=this._sortedMetasets,n=[];let r,i;for(r=0,i=e.length;r<i;++r){const i=e[r];t&&!i.visible||n.push(i)}return n}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1===this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0}))return;const t=this.getSortedVisibleDatasetMetas();for(let e=t.length-1;e>=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const e=this.ctx,n=t._clip,i=!n.disabled,o=this.chartArea,s={meta:t,index:t.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",s)&&(i&&(0,r.X)(e,{left:!1===n.left?0:o.left-n.left,right:!1===n.right?this.width:o.right+n.right,top:!1===n.top?0:o.top-n.top,bottom:!1===n.bottom?this.height:o.bottom+n.bottom}),t.controller.draw(),i&&(0,r.Z)(e),s.cancelable=!1,this.notifyPlugins("afterDatasetDraw",s))}isPointInArea(t){return(0,r.B)(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,e,n,r){const i=vt.modes[e];return"function"===typeof i?i(this,t,n,r):[]}getDatasetMeta(t){const e=this.data.datasets[t],n=this._metasets;let r=n.filter((t=>t&&t._dataset===e)).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1},n.push(r)),r}getContext(){return this.$context||(this.$context=(0,r.h)(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const e=this.data.datasets[t];if(!e)return!1;const n=this.getDatasetMeta(t);return"boolean"===typeof n.hidden?!n.hidden:!e.hidden}setDatasetVisibility(t,e){const n=this.getDatasetMeta(t);n.hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,e,n){const i=n?"show":"hide",o=this.getDatasetMeta(t),s=o.controller._resolveAnimations(void 0,i);(0,r.j)(e)?(o.data[e].hidden=!n,this.update()):(this.setDatasetVisibility(t,n),s.update(o,{visible:n}),this.update((e=>e.datasetIndex===t?i:void 0)))}hide(t,e){this._updateVisibility(t,e,!1)}show(t,e){this._updateVisibility(t,e,!0)}_destroyDatasetMeta(t){const e=this._metasets[t];e&&e.controller&&e.controller._destroy(),delete this._metasets[t]}_stop(){let t,e;for(this.stop(),o.remove(this),t=0,e=this.data.datasets.length;t<e;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:t,ctx:e}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),(0,r.ae)(t,e),this.platform.releaseContext(e),this.canvas=null,this.ctx=null),this.notifyPlugins("destroy"),delete un[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const t=this._listeners,e=this.platform,n=(n,r)=>{e.addEventListener(this,n,r),t[n]=r},i=(t,e,n)=>{t.offsetX=e,t.offsetY=n,this._eventHandler(t)};(0,r.E)(this.options.events,(t=>n(t,i)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,e=this.platform,n=(n,r)=>{e.addEventListener(this,n,r),t[n]=r},r=(n,r)=>{t[n]&&(e.removeEventListener(this,n,r),delete t[n])},i=(t,e)=>{this.canvas&&this.resize(t,e)};let o;const s=()=>{r("attach",s),this.attached=!0,this.resize(),n("resize",i),n("detach",o)};o=()=>{this.attached=!1,r("resize",i),this._stop(),this._resize(0,0),n("attach",s)},e.isAttached(this.canvas)?s():o()}unbindEvents(){(0,r.E)(this._listeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._listeners={},(0,r.E)(this._responsiveListeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._responsiveListeners=void 0}updateHoverStyle(t,e,n){const r=n?"set":"remove";let i,o,s,a;for("dataset"===e&&(i=this.getDatasetMeta(t[0].datasetIndex),i.controller["_"+r+"DatasetHoverStyle"]()),s=0,a=t.length;s<a;++s){o=t[s];const e=o&&this.getDatasetMeta(o.datasetIndex).controller;e&&e[r+"HoverStyle"](o.element,o.datasetIndex,o.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const e=this._active||[],n=t.map((({datasetIndex:t,index:e})=>{const n=this.getDatasetMeta(t);if(!n)throw new Error("No dataset found at index "+t);return{datasetIndex:t,element:n.data[e],index:e}})),i=!(0,r.ag)(n,e);i&&(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,e))}notifyPlugins(t,e,n){return this._plugins.notify(this,t,e,n)}_updateHoverStyles(t,e,n){const r=this.options.hover,i=(t,e)=>t.filter((t=>!e.some((e=>t.datasetIndex===e.datasetIndex&&t.index===e.index)))),o=i(e,t),s=n?t:i(t,e);o.length&&this.updateHoverStyle(o,r.mode,!1),s.length&&r.mode&&this.updateHoverStyle(s,r.mode,!0)}_eventHandler(t,e){const n={event:t,replay:e,cancelable:!0,inChartArea:this.isPointInArea(t)},r=e=>(e.options.events||this.options.events).includes(t.native.type);if(!1===this.notifyPlugins("beforeEvent",n,r))return;const i=this._handleEvent(t,e,n.inChartArea);return n.cancelable=!1,this.notifyPlugins("afterEvent",n,r),(i||n.changed)&&this.render(),this}_handleEvent(t,e,n){const{_active:i=[],options:o}=this,s=e,a=this._getActiveElements(t,i,n,s),c=(0,r.ah)(t),l=dn(t,this._lastEvent,n,c);n&&(this._lastEvent=null,(0,r.Q)(o.onHover,[t,a,this],this),c&&(0,r.Q)(o.onClick,[t,a,this],this));const u=!(0,r.ag)(a,i);return(u||e)&&(this._active=a,this._updateHoverStyles(a,i,e)),this._lastEvent=l,u}_getActiveElements(t,e,n,r){if("mouseout"===t.type)return[];if(!n)return e;const i=this.options.hover;return this.getElementsAtEventForMode(t,i.mode,i,r)}}const gn=()=>(0,r.E)(pn.instances,(t=>t._plugins.invalidate())),mn=!0;function bn(t,e,n){const{startAngle:i,pixelMargin:o,x:s,y:a,outerRadius:c,innerRadius:l}=e;let u=o/c;t.beginPath(),t.arc(s,a,c,i-u,n+u),l>o?(u=o/l,t.arc(s,a,l,n+u,i-u,!0)):t.arc(s,a,o,n+r.H,i-r.H),t.closePath(),t.clip()}function vn(t){return(0,r.aj)(t,["outerStart","outerEnd","innerStart","innerEnd"])}function yn(t,e,n,i){const o=vn(t.options.borderRadius),s=(n-e)/2,a=Math.min(s,i*e/2),c=t=>{const e=(n-Math.min(s,t))*i/2;return(0,r.w)(t,0,Math.min(s,e))};return{outerStart:c(o.outerStart),outerEnd:c(o.outerEnd),innerStart:(0,r.w)(o.innerStart,0,a),innerEnd:(0,r.w)(o.innerEnd,0,a)}}function xn(t,e,n,r){return{x:n+t*Math.cos(e),y:r+t*Math.sin(e)}}function _n(t,e,n,i,o){const{x:s,y:a,startAngle:c,pixelMargin:l,innerRadius:u}=e,h=Math.max(e.outerRadius+i+n-l,0),f=u>0?u+i+n+l:0;let d=0;const p=o-c;if(i){const t=u>0?u-i:0,e=h>0?h-i:0,n=(t+e)/2,r=0!==n?p*n/(n+i):p;d=(p-r)/2}const g=Math.max(.001,p*h-n/r.P)/h,m=(p-g)/2,b=c+m+d,v=o-m-d,{outerStart:y,outerEnd:x,innerStart:_,innerEnd:w}=yn(e,f,h,v-b),k=h-y,M=h-x,S=b+y/k,O=v-x/M,C=f+_,P=f+w,T=b+_/C,D=v-w/P;if(t.beginPath(),t.arc(s,a,h,S,O),x>0){const e=xn(M,O,s,a);t.arc(e.x,e.y,x,O,v+r.H)}const E=xn(P,v,s,a);if(t.lineTo(E.x,E.y),w>0){const e=xn(P,D,s,a);t.arc(e.x,e.y,w,v+r.H,D+Math.PI)}if(t.arc(s,a,f,v-w/f,b+_/f,!0),_>0){const e=xn(C,T,s,a);t.arc(e.x,e.y,_,T+Math.PI,b-r.H)}const j=xn(k,b,s,a);if(t.lineTo(j.x,j.y),y>0){const e=xn(k,S,s,a);t.arc(e.x,e.y,y,b-r.H,S)}t.closePath()}function wn(t,e,n,i){const{fullCircles:o,startAngle:s,circumference:a}=e;let c=e.endAngle;if(o){_n(t,e,n,i,s+r.T);for(let e=0;e<o;++e)t.fill();isNaN(a)||(c=s+a%r.T,a%r.T===0&&(c+=r.T))}return _n(t,e,n,i,c),t.fill(),c}function kn(t,e,n){const{x:i,y:o,startAngle:s,pixelMargin:a,fullCircles:c}=e,l=Math.max(e.outerRadius-a,0),u=e.innerRadius+a;let h;for(n&&bn(t,e,s+r.T),t.beginPath(),t.arc(i,o,u,s+r.T,s,!0),h=0;h<c;++h)t.stroke();for(t.beginPath(),t.arc(i,o,l,s,s+r.T),h=0;h<c;++h)t.stroke()}function Mn(t,e,n,r,i){const{options:o}=e,{borderWidth:s,borderJoinStyle:a}=o,c="inner"===o.borderAlign;s&&(c?(t.lineWidth=2*s,t.lineJoin=a||"round"):(t.lineWidth=s,t.lineJoin=a||"bevel"),e.fullCircles&&kn(t,e,c),c&&bn(t,e,i),_n(t,e,n,r,i),t.stroke())}Object.defineProperties(pn,{defaults:{enumerable:mn,value:r.d},instances:{enumerable:mn,value:un},overrides:{enumerable:mn,value:r.a2},registry:{enumerable:mn,value:Ae},version:{enumerable:mn,value:nn},getChart:{enumerable:mn,value:hn},register:{enumerable:mn,value:(...t)=>{Ae.add(...t),gn()}},unregister:{enumerable:mn,value:(...t)=>{Ae.remove(...t),gn()}}});class Sn extends oe{constructor(t){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,t&&Object.assign(this,t)}inRange(t,e,n){const i=this.getProps(["x","y"],n),{angle:o,distance:s}=(0,r.C)(i,{x:t,y:e}),{startAngle:a,endAngle:c,innerRadius:l,outerRadius:u,circumference:h}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],n),f=this.options.spacing/2,d=(0,r.v)(h,c-a),p=d>=r.T||(0,r.p)(o,a,c),g=(0,r.ai)(s,l+f,u+f);return p&&g}getCenterPoint(t){const{x:e,y:n,startAngle:r,endAngle:i,innerRadius:o,outerRadius:s}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],t),{offset:a,spacing:c}=this.options,l=(r+i)/2,u=(o+s+c+a)/2;return{x:e+Math.cos(l)*u,y:n+Math.sin(l)*u}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:e,circumference:n}=this,i=(e.offset||0)/2,o=(e.spacing||0)/2;if(this.pixelMargin="inner"===e.borderAlign?.33:0,this.fullCircles=n>r.T?Math.floor(n/r.T):0,0===n||this.innerRadius<0||this.outerRadius<0)return;t.save();let s=0;if(i){s=i/2;const e=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(e)*s,Math.sin(e)*s),this.circumference>=r.P&&(s=i)}t.fillStyle=e.backgroundColor,t.strokeStyle=e.borderColor;const a=wn(t,this,s,o);Mn(t,this,s,o,a),t.restore()}}function On(t,e,n=e){t.lineCap=(0,r.v)(n.borderCapStyle,e.borderCapStyle),t.setLineDash((0,r.v)(n.borderDash,e.borderDash)),t.lineDashOffset=(0,r.v)(n.borderDashOffset,e.borderDashOffset),t.lineJoin=(0,r.v)(n.borderJoinStyle,e.borderJoinStyle),t.lineWidth=(0,r.v)(n.borderWidth,e.borderWidth),t.strokeStyle=(0,r.v)(n.borderColor,e.borderColor)}function Cn(t,e,n){t.lineTo(n.x,n.y)}function Pn(t){return t.stepped?r.aq:t.tension||"monotone"===t.cubicInterpolationMode?r.ar:Cn}function Tn(t,e,n={}){const r=t.length,{start:i=0,end:o=r-1}=n,{start:s,end:a}=e,c=Math.max(i,s),l=Math.min(o,a),u=i<s&&o<s||i>a&&o>a;return{count:r,start:c,loop:e.loop,ilen:l<c&&!u?r+l-c:l-c}}function Dn(t,e,n,r){const{points:i,options:o}=e,{count:s,start:a,loop:c,ilen:l}=Tn(i,n,r),u=Pn(o);let h,f,d,{move:p=!0,reverse:g}=r||{};for(h=0;h<=l;++h)f=i[(a+(g?l-h:h))%s],f.skip||(p?(t.moveTo(f.x,f.y),p=!1):u(t,d,f,g,o.stepped),d=f);return c&&(f=i[(a+(g?l:0))%s],u(t,d,f,g,o.stepped)),!!c}function En(t,e,n,r){const i=e.points,{count:o,start:s,ilen:a}=Tn(i,n,r),{move:c=!0,reverse:l}=r||{};let u,h,f,d,p,g,m=0,b=0;const v=t=>(s+(l?a-t:t))%o,y=()=>{d!==p&&(t.lineTo(m,p),t.lineTo(m,d),t.lineTo(m,g))};for(c&&(h=i[v(0)],t.moveTo(h.x,h.y)),u=0;u<=a;++u){if(h=i[v(u)],h.skip)continue;const e=h.x,n=h.y,r=0|e;r===f?(n<d?d=n:n>p&&(p=n),m=(b*m+e)/++b):(y(),t.lineTo(e,n),f=r,b=0,d=p=n),g=n}y()}function jn(t){const e=t.options,n=e.borderDash&&e.borderDash.length,r=!t._decimated&&!t._loop&&!e.tension&&"monotone"!==e.cubicInterpolationMode&&!e.stepped&&!n;return r?En:Dn}function An(t){return t.stepped?r.an:t.tension||"monotone"===t.cubicInterpolationMode?r.ao:r.ap}function Ln(t,e,n,r){let i=e._path;i||(i=e._path=new Path2D,e.path(i,n,r)&&i.closePath()),On(t,e.options),t.stroke(i)}function Fn(t,e,n,r){const{segments:i,options:o}=e,s=jn(e);for(const a of i)On(t,o,a.style),t.beginPath(),s(t,e,a,{start:n,end:n+r-1})&&t.closePath(),t.stroke()}Sn.id="arc",Sn.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0},Sn.defaultRoutes={backgroundColor:"backgroundColor"};const In="function"===typeof Path2D;function Rn(t,e,n,r){In&&!e.options.segment?Ln(t,e,n,r):Fn(t,e,n,r)}class Nn extends oe{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,e){const n=this.options;if((n.tension||"monotone"===n.cubicInterpolationMode)&&!n.stepped&&!this._pointsUpdated){const i=n.spanGaps?this._loop:this._fullLoop;(0,r.ak)(this._points,n,t,i,e),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=(0,r.al)(this,this.options.segment))}first(){const t=this.segments,e=this.points;return t.length&&e[t[0].start]}last(){const t=this.segments,e=this.points,n=t.length;return n&&e[t[n-1].end]}interpolate(t,e){const n=this.options,i=t[e],o=this.points,s=(0,r.am)(this,{property:e,start:i,end:i});if(!s.length)return;const a=[],c=An(n);let l,u;for(l=0,u=s.length;l<u;++l){const{start:r,end:u}=s[l],h=o[r],f=o[u];if(h===f){a.push(h);continue}const d=Math.abs((i-h[e])/(f[e]-h[e])),p=c(h,f,d,n.stepped);p[e]=t[e],a.push(p)}return 1===a.length?a[0]:a}pathSegment(t,e,n){const r=jn(this);return r(t,this,e,n)}path(t,e,n){const r=this.segments,i=jn(this);let o=this._loop;e=e||0,n=n||this.points.length-e;for(const s of r)o&=i(t,this,s,{start:e,end:e+n-1});return!!o}draw(t,e,n,r){const i=this.options||{},o=this.points||[];o.length&&i.borderWidth&&(t.save(),Rn(t,this,n,r),t.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}function Wn(t,e,n,r){const i=t.options,{[n]:o}=t.getProps([n],r);return Math.abs(e-o)<i.radius+i.hitRadius}Nn.id="line",Nn.defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0},Nn.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"},Nn.descriptors={_scriptable:!0,_indexable:t=>"borderDash"!==t&&"fill"!==t};class zn extends oe{constructor(t){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,t&&Object.assign(this,t)}inRange(t,e,n){const r=this.options,{x:i,y:o}=this.getProps(["x","y"],n);return Math.pow(t-i,2)+Math.pow(e-o,2)<Math.pow(r.hitRadius+r.radius,2)}inXRange(t,e){return Wn(this,t,"x",e)}inYRange(t,e){return Wn(this,t,"y",e)}getCenterPoint(t){const{x:e,y:n}=this.getProps(["x","y"],t);return{x:e,y:n}}size(t){t=t||this.options||{};let e=t.radius||0;e=Math.max(e,e&&t.hoverRadius||0);const n=e&&t.borderWidth||0;return 2*(e+n)}draw(t,e){const n=this.options;this.skip||n.radius<.1||!(0,r.B)(this,e,this.size(n)/2)||(t.strokeStyle=n.borderColor,t.lineWidth=n.borderWidth,t.fillStyle=n.backgroundColor,(0,r.as)(t,n,this.x,this.y))}getRange(){const t=this.options||{};return t.radius+t.hitRadius}}function Un(t,e){const{x:n,y:r,base:i,width:o,height:s}=t.getProps(["x","y","base","width","height"],e);let a,c,l,u,h;return t.horizontal?(h=s/2,a=Math.min(n,i),c=Math.max(n,i),l=r-h,u=r+h):(h=o/2,a=n-h,c=n+h,l=Math.min(r,i),u=Math.max(r,i)),{left:a,top:l,right:c,bottom:u}}function Hn(t,e,n,i){return t?0:(0,r.w)(e,n,i)}function $n(t,e,n){const i=t.options.borderWidth,o=t.borderSkipped,s=(0,r.au)(i);return{t:Hn(o.top,s.top,0,n),r:Hn(o.right,s.right,0,e),b:Hn(o.bottom,s.bottom,0,n),l:Hn(o.left,s.left,0,e)}}function Bn(t,e,n){const{enableBorderRadius:i}=t.getProps(["enableBorderRadius"]),o=t.options.borderRadius,s=(0,r.av)(o),a=Math.min(e,n),c=t.borderSkipped,l=i||(0,r.i)(o);return{topLeft:Hn(!l||c.top||c.left,s.topLeft,0,a),topRight:Hn(!l||c.top||c.right,s.topRight,0,a),bottomLeft:Hn(!l||c.bottom||c.left,s.bottomLeft,0,a),bottomRight:Hn(!l||c.bottom||c.right,s.bottomRight,0,a)}}function Vn(t){const e=Un(t),n=e.right-e.left,r=e.bottom-e.top,i=$n(t,n/2,r/2),o=Bn(t,n/2,r/2);return{outer:{x:e.left,y:e.top,w:n,h:r,radius:o},inner:{x:e.left+i.l,y:e.top+i.t,w:n-i.l-i.r,h:r-i.t-i.b,radius:{topLeft:Math.max(0,o.topLeft-Math.max(i.t,i.l)),topRight:Math.max(0,o.topRight-Math.max(i.t,i.r)),bottomLeft:Math.max(0,o.bottomLeft-Math.max(i.b,i.l)),bottomRight:Math.max(0,o.bottomRight-Math.max(i.b,i.r))}}}}function Yn(t,e,n,i){const o=null===e,s=null===n,a=o&&s,c=t&&!a&&Un(t,i);return c&&(o||(0,r.ai)(e,c.left,c.right))&&(s||(0,r.ai)(n,c.top,c.bottom))}function Zn(t){return t.topLeft||t.topRight||t.bottomLeft||t.bottomRight}function qn(t,e){t.rect(e.x,e.y,e.w,e.h)}function Xn(t,e,n={}){const r=t.x!==n.x?-e:0,i=t.y!==n.y?-e:0,o=(t.x+t.w!==n.x+n.w?e:0)-r,s=(t.y+t.h!==n.y+n.h?e:0)-i;return{x:t.x+r,y:t.y+i,w:t.w+o,h:t.h+s,radius:t.radius}}zn.id="point",zn.defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0},zn.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};class Gn extends oe{constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,t&&Object.assign(this,t)}draw(t){const{inflateAmount:e,options:{borderColor:n,backgroundColor:i}}=this,{inner:o,outer:s}=Vn(this),a=Zn(s.radius)?r.at:qn;t.save(),s.w===o.w&&s.h===o.h||(t.beginPath(),a(t,Xn(s,e,o)),t.clip(),a(t,Xn(o,-e,s)),t.fillStyle=n,t.fill("evenodd")),t.beginPath(),a(t,Xn(o,e)),t.fillStyle=i,t.fill(),t.restore()}inRange(t,e,n){return Yn(this,t,e,n)}inXRange(t,e){return Yn(this,t,null,e)}inYRange(t,e){return Yn(this,null,t,e)}getCenterPoint(t){const{x:e,y:n,base:r,horizontal:i}=this.getProps(["x","y","base","horizontal"],t);return{x:i?(e+r)/2:e,y:i?n:(n+r)/2}}getRange(t){return"x"===t?this.width/2:this.height/2}}Gn.id="bar",Gn.defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0},Gn.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};function Jn(t,e,n){const i=t.segments,o=t.points,s=e.points,a=[];for(const c of i){let{start:t,end:i}=c;i=tr(t,i,o);const l=Qn(n,o[t],o[i],c.loop);if(!e.segments){a.push({source:c,target:l,start:o[t],end:o[i]});continue}const u=(0,r.am)(e,l);for(const e of u){const t=Qn(n,s[e.start],s[e.end],e.loop),i=(0,r.aw)(c,o,t);for(const r of i)a.push({source:r,target:e,start:{[n]:er(l,t,"start",Math.max)},end:{[n]:er(l,t,"end",Math.min)}})}}return a}function Qn(t,e,n,i){if(i)return;let o=e[t],s=n[t];return"angle"===t&&(o=(0,r.ax)(o),s=(0,r.ax)(s)),{property:t,start:o,end:s}}function Kn(t,e){const{x:n=null,y:r=null}=t||{},i=e.points,o=[];return e.segments.forEach((({start:t,end:e})=>{e=tr(t,e,i);const s=i[t],a=i[e];null!==r?(o.push({x:s.x,y:r}),o.push({x:a.x,y:r})):null!==n&&(o.push({x:n,y:s.y}),o.push({x:n,y:a.y}))})),o}function tr(t,e,n){for(;e>t;e--){const t=n[e];if(!isNaN(t.x)&&!isNaN(t.y))break}return e}function er(t,e,n,r){return t&&e?r(t[n],e[n]):t?t[n]:e?e[n]:0}function nr(t,e){let n=[],i=!1;return(0,r.b)(t)?(i=!0,n=t):n=Kn(t,e),n.length?new Nn({points:n,options:{tension:0},_loop:i,_fullLoop:i}):null}function rr(t,e,n){const i=t[e];let o=i.fill;const s=[e];let a;if(!n)return o;while(!1!==o&&-1===s.indexOf(o)){if(!(0,r.g)(o))return o;if(a=t[o],!a)return!1;if(a.visible)return o;s.push(o),o=a.fill}return!1}function ir(t,e,n){const i=cr(t);if((0,r.i)(i))return!isNaN(i.value)&&i;let o=parseFloat(i);return(0,r.g)(o)&&Math.floor(o)===o?or(i[0],e,o,n):["origin","start","end","stack","shape"].indexOf(i)>=0&&i}function or(t,e,n,r){return"-"!==t&&"+"!==t||(n=e+n),!(n===e||n<0||n>=r)&&n}function sr(t,e){let n=null;return"start"===t?n=e.bottom:"end"===t?n=e.top:(0,r.i)(t)?n=e.getPixelForValue(t.value):e.getBasePixel&&(n=e.getBasePixel()),n}function ar(t,e,n){let i;return i="start"===t?n:"end"===t?e.options.reverse?e.min:e.max:(0,r.i)(t)?t.value:e.getBaseValue(),i}function cr(t){const e=t.options,n=e.fill;let i=(0,r.v)(n&&n.target,n);return void 0===i&&(i=!!e.backgroundColor),!1!==i&&null!==i&&(!0===i?"origin":i)}function lr(t){const{scale:e,index:n,line:r}=t,i=[],o=r.segments,s=r.points,a=ur(e,n);a.push(nr({x:null,y:e.bottom},r));for(let c=0;c<o.length;c++){const t=o[c];for(let e=t.start;e<=t.end;e++)hr(i,s[e],a)}return new Nn({points:i,options:{}})}function ur(t,e){const n=[],r=t.getMatchingVisibleMetas("line");for(let i=0;i<r.length;i++){const t=r[i];if(t.index===e)break;t.hidden||n.unshift(t.dataset)}return n}function hr(t,e,n){const r=[];for(let i=0;i<n.length;i++){const o=n[i],{first:s,last:a,point:c}=fr(o,e,"x");if(!(!c||s&&a))if(s)r.unshift(c);else if(t.push(c),!a)break}t.push(...r)}function fr(t,e,n){const i=t.interpolate(e,n);if(!i)return{};const o=i[n],s=t.segments,a=t.points;let c=!1,l=!1;for(let u=0;u<s.length;u++){const t=s[u],e=a[t.start][n],i=a[t.end][n];if((0,r.ai)(o,e,i)){c=o===e,l=o===i;break}}return{first:c,last:l,point:i}}class dr{constructor(t){this.x=t.x,this.y=t.y,this.radius=t.radius}pathSegment(t,e,n){const{x:i,y:o,radius:s}=this;return e=e||{start:0,end:r.T},t.arc(i,o,s,e.end,e.start,!0),!n.bounds}interpolate(t){const{x:e,y:n,radius:r}=this,i=t.angle;return{x:e+Math.cos(i)*r,y:n+Math.sin(i)*r,angle:i}}}function pr(t){const{chart:e,fill:n,line:i}=t;if((0,r.g)(n))return gr(e,n);if("stack"===n)return lr(t);if("shape"===n)return!0;const o=mr(t);return o instanceof dr?o:nr(o,i)}function gr(t,e){const n=t.getDatasetMeta(e),r=n&&t.isDatasetVisible(e);return r?n.dataset:null}function mr(t){const e=t.scale||{};return e.getPointPositionForValue?vr(t):br(t)}function br(t){const{scale:e={},fill:n}=t,i=sr(n,e);if((0,r.g)(i)){const t=e.isHorizontal();return{x:t?i:null,y:t?null:i}}return null}function vr(t){const{scale:e,fill:n}=t,r=e.options,i=e.getLabels().length,o=r.reverse?e.max:e.min,s=ar(n,e,o),a=[];if(r.grid.circular){const t=e.getPointPositionForValue(0,o);return new dr({x:t.x,y:t.y,radius:e.getDistanceFromCenterForValue(s)})}for(let c=0;c<i;++c)a.push(e.getPointPositionForValue(c,s));return a}function yr(t,e,n){const i=pr(e),{line:o,scale:s,axis:a}=e,c=o.options,l=c.fill,u=c.backgroundColor,{above:h=u,below:f=u}=l||{};i&&o.points.length&&((0,r.X)(t,n),xr(t,{line:o,target:i,above:h,below:f,area:n,scale:s,axis:a}),(0,r.Z)(t))}function xr(t,e){const{line:n,target:r,above:i,below:o,area:s,scale:a}=e,c=n._loop?"angle":e.axis;t.save(),"x"===c&&o!==i&&(_r(t,r,s.top),wr(t,{line:n,target:r,color:i,scale:a,property:c}),t.restore(),t.save(),_r(t,r,s.bottom)),wr(t,{line:n,target:r,color:o,scale:a,property:c}),t.restore()}function _r(t,e,n){const{segments:r,points:i}=e;let o=!0,s=!1;t.beginPath();for(const a of r){const{start:r,end:c}=a,l=i[r],u=i[tr(r,c,i)];o?(t.moveTo(l.x,l.y),o=!1):(t.lineTo(l.x,n),t.lineTo(l.x,l.y)),s=!!e.pathSegment(t,a,{move:s}),s?t.closePath():t.lineTo(u.x,n)}t.lineTo(e.first().x,n),t.closePath(),t.clip()}function wr(t,e){const{line:n,target:r,property:i,color:o,scale:s}=e,a=Jn(n,r,i);for(const{source:c,target:l,start:u,end:h}of a){const{style:{backgroundColor:e=o}={}}=c,a=!0!==r;t.save(),t.fillStyle=e,kr(t,s,a&&Qn(i,u,h)),t.beginPath();const f=!!n.pathSegment(t,c);let d;if(a){f?t.closePath():Mr(t,r,h,i);const e=!!r.pathSegment(t,l,{move:f,reverse:!0});d=f&&e,d||Mr(t,r,u,i)}t.closePath(),t.fill(d?"evenodd":"nonzero"),t.restore()}}function kr(t,e,n){const{top:r,bottom:i}=e.chart.chartArea,{property:o,start:s,end:a}=n||{};"x"===o&&(t.beginPath(),t.rect(s,r,a-s,i-r),t.clip())}function Mr(t,e,n,r){const i=e.interpolate(n,r);i&&t.lineTo(i.x,i.y)}var Sr={id:"filler",afterDatasetsUpdate(t,e,n){const r=(t.data.datasets||[]).length,i=[];let o,s,a,c;for(s=0;s<r;++s)o=t.getDatasetMeta(s),a=o.dataset,c=null,a&&a.options&&a instanceof Nn&&(c={visible:t.isDatasetVisible(s),index:s,fill:ir(a,s,r),chart:t,axis:o.controller.options.indexAxis,scale:o.vScale,line:a}),o.$filler=c,i.push(c);for(s=0;s<r;++s)c=i[s],c&&!1!==c.fill&&(c.fill=rr(i,s,n.propagate))},beforeDraw(t,e,n){const r="beforeDraw"===n.drawTime,i=t.getSortedVisibleDatasetMetas(),o=t.chartArea;for(let s=i.length-1;s>=0;--s){const e=i[s].$filler;e&&(e.line.updateControlPoints(o,e.axis),r&&yr(t.ctx,e,o))}},beforeDatasetsDraw(t,e,n){if("beforeDatasetsDraw"!==n.drawTime)return;const r=t.getSortedVisibleDatasetMetas();for(let i=r.length-1;i>=0;--i){const e=r[i].$filler;e&&yr(t.ctx,e,t.chartArea)}},beforeDatasetDraw(t,e,n){const r=e.meta.$filler;r&&!1!==r.fill&&"beforeDatasetDraw"===n.drawTime&&yr(t.ctx,r,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const Or=(t,e)=>{let{boxHeight:n=e,boxWidth:r=e}=t;return t.usePointStyle&&(n=Math.min(n,e),r=Math.min(r,e)),{boxWidth:r,boxHeight:n,itemHeight:Math.max(e,n)}},Cr=(t,e)=>null!==t&&null!==e&&t.datasetIndex===e.datasetIndex&&t.index===e.index;class Pr extends oe{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e,n){this.maxWidth=t,this.maxHeight=e,this._margins=n,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let e=(0,r.Q)(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter((e=>t.filter(e,this.chart.data)))),t.sort&&(e=e.sort(((e,n)=>t.sort(e,n,this.chart.data)))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:t,ctx:e}=this;if(!t.display)return void(this.width=this.height=0);const n=t.labels,i=(0,r.$)(n.font),o=i.size,s=this._computeTitleHeight(),{boxWidth:a,itemHeight:c}=Or(n,o);let l,u;e.font=i.string,this.isHorizontal()?(l=this.maxWidth,u=this._fitRows(s,o,a,c)+10):(u=this.maxHeight,l=this._fitCols(s,o,a,c)+10),this.width=Math.min(l,t.maxWidth||this.maxWidth),this.height=Math.min(u,t.maxHeight||this.maxHeight)}_fitRows(t,e,n,r){const{ctx:i,maxWidth:o,options:{labels:{padding:s}}}=this,a=this.legendHitBoxes=[],c=this.lineWidths=[0],l=r+s;let u=t;i.textAlign="left",i.textBaseline="middle";let h=-1,f=-l;return this.legendItems.forEach(((t,d)=>{const p=n+e/2+i.measureText(t.text).width;(0===d||c[c.length-1]+p+2*s>o)&&(u+=l,c[c.length-(d>0?0:1)]=0,f+=l,h++),a[d]={left:0,top:f,row:h,width:p,height:r},c[c.length-1]+=p+s})),u}_fitCols(t,e,n,r){const{ctx:i,maxHeight:o,options:{labels:{padding:s}}}=this,a=this.legendHitBoxes=[],c=this.columnSizes=[],l=o-t;let u=s,h=0,f=0,d=0,p=0;return this.legendItems.forEach(((t,o)=>{const g=n+e/2+i.measureText(t.text).width;o>0&&f+r+2*s>l&&(u+=h+s,c.push({width:h,height:f}),d+=h+s,p++,h=f=0),a[o]={left:d,top:f,col:p,width:g,height:r},h=Math.max(h,g),f+=r+s})),u+=h,c.push({width:h,height:f}),u}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:n,labels:{padding:i},rtl:o}}=this,s=(0,r.ay)(o,this.left,this.width);if(this.isHorizontal()){let o=0,a=(0,r.a1)(n,this.left+i,this.right-this.lineWidths[o]);for(const c of e)o!==c.row&&(o=c.row,a=(0,r.a1)(n,this.left+i,this.right-this.lineWidths[o])),c.top+=this.top+t+i,c.left=s.leftForLtr(s.x(a),c.width),a+=c.width+i}else{let o=0,a=(0,r.a1)(n,this.top+t+i,this.bottom-this.columnSizes[o].height);for(const c of e)c.col!==o&&(o=c.col,a=(0,r.a1)(n,this.top+t+i,this.bottom-this.columnSizes[o].height)),c.top=a,c.left+=this.left+i,c.left=s.leftForLtr(s.x(c.left),c.width),a+=c.height+i}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const t=this.ctx;(0,r.X)(t,this),this._draw(),(0,r.Z)(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:n,ctx:i}=this,{align:o,labels:s}=t,a=r.d.color,c=(0,r.ay)(t.rtl,this.left,this.width),l=(0,r.$)(s.font),{color:u,padding:h}=s,f=l.size,d=f/2;let p;this.drawTitle(),i.textAlign=c.textAlign("left"),i.textBaseline="middle",i.lineWidth=.5,i.font=l.string;const{boxWidth:g,boxHeight:m,itemHeight:b}=Or(s,f),v=function(t,e,n){if(isNaN(g)||g<=0||isNaN(m)||m<0)return;i.save();const o=(0,r.v)(n.lineWidth,1);if(i.fillStyle=(0,r.v)(n.fillStyle,a),i.lineCap=(0,r.v)(n.lineCap,"butt"),i.lineDashOffset=(0,r.v)(n.lineDashOffset,0),i.lineJoin=(0,r.v)(n.lineJoin,"miter"),i.lineWidth=o,i.strokeStyle=(0,r.v)(n.strokeStyle,a),i.setLineDash((0,r.v)(n.lineDash,[])),s.usePointStyle){const s={radius:g*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:o},a=c.xPlus(t,g/2),l=e+d;(0,r.as)(i,s,a,l)}else{const s=e+Math.max((f-m)/2,0),a=c.leftForLtr(t,g),l=(0,r.av)(n.borderRadius);i.beginPath(),Object.values(l).some((t=>0!==t))?(0,r.at)(i,{x:a,y:s,w:g,h:m,radius:l}):i.rect(a,s,g,m),i.fill(),0!==o&&i.stroke()}i.restore()},y=function(t,e,n){(0,r.Y)(i,n.text,t,e+b/2,l,{strikethrough:n.hidden,textAlign:c.textAlign(n.textAlign)})},x=this.isHorizontal(),_=this._computeTitleHeight();p=x?{x:(0,r.a1)(o,this.left+h,this.right-n[0]),y:this.top+h+_,line:0}:{x:this.left+h,y:(0,r.a1)(o,this.top+_+h,this.bottom-e[0].height),line:0},(0,r.az)(this.ctx,t.textDirection);const w=b+h;this.legendItems.forEach(((a,l)=>{i.strokeStyle=a.fontColor||u,i.fillStyle=a.fontColor||u;const f=i.measureText(a.text).width,m=c.textAlign(a.textAlign||(a.textAlign=s.textAlign)),b=g+d+f;let k=p.x,M=p.y;c.setWidth(this.width),x?l>0&&k+b+h>this.right&&(M=p.y+=w,p.line++,k=p.x=(0,r.a1)(o,this.left+h,this.right-n[p.line])):l>0&&M+w>this.bottom&&(k=p.x=k+e[p.line].width+h,p.line++,M=p.y=(0,r.a1)(o,this.top+_+h,this.bottom-e[p.line].height));const S=c.x(k);v(S,M,a),k=(0,r.aA)(m,k+g+d,x?k+b:this.right,t.rtl),y(c.x(k),M,a),x?p.x+=b+h:p.y+=w})),(0,r.aB)(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,n=(0,r.$)(e.font),i=(0,r.D)(e.padding);if(!e.display)return;const o=(0,r.ay)(t.rtl,this.left,this.width),s=this.ctx,a=e.position,c=n.size/2,l=i.top+c;let u,h=this.left,f=this.width;if(this.isHorizontal())f=Math.max(...this.lineWidths),u=this.top+l,h=(0,r.a1)(t.align,h,this.right-f);else{const e=this.columnSizes.reduce(((t,e)=>Math.max(t,e.height)),0);u=l+(0,r.a1)(t.align,this.top,this.bottom-e-t.labels.padding-this._computeTitleHeight())}const d=(0,r.a1)(a,h,h+f);s.textAlign=o.textAlign((0,r.a0)(a)),s.textBaseline="middle",s.strokeStyle=e.color,s.fillStyle=e.color,s.font=n.string,(0,r.Y)(s,e.text,d,u,n)}_computeTitleHeight(){const t=this.options.title,e=(0,r.$)(t.font),n=(0,r.D)(t.padding);return t.display?e.lineHeight+n.height:0}_getLegendItemAt(t,e){let n,i,o;if((0,r.ai)(t,this.left,this.right)&&(0,r.ai)(e,this.top,this.bottom))for(o=this.legendHitBoxes,n=0;n<o.length;++n)if(i=o[n],(0,r.ai)(t,i.left,i.left+i.width)&&(0,r.ai)(e,i.top,i.top+i.height))return this.legendItems[n];return null}handleEvent(t){const e=this.options;if(!Tr(t.type,e))return;const n=this._getLegendItemAt(t.x,t.y);if("mousemove"===t.type||"mouseout"===t.type){const i=this._hoveredItem,o=Cr(i,n);i&&!o&&(0,r.Q)(e.onLeave,[t,i,this],this),this._hoveredItem=n,n&&!o&&(0,r.Q)(e.onHover,[t,n,this],this)}else n&&(0,r.Q)(e.onClick,[t,n,this],this)}}function Tr(t,e){return!("mousemove"!==t&&"mouseout"!==t||!e.onHover&&!e.onLeave)||!(!e.onClick||"click"!==t&&"mouseup"!==t)}var Dr={id:"legend",_element:Pr,start(t,e,n){const r=t.legend=new Pr({ctx:t.ctx,options:n,chart:t});Ft.configure(t,r,n),Ft.addBox(t,r)},stop(t){Ft.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,n){const r=t.legend;Ft.configure(t,r,n),r.options=n},afterUpdate(t){const e=t.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(t,e){e.replay||t.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,e,n){const r=e.datasetIndex,i=n.chart;i.isDatasetVisible(r)?(i.hide(r),e.hidden=!0):(i.show(r),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:n,pointStyle:i,textAlign:o,color:s}}=t.legend.options;return t._getSortedDatasetMetas().map((t=>{const a=t.controller.getStyle(n?0:void 0),c=(0,r.D)(a.borderWidth);return{text:e[t.index].label,fillStyle:a.backgroundColor,fontColor:s,hidden:!t.visible,lineCap:a.borderCapStyle,lineDash:a.borderDash,lineDashOffset:a.borderDashOffset,lineJoin:a.borderJoinStyle,lineWidth:(c.width+c.height)/4,strokeStyle:a.borderColor,pointStyle:i||a.pointStyle,rotation:a.rotation,textAlign:o||a.textAlign,borderRadius:0,datasetIndex:t.index}}),this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class Er extends oe{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e){const n=this.options;if(this.left=0,this.top=0,!n.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=t,this.height=this.bottom=e;const i=(0,r.b)(n.text)?n.text.length:1;this._padding=(0,r.D)(n.padding);const o=i*(0,r.$)(n.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){const t=this.options.position;return"top"===t||"bottom"===t}_drawArgs(t){const{top:e,left:n,bottom:i,right:o,options:s}=this,a=s.align;let c,l,u,h=0;return this.isHorizontal()?(l=(0,r.a1)(a,n,o),u=e+t,c=o-n):("left"===s.position?(l=n+t,u=(0,r.a1)(a,i,e),h=-.5*r.P):(l=o-t,u=(0,r.a1)(a,e,i),h=.5*r.P),c=i-e),{titleX:l,titleY:u,maxWidth:c,rotation:h}}draw(){const t=this.ctx,e=this.options;if(!e.display)return;const n=(0,r.$)(e.font),i=n.lineHeight,o=i/2+this._padding.top,{titleX:s,titleY:a,maxWidth:c,rotation:l}=this._drawArgs(o);(0,r.Y)(t,e.text,0,0,n,{color:e.color,maxWidth:c,rotation:l,textAlign:(0,r.a0)(e.align),textBaseline:"middle",translation:[s,a]})}}function jr(t,e){const n=new Er({ctx:t.ctx,options:e,chart:t});Ft.configure(t,n,e),Ft.addBox(t,n),t.titleBlock=n}var Ar={id:"title",_element:Er,start(t,e,n){jr(t,n)},stop(t){const e=t.titleBlock;Ft.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,n){const r=t.titleBlock;Ft.configure(t,r,n),r.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};new WeakMap;const Lr={average(t){if(!t.length)return!1;let e,n,r=0,i=0,o=0;for(e=0,n=t.length;e<n;++e){const n=t[e].element;if(n&&n.hasValue()){const t=n.tooltipPosition();r+=t.x,i+=t.y,++o}}return{x:r/o,y:i/o}},nearest(t,e){if(!t.length)return!1;let n,i,o,s=e.x,a=e.y,c=Number.POSITIVE_INFINITY;for(n=0,i=t.length;n<i;++n){const i=t[n].element;if(i&&i.hasValue()){const t=i.getCenterPoint(),n=(0,r.aD)(e,t);n<c&&(c=n,o=i)}}if(o){const t=o.tooltipPosition();s=t.x,a=t.y}return{x:s,y:a}}};function Fr(t,e){return e&&((0,r.b)(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function Ir(t){return("string"===typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function Rr(t,e){const{element:n,datasetIndex:r,index:i}=e,o=t.getDatasetMeta(r).controller,{label:s,value:a}=o.getLabelAndValue(i);return{chart:t,label:s,parsed:o.getParsed(i),raw:t.data.datasets[r].data[i],formattedValue:a,dataset:o.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function Nr(t,e){const n=t.chart.ctx,{body:i,footer:o,title:s}=t,{boxWidth:a,boxHeight:c}=e,l=(0,r.$)(e.bodyFont),u=(0,r.$)(e.titleFont),h=(0,r.$)(e.footerFont),f=s.length,d=o.length,p=i.length,g=(0,r.D)(e.padding);let m=g.height,b=0,v=i.reduce(((t,e)=>t+e.before.length+e.lines.length+e.after.length),0);if(v+=t.beforeBody.length+t.afterBody.length,f&&(m+=f*u.lineHeight+(f-1)*e.titleSpacing+e.titleMarginBottom),v){const t=e.displayColors?Math.max(c,l.lineHeight):l.lineHeight;m+=p*t+(v-p)*l.lineHeight+(v-1)*e.bodySpacing}d&&(m+=e.footerMarginTop+d*h.lineHeight+(d-1)*e.footerSpacing);let y=0;const x=function(t){b=Math.max(b,n.measureText(t).width+y)};return n.save(),n.font=u.string,(0,r.E)(t.title,x),n.font=l.string,(0,r.E)(t.beforeBody.concat(t.afterBody),x),y=e.displayColors?a+2+e.boxPadding:0,(0,r.E)(i,(t=>{(0,r.E)(t.before,x),(0,r.E)(t.lines,x),(0,r.E)(t.after,x)})),y=0,n.font=h.string,(0,r.E)(t.footer,x),n.restore(),b+=g.width,{width:b,height:m}}function Wr(t,e){const{y:n,height:r}=e;return n<r/2?"top":n>t.height-r/2?"bottom":"center"}function zr(t,e,n,r){const{x:i,width:o}=r,s=n.caretSize+n.caretPadding;return"left"===t&&i+o+s>e.width||("right"===t&&i-o-s<0||void 0)}function Ur(t,e,n,r){const{x:i,width:o}=n,{width:s,chartArea:{left:a,right:c}}=t;let l="center";return"center"===r?l=i<=(a+c)/2?"left":"right":i<=o/2?l="left":i>=s-o/2&&(l="right"),zr(l,t,e,n)&&(l="center"),l}function Hr(t,e,n){const r=n.yAlign||e.yAlign||Wr(t,n);return{xAlign:n.xAlign||e.xAlign||Ur(t,e,n,r),yAlign:r}}function $r(t,e){let{x:n,width:r}=t;return"right"===e?n-=r:"center"===e&&(n-=r/2),n}function Br(t,e,n){let{y:r,height:i}=t;return"top"===e?r+=n:r-="bottom"===e?i+n:i/2,r}function Vr(t,e,n,i){const{caretSize:o,caretPadding:s,cornerRadius:a}=t,{xAlign:c,yAlign:l}=n,u=o+s,{topLeft:h,topRight:f,bottomLeft:d,bottomRight:p}=(0,r.av)(a);let g=$r(e,c);const m=Br(e,l,u);return"center"===l?"left"===c?g+=u:"right"===c&&(g-=u):"left"===c?g-=Math.max(h,d)+o:"right"===c&&(g+=Math.max(f,p)+o),{x:(0,r.w)(g,0,i.width-e.width),y:(0,r.w)(m,0,i.height-e.height)}}function Yr(t,e,n){const i=(0,r.D)(n.padding);return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-i.right:t.x+i.left}function Zr(t){return Fr([],Ir(t))}function qr(t,e,n){return(0,r.h)(t,{tooltip:e,tooltipItems:n,type:"tooltip"})}function Xr(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}class Gr extends oe{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart||t._chart,this._chart=this.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const e=this.chart,n=this.options.setContext(this.getContext()),r=n.enabled&&e.options.animation&&n.animations,i=new f(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||(this.$context=qr(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,e){const{callbacks:n}=e,r=n.beforeTitle.apply(this,[t]),i=n.title.apply(this,[t]),o=n.afterTitle.apply(this,[t]);let s=[];return s=Fr(s,Ir(r)),s=Fr(s,Ir(i)),s=Fr(s,Ir(o)),s}getBeforeBody(t,e){return Zr(e.callbacks.beforeBody.apply(this,[t]))}getBody(t,e){const{callbacks:n}=e,i=[];return(0,r.E)(t,(t=>{const e={before:[],lines:[],after:[]},r=Xr(n,t);Fr(e.before,Ir(r.beforeLabel.call(this,t))),Fr(e.lines,r.label.call(this,t)),Fr(e.after,Ir(r.afterLabel.call(this,t))),i.push(e)})),i}getAfterBody(t,e){return Zr(e.callbacks.afterBody.apply(this,[t]))}getFooter(t,e){const{callbacks:n}=e,r=n.beforeFooter.apply(this,[t]),i=n.footer.apply(this,[t]),o=n.afterFooter.apply(this,[t]);let s=[];return s=Fr(s,Ir(r)),s=Fr(s,Ir(i)),s=Fr(s,Ir(o)),s}_createItems(t){const e=this._active,n=this.chart.data,i=[],o=[],s=[];let a,c,l=[];for(a=0,c=e.length;a<c;++a)l.push(Rr(this.chart,e[a]));return t.filter&&(l=l.filter(((e,r,i)=>t.filter(e,r,i,n)))),t.itemSort&&(l=l.sort(((e,r)=>t.itemSort(e,r,n)))),(0,r.E)(l,(e=>{const n=Xr(t.callbacks,e);i.push(n.labelColor.call(this,e)),o.push(n.labelPointStyle.call(this,e)),s.push(n.labelTextColor.call(this,e))})),this.labelColors=i,this.labelPointStyles=o,this.labelTextColors=s,this.dataPoints=l,l}update(t,e){const n=this.options.setContext(this.getContext()),r=this._active;let i,o=[];if(r.length){const t=Lr[n.position].call(this,r,this._eventPosition);o=this._createItems(n),this.title=this.getTitle(o,n),this.beforeBody=this.getBeforeBody(o,n),this.body=this.getBody(o,n),this.afterBody=this.getAfterBody(o,n),this.footer=this.getFooter(o,n);const e=this._size=Nr(this,n),s=Object.assign({},t,e),a=Hr(this.chart,n,s),c=Vr(n,s,a,this.chart);this.xAlign=a.xAlign,this.yAlign=a.yAlign,i={opacity:1,x:c.x,y:c.y,width:e.width,height:e.height,caretX:t.x,caretY:t.y}}else 0!==this.opacity&&(i={opacity:0});this._tooltipItems=o,this.$context=void 0,i&&this._resolveAnimations().update(this,i),t&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:e})}drawCaret(t,e,n,r){const i=this.getCaretPosition(t,n,r);e.lineTo(i.x1,i.y1),e.lineTo(i.x2,i.y2),e.lineTo(i.x3,i.y3)}getCaretPosition(t,e,n){const{xAlign:i,yAlign:o}=this,{caretSize:s,cornerRadius:a}=n,{topLeft:c,topRight:l,bottomLeft:u,bottomRight:h}=(0,r.av)(a),{x:f,y:d}=t,{width:p,height:g}=e;let m,b,v,y,x,_;return"center"===o?(x=d+g/2,"left"===i?(m=f,b=m-s,y=x+s,_=x-s):(m=f+p,b=m+s,y=x-s,_=x+s),v=m):(b="left"===i?f+Math.max(c,u)+s:"right"===i?f+p-Math.max(l,h)-s:this.caretX,"top"===o?(y=d,x=y-s,m=b-s,v=b+s):(y=d+g,x=y+s,m=b+s,v=b-s),_=y),{x1:m,x2:b,x3:v,y1:y,y2:x,y3:_}}drawTitle(t,e,n){const i=this.title,o=i.length;let s,a,c;if(o){const l=(0,r.ay)(n.rtl,this.x,this.width);for(t.x=Yr(this,n.titleAlign,n),e.textAlign=l.textAlign(n.titleAlign),e.textBaseline="middle",s=(0,r.$)(n.titleFont),a=n.titleSpacing,e.fillStyle=n.titleColor,e.font=s.string,c=0;c<o;++c)e.fillText(i[c],l.x(t.x),t.y+s.lineHeight/2),t.y+=s.lineHeight+a,c+1===o&&(t.y+=n.titleMarginBottom-a)}}_drawColorBox(t,e,n,i,o){const s=this.labelColors[n],a=this.labelPointStyles[n],{boxHeight:c,boxWidth:l,boxPadding:u}=o,h=(0,r.$)(o.bodyFont),f=Yr(this,"left",o),d=i.x(f),p=c<h.lineHeight?(h.lineHeight-c)/2:0,g=e.y+p;if(o.usePointStyle){const e={radius:Math.min(l,c)/2,pointStyle:a.pointStyle,rotation:a.rotation,borderWidth:1},n=i.leftForLtr(d,l)+l/2,u=g+c/2;t.strokeStyle=o.multiKeyBackground,t.fillStyle=o.multiKeyBackground,(0,r.as)(t,e,n,u),t.strokeStyle=s.borderColor,t.fillStyle=s.backgroundColor,(0,r.as)(t,e,n,u)}else{t.lineWidth=s.borderWidth||1,t.strokeStyle=s.borderColor,t.setLineDash(s.borderDash||[]),t.lineDashOffset=s.borderDashOffset||0;const e=i.leftForLtr(d,l-u),n=i.leftForLtr(i.xPlus(d,1),l-u-2),a=(0,r.av)(s.borderRadius);Object.values(a).some((t=>0!==t))?(t.beginPath(),t.fillStyle=o.multiKeyBackground,(0,r.at)(t,{x:e,y:g,w:l,h:c,radius:a}),t.fill(),t.stroke(),t.fillStyle=s.backgroundColor,t.beginPath(),(0,r.at)(t,{x:n,y:g+1,w:l-2,h:c-2,radius:a}),t.fill()):(t.fillStyle=o.multiKeyBackground,t.fillRect(e,g,l,c),t.strokeRect(e,g,l,c),t.fillStyle=s.backgroundColor,t.fillRect(n,g+1,l-2,c-2))}t.fillStyle=this.labelTextColors[n]}drawBody(t,e,n){const{body:i}=this,{bodySpacing:o,bodyAlign:s,displayColors:a,boxHeight:c,boxWidth:l,boxPadding:u}=n,h=(0,r.$)(n.bodyFont);let f=h.lineHeight,d=0;const p=(0,r.ay)(n.rtl,this.x,this.width),g=function(n){e.fillText(n,p.x(t.x+d),t.y+f/2),t.y+=f+o},m=p.textAlign(s);let b,v,y,x,_,w,k;for(e.textAlign=s,e.textBaseline="middle",e.font=h.string,t.x=Yr(this,m,n),e.fillStyle=n.bodyColor,(0,r.E)(this.beforeBody,g),d=a&&"right"!==m?"center"===s?l/2+u:l+2+u:0,x=0,w=i.length;x<w;++x){for(b=i[x],v=this.labelTextColors[x],e.fillStyle=v,(0,r.E)(b.before,g),y=b.lines,a&&y.length&&(this._drawColorBox(e,t,x,p,n),f=Math.max(h.lineHeight,c)),_=0,k=y.length;_<k;++_)g(y[_]),f=h.lineHeight;(0,r.E)(b.after,g)}d=0,f=h.lineHeight,(0,r.E)(this.afterBody,g),t.y-=o}drawFooter(t,e,n){const i=this.footer,o=i.length;let s,a;if(o){const c=(0,r.ay)(n.rtl,this.x,this.width);for(t.x=Yr(this,n.footerAlign,n),t.y+=n.footerMarginTop,e.textAlign=c.textAlign(n.footerAlign),e.textBaseline="middle",s=(0,r.$)(n.footerFont),e.fillStyle=n.footerColor,e.font=s.string,a=0;a<o;++a)e.fillText(i[a],c.x(t.x),t.y+s.lineHeight/2),t.y+=s.lineHeight+n.footerSpacing}}drawBackground(t,e,n,i){const{xAlign:o,yAlign:s}=this,{x:a,y:c}=t,{width:l,height:u}=n,{topLeft:h,topRight:f,bottomLeft:d,bottomRight:p}=(0,r.av)(i.cornerRadius);e.fillStyle=i.backgroundColor,e.strokeStyle=i.borderColor,e.lineWidth=i.borderWidth,e.beginPath(),e.moveTo(a+h,c),"top"===s&&this.drawCaret(t,e,n,i),e.lineTo(a+l-f,c),e.quadraticCurveTo(a+l,c,a+l,c+f),"center"===s&&"right"===o&&this.drawCaret(t,e,n,i),e.lineTo(a+l,c+u-p),e.quadraticCurveTo(a+l,c+u,a+l-p,c+u),"bottom"===s&&this.drawCaret(t,e,n,i),e.lineTo(a+d,c+u),e.quadraticCurveTo(a,c+u,a,c+u-d),"center"===s&&"left"===o&&this.drawCaret(t,e,n,i),e.lineTo(a,c+h),e.quadraticCurveTo(a,c,a+h,c),e.closePath(),e.fill(),i.borderWidth>0&&e.stroke()}_updateAnimationTarget(t){const e=this.chart,n=this.$animations,r=n&&n.x,i=n&&n.y;if(r||i){const n=Lr[t.position].call(this,this._active,this._eventPosition);if(!n)return;const o=this._size=Nr(this,t),s=Object.assign({},n,this._size),a=Hr(e,t,s),c=Vr(t,s,a,e);r._to===c.x&&i._to===c.y||(this.xAlign=a.xAlign,this.yAlign=a.yAlign,this.width=o.width,this.height=o.height,this.caretX=n.x,this.caretY=n.y,this._resolveAnimations().update(this,c))}}_willRender(){return!!this.opacity}draw(t){const e=this.options.setContext(this.getContext());let n=this.opacity;if(!n)return;this._updateAnimationTarget(e);const i={width:this.width,height:this.height},o={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;const s=(0,r.D)(e.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;e.enabled&&a&&(t.save(),t.globalAlpha=n,this.drawBackground(o,t,i,e),(0,r.az)(t,e.textDirection),o.y+=s.top,this.drawTitle(o,t,e),this.drawBody(o,t,e),this.drawFooter(o,t,e),(0,r.aB)(t,e.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,e){const n=this._active,i=t.map((({datasetIndex:t,index:e})=>{const n=this.chart.getDatasetMeta(t);if(!n)throw new Error("Cannot find a dataset at index "+t);return{datasetIndex:t,element:n.data[e],index:e}})),o=!(0,r.ag)(n,i),s=this._positionChanged(i,e);(o||s)&&(this._active=i,this._eventPosition=e,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,e,n=!0){if(e&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const i=this.options,o=this._active||[],s=this._getActiveElements(t,o,e,n),a=this._positionChanged(s,t),c=e||!(0,r.ag)(s,o)||a;return c&&(this._active=s,(i.enabled||i.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),c}_getActiveElements(t,e,n,r){const i=this.options;if("mouseout"===t.type)return[];if(!r)return e;const o=this.chart.getElementsAtEventForMode(t,i.mode,i,n);return i.reverse&&o.reverse(),o}_positionChanged(t,e){const{caretX:n,caretY:r,options:i}=this,o=Lr[i.position].call(this,t,e);return!1!==o&&(n!==o.x||r!==o.y)}}Gr.positioners=Lr;var Jr={id:"tooltip",_element:Gr,positioners:Lr,afterInit(t,e,n){n&&(t.tooltip=new Gr({chart:t,options:n}))},beforeUpdate(t,e,n){t.tooltip&&t.tooltip.initialize(n)},reset(t,e,n){t.tooltip&&t.tooltip.initialize(n)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const n={tooltip:e};if(!1===t.notifyPlugins("beforeTooltipDraw",n))return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",n)}},afterEvent(t,e){if(t.tooltip){const n=e.replay;t.tooltip.handleEvent(e.event,n,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:r.aC,title(t){if(t.length>0){const e=t[0],n=e.chart.data.labels,r=n?n.length:0;if(this&&this.options&&"dataset"===this.options.mode)return e.dataset.label||"";if(e.label)return e.label;if(r>0&&e.dataIndex<r)return n[e.dataIndex]}return""},afterTitle:r.aC,beforeBody:r.aC,beforeLabel:r.aC,label(t){if(this&&this.options&&"dataset"===this.options.mode)return t.label+": "+t.formattedValue||t.formattedValue;let e=t.dataset.label||"";e&&(e+=": ");const n=t.formattedValue;return(0,r.k)(n)||(e+=n),e},labelColor(t){const e=t.chart.getDatasetMeta(t.datasetIndex),n=e.controller.getStyle(t.dataIndex);return{borderColor:n.borderColor,backgroundColor:n.backgroundColor,borderWidth:n.borderWidth,borderDash:n.borderDash,borderDashOffset:n.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(t){const e=t.chart.getDatasetMeta(t.datasetIndex),n=e.controller.getStyle(t.dataIndex);return{pointStyle:n.pointStyle,rotation:n.rotation}},afterLabel:r.aC,afterBody:r.aC,beforeFooter:r.aC,footer:r.aC,afterFooter:r.aC}},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>"filter"!==t&&"itemSort"!==t&&"external"!==t,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const Qr=(t,e,n,r)=>("string"===typeof e?(n=t.push(e)-1,r.unshift({index:n,label:e})):isNaN(e)&&(n=null),n);function Kr(t,e,n,r){const i=t.indexOf(e);if(-1===i)return Qr(t,e,n,r);const o=t.lastIndexOf(e);return i!==o?n:i}const ti=(t,e)=>null===t?null:(0,r.w)(Math.round(t),0,e);class ei extends Ce{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const e=this._addedLabels;if(e.length){const t=this.getLabels();for(const{index:n,label:r}of e)t[n]===r&&t.splice(n,1);this._addedLabels=[]}super.init(t)}parse(t,e){if((0,r.k)(t))return null;const n=this.getLabels();return e=isFinite(e)&&n[e]===t?e:Kr(n,t,(0,r.v)(e,t),this._addedLabels),ti(e,n.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let{min:n,max:r}=this.getMinMax(!0);"ticks"===this.options.bounds&&(t||(n=0),e||(r=this.getLabels().length-1)),this.min=n,this.max=r}buildTicks(){const t=this.min,e=this.max,n=this.options.offset,r=[];let i=this.getLabels();i=0===t&&e===i.length-1?i:i.slice(t,e+1),this._valueRange=Math.max(i.length-(n?0:1),1),this._startValue=this.min-(n?.5:0);for(let o=t;o<=e;o++)r.push({value:o});return r}getLabelForValue(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return"number"!==typeof t&&(t=this.parse(t)),null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}function ni(t,e){const n=[],i=1e-14,{bounds:o,step:s,min:a,max:c,precision:l,count:u,maxTicks:h,maxDigits:f,includeBounds:d}=t,p=s||1,g=h-1,{min:m,max:b}=e,v=!(0,r.k)(a),y=!(0,r.k)(c),x=!(0,r.k)(u),_=(b-m)/(f+1);let w,k,M,S,O=(0,r.aF)((b-m)/g/p)*p;if(O<i&&!v&&!y)return[{value:m},{value:b}];S=Math.ceil(b/O)-Math.floor(m/O),S>g&&(O=(0,r.aF)(S*O/g/p)*p),(0,r.k)(l)||(w=Math.pow(10,l),O=Math.ceil(O*w)/w),"ticks"===o?(k=Math.floor(m/O)*O,M=Math.ceil(b/O)*O):(k=m,M=b),v&&y&&s&&(0,r.aG)((c-a)/s,O/1e3)?(S=Math.round(Math.min((c-a)/O,h)),O=(c-a)/S,k=a,M=c):x?(k=v?a:k,M=y?c:M,S=u-1,O=(M-k)/S):(S=(M-k)/O,S=(0,r.aH)(S,Math.round(S),O/1e3)?Math.round(S):Math.ceil(S));const C=Math.max((0,r.aI)(O),(0,r.aI)(k));w=Math.pow(10,(0,r.k)(l)?C:l),k=Math.round(k*w)/w,M=Math.round(M*w)/w;let P=0;for(v&&(d&&k!==a?(n.push({value:a}),k<a&&P++,(0,r.aH)(Math.round((k+P*O)*w)/w,a,ri(a,_,t))&&P++):k<a&&P++);P<S;++P)n.push({value:Math.round((k+P*O)*w)/w});return y&&d&&M!==c?n.length&&(0,r.aH)(n[n.length-1].value,c,ri(c,_,t))?n[n.length-1].value=c:n.push({value:c}):y&&M!==c||n.push({value:M}),n}function ri(t,e,{horizontal:n,minRotation:i}){const o=(0,r.t)(i),s=(n?Math.sin(o):Math.cos(o))||.001,a=.75*e*(""+t).length;return Math.min(e/s,a)}ei.id="category",ei.defaults={ticks:{callback:ei.prototype.getLabelForValue}};class ii extends Ce{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,e){return(0,r.k)(t)||("number"===typeof t||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:e,maxDefined:n}=this.getUserBounds();let{min:i,max:o}=this;const s=t=>i=e?i:t,a=t=>o=n?o:t;if(t){const t=(0,r.s)(i),e=(0,r.s)(o);t<0&&e<0?a(0):t>0&&e>0&&s(0)}if(i===o){let e=1;(o>=Number.MAX_SAFE_INTEGER||i<=Number.MIN_SAFE_INTEGER)&&(e=Math.abs(.05*o)),a(o+e),t||s(i-e)}this.min=i,this.max=o}getTickLimit(){const t=this.options.ticks;let e,{maxTicksLimit:n,stepSize:r}=t;return r?(e=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,e>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${e} ticks. Limiting to 1000.`),e=1e3)):(e=this.computeTickLimit(),n=n||11),n&&(e=Math.min(n,e)),e}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,e=t.ticks;let n=this.getTickLimit();n=Math.max(2,n);const i={maxTicks:n,bounds:t.bounds,min:t.min,max:t.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:!1!==e.includeBounds},o=this._range||this,s=ni(i,o);return"ticks"===t.bounds&&(0,r.aE)(s,this,"value"),t.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}configure(){const t=this.ticks;let e=this.min,n=this.max;if(super.configure(),this.options.offset&&t.length){const r=(n-e)/Math.max(t.length-1,1)/2;e-=r,n+=r}this._startValue=e,this._endValue=n,this._valueRange=n-e}getLabelForValue(t){return(0,r.o)(t,this.chart.options.locale,this.options.ticks.format)}}class oi extends ii{determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=(0,r.g)(t)?t:0,this.max=(0,r.g)(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),e=t?this.width:this.height,n=(0,r.t)(this.options.ticks.minRotation),i=(t?Math.sin(n):Math.cos(n))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,o.lineHeight/i))}getPixelForValue(t){return null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}function si(t){const e=t/Math.pow(10,Math.floor((0,r.M)(t)));return 1===e}function ai(t,e){const n=Math.floor((0,r.M)(e.max)),i=Math.ceil(e.max/Math.pow(10,n)),o=[];let s=(0,r.O)(t.min,Math.pow(10,Math.floor((0,r.M)(e.min)))),a=Math.floor((0,r.M)(s)),c=Math.floor(s/Math.pow(10,a)),l=a<0?Math.pow(10,Math.abs(a)):1;do{o.push({value:s,major:si(s)}),++c,10===c&&(c=1,++a,l=a>=0?1:l),s=Math.round(c*Math.pow(10,a)*l)/l}while(a<n||a===n&&c<i);const u=(0,r.O)(t.max,s);return o.push({value:u,major:si(s)}),o}oi.id="linear",oi.defaults={ticks:{callback:ce.formatters.numeric}};class ci extends Ce{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,e){const n=ii.prototype.parse.apply(this,[t,e]);if(0!==n)return(0,r.g)(n)&&n>0?n:null;this._zero=!0}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=(0,r.g)(t)?Math.max(0,t):null,this.max=(0,r.g)(e)?Math.max(0,e):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let n=this.min,i=this.max;const o=e=>n=t?n:e,s=t=>i=e?i:t,a=(t,e)=>Math.pow(10,Math.floor((0,r.M)(t))+e);n===i&&(n<=0?(o(1),s(10)):(o(a(n,-1)),s(a(i,1)))),n<=0&&o(a(i,-1)),i<=0&&s(a(n,1)),this._zero&&this.min!==this._suggestedMin&&n===a(this.min,0)&&o(a(n,-1)),this.min=n,this.max=i}buildTicks(){const t=this.options,e={min:this._userMin,max:this._userMax},n=ai(e,this);return"ticks"===t.bounds&&(0,r.aE)(n,this,"value"),t.reverse?(n.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),n}getLabelForValue(t){return void 0===t?"0":(0,r.o)(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=(0,r.M)(t),this._valueRange=(0,r.M)(this.max)-(0,r.M)(t)}getPixelForValue(t){return void 0!==t&&0!==t||(t=this.min),null===t||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:((0,r.M)(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const e=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+e*this._valueRange)}}function li(t){const e=t.ticks;if(e.display&&t.display){const t=(0,r.D)(e.backdropPadding);return(0,r.v)(e.font&&e.font.size,r.d.font.size)+t.height}return 0}function ui(t,e,n){return n=(0,r.b)(n)?n:[n],{w:(0,r.aJ)(t,e.string,n),h:n.length*e.lineHeight}}function hi(t,e,n,r,i){return t===r||t===i?{start:e-n/2,end:e+n/2}:t<r||t>i?{start:e-n,end:e}:{start:e,end:e+n}}function fi(t){const e={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},n=Object.assign({},e),i=[],o=[],s=t._pointLabels.length,a=t.options.pointLabels,c=a.centerPointLabels?r.P/s:0;for(let l=0;l<s;l++){const s=a.setContext(t.getPointLabelContext(l));o[l]=s.padding;const u=t.getPointPosition(l,t.drawingArea+o[l],c),h=(0,r.$)(s.font),f=ui(t.ctx,h,t._pointLabels[l]);i[l]=f;const d=(0,r.ax)(t.getIndexAngle(l)+c),p=Math.round((0,r.S)(d)),g=hi(p,u.x,f.w,0,180),m=hi(p,u.y,f.h,90,270);di(n,e,d,g,m)}t.setCenterPoint(e.l-n.l,n.r-e.r,e.t-n.t,n.b-e.b),t._pointLabelItems=pi(t,i,o)}function di(t,e,n,r,i){const o=Math.abs(Math.sin(n)),s=Math.abs(Math.cos(n));let a=0,c=0;r.start<e.l?(a=(e.l-r.start)/o,t.l=Math.min(t.l,e.l-a)):r.end>e.r&&(a=(r.end-e.r)/o,t.r=Math.max(t.r,e.r+a)),i.start<e.t?(c=(e.t-i.start)/s,t.t=Math.min(t.t,e.t-c)):i.end>e.b&&(c=(i.end-e.b)/s,t.b=Math.max(t.b,e.b+c))}function pi(t,e,n){const i=[],o=t._pointLabels.length,s=t.options,a=li(s)/2,c=t.drawingArea,l=s.pointLabels.centerPointLabels?r.P/o:0;for(let u=0;u<o;u++){const o=t.getPointPosition(u,c+a+n[u],l),s=Math.round((0,r.S)((0,r.ax)(o.angle+r.H))),h=e[u],f=bi(o.y,h.h,s),d=gi(s),p=mi(o.x,h.w,d);i.push({x:o.x,y:f,textAlign:d,left:p,top:f,right:p+h.w,bottom:f+h.h})}return i}function gi(t){return 0===t||180===t?"center":t<180?"left":"right"}function mi(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function bi(t,e,n){return 90===n||270===n?t-=e/2:(n>270||n<90)&&(t-=e),t}function vi(t,e){const{ctx:n,options:{pointLabels:i}}=t;for(let o=e-1;o>=0;o--){const e=i.setContext(t.getPointLabelContext(o)),s=(0,r.$)(e.font),{x:a,y:c,textAlign:l,left:u,top:h,right:f,bottom:d}=t._pointLabelItems[o],{backdropColor:p}=e;if(!(0,r.k)(p)){const t=(0,r.av)(e.borderRadius),i=(0,r.D)(e.backdropPadding);n.fillStyle=p;const o=u-i.left,s=h-i.top,a=f-u+i.width,c=d-h+i.height;Object.values(t).some((t=>0!==t))?(n.beginPath(),(0,r.at)(n,{x:o,y:s,w:a,h:c,radius:t}),n.fill()):n.fillRect(o,s,a,c)}(0,r.Y)(n,t._pointLabels[o],a,c+s.lineHeight/2,s,{color:e.color,textAlign:l,textBaseline:"middle"})}}function yi(t,e,n,i){const{ctx:o}=t;if(n)o.arc(t.xCenter,t.yCenter,e,0,r.T);else{let n=t.getPointPosition(0,e);o.moveTo(n.x,n.y);for(let r=1;r<i;r++)n=t.getPointPosition(r,e),o.lineTo(n.x,n.y)}}function xi(t,e,n,r){const i=t.ctx,o=e.circular,{color:s,lineWidth:a}=e;!o&&!r||!s||!a||n<0||(i.save(),i.strokeStyle=s,i.lineWidth=a,i.setLineDash(e.borderDash),i.lineDashOffset=e.borderDashOffset,i.beginPath(),yi(t,n,o,r),i.closePath(),i.stroke(),i.restore())}function _i(t,e,n){return(0,r.h)(t,{label:n,index:e,type:"pointLabel"})}ci.id="logarithmic",ci.defaults={ticks:{callback:ce.formatters.logarithmic,major:{enabled:!0}}};class wi extends ii{constructor(t){super(t),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const t=this._padding=(0,r.D)(li(this.options)/2),e=this.width=this.maxWidth-t.width,n=this.height=this.maxHeight-t.height;this.xCenter=Math.floor(this.left+e/2+t.left),this.yCenter=Math.floor(this.top+n/2+t.top),this.drawingArea=Math.floor(Math.min(e,n)/2)}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!1);this.min=(0,r.g)(t)&&!isNaN(t)?t:0,this.max=(0,r.g)(e)&&!isNaN(e)?e:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/li(this.options))}generateTickLabels(t){ii.prototype.generateTickLabels.call(this,t),this._pointLabels=this.getLabels().map(((t,e)=>{const n=(0,r.Q)(this.options.pointLabels.callback,[t,e],this);return n||0===n?n:""})).filter(((t,e)=>this.chart.getDataVisibility(e)))}fit(){const t=this.options;t.display&&t.pointLabels.display?fi(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,e,n,r){this.xCenter+=Math.floor((t-e)/2),this.yCenter+=Math.floor((n-r)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,e,n,r))}getIndexAngle(t){const e=r.T/(this._pointLabels.length||1),n=this.options.startAngle||0;return(0,r.ax)(t*e+(0,r.t)(n))}getDistanceFromCenterForValue(t){if((0,r.k)(t))return NaN;const e=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*e:(t-this.min)*e}getValueForDistanceFromCenter(t){if((0,r.k)(t))return NaN;const e=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-e:this.min+e}getPointLabelContext(t){const e=this._pointLabels||[];if(t>=0&&t<e.length){const n=e[t];return _i(this.getContext(),t,n)}}getPointPosition(t,e,n=0){const i=this.getIndexAngle(t)-r.H+n;return{x:Math.cos(i)*e+this.xCenter,y:Math.sin(i)*e+this.yCenter,angle:i}}getPointPositionForValue(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))}getBasePosition(t){return this.getPointPositionForValue(t||0,this.getBaseValue())}getPointLabelPosition(t){const{left:e,top:n,right:r,bottom:i}=this._pointLabelItems[t];return{left:e,top:n,right:r,bottom:i}}drawBackground(){const{backgroundColor:t,grid:{circular:e}}=this.options;if(t){const n=this.ctx;n.save(),n.beginPath(),yi(this,this.getDistanceFromCenterForValue(this._endValue),e,this._pointLabels.length),n.closePath(),n.fillStyle=t,n.fill(),n.restore()}}drawGrid(){const t=this.ctx,e=this.options,{angleLines:n,grid:r}=e,i=this._pointLabels.length;let o,s,a;if(e.pointLabels.display&&vi(this,i),r.display&&this.ticks.forEach(((t,e)=>{if(0!==e){s=this.getDistanceFromCenterForValue(t.value);const n=r.setContext(this.getContext(e-1));xi(this,n,s,i)}})),n.display){for(t.save(),o=i-1;o>=0;o--){const r=n.setContext(this.getPointLabelContext(o)),{color:i,lineWidth:c}=r;c&&i&&(t.lineWidth=c,t.strokeStyle=i,t.setLineDash(r.borderDash),t.lineDashOffset=r.borderDashOffset,s=this.getDistanceFromCenterForValue(e.ticks.reverse?this.min:this.max),a=this.getPointPosition(o,s),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(a.x,a.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,e=this.options,n=e.ticks;if(!n.display)return;const i=this.getIndexAngle(0);let o,s;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(i),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach(((i,a)=>{if(0===a&&!e.reverse)return;const c=n.setContext(this.getContext(a)),l=(0,r.$)(c.font);if(o=this.getDistanceFromCenterForValue(this.ticks[a].value),c.showLabelBackdrop){t.font=l.string,s=t.measureText(i.label).width,t.fillStyle=c.backdropColor;const e=(0,r.D)(c.backdropPadding);t.fillRect(-s/2-e.left,-o-l.size/2-e.top,s+e.width,l.size+e.height)}(0,r.Y)(t,i.label,0,-o,l,{color:c.color})})),t.restore()}drawTitle(){}}wi.id="radialLinear",wi.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:ce.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(t){return t},padding:5,centerPointLabels:!1}},wi.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"},wi.descriptors={angleLines:{_fallback:"grid"}};const ki={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Mi=Object.keys(ki);function Si(t,e){return t-e}function Oi(t,e){if((0,r.k)(e))return null;const n=t._adapter,{parser:i,round:o,isoWeekday:s}=t._parseOpts;let a=e;return"function"===typeof i&&(a=i(a)),(0,r.g)(a)||(a="string"===typeof i?n.parse(a,i):n.parse(a)),null===a?null:(o&&(a="week"!==o||!(0,r.q)(s)&&!0!==s?n.startOf(a,o):n.startOf(a,"isoWeek",s)),+a)}function Ci(t,e,n,r){const i=Mi.length;for(let o=Mi.indexOf(t);o<i-1;++o){const t=ki[Mi[o]],i=t.steps?t.steps:Number.MAX_SAFE_INTEGER;if(t.common&&Math.ceil((n-e)/(i*t.size))<=r)return Mi[o]}return Mi[i-1]}function Pi(t,e,n,r,i){for(let o=Mi.length-1;o>=Mi.indexOf(n);o--){const n=Mi[o];if(ki[n].common&&t._adapter.diff(i,r,n)>=e-1)return n}return Mi[n?Mi.indexOf(n):0]}function Ti(t){for(let e=Mi.indexOf(t)+1,n=Mi.length;e<n;++e)if(ki[Mi[e]].common)return Mi[e]}function Di(t,e,n){if(n){if(n.length){const{lo:i,hi:o}=(0,r.aL)(n,e),s=n[i]>=e?n[i]:n[o];t[s]=!0}}else t[e]=!0}function Ei(t,e,n,r){const i=t._adapter,o=+i.startOf(e[0].value,r),s=e[e.length-1].value;let a,c;for(a=o;a<=s;a=+i.add(a,1,r))c=n[a],c>=0&&(e[c].major=!0);return e}function ji(t,e,n){const r=[],i={},o=e.length;let s,a;for(s=0;s<o;++s)a=e[s],i[a]=s,r.push({value:a,major:!1});return 0!==o&&n?Ei(t,r,i,n):r}class Ai extends Ce{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,e){const n=t.time||(t.time={}),i=this._adapter=new lt._date(t.adapters.date);(0,r.aa)(n.displayFormats,i.formats()),this._parseOpts={parser:n.parser,round:n.round,isoWeekday:n.isoWeekday},super.init(t),this._normalized=e.normalized}parse(t,e){return void 0===t?null:Oi(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,e=this._adapter,n=t.time.unit||"day";let{min:i,max:o,minDefined:s,maxDefined:a}=this.getUserBounds();function c(t){s||isNaN(t.min)||(i=Math.min(i,t.min)),a||isNaN(t.max)||(o=Math.max(o,t.max))}s&&a||(c(this._getLabelBounds()),"ticks"===t.bounds&&"labels"===t.ticks.source||c(this.getMinMax(!1))),i=(0,r.g)(i)&&!isNaN(i)?i:+e.startOf(Date.now(),n),o=(0,r.g)(o)&&!isNaN(o)?o:+e.endOf(Date.now(),n)+1,this.min=Math.min(i,o-1),this.max=Math.max(i+1,o)}_getLabelBounds(){const t=this.getLabelTimestamps();let e=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;return t.length&&(e=t[0],n=t[t.length-1]),{min:e,max:n}}buildTicks(){const t=this.options,e=t.time,n=t.ticks,i="labels"===n.source?this.getLabelTimestamps():this._generate();"ticks"===t.bounds&&i.length&&(this.min=this._userMin||i[0],this.max=this._userMax||i[i.length-1]);const o=this.min,s=this.max,a=(0,r.aK)(i,o,s);return this._unit=e.unit||(n.autoSkip?Ci(e.minUnit,this.min,this.max,this._getLabelCapacity(o)):Pi(this,a.length,e.minUnit,this.min,this.max)),this._majorUnit=n.major.enabled&&"year"!==this._unit?Ti(this._unit):void 0,this.initOffsets(i),t.reverse&&a.reverse(),ji(this,a,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map((t=>+t.value)))}initOffsets(t){let e,n,i=0,o=0;this.options.offset&&t.length&&(e=this.getDecimalForValue(t[0]),i=1===t.length?1-e:(this.getDecimalForValue(t[1])-e)/2,n=this.getDecimalForValue(t[t.length-1]),o=1===t.length?n:(n-this.getDecimalForValue(t[t.length-2]))/2);const s=t.length<3?.5:.25;i=(0,r.w)(i,0,s),o=(0,r.w)(o,0,s),this._offsets={start:i,end:o,factor:1/(i+1+o)}}_generate(){const t=this._adapter,e=this.min,n=this.max,i=this.options,o=i.time,s=o.unit||Ci(o.minUnit,e,n,this._getLabelCapacity(e)),a=(0,r.v)(o.stepSize,1),c="week"===s&&o.isoWeekday,l=(0,r.q)(c)||!0===c,u={};let h,f,d=e;if(l&&(d=+t.startOf(d,"isoWeek",c)),d=+t.startOf(d,l?"day":s),t.diff(n,e,s)>1e5*a)throw new Error(e+" and "+n+" are too far apart with stepSize of "+a+" "+s);const p="data"===i.ticks.source&&this.getDataTimestamps();for(h=d,f=0;h<n;h=+t.add(h,a,s),f++)Di(u,h,p);return h!==n&&"ticks"!==i.bounds&&1!==f||Di(u,h,p),Object.keys(u).sort(((t,e)=>t-e)).map((t=>+t))}getLabelForValue(t){const e=this._adapter,n=this.options.time;return n.tooltipFormat?e.format(t,n.tooltipFormat):e.format(t,n.displayFormats.datetime)}_tickFormatFunction(t,e,n,i){const o=this.options,s=o.time.displayFormats,a=this._unit,c=this._majorUnit,l=a&&s[a],u=c&&s[c],h=n[e],f=c&&u&&h&&h.major,d=this._adapter.format(t,i||(f?u:l)),p=o.ticks.callback;return p?(0,r.Q)(p,[d,e,n],this):d}generateTickLabels(t){let e,n,r;for(e=0,n=t.length;e<n;++e)r=t[e],r.label=this._tickFormatFunction(r.value,e,t)}getDecimalForValue(t){return null===t?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){const e=this._offsets,n=this.getDecimalForValue(t);return this.getPixelForDecimal((e.start+n)*e.factor)}getValueForPixel(t){const e=this._offsets,n=this.getDecimalForPixel(t)/e.factor-e.end;return this.min+n*(this.max-this.min)}_getLabelSize(t){const e=this.options.ticks,n=this.ctx.measureText(t).width,i=(0,r.t)(this.isHorizontal()?e.maxRotation:e.minRotation),o=Math.cos(i),s=Math.sin(i),a=this._resolveTickFontOptions(0).size;return{w:n*o+a*s,h:n*s+a*o}}_getLabelCapacity(t){const e=this.options.time,n=e.displayFormats,r=n[e.unit]||n.millisecond,i=this._tickFormatFunction(t,0,ji(this,[t],this._majorUnit),r),o=this._getLabelSize(i),s=Math.floor(this.isHorizontal()?this.width/o.w:this.height/o.h)-1;return s>0?s:1}getDataTimestamps(){let t,e,n=this._cache.data||[];if(n.length)return n;const r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(t=0,e=r.length;t<e;++t)n=n.concat(r[t].controller.getAllParsedValues(this));return this._cache.data=this.normalize(n)}getLabelTimestamps(){const t=this._cache.labels||[];let e,n;if(t.length)return t;const r=this.getLabels();for(e=0,n=r.length;e<n;++e)t.push(Oi(this,r[e]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return(0,r._)(t.sort(Si))}}function Li(t,e,n){let i,o,s,a,c=0,l=t.length-1;n?(e>=t[c].pos&&e<=t[l].pos&&({lo:c,hi:l}=(0,r.x)(t,"pos",e)),({pos:i,time:s}=t[c]),({pos:o,time:a}=t[l])):(e>=t[c].time&&e<=t[l].time&&({lo:c,hi:l}=(0,r.x)(t,"time",e)),({time:i,pos:s}=t[c]),({time:o,pos:a}=t[l]));const u=o-i;return u?s+(a-s)*(e-i)/u:s}Ai.id="time",Ai.defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",major:{enabled:!1}}};class Fi extends Ai{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(t);this._minPos=Li(e,this.min),this._tableRange=Li(e,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:e,max:n}=this,r=[],i=[];let o,s,a,c,l;for(o=0,s=t.length;o<s;++o)c=t[o],c>=e&&c<=n&&r.push(c);if(r.length<2)return[{time:e,pos:0},{time:n,pos:1}];for(o=0,s=r.length;o<s;++o)l=r[o+1],a=r[o-1],c=r[o],Math.round((l+a)/2)!==c&&i.push({time:c,pos:o/(s-1)});return i}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const e=this.getDataTimestamps(),n=this.getLabelTimestamps();return t=e.length&&n.length?this.normalize(e.concat(n)):e.length?e:n,t=this._cache.all=t,t}getDecimalForValue(t){return(Li(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const e=this._offsets,n=this.getDecimalForPixel(t)/e.factor-e.end;return Li(this._table,n*this._tableRange+this._minPos,!0)}}Fi.id="timeseries",Fi.defaults=Ai.defaults},3940:function(t,e,n){"use strict";n.d(e,{$:function(){return Ne},A:function(){return Be},B:function(){return _e},C:function(){return nt},D:function(){return Re},E:function(){return x},F:function(){return Wn},G:function(){return Pn},H:function(){return H},I:function(){return Hn},J:function(){return i},K:function(){return Un},L:function(){return Cn},M:function(){return V},N:function(){return q},O:function(){return g},P:function(){return R},Q:function(){return y},R:function(){return ze},S:function(){return tt},T:function(){return N},U:function(){return me},V:function(){return ct},W:function(){return ve},X:function(){return we},Y:function(){return Oe},Z:function(){return ke},_:function(){return Xe},a:function(){return We},a0:function(){return s},a1:function(){return a},a2:function(){return le},a3:function(){return S},a4:function(){return j},a5:function(){return ue},a6:function(){return L},a7:function(){return Je},a8:function(){return Ge},a9:function(){return Qe},aA:function(){return c},aB:function(){return Kn},aC:function(){return l},aD:function(){return rt},aE:function(){return Q},aF:function(){return Z},aG:function(){return J},aH:function(){return G},aI:function(){return et},aJ:function(){return be},aK:function(){return Ve},aL:function(){return He},aa:function(){return O},ab:function(){return u},ac:function(){return o},ad:function(){return zn},ae:function(){return ye},af:function(){return F},ag:function(){return _},ah:function(){return I},ai:function(){return lt},aj:function(){return Le},ak:function(){return On},al:function(){return ar},am:function(){return ir},an:function(){return Bn},ao:function(){return Vn},ap:function(){return $n},aq:function(){return Me},ar:function(){return Se},as:function(){return xe},at:function(){return Te},au:function(){return Fe},av:function(){return Ie},aw:function(){return rr},ax:function(){return ot},ay:function(){return Jn},az:function(){return Qn},b:function(){return f},c:function(){return ae},d:function(){return pe},e:function(){return dt},f:function(){return E},g:function(){return p},h:function(){return Ue},i:function(){return d},j:function(){return A},k:function(){return h},l:function(){return Ze},m:function(){return b},n:function(){return v},o:function(){return qn},p:function(){return st},q:function(){return X},r:function(){return r},s:function(){return Y},t:function(){return K},u:function(){return qe},v:function(){return m},w:function(){return at},x:function(){return $e},y:function(){return mn},z:function(){return In}});const r=function(){return"undefined"===typeof window?function(t){return t()}:window.requestAnimationFrame}();function i(t,e,n){const i=n||(t=>Array.prototype.slice.call(t));let o=!1,s=[];return function(...n){s=i(n),o||(o=!0,r.call(window,(()=>{o=!1,t.apply(e,s)})))}}function o(t,e){let n;return function(...r){return e?(clearTimeout(n),n=setTimeout(t,e,r)):t.apply(this,r),e}}const s=t=>"start"===t?"left":"end"===t?"right":"center",a=(t,e,n)=>"start"===t?e:"end"===t?n:(e+n)/2,c=(t,e,n,r)=>{const i=r?"left":"right";return t===i?n:"center"===t?(e+n)/2:e};function l(){}const u=function(){let t=0;return function(){return t++}}();function h(t){return null===t||"undefined"===typeof t}function f(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return"[object"===e.slice(0,7)&&"Array]"===e.slice(-6)}function d(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}const p=t=>("number"===typeof t||t instanceof Number)&&isFinite(+t);function g(t,e){return p(t)?t:e}function m(t,e){return"undefined"===typeof t?e:t}const b=(t,e)=>"string"===typeof t&&t.endsWith("%")?parseFloat(t)/100:t/e,v=(t,e)=>"string"===typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function y(t,e,n){if(t&&"function"===typeof t.call)return t.apply(n,e)}function x(t,e,n,r){let i,o,s;if(f(t))if(o=t.length,r)for(i=o-1;i>=0;i--)e.call(n,t[i],i);else for(i=0;i<o;i++)e.call(n,t[i],i);else if(d(t))for(s=Object.keys(t),o=s.length,i=0;i<o;i++)e.call(n,t[s[i]],s[i])}function _(t,e){let n,r,i,o;if(!t||!e||t.length!==e.length)return!1;for(n=0,r=t.length;n<r;++n)if(i=t[n],o=e[n],i.datasetIndex!==o.datasetIndex||i.index!==o.index)return!1;return!0}function w(t){if(f(t))return t.map(w);if(d(t)){const e=Object.create(null),n=Object.keys(t),r=n.length;let i=0;for(;i<r;++i)e[n[i]]=w(t[n[i]]);return e}return t}function k(t){return-1===["__proto__","prototype","constructor"].indexOf(t)}function M(t,e,n,r){if(!k(t))return;const i=e[t],o=n[t];d(i)&&d(o)?S(i,o,r):e[t]=w(o)}function S(t,e,n){const r=f(e)?e:[e],i=r.length;if(!d(t))return t;n=n||{};const o=n.merger||M;for(let s=0;s<i;++s){if(e=r[s],!d(e))continue;const i=Object.keys(e);for(let r=0,s=i.length;r<s;++r)o(i[r],t,e,n)}return t}function O(t,e){return S(t,e,{merger:C})}function C(t,e,n){if(!k(t))return;const r=e[t],i=n[t];d(r)&&d(i)?O(r,i):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=w(i))}const P="",T=".";function D(t,e){const n=t.indexOf(T,e);return-1===n?t.length:n}function E(t,e){if(e===P)return t;let n=0,r=D(e,n);while(t&&r>n)t=t[e.slice(n,r)],n=r+1,r=D(e,n);return t}function j(t){return t.charAt(0).toUpperCase()+t.slice(1)}const A=t=>"undefined"!==typeof t,L=t=>"function"===typeof t,F=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function I(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}const R=Math.PI,N=2*R,W=N+R,z=Number.POSITIVE_INFINITY,U=R/180,H=R/2,$=R/4,B=2*R/3,V=Math.log10,Y=Math.sign;function Z(t){const e=Math.round(t);t=G(t,e,t/1e3)?e:t;const n=Math.pow(10,Math.floor(V(t))),r=t/n,i=r<=1?1:r<=2?2:r<=5?5:10;return i*n}function q(t){const e=[],n=Math.sqrt(t);let r;for(r=1;r<n;r++)t%r===0&&(e.push(r),e.push(t/r));return n===(0|n)&&e.push(n),e.sort(((t,e)=>t-e)).pop(),e}function X(t){return!isNaN(parseFloat(t))&&isFinite(t)}function G(t,e,n){return Math.abs(t-e)<n}function J(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}function Q(t,e,n){let r,i,o;for(r=0,i=t.length;r<i;r++)o=t[r][n],isNaN(o)||(e.min=Math.min(e.min,o),e.max=Math.max(e.max,o))}function K(t){return t*(R/180)}function tt(t){return t*(180/R)}function et(t){if(!p(t))return;let e=1,n=0;while(Math.round(t*e)/e!==t)e*=10,n++;return n}function nt(t,e){const n=e.x-t.x,r=e.y-t.y,i=Math.sqrt(n*n+r*r);let o=Math.atan2(r,n);return o<-.5*R&&(o+=N),{angle:o,distance:i}}function rt(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function it(t,e){return(t-e+W)%N-R}function ot(t){return(t%N+N)%N}function st(t,e,n,r){const i=ot(t),o=ot(e),s=ot(n),a=ot(o-i),c=ot(s-i),l=ot(i-o),u=ot(i-s);return i===o||i===s||r&&o===s||a>c&&l<u}function at(t,e,n){return Math.max(e,Math.min(n,t))}function ct(t){return at(t,-32768,32767)}function lt(t,e,n,r=1e-6){return t>=Math.min(e,n)-r&&t<=Math.max(e,n)+r}const ut=t=>0===t||1===t,ht=(t,e,n)=>-Math.pow(2,10*(t-=1))*Math.sin((t-e)*N/n),ft=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*N/n)+1,dt={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>1-Math.cos(t*H),easeOutSine:t=>Math.sin(t*H),easeInOutSine:t=>-.5*(Math.cos(R*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>ut(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1))),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>ut(t)?t:ht(t,.075,.3),easeOutElastic:t=>ut(t)?t:ft(t,.075,.3),easeInOutElastic(t){const e=.1125,n=.45;return ut(t)?t:t<.5?.5*ht(2*t,e,n):.5+.5*ft(2*t-1,e,n)},easeInBack(t){const e=1.70158;return t*t*((e+1)*t-e)},easeOutBack(t){const e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:t=>1-dt.easeOutBounce(1-t),easeOutBounce(t){const e=7.5625,n=2.75;return t<1/n?e*t*t:t<2/n?e*(t-=1.5/n)*t+.75:t<2.5/n?e*(t-=2.25/n)*t+.9375:e*(t-=2.625/n)*t+.984375},easeInOutBounce:t=>t<.5?.5*dt.easeInBounce(2*t):.5*dt.easeOutBounce(2*t-1)+.5};
/*!
* @kurkle/color v0.2.1
* https://github.com/kurkle/color#readme
* (c) 2022 Jukka Kurkela
* Released under the MIT License
*/
function pt(t){return t+.5|0}const gt=(t,e,n)=>Math.max(Math.min(t,n),e);function mt(t){return gt(pt(2.55*t),0,255)}function bt(t){return gt(pt(255*t),0,255)}function vt(t){return gt(pt(t/2.55)/100,0,1)}function yt(t){return gt(pt(100*t),0,100)}const xt={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},_t=[..."0123456789ABCDEF"],wt=t=>_t[15&t],kt=t=>_t[(240&t)>>4]+_t[15&t],Mt=t=>(240&t)>>4===(15&t),St=t=>Mt(t.r)&&Mt(t.g)&&Mt(t.b)&&Mt(t.a);function Ot(t){var e,n=t.length;return"#"===t[0]&&(4===n||5===n?e={r:255&17*xt[t[1]],g:255&17*xt[t[2]],b:255&17*xt[t[3]],a:5===n?17*xt[t[4]]:255}:7!==n&&9!==n||(e={r:xt[t[1]]<<4|xt[t[2]],g:xt[t[3]]<<4|xt[t[4]],b:xt[t[5]]<<4|xt[t[6]],a:9===n?xt[t[7]]<<4|xt[t[8]]:255})),e}const Ct=(t,e)=>t<255?e(t):"";function Pt(t){var e=St(t)?wt:kt;return t?"#"+e(t.r)+e(t.g)+e(t.b)+Ct(t.a,e):void 0}const Tt=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Dt(t,e,n){const r=e*Math.min(n,1-n),i=(e,i=(e+t/30)%12)=>n-r*Math.max(Math.min(i-3,9-i,1),-1);return[i(0),i(8),i(4)]}function Et(t,e,n){const r=(r,i=(r+t/60)%6)=>n-n*e*Math.max(Math.min(i,4-i,1),0);return[r(5),r(3),r(1)]}function jt(t,e,n){const r=Dt(t,1,.5);let i;for(e+n>1&&(i=1/(e+n),e*=i,n*=i),i=0;i<3;i++)r[i]*=1-e-n,r[i]+=e;return r}function At(t,e,n,r,i){return t===i?(e-n)/r+(e<n?6:0):e===i?(n-t)/r+2:(t-e)/r+4}function Lt(t){const e=255,n=t.r/e,r=t.g/e,i=t.b/e,o=Math.max(n,r,i),s=Math.min(n,r,i),a=(o+s)/2;let c,l,u;return o!==s&&(u=o-s,l=a>.5?u/(2-o-s):u/(o+s),c=At(n,r,i,u,o),c=60*c+.5),[0|c,l||0,a]}function Ft(t,e,n,r){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,r)).map(bt)}function It(t,e,n){return Ft(Dt,t,e,n)}function Rt(t,e,n){return Ft(jt,t,e,n)}function Nt(t,e,n){return Ft(Et,t,e,n)}function Wt(t){return(t%360+360)%360}function zt(t){const e=Tt.exec(t);let n,r=255;if(!e)return;e[5]!==n&&(r=e[6]?mt(+e[5]):bt(+e[5]));const i=Wt(+e[2]),o=+e[3]/100,s=+e[4]/100;return n="hwb"===e[1]?Rt(i,o,s):"hsv"===e[1]?Nt(i,o,s):It(i,o,s),{r:n[0],g:n[1],b:n[2],a:r}}function Ut(t,e){var n=Lt(t);n[0]=Wt(n[0]+e),n=It(n),t.r=n[0],t.g=n[1],t.b=n[2]}function Ht(t){if(!t)return;const e=Lt(t),n=e[0],r=yt(e[1]),i=yt(e[2]);return t.a<255?`hsla(${n}, ${r}%, ${i}%, ${vt(t.a)})`:`hsl(${n}, ${r}%, ${i}%)`}const $t={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},Bt={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function Vt(){const t={},e=Object.keys(Bt),n=Object.keys($t);let r,i,o,s,a;for(r=0;r<e.length;r++){for(s=a=e[r],i=0;i<n.length;i++)o=n[i],a=a.replace(o,$t[o]);o=parseInt(Bt[s],16),t[a]=[o>>16&255,o>>8&255,255&o]}return t}let Yt;function Zt(t){Yt||(Yt=Vt(),Yt.transparent=[0,0,0,0]);const e=Yt[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}const qt=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function Xt(t){const e=qt.exec(t);let n,r,i,o=255;if(e){if(e[7]!==n){const t=+e[7];o=e[8]?mt(t):gt(255*t,0,255)}return n=+e[1],r=+e[3],i=+e[5],n=255&(e[2]?mt(n):gt(n,0,255)),r=255&(e[4]?mt(r):gt(r,0,255)),i=255&(e[6]?mt(i):gt(i,0,255)),{r:n,g:r,b:i,a:o}}}function Gt(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${vt(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}const Jt=t=>t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055,Qt=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function Kt(t,e,n){const r=Qt(vt(t.r)),i=Qt(vt(t.g)),o=Qt(vt(t.b));return{r:bt(Jt(r+n*(Qt(vt(e.r))-r))),g:bt(Jt(i+n*(Qt(vt(e.g))-i))),b:bt(Jt(o+n*(Qt(vt(e.b))-o))),a:t.a+n*(e.a-t.a)}}function te(t,e,n){if(t){let r=Lt(t);r[e]=Math.max(0,Math.min(r[e]+r[e]*n,0===e?360:1)),r=It(r),t.r=r[0],t.g=r[1],t.b=r[2]}}function ee(t,e){return t?Object.assign(e||{},t):t}function ne(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=bt(t[3]))):(e=ee(t,{r:0,g:0,b:0,a:1}),e.a=bt(e.a)),e}function re(t){return"r"===t.charAt(0)?Xt(t):zt(t)}class ie{constructor(t){if(t instanceof ie)return t;const e=typeof t;let n;"object"===e?n=ne(t):"string"===e&&(n=Ot(t)||Zt(t)||re(t)),this._rgb=n,this._valid=!!n}get valid(){return this._valid}get rgb(){var t=ee(this._rgb);return t&&(t.a=vt(t.a)),t}set rgb(t){this._rgb=ne(t)}rgbString(){return this._valid?Gt(this._rgb):void 0}hexString(){return this._valid?Pt(this._rgb):void 0}hslString(){return this._valid?Ht(this._rgb):void 0}mix(t,e){if(t){const n=this.rgb,r=t.rgb;let i;const o=e===i?.5:e,s=2*o-1,a=n.a-r.a,c=((s*a===-1?s:(s+a)/(1+s*a))+1)/2;i=1-c,n.r=255&c*n.r+i*r.r+.5,n.g=255&c*n.g+i*r.g+.5,n.b=255&c*n.b+i*r.b+.5,n.a=o*n.a+(1-o)*r.a,this.rgb=n}return this}interpolate(t,e){return t&&(this._rgb=Kt(this._rgb,t._rgb,e)),this}clone(){return new ie(this.rgb)}alpha(t){return this._rgb.a=bt(t),this}clearer(t){const e=this._rgb;return e.a*=1-t,this}greyscale(){const t=this._rgb,e=pt(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}opaquer(t){const e=this._rgb;return e.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return te(this._rgb,2,t),this}darken(t){return te(this._rgb,2,-t),this}saturate(t){return te(this._rgb,1,t),this}desaturate(t){return te(this._rgb,1,-t),this}rotate(t){return Ut(this._rgb,t),this}}function oe(t){return new ie(t)}function se(t){if(t&&"object"===typeof t){const e=t.toString();return"[object CanvasPattern]"===e||"[object CanvasGradient]"===e}return!1}function ae(t){return se(t)?t:oe(t)}function ce(t){return se(t)?t:oe(t).saturate(.5).darken(.1).hexString()}const le=Object.create(null),ue=Object.create(null);function he(t,e){if(!e)return t;const n=e.split(".");for(let r=0,i=n.length;r<i;++r){const e=n[r];t=t[e]||(t[e]=Object.create(null))}return t}function fe(t,e,n){return"string"===typeof e?S(he(t,e),n):S(he(t,""),e)}class de{constructor(t){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=t=>t.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(t,e)=>ce(e.backgroundColor),this.hoverBorderColor=(t,e)=>ce(e.borderColor),this.hoverColor=(t,e)=>ce(e.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t)}set(t,e){return fe(this,t,e)}get(t){return he(this,t)}describe(t,e){return fe(ue,t,e)}override(t,e){return fe(le,t,e)}route(t,e,n,r){const i=he(this,t),o=he(this,n),s="_"+e;Object.defineProperties(i,{[s]:{value:i[e],writable:!0},[e]:{enumerable:!0,get(){const t=this[s],e=o[r];return d(t)?Object.assign({},e,t):m(t,e)},set(t){this[s]=t}}})}}var pe=new de({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function ge(t){return!t||h(t.size)||h(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function me(t,e,n,r,i){let o=e[i];return o||(o=e[i]=t.measureText(i).width,n.push(i)),o>r&&(r=o),r}function be(t,e,n,r){r=r||{};let i=r.data=r.data||{},o=r.garbageCollect=r.garbageCollect||[];r.font!==e&&(i=r.data={},o=r.garbageCollect=[],r.font=e),t.save(),t.font=e;let s=0;const a=n.length;let c,l,u,h,d;for(c=0;c<a;c++)if(h=n[c],void 0!==h&&null!==h&&!0!==f(h))s=me(t,i,o,s,h);else if(f(h))for(l=0,u=h.length;l<u;l++)d=h[l],void 0===d||null===d||f(d)||(s=me(t,i,o,s,d));t.restore();const p=o.length/2;if(p>n.length){for(c=0;c<p;c++)delete i[o[c]];o.splice(0,p)}return s}function ve(t,e,n){const r=t.currentDevicePixelRatio,i=0!==n?Math.max(n/2,.5):0;return Math.round((e-i)*r)/r+i}function ye(t,e){e=e||t.getContext("2d"),e.save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore()}function xe(t,e,n,r){let i,o,s,a,c;const l=e.pointStyle,u=e.rotation,h=e.radius;let f=(u||0)*U;if(l&&"object"===typeof l&&(i=l.toString(),"[object HTMLImageElement]"===i||"[object HTMLCanvasElement]"===i))return t.save(),t.translate(n,r),t.rotate(f),t.drawImage(l,-l.width/2,-l.height/2,l.width,l.height),void t.restore();if(!(isNaN(h)||h<=0)){switch(t.beginPath(),l){default:t.arc(n,r,h,0,N),t.closePath();break;case"triangle":t.moveTo(n+Math.sin(f)*h,r-Math.cos(f)*h),f+=B,t.lineTo(n+Math.sin(f)*h,r-Math.cos(f)*h),f+=B,t.lineTo(n+Math.sin(f)*h,r-Math.cos(f)*h),t.closePath();break;case"rectRounded":c=.516*h,a=h-c,o=Math.cos(f+$)*a,s=Math.sin(f+$)*a,t.arc(n-o,r-s,c,f-R,f-H),t.arc(n+s,r-o,c,f-H,f),t.arc(n+o,r+s,c,f,f+H),t.arc(n-s,r+o,c,f+H,f+R),t.closePath();break;case"rect":if(!u){a=Math.SQRT1_2*h,t.rect(n-a,r-a,2*a,2*a);break}f+=$;case"rectRot":o=Math.cos(f)*h,s=Math.sin(f)*h,t.moveTo(n-o,r-s),t.lineTo(n+s,r-o),t.lineTo(n+o,r+s),t.lineTo(n-s,r+o),t.closePath();break;case"crossRot":f+=$;case"cross":o=Math.cos(f)*h,s=Math.sin(f)*h,t.moveTo(n-o,r-s),t.lineTo(n+o,r+s),t.moveTo(n+s,r-o),t.lineTo(n-s,r+o);break;case"star":o=Math.cos(f)*h,s=Math.sin(f)*h,t.moveTo(n-o,r-s),t.lineTo(n+o,r+s),t.moveTo(n+s,r-o),t.lineTo(n-s,r+o),f+=$,o=Math.cos(f)*h,s=Math.sin(f)*h,t.moveTo(n-o,r-s),t.lineTo(n+o,r+s),t.moveTo(n+s,r-o),t.lineTo(n-s,r+o);break;case"line":o=Math.cos(f)*h,s=Math.sin(f)*h,t.moveTo(n-o,r-s),t.lineTo(n+o,r+s);break;case"dash":t.moveTo(n,r),t.lineTo(n+Math.cos(f)*h,r+Math.sin(f)*h);break}t.fill(),e.borderWidth>0&&t.stroke()}}function _e(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.x<e.right+n&&t.y>e.top-n&&t.y<e.bottom+n}function we(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function ke(t){t.restore()}function Me(t,e,n,r,i){if(!e)return t.lineTo(n.x,n.y);if("middle"===i){const r=(e.x+n.x)/2;t.lineTo(r,e.y),t.lineTo(r,n.y)}else"after"===i!==!!r?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y);t.lineTo(n.x,n.y)}function Se(t,e,n,r){if(!e)return t.lineTo(n.x,n.y);t.bezierCurveTo(r?e.cp1x:e.cp2x,r?e.cp1y:e.cp2y,r?n.cp2x:n.cp1x,r?n.cp2y:n.cp1y,n.x,n.y)}function Oe(t,e,n,r,i,o={}){const s=f(e)?e:[e],a=o.strokeWidth>0&&""!==o.strokeColor;let c,l;for(t.save(),t.font=i.string,Ce(t,o),c=0;c<s.length;++c)l=s[c],a&&(o.strokeColor&&(t.strokeStyle=o.strokeColor),h(o.strokeWidth)||(t.lineWidth=o.strokeWidth),t.strokeText(l,n,r,o.maxWidth)),t.fillText(l,n,r,o.maxWidth),Pe(t,n,r,l,o),r+=i.lineHeight;t.restore()}function Ce(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),h(e.rotation)||t.rotate(e.rotation),e.color&&(t.fillStyle=e.color),e.textAlign&&(t.textAlign=e.textAlign),e.textBaseline&&(t.textBaseline=e.textBaseline)}function Pe(t,e,n,r,i){if(i.strikethrough||i.underline){const o=t.measureText(r),s=e-o.actualBoundingBoxLeft,a=e+o.actualBoundingBoxRight,c=n-o.actualBoundingBoxAscent,l=n+o.actualBoundingBoxDescent,u=i.strikethrough?(c+l)/2:l;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=i.decorationWidth||2,t.moveTo(s,u),t.lineTo(a,u),t.stroke()}}function Te(t,e){const{x:n,y:r,w:i,h:o,radius:s}=e;t.arc(n+s.topLeft,r+s.topLeft,s.topLeft,-H,R,!0),t.lineTo(n,r+o-s.bottomLeft),t.arc(n+s.bottomLeft,r+o-s.bottomLeft,s.bottomLeft,R,H,!0),t.lineTo(n+i-s.bottomRight,r+o),t.arc(n+i-s.bottomRight,r+o-s.bottomRight,s.bottomRight,H,0,!0),t.lineTo(n+i,r+s.topRight),t.arc(n+i-s.topRight,r+s.topRight,s.topRight,0,-H,!0),t.lineTo(n+s.topLeft,r)}const De=new RegExp(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/),Ee=new RegExp(/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/);function je(t,e){const n=(""+t).match(De);if(!n||"normal"===n[1])return 1.2*e;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100;break}return e*t}const Ae=t=>+t||0;function Le(t,e){const n={},r=d(e),i=r?Object.keys(e):e,o=d(t)?r?n=>m(t[n],t[e[n]]):e=>t[e]:()=>t;for(const s of i)n[s]=Ae(o(s));return n}function Fe(t){return Le(t,{top:"y",right:"x",bottom:"y",left:"x"})}function Ie(t){return Le(t,["topLeft","topRight","bottomLeft","bottomRight"])}function Re(t){const e=Fe(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function Ne(t,e){t=t||{},e=e||pe.font;let n=m(t.size,e.size);"string"===typeof n&&(n=parseInt(n,10));let r=m(t.style,e.style);r&&!(""+r).match(Ee)&&(console.warn('Invalid font style specified: "'+r+'"'),r="");const i={family:m(t.family,e.family),lineHeight:je(m(t.lineHeight,e.lineHeight),n),size:n,style:r,weight:m(t.weight,e.weight),string:""};return i.string=ge(i),i}function We(t,e,n,r){let i,o,s,a=!0;for(i=0,o=t.length;i<o;++i)if(s=t[i],void 0!==s&&(void 0!==e&&"function"===typeof s&&(s=s(e),a=!1),void 0!==n&&f(s)&&(s=s[n%s.length],a=!1),void 0!==s))return r&&!a&&(r.cacheable=!1),s}function ze(t,e,n){const{min:r,max:i}=t,o=v(e,(i-r)/2),s=(t,e)=>n&&0===t?0:t+e;return{min:s(r,-Math.abs(o)),max:s(i,o)}}function Ue(t,e){return Object.assign(Object.create(t),e)}function He(t,e,n){n=n||(n=>t[n]<e);let r,i=t.length-1,o=0;while(i-o>1)r=o+i>>1,n(r)?o=r:i=r;return{lo:o,hi:i}}const $e=(t,e,n)=>He(t,n,(r=>t[r][e]<n)),Be=(t,e,n)=>He(t,n,(r=>t[r][e]>=n));function Ve(t,e,n){let r=0,i=t.length;while(r<i&&t[r]<e)r++;while(i>r&&t[i-1]>n)i--;return r>0||i<t.length?t.slice(r,i):t}const Ye=["push","pop","shift","splice","unshift"];function Ze(t,e){t._chartjs?t._chartjs.listeners.push(e):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),Ye.forEach((e=>{const n="_onData"+j(e),r=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value(...e){const i=r.apply(this,e);return t._chartjs.listeners.forEach((t=>{"function"===typeof t[n]&&t[n](...e)})),i}})})))}function qe(t,e){const n=t._chartjs;if(!n)return;const r=n.listeners,i=r.indexOf(e);-1!==i&&r.splice(i,1),r.length>0||(Ye.forEach((e=>{delete t[e]})),delete t._chartjs)}function Xe(t){const e=new Set;let n,r;for(n=0,r=t.length;n<r;++n)e.add(t[n]);return e.size===r?t:Array.from(e)}function Ge(t,e=[""],n=t,r,i=(()=>t[0])){A(r)||(r=dn("_fallback",t));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:n,_fallback:r,_getTarget:i,override:i=>Ge([i,...t],e,n,r)};return new Proxy(o,{deleteProperty(e,n){return delete e[n],delete e._keys,delete t[0][n],!0},get(n,r){return en(n,r,(()=>fn(r,e,t,n)))},getOwnPropertyDescriptor(t,e){return Reflect.getOwnPropertyDescriptor(t._scopes[0],e)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(t,e){return pn(t).includes(e)},ownKeys(t){return pn(t)},set(t,e,n){const r=t._storage||(t._storage=i());return t[e]=r[e]=n,delete t._keys,!0}})}function Je(t,e,n,r){const i={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:Qe(t,r),setContext:e=>Je(t,e,n,r),override:i=>Je(t.override(i),e,n,r)};return new Proxy(i,{deleteProperty(e,n){return delete e[n],delete t[n],!0},get(t,e,n){return en(t,e,(()=>nn(t,e,n)))},getOwnPropertyDescriptor(e,n){return e._descriptors.allKeys?Reflect.has(t,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,n)},getPrototypeOf(){return Reflect.getPrototypeOf(t)},has(e,n){return Reflect.has(t,n)},ownKeys(){return Reflect.ownKeys(t)},set(e,n,r){return t[n]=r,delete e[n],!0}})}function Qe(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:r=e.indexable,_allKeys:i=e.allKeys}=t;return{allKeys:i,scriptable:n,indexable:r,isScriptable:L(n)?n:()=>n,isIndexable:L(r)?r:()=>r}}const Ke=(t,e)=>t?t+j(e):e,tn=(t,e)=>d(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function en(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const r=n();return t[e]=r,r}function nn(t,e,n){const{_proxy:r,_context:i,_subProxy:o,_descriptors:s}=t;let a=r[e];return L(a)&&s.isScriptable(e)&&(a=rn(e,a,t,n)),f(a)&&a.length&&(a=on(e,a,t,s.isIndexable)),tn(e,a)&&(a=Je(a,i,o&&o[e],s)),a}function rn(t,e,n,r){const{_proxy:i,_context:o,_subProxy:s,_stack:a}=n;if(a.has(t))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+t);return a.add(t),e=e(o,s||r),a.delete(t),tn(t,e)&&(e=ln(i._scopes,i,t,e)),e}function on(t,e,n,r){const{_proxy:i,_context:o,_subProxy:s,_descriptors:a}=n;if(A(o.index)&&r(t))e=e[o.index%e.length];else if(d(e[0])){const n=e,r=i._scopes.filter((t=>t!==n));e=[];for(const c of n){const n=ln(r,i,t,c);e.push(Je(n,o,s&&s[t],a))}}return e}function sn(t,e,n){return L(t)?t(e,n):t}const an=(t,e)=>!0===t?e:"string"===typeof t?E(e,t):void 0;function cn(t,e,n,r,i){for(const o of e){const e=an(n,o);if(e){t.add(e);const o=sn(e._fallback,n,i);if(A(o)&&o!==n&&o!==r)return o}else if(!1===e&&A(r)&&n!==r)return null}return!1}function ln(t,e,n,r){const i=e._rootScopes,o=sn(e._fallback,n,r),s=[...t,...i],a=new Set;a.add(r);let c=un(a,s,n,o||n,r);return null!==c&&((!A(o)||o===n||(c=un(a,s,o,c,r),null!==c))&&Ge(Array.from(a),[""],i,o,(()=>hn(e,n,r))))}function un(t,e,n,r,i){while(n)n=cn(t,e,n,r,i);return n}function hn(t,e,n){const r=t._getTarget();e in r||(r[e]={});const i=r[e];return f(i)&&d(n)?n:i}function fn(t,e,n,r){let i;for(const o of e)if(i=dn(Ke(o,t),n),A(i))return tn(t,i)?ln(n,r,t,i):i}function dn(t,e){for(const n of e){if(!n)continue;const e=n[t];if(A(e))return e}}function pn(t){let e=t._keys;return e||(e=t._keys=gn(t._scopes)),e}function gn(t){const e=new Set;for(const n of t)for(const t of Object.keys(n).filter((t=>!t.startsWith("_"))))e.add(t);return Array.from(e)}function mn(t,e,n,r){const{iScale:i}=t,{key:o="r"}=this._parsing,s=new Array(r);let a,c,l,u;for(a=0,c=r;a<c;++a)l=a+n,u=e[l],s[a]={r:i.parse(E(u,o),l)};return s}const bn=Number.EPSILON||1e-14,vn=(t,e)=>e<t.length&&!t[e].skip&&t[e],yn=t=>"x"===t?"y":"x";function xn(t,e,n,r){const i=t.skip?e:t,o=e,s=n.skip?e:n,a=rt(o,i),c=rt(s,o);let l=a/(a+c),u=c/(a+c);l=isNaN(l)?0:l,u=isNaN(u)?0:u;const h=r*l,f=r*u;return{previous:{x:o.x-h*(s.x-i.x),y:o.y-h*(s.y-i.y)},next:{x:o.x+f*(s.x-i.x),y:o.y+f*(s.y-i.y)}}}function _n(t,e,n){const r=t.length;let i,o,s,a,c,l=vn(t,0);for(let u=0;u<r-1;++u)c=l,l=vn(t,u+1),c&&l&&(G(e[u],0,bn)?n[u]=n[u+1]=0:(i=n[u]/e[u],o=n[u+1]/e[u],a=Math.pow(i,2)+Math.pow(o,2),a<=9||(s=3/Math.sqrt(a),n[u]=i*s*e[u],n[u+1]=o*s*e[u])))}function wn(t,e,n="x"){const r=yn(n),i=t.length;let o,s,a,c=vn(t,0);for(let l=0;l<i;++l){if(s=a,a=c,c=vn(t,l+1),!a)continue;const i=a[n],u=a[r];s&&(o=(i-s[n])/3,a[`cp1${n}`]=i-o,a[`cp1${r}`]=u-o*e[l]),c&&(o=(c[n]-i)/3,a[`cp2${n}`]=i+o,a[`cp2${r}`]=u+o*e[l])}}function kn(t,e="x"){const n=yn(e),r=t.length,i=Array(r).fill(0),o=Array(r);let s,a,c,l=vn(t,0);for(s=0;s<r;++s)if(a=c,c=l,l=vn(t,s+1),c){if(l){const t=l[e]-c[e];i[s]=0!==t?(l[n]-c[n])/t:0}o[s]=a?l?Y(i[s-1])!==Y(i[s])?0:(i[s-1]+i[s])/2:i[s-1]:i[s]}_n(t,i,o),wn(t,o,e)}function Mn(t,e,n){return Math.max(Math.min(t,n),e)}function Sn(t,e){let n,r,i,o,s,a=_e(t[0],e);for(n=0,r=t.length;n<r;++n)s=o,o=a,a=n<r-1&&_e(t[n+1],e),o&&(i=t[n],s&&(i.cp1x=Mn(i.cp1x,e.left,e.right),i.cp1y=Mn(i.cp1y,e.top,e.bottom)),a&&(i.cp2x=Mn(i.cp2x,e.left,e.right),i.cp2y=Mn(i.cp2y,e.top,e.bottom)))}function On(t,e,n,r,i){let o,s,a,c;if(e.spanGaps&&(t=t.filter((t=>!t.skip))),"monotone"===e.cubicInterpolationMode)kn(t,i);else{let n=r?t[t.length-1]:t[0];for(o=0,s=t.length;o<s;++o)a=t[o],c=xn(n,a,t[Math.min(o+1,s-(r?0:1))%s],e.tension),a.cp1x=c.previous.x,a.cp1y=c.previous.y,a.cp2x=c.next.x,a.cp2y=c.next.y,n=a}e.capBezierPoints&&Sn(t,n)}function Cn(){return"undefined"!==typeof window&&"undefined"!==typeof document}function Pn(t){let e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e}function Tn(t,e,n){let r;return"string"===typeof t?(r=parseInt(t,10),-1!==t.indexOf("%")&&(r=r/100*e.parentNode[n])):r=t,r}const Dn=t=>window.getComputedStyle(t,null);function En(t,e){return Dn(t).getPropertyValue(e)}const jn=["top","right","bottom","left"];function An(t,e,n){const r={};n=n?"-"+n:"";for(let i=0;i<4;i++){const o=jn[i];r[o]=parseFloat(t[e+"-"+o+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const Ln=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function Fn(t,e){const n=t.touches,r=n&&n.length?n[0]:t,{offsetX:i,offsetY:o}=r;let s,a,c=!1;if(Ln(i,o,t.target))s=i,a=o;else{const t=e.getBoundingClientRect();s=r.clientX-t.left,a=r.clientY-t.top,c=!0}return{x:s,y:a,box:c}}function In(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:r}=e,i=Dn(n),o="border-box"===i.boxSizing,s=An(i,"padding"),a=An(i,"border","width"),{x:c,y:l,box:u}=Fn(t,n),h=s.left+(u&&a.left),f=s.top+(u&&a.top);let{width:d,height:p}=e;return o&&(d-=s.width+a.width,p-=s.height+a.height),{x:Math.round((c-h)/d*n.width/r),y:Math.round((l-f)/p*n.height/r)}}function Rn(t,e,n){let r,i;if(void 0===e||void 0===n){const o=Pn(t);if(o){const t=o.getBoundingClientRect(),s=Dn(o),a=An(s,"border","width"),c=An(s,"padding");e=t.width-c.width-a.width,n=t.height-c.height-a.height,r=Tn(s.maxWidth,o,"clientWidth"),i=Tn(s.maxHeight,o,"clientHeight")}else e=t.clientWidth,n=t.clientHeight}return{width:e,height:n,maxWidth:r||z,maxHeight:i||z}}const Nn=t=>Math.round(10*t)/10;function Wn(t,e,n,r){const i=Dn(t),o=An(i,"margin"),s=Tn(i.maxWidth,t,"clientWidth")||z,a=Tn(i.maxHeight,t,"clientHeight")||z,c=Rn(t,e,n);let{width:l,height:u}=c;if("content-box"===i.boxSizing){const t=An(i,"border","width"),e=An(i,"padding");l-=e.width+t.width,u-=e.height+t.height}return l=Math.max(0,l-o.width),u=Math.max(0,r?Math.floor(l/r):u-o.height),l=Nn(Math.min(l,s,c.maxWidth)),u=Nn(Math.min(u,a,c.maxHeight)),l&&!u&&(u=Nn(l/2)),{width:l,height:u}}function zn(t,e,n){const r=e||1,i=Math.floor(t.height*r),o=Math.floor(t.width*r);t.height=i/r,t.width=o/r;const s=t.canvas;return s.style&&(n||!s.style.height&&!s.style.width)&&(s.style.height=`${t.height}px`,s.style.width=`${t.width}px`),(t.currentDevicePixelRatio!==r||s.height!==i||s.width!==o)&&(t.currentDevicePixelRatio=r,s.height=i,s.width=o,t.ctx.setTransform(r,0,0,r,0,0),!0)}const Un=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(e){}return t}();function Hn(t,e){const n=En(t,e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function $n(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function Bn(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:"middle"===r?n<.5?t.y:e.y:"after"===r?n<1?t.y:e.y:n>0?e.y:t.y}}function Vn(t,e,n,r){const i={x:t.cp2x,y:t.cp2y},o={x:e.cp1x,y:e.cp1y},s=$n(t,i,n),a=$n(i,o,n),c=$n(o,e,n),l=$n(s,a,n),u=$n(a,c,n);return $n(l,u,n)}const Yn=new Map;function Zn(t,e){e=e||{};const n=t+JSON.stringify(e);let r=Yn.get(n);return r||(r=new Intl.NumberFormat(t,e),Yn.set(n,r)),r}function qn(t,e,n){return Zn(e,n).format(t)}const Xn=function(t,e){return{x(n){return t+t+e-n},setWidth(t){e=t},textAlign(t){return"center"===t?t:"right"===t?"left":"right"},xPlus(t,e){return t-e},leftForLtr(t,e){return t-e}}},Gn=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function Jn(t,e,n){return t?Xn(e,n):Gn()}function Qn(t,e){let n,r;"ltr"!==e&&"rtl"!==e||(n=t.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=r)}function Kn(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function tr(t){return"angle"===t?{between:st,compare:it,normalize:ot}:{between:lt,compare:(t,e)=>t-e,normalize:t=>t}}function er({start:t,end:e,count:n,loop:r,style:i}){return{start:t%n,end:e%n,loop:r&&(e-t+1)%n===0,style:i}}function nr(t,e,n){const{property:r,start:i,end:o}=n,{between:s,normalize:a}=tr(r),c=e.length;let l,u,{start:h,end:f,loop:d}=t;if(d){for(h+=c,f+=c,l=0,u=c;l<u;++l){if(!s(a(e[h%c][r]),i,o))break;h--,f--}h%=c,f%=c}return f<h&&(f+=c),{start:h,end:f,loop:d,style:t.style}}function rr(t,e,n){if(!n)return[t];const{property:r,start:i,end:o}=n,s=e.length,{compare:a,between:c,normalize:l}=tr(r),{start:u,end:h,loop:f,style:d}=nr(t,e,n),p=[];let g,m,b,v=!1,y=null;const x=()=>c(i,b,g)&&0!==a(i,b),_=()=>0===a(o,g)||c(o,b,g),w=()=>v||x(),k=()=>!v||_();for(let M=u,S=u;M<=h;++M)m=e[M%s],m.skip||(g=l(m[r]),g!==b&&(v=c(g,i,o),null===y&&w()&&(y=0===a(g,i)?M:S),null!==y&&k()&&(p.push(er({start:y,end:M,loop:f,count:s,style:d})),y=null),S=M,b=g));return null!==y&&p.push(er({start:y,end:h,loop:f,count:s,style:d})),p}function ir(t,e){const n=[],r=t.segments;for(let i=0;i<r.length;i++){const o=rr(r[i],t.points,e);o.length&&n.push(...o)}return n}function or(t,e,n,r){let i=0,o=e-1;if(n&&!r)while(i<e&&!t[i].skip)i++;while(i<e&&t[i].skip)i++;i%=e,n&&(o+=i);while(o>i&&t[o%e].skip)o--;return o%=e,{start:i,end:o}}function sr(t,e,n,r){const i=t.length,o=[];let s,a=e,c=t[e];for(s=e+1;s<=n;++s){const n=t[s%i];n.skip||n.stop?c.skip||(r=!1,o.push({start:e%i,end:(s-1)%i,loop:r}),e=a=n.stop?s:null):(a=s,c.skip&&(e=s)),c=n}return null!==a&&o.push({start:e%i,end:a%i,loop:r}),o}function ar(t,e){const n=t.points,r=t.options.spanGaps,i=n.length;if(!i)return[];const o=!!t._loop,{start:s,end:a}=or(n,i,o,r);if(!0===r)return cr(t,[{start:s,end:a,loop:o}],n,e);const c=a<s?a+i:a,l=!!t._fullLoop&&0===s&&a===i-1;return cr(t,sr(n,s,c,l),n,e)}function cr(t,e,n,r){return r&&r.setContext&&n?lr(t,e,n,r):e}function lr(t,e,n,r){const i=t._chart.getContext(),o=ur(t.options),{_datasetIndex:s,options:{spanGaps:a}}=t,c=n.length,l=[];let u=o,h=e[0].start,f=h;function d(t,e,r,i){const o=a?-1:1;if(t!==e){t+=c;while(n[t%c].skip)t-=o;while(n[e%c].skip)e+=o;t%c!==e%c&&(l.push({start:t%c,end:e%c,loop:r,style:i}),u=i,h=e%c)}}for(const p of e){h=a?h:p.start;let t,e=n[h%c];for(f=h+1;f<=p.end;f++){const o=n[f%c];t=ur(r.setContext(Ue(i,{type:"segment",p0:e,p1:o,p0DataIndex:(f-1)%c,p1DataIndex:f%c,datasetIndex:s}))),hr(t,u)&&d(h,f-1,p.loop,u),e=o,u=t}h<f-1&&d(h,f-1,p.loop,u)}return l}function ur(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function hr(t,e){return e&&JSON.stringify(t)!==JSON.stringify(e)}},8278:function(t,e,n){"use strict";n.d(e,{Z:function(){return q}});var r=n(3940),i=n(3328),o=function(){if("undefined"!==typeof window){if(window.devicePixelRatio)return window.devicePixelRatio;var t=window.screen;if(t)return(t.deviceXDPI||1)/(t.logicalXDPI||1)}return 1}(),s={toTextLines:function(t){var e,n=[];t=[].concat(t);while(t.length)e=t.pop(),"string"===typeof e?n.unshift.apply(n,e.split("\n")):Array.isArray(e)?t.push.apply(t,e):(0,r.k)(t)||n.unshift(""+e);return n},textSize:function(t,e,n){var r,i=[].concat(e),o=i.length,s=t.font,a=0;for(t.font=n.string,r=0;r<o;++r)a=Math.max(t.measureText(i[r]).width,a);return t.font=s,{height:o*n.lineHeight,width:a}},bound:function(t,e,n){return Math.max(t,Math.min(e,n))},arrayDiff:function(t,e){var n,r,i,o,s=t.slice(),a=[];for(n=0,i=e.length;n<i;++n)o=e[n],r=s.indexOf(o),-1===r?a.push([o,1]):s.splice(r,1);for(n=0,i=s.length;n<i;++n)a.push([s[n],-1]);return a},rasterize:function(t){return Math.round(t*o)/o}};function a(t,e){var n=e.x,r=e.y;if(null===n)return{x:0,y:-1};if(null===r)return{x:1,y:0};var i=t.x-n,o=t.y-r,s=Math.sqrt(i*i+o*o);return{x:s?i/s:0,y:s?o/s:-1}}function c(t,e,n,r,i){switch(i){case"center":n=r=0;break;case"bottom":n=0,r=1;break;case"right":n=1,r=0;break;case"left":n=-1,r=0;break;case"top":n=0,r=-1;break;case"start":n=-n,r=-r;break;case"end":break;default:i*=Math.PI/180,n=Math.cos(i),r=Math.sin(i);break}return{x:t,y:e,vx:n,vy:r}}var l=0,u=1,h=2,f=4,d=8;function p(t,e,n){var r=l;return t<n.left?r|=u:t>n.right&&(r|=h),e<n.top?r|=d:e>n.bottom&&(r|=f),r}function g(t,e){var n,r,i,o=t.x0,s=t.y0,a=t.x1,c=t.y1,l=p(o,s,e),g=p(a,c,e);while(1){if(!(l|g)||l&g)break;n=l||g,n&d?(r=o+(a-o)*(e.top-s)/(c-s),i=e.top):n&f?(r=o+(a-o)*(e.bottom-s)/(c-s),i=e.bottom):n&h?(i=s+(c-s)*(e.right-o)/(a-o),r=e.right):n&u&&(i=s+(c-s)*(e.left-o)/(a-o),r=e.left),n===l?(o=r,s=i,l=p(o,s,e)):(a=r,c=i,g=p(a,c,e))}return{x0:o,x1:a,y0:s,y1:c}}function m(t,e){var n,r,i=e.anchor,o=t;return e.clamp&&(o=g(o,e.area)),"start"===i?(n=o.x0,r=o.y0):"end"===i?(n=o.x1,r=o.y1):(n=(o.x0+o.x1)/2,r=(o.y0+o.y1)/2),c(n,r,t.vx,t.vy,e.align)}var b={arc:function(t,e){var n=(t.startAngle+t.endAngle)/2,r=Math.cos(n),i=Math.sin(n),o=t.innerRadius,s=t.outerRadius;return m({x0:t.x+r*o,y0:t.y+i*o,x1:t.x+r*s,y1:t.y+i*s,vx:r,vy:i},e)},point:function(t,e){var n=a(t,e.origin),r=n.x*t.options.radius,i=n.y*t.options.radius;return m({x0:t.x-r,y0:t.y-i,x1:t.x+r,y1:t.y+i,vx:n.x,vy:n.y},e)},bar:function(t,e){var n=a(t,e.origin),r=t.x,i=t.y,o=0,s=0;return t.horizontal?(r=Math.min(t.x,t.base),o=Math.abs(t.base-t.x)):(i=Math.min(t.y,t.base),s=Math.abs(t.base-t.y)),m({x0:r,y0:i+s,x1:r+o,y1:i,vx:n.x,vy:n.y},e)},fallback:function(t,e){var n=a(t,e.origin);return m({x0:t.x,y0:t.y,x1:t.x,y1:t.y,vx:n.x,vy:n.y},e)}},v=s.rasterize;function y(t){var e=t.borderWidth||0,n=t.padding,r=t.size.height,i=t.size.width,o=-i/2,s=-r/2;return{frame:{x:o-n.left-e,y:s-n.top-e,w:i+n.width+2*e,h:r+n.height+2*e},text:{x:o,y:s,w:i,h:r}}}function x(t,e){var n=e.chart.getDatasetMeta(e.datasetIndex).vScale;if(!n)return null;if(void 0!==n.xCenter&&void 0!==n.yCenter)return{x:n.xCenter,y:n.yCenter};var r=n.getBasePixel();return t.horizontal?{x:r,y:null}:{x:null,y:r}}function _(t){return t instanceof i.qi?b.arc:t instanceof i.od?b.point:t instanceof i.ZL?b.bar:b.fallback}function w(t,e,n,r,i,o){var s=Math.PI/2;if(o){var a=Math.min(o,i/2,r/2),c=e+a,l=n+a,u=e+r-a,h=n+i-a;t.moveTo(e,l),c<u&&l<h?(t.arc(c,l,a,-Math.PI,-s),t.arc(u,l,a,-s,0),t.arc(u,h,a,0,s),t.arc(c,h,a,s,Math.PI)):c<u?(t.moveTo(c,n),t.arc(u,l,a,-s,s),t.arc(c,l,a,s,Math.PI+s)):l<h?(t.arc(c,l,a,-Math.PI,0),t.arc(c,h,a,0,Math.PI)):t.arc(c,l,a,-Math.PI,Math.PI),t.closePath(),t.moveTo(e,n)}else t.rect(e,n,r,i)}function k(t,e,n){var r=n.backgroundColor,i=n.borderColor,o=n.borderWidth;(r||i&&o)&&(t.beginPath(),w(t,v(e.x)+o/2,v(e.y)+o/2,v(e.w)-o,v(e.h)-o,n.borderRadius),t.closePath(),r&&(t.fillStyle=r,t.fill()),i&&o&&(t.strokeStyle=i,t.lineWidth=o,t.lineJoin="miter",t.stroke()))}function M(t,e,n){var r=n.lineHeight,i=t.w,o=t.x,s=t.y+r/2;return"center"===e?o+=i/2:"end"!==e&&"right"!==e||(o+=i),{h:r,w:i,x:o,y:s}}function S(t,e,n){var r=t.shadowBlur,i=n.stroked,o=v(n.x),s=v(n.y),a=v(n.w);i&&t.strokeText(e,o,s,a),n.filled&&(r&&i&&(t.shadowBlur=0),t.fillText(e,o,s,a),r&&i&&(t.shadowBlur=r))}function O(t,e,n,r){var i,o=r.textAlign,s=r.color,a=!!s,c=r.font,l=e.length,u=r.textStrokeColor,h=r.textStrokeWidth,f=u&&h;if(l&&(a||f))for(n=M(n,o,c),t.font=c.string,t.textAlign=o,t.textBaseline="middle",t.shadowBlur=r.textShadowBlur,t.shadowColor=r.textShadowColor,a&&(t.fillStyle=s),f&&(t.lineJoin="round",t.lineWidth=h,t.strokeStyle=u),i=0,l=e.length;i<l;++i)S(t,e[i],{stroked:f,filled:a,w:n.w,x:n.x,y:n.y+n.h*i})}var C=function(t,e,n,r){var i=this;i._config=t,i._index=r,i._model=null,i._rects=null,i._ctx=e,i._el=n};(0,r.a3)(C.prototype,{_modelize:function(t,e,n,o){var a=this,c=a._index,l=(0,r.$)((0,r.a)([n.font,{}],o,c)),u=(0,r.a)([n.color,i.ce.color],o,c);return{align:(0,r.a)([n.align,"center"],o,c),anchor:(0,r.a)([n.anchor,"center"],o,c),area:o.chart.chartArea,backgroundColor:(0,r.a)([n.backgroundColor,null],o,c),borderColor:(0,r.a)([n.borderColor,null],o,c),borderRadius:(0,r.a)([n.borderRadius,0],o,c),borderWidth:(0,r.a)([n.borderWidth,0],o,c),clamp:(0,r.a)([n.clamp,!1],o,c),clip:(0,r.a)([n.clip,!1],o,c),color:u,display:t,font:l,lines:e,offset:(0,r.a)([n.offset,0],o,c),opacity:(0,r.a)([n.opacity,1],o,c),origin:x(a._el,o),padding:(0,r.D)((0,r.a)([n.padding,0],o,c)),positioner:_(a._el),rotation:(0,r.a)([n.rotation,0],o,c)*(Math.PI/180),size:s.textSize(a._ctx,e,l),textAlign:(0,r.a)([n.textAlign,"start"],o,c),textShadowBlur:(0,r.a)([n.textShadowBlur,0],o,c),textShadowColor:(0,r.a)([n.textShadowColor,u],o,c),textStrokeColor:(0,r.a)([n.textStrokeColor,u],o,c),textStrokeWidth:(0,r.a)([n.textStrokeWidth,0],o,c)}},update:function(t){var e,n,i,o=this,a=null,c=null,l=o._index,u=o._config,h=(0,r.a)([u.display,!0],t,l);h&&(e=t.dataset.data[l],n=(0,r.v)((0,r.Q)(u.formatter,[e,t]),e),i=(0,r.k)(n)?[]:s.toTextLines(n),i.length&&(a=o._modelize(h,i,u,t),c=y(a))),o._model=a,o._rects=c},geometry:function(){return this._rects?this._rects.frame:{}},rotation:function(){return this._model?this._model.rotation:0},visible:function(){return this._model&&this._model.opacity},model:function(){return this._model},draw:function(t,e){var n,r=this,i=t.ctx,o=r._model,a=r._rects;this.visible()&&(i.save(),o.clip&&(n=o.area,i.beginPath(),i.rect(n.left,n.top,n.right-n.left,n.bottom-n.top),i.clip()),i.globalAlpha=s.bound(0,o.opacity,1),i.translate(v(e.x),v(e.y)),i.rotate(o.rotation),k(i,a.frame,o),O(i,o.lines,a.text,o),i.restore())}});var P=Number.MIN_SAFE_INTEGER||-9007199254740991,T=Number.MAX_SAFE_INTEGER||9007199254740991;function D(t,e,n){var r=Math.cos(n),i=Math.sin(n),o=e.x,s=e.y;return{x:o+r*(t.x-o)-i*(t.y-s),y:s+i*(t.x-o)+r*(t.y-s)}}function E(t,e){var n,r,i,o,s,a=T,c=P,l=e.origin;for(n=0;n<t.length;++n)r=t[n],i=r.x-l.x,o=r.y-l.y,s=e.vx*i+e.vy*o,a=Math.min(a,s),c=Math.max(c,s);return{min:a,max:c}}function j(t,e){var n=e.x-t.x,r=e.y-t.y,i=Math.sqrt(n*n+r*r);return{vx:(e.x-t.x)/i,vy:(e.y-t.y)/i,origin:t,ln:i}}var A=function(){this._rotation=0,this._rect={x:0,y:0,w:0,h:0}};function L(t,e,n){var r=e.positioner(t,e),i=r.vx,o=r.vy;if(!i&&!o)return{x:r.x,y:r.y};var s=n.w,a=n.h,c=e.rotation,l=Math.abs(s/2*Math.cos(c))+Math.abs(a/2*Math.sin(c)),u=Math.abs(s/2*Math.sin(c))+Math.abs(a/2*Math.cos(c)),h=1/Math.max(Math.abs(i),Math.abs(o));return l*=i*h,u*=o*h,l+=e.offset*i,u+=e.offset*o,{x:r.x+l,y:r.y+u}}function F(t,e){var n,r,i,o;for(n=t.length-1;n>=0;--n)for(i=t[n].$layout,r=n-1;r>=0&&i._visible;--r)o=t[r].$layout,o._visible&&i._box.intersects(o._box)&&e(i,o);return t}function I(t){var e,n,r,i,o,s,a;for(e=0,n=t.length;e<n;++e)r=t[e],i=r.$layout,i._visible&&(a=new Proxy(r._el,{get:(t,e)=>t.getProps([e],!0)[e]}),o=r.geometry(),s=L(a,r.model(),o),i._box.update(s,o,r.rotation()));return F(t,(function(t,e){var n=t._hidable,r=e._hidable;n&&r||r?e._visible=!1:n&&(t._visible=!1)}))}(0,r.a3)(A.prototype,{center:function(){var t=this._rect;return{x:t.x+t.w/2,y:t.y+t.h/2}},update:function(t,e,n){this._rotation=n,this._rect={x:e.x+t.x,y:e.y+t.y,w:e.w,h:e.h}},contains:function(t){var e=this,n=1,r=e._rect;return t=D(t,e.center(),-e._rotation),!(t.x<r.x-n||t.y<r.y-n||t.x>r.x+r.w+2*n||t.y>r.y+r.h+2*n)},intersects:function(t){var e,n,r,i=this._points(),o=t._points(),s=[j(i[0],i[1]),j(i[0],i[3])];for(this._rotation!==t._rotation&&s.push(j(o[0],o[1]),j(o[0],o[3])),e=0;e<s.length;++e)if(n=E(i,s[e]),r=E(o,s[e]),n.max<r.min||r.max<n.min)return!1;return!0},_points:function(){var t=this,e=t._rect,n=t._rotation,r=t.center();return[D({x:e.x,y:e.y},r,n),D({x:e.x+e.w,y:e.y},r,n),D({x:e.x+e.w,y:e.y+e.h},r,n),D({x:e.x,y:e.y+e.h},r,n)]}});var R={prepare:function(t){var e,n,r,i,o,s=[];for(e=0,r=t.length;e<r;++e)for(n=0,i=t[e].length;n<i;++n)o=t[e][n],s.push(o),o.$layout={_box:new A,_hidable:!1,_visible:!0,_set:e,_idx:n};return s.sort((function(t,e){var n=t.$layout,r=e.$layout;return n._idx===r._idx?r._set-n._set:r._idx-n._idx})),this.update(s),s},update:function(t){var e,n,r,i,o,s=!1;for(e=0,n=t.length;e<n;++e)r=t[e],i=r.model(),o=r.$layout,o._hidable=i&&"auto"===i.display,o._visible=r.visible(),s|=o._hidable;s&&I(t)},lookup:function(t,e){var n,r;for(n=t.length-1;n>=0;--n)if(r=t[n].$layout,r&&r._visible&&r._box.contains(e))return t[n];return null},draw:function(t,e){var n,r,i,o,s,a;for(n=0,r=e.length;n<r;++n)i=e[n],o=i.$layout,o._visible&&(s=i.geometry(),a=L(i._el,i.model(),s),o._box.update(a,s,i.rotation()),i.draw(t,a))}},N=function(t){if((0,r.k)(t))return null;var e,n,i,o=t;if((0,r.i)(t))if((0,r.k)(t.label))if((0,r.k)(t.r))for(o="",e=Object.keys(t),i=0,n=e.length;i<n;++i)o+=(0!==i?", ":"")+e[i]+": "+t[e[i]];else o=t.r;else o=t.label;return""+o},W={align:"center",anchor:"center",backgroundColor:null,borderColor:null,borderRadius:0,borderWidth:0,clamp:!1,clip:!1,color:void 0,display:!0,font:{family:void 0,lineHeight:1.2,size:void 0,style:void 0,weight:null},formatter:N,labels:void 0,listeners:{},offset:4,opacity:1,padding:{top:4,right:4,bottom:4,left:4},rotation:0,textAlign:"start",textStrokeColor:void 0,textStrokeWidth:0,textShadowBlur:0,textShadowColor:void 0},z="$datalabels",U="$default";function H(t,e){var n,i,o=t.datalabels,s={},a=[];return!1===o?null:(!0===o&&(o={}),e=(0,r.a3)({},[e,o]),n=e.labels||{},i=Object.keys(n),delete e.labels,i.length?i.forEach((function(t){n[t]&&a.push((0,r.a3)({},[e,n[t],{_key:t}]))})):a.push(e),s=a.reduce((function(t,e){return(0,r.E)(e.listeners||{},(function(n,r){t[r]=t[r]||{},t[r][e._key||U]=n})),delete e.listeners,t}),{}),{labels:a,listeners:s})}function $(t,e,n){if(e){var i,o=n.$context,s=n.$groups;e[s._set]&&(i=e[s._set][s._key],i&&!0===(0,r.Q)(i,[o])&&(t[z]._dirty=!0,n.update(o)))}}function B(t,e,n,r){var i,o;(n||r)&&(n?r?n!==r&&(o=i=!0):o=!0:i=!0,o&&$(t,e.leave,n),i&&$(t,e.enter,r))}function V(t,e){var n,r,i=t[z],o=i._listeners;if(o.enter||o.leave){if("mousemove"===e.type)r=R.lookup(i._labels,e);else if("mouseout"!==e.type)return;n=i._hovered,i._hovered=r,B(t,o,n,r)}}function Y(t,e){var n=t[z],r=n._listeners.click,i=r&&R.lookup(n._labels,e);i&&$(t,r,i)}var Z={id:"datalabels",defaults:W,beforeInit:function(t){t[z]={_actives:[]}},beforeUpdate:function(t){var e=t[z];e._listened=!1,e._listeners={},e._datasets=[],e._labels=[]},afterDatasetUpdate:function(t,e,n){var i,o,s,a,c,l,u,h,f=e.index,d=t[z],p=d._datasets[f]=[],g=t.isDatasetVisible(f),m=t.data.datasets[f],b=H(m,n),v=e.meta.data||[],y=t.ctx;for(y.save(),i=0,s=v.length;i<s;++i)if(u=v[i],u[z]=[],g&&u&&t.getDataVisibility(i)&&!u.skip)for(o=0,a=b.labels.length;o<a;++o)c=b.labels[o],l=c._key,h=new C(c,y,u,i),h.$groups={_set:f,_key:l||U},h.$context={active:!1,chart:t,dataIndex:i,dataset:m,datasetIndex:f},h.update(h.$context),u[z].push(h),p.push(h);y.restore(),(0,r.a3)(d._listeners,b.listeners,{merger:function(t,n,r){n[t]=n[t]||{},n[t][e.index]=r[t],d._listened=!0}})},afterUpdate:function(t,e){t[z]._labels=R.prepare(t[z]._datasets,e)},afterDatasetsDraw:function(t){R.draw(t,t[z]._labels)},beforeEvent:function(t,e){if(t[z]._listened){var n=e.event;switch(n.type){case"mousemove":case"mouseout":V(t,n);break;case"click":Y(t,n);break}}},afterEvent:function(t){var e,n,r,i,o,a,c,l=t[z],u=l._actives,h=l._actives=t.getActiveElements(),f=s.arrayDiff(u,h);for(e=0,n=f.length;e<n;++e)if(o=f[e],o[1])for(c=o[0].element[z]||[],r=0,i=c.length;r<i;++r)a=c[r],a.$context.active=1===o[1],a.update(a.$context);(l._dirty||f.length)&&(R.update(l._labels),t.render()),delete l._dirty}},q=Z},9662:function(t,e,n){var r=n(614),i=n(6330),o=TypeError;t.exports=function(t){if(r(t))return t;throw o(i(t)+" is not a function")}},6077:function(t,e,n){var r=n(614),i=String,o=TypeError;t.exports=function(t){if("object"==typeof t||r(t))return t;throw o("Can't set "+i(t)+" as a prototype")}},1223:function(t,e,n){var r=n(5112),i=n(30),o=n(3070).f,s=r("unscopables"),a=Array.prototype;void 0==a[s]&&o(a,s,{configurable:!0,value:i(null)}),t.exports=function(t){a[s][t]=!0}},9670:function(t,e,n){var r=n(111),i=String,o=TypeError;t.exports=function(t){if(r(t))return t;throw o(i(t)+" is not an object")}},1318:function(t,e,n){var r=n(5656),i=n(1400),o=n(6244),s=function(t){return function(e,n,s){var a,c=r(e),l=o(c),u=i(s,l);if(t&&n!=n){while(l>u)if(a=c[u++],a!=a)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},4326:function(t,e,n){var r=n(1702),i=r({}.toString),o=r("".slice);t.exports=function(t){return o(i(t),8,-1)}},648:function(t,e,n){var r=n(1694),i=n(614),o=n(4326),s=n(5112),a=s("toStringTag"),c=Object,l="Arguments"==o(function(){return arguments}()),u=function(t,e){try{return t[e]}catch(n){}};t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=u(e=c(t),a))?n:l?o(e):"Object"==(r=o(e))&&i(e.callee)?"Arguments":r}},7741:function(t,e,n){var r=n(1702),i=Error,o=r("".replace),s=function(t){return String(i(t).stack)}("zxcasd"),a=/\n\s*at [^:]*:[^\n]*/,c=a.test(s);t.exports=function(t,e){if(c&&"string"==typeof t&&!i.prepareStackTrace)while(e--)t=o(t,a,"");return t}},9920:function(t,e,n){var r=n(2597),i=n(3887),o=n(1236),s=n(3070);t.exports=function(t,e,n){for(var a=i(e),c=s.f,l=o.f,u=0;u<a.length;u++){var h=a[u];r(t,h)||n&&r(n,h)||c(t,h,l(e,h))}}},8880:function(t,e,n){var r=n(9781),i=n(3070),o=n(9114);t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},9114:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},8052:function(t,e,n){var r=n(614),i=n(3070),o=n(6339),s=n(3072);t.exports=function(t,e,n,a){a||(a={});var c=a.enumerable,l=void 0!==a.name?a.name:e;return r(n)&&o(n,l,a),a.global?c?t[e]=n:s(e,n):(a.unsafe?t[e]&&(c=!0):delete t[e],c?t[e]=n:i.f(t,e,{value:n,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})),t}},3072:function(t,e,n){var r=n(7854),i=Object.defineProperty;t.exports=function(t,e){try{i(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},9781:function(t,e,n){var r=n(7293);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:function(t,e,n){var r=n(7854),i=n(111),o=r.document,s=i(o)&&i(o.createElement);t.exports=function(t){return s?o.createElement(t):{}}},8113:function(t,e,n){var r=n(5005);t.exports=r("navigator","userAgent")||""},7392:function(t,e,n){var r,i,o=n(7854),s=n(8113),a=o.process,c=o.Deno,l=a&&a.versions||c&&c.version,u=l&&l.v8;u&&(r=u.split("."),i=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&s&&(r=s.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/),r&&(i=+r[1]))),t.exports=i},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2914:function(t,e,n){var r=n(7293),i=n(9114);t.exports=!r((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",i(1,7)),7!==t.stack)}))},2109:function(t,e,n){var r=n(7854),i=n(1236).f,o=n(8880),s=n(8052),a=n(3072),c=n(9920),l=n(4705);t.exports=function(t,e){var n,u,h,f,d,p,g=t.target,m=t.global,b=t.stat;if(u=m?r:b?r[g]||a(g,{}):(r[g]||{}).prototype,u)for(h in e){if(d=e[h],t.dontCallGetSet?(p=i(u,h),f=p&&p.value):f=u[h],n=l(m?h:g+(b?".":"#")+h,t.forced),!n&&void 0!==f){if(typeof d==typeof f)continue;c(d,f)}(t.sham||f&&f.sham)&&o(d,"sham",!0),s(u,h,d,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(e){return!0}}},2104:function(t,e,n){var r=n(4374),i=Function.prototype,o=i.apply,s=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(r?s.bind(o):function(){return s.apply(o,arguments)})},4374:function(t,e,n){var r=n(7293);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:function(t,e,n){var r=n(4374),i=Function.prototype.call;t.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},6530:function(t,e,n){var r=n(9781),i=n(2597),o=Function.prototype,s=r&&Object.getOwnPropertyDescriptor,a=i(o,"name"),c=a&&"something"===function(){}.name,l=a&&(!r||r&&s(o,"name").configurable);t.exports={EXISTS:a,PROPER:c,CONFIGURABLE:l}},1702:function(t,e,n){var r=n(4374),i=Function.prototype,o=i.bind,s=i.call,a=r&&o.bind(s,s);t.exports=r?function(t){return t&&a(t)}:function(t){return t&&function(){return s.apply(t,arguments)}}},5005:function(t,e,n){var r=n(7854),i=n(614),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t]):r[t]&&r[t][e]}},8173:function(t,e,n){var r=n(9662);t.exports=function(t,e){var n=t[e];return null==n?void 0:r(n)}},7854:function(t,e,n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},2597:function(t,e,n){var r=n(1702),i=n(7908),o=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},3501:function(t){t.exports={}},490:function(t,e,n){var r=n(5005);t.exports=r("document","documentElement")},4664:function(t,e,n){var r=n(9781),i=n(7293),o=n(317);t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},8361:function(t,e,n){var r=n(1702),i=n(7293),o=n(4326),s=Object,a=r("".split);t.exports=i((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?a(t,""):s(t)}:s},9587:function(t,e,n){var r=n(614),i=n(111),o=n(7674);t.exports=function(t,e,n){var s,a;return o&&r(s=e.constructor)&&s!==n&&i(a=s.prototype)&&a!==n.prototype&&o(t,a),t}},2788:function(t,e,n){var r=n(1702),i=n(614),o=n(5465),s=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(t){return s(t)}),t.exports=o.inspectSource},8340:function(t,e,n){var r=n(111),i=n(8880);t.exports=function(t,e){r(e)&&"cause"in e&&i(t,"cause",e.cause)}},9909:function(t,e,n){var r,i,o,s=n(8536),a=n(7854),c=n(1702),l=n(111),u=n(8880),h=n(2597),f=n(5465),d=n(6200),p=n(3501),g="Object already initialized",m=a.TypeError,b=a.WeakMap,v=function(t){return o(t)?i(t):r(t,{})},y=function(t){return function(e){var n;if(!l(e)||(n=i(e)).type!==t)throw m("Incompatible receiver, "+t+" required");return n}};if(s||f.state){var x=f.state||(f.state=new b),_=c(x.get),w=c(x.has),k=c(x.set);r=function(t,e){if(w(x,t))throw new m(g);return e.facade=t,k(x,t,e),e},i=function(t){return _(x,t)||{}},o=function(t){return w(x,t)}}else{var M=d("state");p[M]=!0,r=function(t,e){if(h(t,M))throw new m(g);return e.facade=t,u(t,M,e),e},i=function(t){return h(t,M)?t[M]:{}},o=function(t){return h(t,M)}}t.exports={set:r,get:i,has:o,enforce:v,getterFor:y}},614:function(t){t.exports=function(t){return"function"==typeof t}},4705:function(t,e,n){var r=n(7293),i=n(614),o=/#|\.prototype\./,s=function(t,e){var n=c[a(t)];return n==u||n!=l&&(i(e)?r(e):!!e)},a=s.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=s.data={},l=s.NATIVE="N",u=s.POLYFILL="P";t.exports=s},111:function(t,e,n){var r=n(614);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},1913:function(t){t.exports=!1},2190:function(t,e,n){var r=n(5005),i=n(614),o=n(7976),s=n(3307),a=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return i(e)&&o(e.prototype,a(t))}},6244:function(t,e,n){var r=n(7466);t.exports=function(t){return r(t.length)}},6339:function(t,e,n){var r=n(7293),i=n(614),o=n(2597),s=n(9781),a=n(6530).CONFIGURABLE,c=n(2788),l=n(9909),u=l.enforce,h=l.get,f=Object.defineProperty,d=s&&!r((function(){return 8!==f((function(){}),"length",{value:8}).length})),p=String(String).split("String"),g=t.exports=function(t,e,n){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!o(t,"name")||a&&t.name!==e)&&f(t,"name",{value:e,configurable:!0}),d&&n&&o(n,"arity")&&t.length!==n.arity&&f(t,"length",{value:n.arity});try{n&&o(n,"constructor")&&n.constructor?s&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(i){}var r=u(t);return o(r,"source")||(r.source=p.join("string"==typeof e?e:"")),t};Function.prototype.toString=g((function(){return i(this)&&h(this).source||c(this)}),"toString")},4758:function(t){var e=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var r=+t;return(r>0?n:e)(r)}},133:function(t,e,n){var r=n(7392),i=n(7293);t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8536:function(t,e,n){var r=n(7854),i=n(614),o=n(2788),s=r.WeakMap;t.exports=i(s)&&/native code/.test(o(s))},6277:function(t,e,n){var r=n(1340);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:r(t)}},30:function(t,e,n){var r,i=n(9670),o=n(6048),s=n(748),a=n(3501),c=n(490),l=n(317),u=n(6200),h=">",f="<",d="prototype",p="script",g=u("IE_PROTO"),m=function(){},b=function(t){return f+p+h+t+f+"/"+p+h},v=function(t){t.write(b("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){var t,e=l("iframe"),n="java"+p+":";return e.style.display="none",c.appendChild(e),e.src=String(n),t=e.contentWindow.document,t.open(),t.write(b("document.F=Object")),t.close(),t.F},x=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}x="undefined"!=typeof document?document.domain&&r?v(r):y():v(r);var t=s.length;while(t--)delete x[d][s[t]];return x()};a[g]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(m[d]=i(t),n=new m,m[d]=null,n[g]=t):n=x(),void 0===e?n:o.f(n,e)}},6048:function(t,e,n){var r=n(9781),i=n(3353),o=n(3070),s=n(9670),a=n(5656),c=n(1956);e.f=r&&!i?Object.defineProperties:function(t,e){s(t);var n,r=a(e),i=c(e),l=i.length,u=0;while(l>u)o.f(t,n=i[u++],r[n]);return t}},3070:function(t,e,n){var r=n(9781),i=n(4664),o=n(3353),s=n(9670),a=n(4948),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,h="enumerable",f="configurable",d="writable";e.f=r?o?function(t,e,n){if(s(t),e=a(e),s(n),"function"===typeof t&&"prototype"===e&&"value"in n&&d in n&&!n[d]){var r=u(t,e);r&&r[d]&&(t[e]=n.value,n={configurable:f in n?n[f]:r[f],enumerable:h in n?n[h]:r[h],writable:!1})}return l(t,e,n)}:l:function(t,e,n){if(s(t),e=a(e),s(n),i)try{return l(t,e,n)}catch(r){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},1236:function(t,e,n){var r=n(9781),i=n(6916),o=n(5296),s=n(9114),a=n(5656),c=n(4948),l=n(2597),u=n(4664),h=Object.getOwnPropertyDescriptor;e.f=r?h:function(t,e){if(t=a(t),e=c(e),u)try{return h(t,e)}catch(n){}if(l(t,e))return s(!i(o.f,t,e),t[e])}},8006:function(t,e,n){var r=n(6324),i=n(748),o=i.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},5181:function(t,e){e.f=Object.getOwnPropertySymbols},7976:function(t,e,n){var r=n(1702);t.exports=r({}.isPrototypeOf)},6324:function(t,e,n){var r=n(1702),i=n(2597),o=n(5656),s=n(1318).indexOf,a=n(3501),c=r([].push);t.exports=function(t,e){var n,r=o(t),l=0,u=[];for(n in r)!i(a,n)&&i(r,n)&&c(u,n);while(e.length>l)i(r,n=e[l++])&&(~s(u,n)||c(u,n));return u}},1956:function(t,e,n){var r=n(6324),i=n(748);t.exports=Object.keys||function(t){return r(t,i)}},5296:function(t,e){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);e.f=i?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},7674:function(t,e,n){var r=n(1702),i=n(9670),o=n(6077);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),t(n,[]),e=n instanceof Array}catch(s){}return function(n,r){return i(n),o(r),e?t(n,r):n.__proto__=r,n}}():void 0)},2140:function(t,e,n){var r=n(6916),i=n(614),o=n(111),s=TypeError;t.exports=function(t,e){var n,a;if("string"===e&&i(n=t.toString)&&!o(a=r(n,t)))return a;if(i(n=t.valueOf)&&!o(a=r(n,t)))return a;if("string"!==e&&i(n=t.toString)&&!o(a=r(n,t)))return a;throw s("Can't convert object to primitive value")}},3887:function(t,e,n){var r=n(5005),i=n(1702),o=n(8006),s=n(5181),a=n(9670),c=i([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(a(t)),n=s.f;return n?c(e,n(t)):e}},2626:function(t,e,n){var r=n(3070).f;t.exports=function(t,e,n){n in t||r(t,n,{configurable:!0,get:function(){return e[n]},set:function(t){e[n]=t}})}},4488:function(t){var e=TypeError;t.exports=function(t){if(void 0==t)throw e("Can't call method on "+t);return t}},6200:function(t,e,n){var r=n(2309),i=n(9711),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},5465:function(t,e,n){var r=n(7854),i=n(3072),o="__core-js_shared__",s=r[o]||i(o,{});t.exports=s},2309:function(t,e,n){var r=n(1913),i=n(5465);(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.23.2",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.23.2/LICENSE",source:"https://github.com/zloirock/core-js"})},1400:function(t,e,n){var r=n(9303),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},5656:function(t,e,n){var r=n(8361),i=n(4488);t.exports=function(t){return r(i(t))}},9303:function(t,e,n){var r=n(4758);t.exports=function(t){var e=+t;return e!==e||0===e?0:r(e)}},7466:function(t,e,n){var r=n(9303),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},7908:function(t,e,n){var r=n(4488),i=Object;t.exports=function(t){return i(r(t))}},7593:function(t,e,n){var r=n(6916),i=n(111),o=n(2190),s=n(8173),a=n(2140),c=n(5112),l=TypeError,u=c("toPrimitive");t.exports=function(t,e){if(!i(t)||o(t))return t;var n,c=s(t,u);if(c){if(void 0===e&&(e="default"),n=r(c,t,e),!i(n)||o(n))return n;throw l("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},4948:function(t,e,n){var r=n(7593),i=n(2190);t.exports=function(t){var e=r(t,"string");return i(e)?e:e+""}},1694:function(t,e,n){var r=n(5112),i=r("toStringTag"),o={};o[i]="z",t.exports="[object z]"===String(o)},1340:function(t,e,n){var r=n(648),i=String;t.exports=function(t){if("Symbol"===r(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},6330:function(t){var e=String;t.exports=function(t){try{return e(t)}catch(n){return"Object"}}},9711:function(t,e,n){var r=n(1702),i=0,o=Math.random(),s=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++i+o,36)}},3307:function(t,e,n){var r=n(133);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(t,e,n){var r=n(9781),i=n(7293);t.exports=r&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5112:function(t,e,n){var r=n(7854),i=n(2309),o=n(2597),s=n(9711),a=n(133),c=n(3307),l=i("wks"),u=r.Symbol,h=u&&u["for"],f=c?u:u&&u.withoutSetter||s;t.exports=function(t){if(!o(l,t)||!a&&"string"!=typeof l[t]){var e="Symbol."+t;a&&o(u,t)?l[t]=u[t]:l[t]=c&&h?h(e):f(e)}return l[t]}},9191:function(t,e,n){"use strict";var r=n(5005),i=n(2597),o=n(8880),s=n(7976),a=n(7674),c=n(9920),l=n(2626),u=n(9587),h=n(6277),f=n(8340),d=n(7741),p=n(2914),g=n(9781),m=n(1913);t.exports=function(t,e,n,b){var v="stackTraceLimit",y=b?2:1,x=t.split("."),_=x[x.length-1],w=r.apply(null,x);if(w){var k=w.prototype;if(!m&&i(k,"cause")&&delete k.cause,!n)return w;var M=r("Error"),S=e((function(t,e){var n=h(b?e:t,void 0),r=b?new w(t):new w;return void 0!==n&&o(r,"message",n),p&&o(r,"stack",d(r.stack,2)),this&&s(k,this)&&u(r,this,S),arguments.length>y&&f(r,arguments[y]),r}));if(S.prototype=k,"Error"!==_?a?a(S,M):c(S,M,{name:!0}):g&&v in w&&(l(S,w,v),l(S,w,"prepareStackTrace")),c(S,w),!m)try{k.name!==_&&o(k,"name",_),k.constructor=S}catch(O){}return S}}},6699:function(t,e,n){"use strict";var r=n(2109),i=n(1318).includes,o=n(7293),s=n(1223),a=o((function(){return!Array(1).includes()}));r({target:"Array",proto:!0,forced:a},{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),s("includes")},1703:function(t,e,n){var r=n(2109),i=n(7854),o=n(2104),s=n(9191),a="WebAssembly",c=i[a],l=7!==Error("e",{cause:7}).cause,u=function(t,e){var n={};n[t]=s(t,e,l),r({global:!0,constructor:!0,arity:1,forced:l},n)},h=function(t,e){if(c&&c[t]){var n={};n[t]=s(a+"."+t,e,l),r({target:a,stat:!0,constructor:!0,arity:1,forced:l},n)}};u("Error",(function(t){return function(e){return o(t,this,arguments)}})),u("EvalError",(function(t){return function(e){return o(t,this,arguments)}})),u("RangeError",(function(t){return function(e){return o(t,this,arguments)}})),u("ReferenceError",(function(t){return function(e){return o(t,this,arguments)}})),u("SyntaxError",(function(t){return function(e){return o(t,this,arguments)}})),u("TypeError",(function(t){return function(e){return o(t,this,arguments)}})),u("URIError",(function(t){return function(e){return o(t,this,arguments)}})),h("CompileError",(function(t){return function(e){return o(t,this,arguments)}})),h("LinkError",(function(t){return function(e){return o(t,this,arguments)}})),h("RuntimeError",(function(t){return function(e){return o(t,this,arguments)}}))},7394:function(t,e){"use strict";function n(t,e){var n=t<0?"-":"",r=Math.abs(t).toString();while(r.length<e)r="0"+r;return n+r}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=n,t.exports=e.default},8609:function(t,e){"use strict";function n(t,e){if(null==t)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in e=e||{},e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=n,t.exports=e.default},6420:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=o;var r=i(n(8609));function i(t){return t&&t.__esModule?t:{default:t}}function o(t){return(0,r.default)({},t)}t.exports=e.default},7100:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var r=u(n(1603)),i=u(n(1354)),o=u(n(1370)),s=u(n(623)),a=u(n(6226)),c=u(n(7394)),l=u(n(2699));function u(t){return t&&t.__esModule?t:{default:t}}var h={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},f={G:function(t,e,n){var r=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(t,e,n){if("yo"===e){var r=t.getUTCFullYear(),i=r>0?r:1-r;return n.ordinalNumber(i,{unit:"year"})}return l.default.y(t,e)},Y:function(t,e,n,r){var i=(0,a.default)(t,r),o=i>0?i:1-i;if("YY"===e){var s=o%100;return(0,c.default)(s,2)}return"Yo"===e?n.ordinalNumber(o,{unit:"year"}):(0,c.default)(o,e.length)},R:function(t,e){var n=(0,o.default)(t);return(0,c.default)(n,e.length)},u:function(t,e){var n=t.getUTCFullYear();return(0,c.default)(n,e.length)},Q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return(0,c.default)(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return(0,c.default)(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){var r=t.getUTCMonth();switch(e){case"M":case"MM":return l.default.M(t,e);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n){var r=t.getUTCMonth();switch(e){case"L":return String(r+1);case"LL":return(0,c.default)(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,r){var i=(0,s.default)(t,r);return"wo"===e?n.ordinalNumber(i,{unit:"week"}):(0,c.default)(i,e.length)},I:function(t,e,n){var r=(0,i.default)(t);return"Io"===e?n.ordinalNumber(r,{unit:"week"}):(0,c.default)(r,e.length)},d:function(t,e,n){return"do"===e?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):l.default.d(t,e)},D:function(t,e,n){var i=(0,r.default)(t);return"Do"===e?n.ordinalNumber(i,{unit:"dayOfYear"}):(0,c.default)(i,e.length)},E:function(t,e,n){var r=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){var i=t.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(o);case"ee":return(0,c.default)(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});case"eeee":default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){var i=t.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(o);case"cc":return(0,c.default)(o,e.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});case"cccc":default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(t,e,n){var r=t.getUTCDay(),i=0===r?7:r;switch(e){case"i":return String(i);case"ii":return(0,c.default)(i,e.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){var r=t.getUTCHours(),i=r/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(t,e,n){var r,i=t.getUTCHours();switch(r=12===i?h.noon:0===i?h.midnight:i/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,e,n){var r,i=t.getUTCHours();switch(r=i>=17?h.evening:i>=12?h.afternoon:i>=4?h.morning:h.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,e,n){if("ho"===e){var r=t.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return l.default.h(t,e)},H:function(t,e,n){return"Ho"===e?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):l.default.H(t,e)},K:function(t,e,n){var r=t.getUTCHours()%12;return"Ko"===e?n.ordinalNumber(r,{unit:"hour"}):(0,c.default)(r,e.length)},k:function(t,e,n){var r=t.getUTCHours();return 0===r&&(r=24),"ko"===e?n.ordinalNumber(r,{unit:"hour"}):(0,c.default)(r,e.length)},m:function(t,e,n){return"mo"===e?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):l.default.m(t,e)},s:function(t,e,n){return"so"===e?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):l.default.s(t,e)},S:function(t,e){return l.default.S(t,e)},X:function(t,e,n,r){var i=r._originalDate||t,o=i.getTimezoneOffset();if(0===o)return"Z";switch(e){case"X":return p(o);case"XXXX":case"XX":return g(o);case"XXXXX":case"XXX":default:return g(o,":")}},x:function(t,e,n,r){var i=r._originalDate||t,o=i.getTimezoneOffset();switch(e){case"x":return p(o);case"xxxx":case"xx":return g(o);case"xxxxx":case"xxx":default:return g(o,":")}},O:function(t,e,n,r){var i=r._originalDate||t,o=i.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+d(o,":");case"OOOO":default:return"GMT"+g(o,":")}},z:function(t,e,n,r){var i=r._originalDate||t,o=i.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+d(o,":");case"zzzz":default:return"GMT"+g(o,":")}},t:function(t,e,n,r){var i=r._originalDate||t,o=Math.floor(i.getTime()/1e3);return(0,c.default)(o,e.length)},T:function(t,e,n,r){var i=r._originalDate||t,o=i.getTime();return(0,c.default)(o,e.length)}};function d(t,e){var n=t>0?"-":"+",r=Math.abs(t),i=Math.floor(r/60),o=r%60;if(0===o)return n+String(i);var s=e||"";return n+String(i)+s+(0,c.default)(o,2)}function p(t,e){if(t%60===0){var n=t>0?"-":"+";return n+(0,c.default)(Math.abs(t)/60,2)}return g(t,e)}function g(t,e){var n=e||"",r=t>0?"-":"+",i=Math.abs(t),o=(0,c.default)(Math.floor(i/60),2),s=(0,c.default)(i%60,2);return r+o+n+s}var m=f;e["default"]=m,t.exports=e.default},2699:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var r=i(n(7394));function i(t){return t&&t.__esModule?t:{default:t}}var o={y:function(t,e){var n=t.getUTCFullYear(),i=n>0?n:1-n;return(0,r.default)("yy"===e?i%100:i,e.length)},M:function(t,e){var n=t.getUTCMonth();return"M"===e?String(n+1):(0,r.default)(n+1,2)},d:function(t,e){return(0,r.default)(t.getUTCDate(),e.length)},a:function(t,e){var n=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return"am"===n?"a.m.":"p.m."}},h:function(t,e){return(0,r.default)(t.getUTCHours()%12||12,e.length)},H:function(t,e){return(0,r.default)(t.getUTCHours(),e.length)},m:function(t,e){return(0,r.default)(t.getUTCMinutes(),e.length)},s:function(t,e){return(0,r.default)(t.getUTCSeconds(),e.length)},S:function(t,e){var n=e.length,i=t.getUTCMilliseconds(),o=Math.floor(i*Math.pow(10,n-3));return(0,r.default)(o,e.length)}},s=o;e["default"]=s,t.exports=e.default},5209:function(t,e){"use strict";function n(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}}function r(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}}function i(t,e){var i,o=t.match(/(P+)(p+)?/)||[],s=o[1],a=o[2];if(!a)return n(t,e);switch(s){case"P":i=e.dateTime({width:"short"});break;case"PP":i=e.dateTime({width:"medium"});break;case"PPP":i=e.dateTime({width:"long"});break;case"PPPP":default:i=e.dateTime({width:"full"});break}return i.replace("{{date}}",n(s,e)).replace("{{time}}",r(a,e))}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var o={p:r,P:i},s=o;e["default"]=s,t.exports=e.default},3561:function(t,e){"use strict";function n(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=n,t.exports=e.default},1603:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=a;var r=o(n(1171)),i=o(n(8734));function o(t){return t&&t.__esModule?t:{default:t}}var s=864e5;function a(t){(0,i.default)(1,arguments);var e=(0,r.default)(t),n=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var o=e.getTime(),a=n-o;return Math.floor(a/s)+1}t.exports=e.default},1354:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=l;var r=a(n(1171)),i=a(n(79)),o=a(n(4275)),s=a(n(8734));function a(t){return t&&t.__esModule?t:{default:t}}var c=6048e5;function l(t){(0,s.default)(1,arguments);var e=(0,r.default)(t),n=(0,i.default)(e).getTime()-(0,o.default)(e).getTime();return Math.round(n/c)+1}t.exports=e.default},1370:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=a;var r=s(n(1171)),i=s(n(8734)),o=s(n(79));function s(t){return t&&t.__esModule?t:{default:t}}function a(t){(0,i.default)(1,arguments);var e=(0,r.default)(t),n=e.getUTCFullYear(),s=new Date(0);s.setUTCFullYear(n+1,0,4),s.setUTCHours(0,0,0,0);var a=(0,o.default)(s),c=new Date(0);c.setUTCFullYear(n,0,4),c.setUTCHours(0,0,0,0);var l=(0,o.default)(c);return e.getTime()>=a.getTime()?n+1:e.getTime()>=l.getTime()?n:n-1}t.exports=e.default},623:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=l;var r=a(n(1171)),i=a(n(9209)),o=a(n(4118)),s=a(n(8734));function a(t){return t&&t.__esModule?t:{default:t}}var c=6048e5;function l(t,e){(0,s.default)(1,arguments);var n=(0,r.default)(t),a=(0,i.default)(n,e).getTime()-(0,o.default)(n,e).getTime();return Math.round(a/c)+1}t.exports=e.default},6226:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=c;var r=a(n(1171)),i=a(n(8734)),o=a(n(9209)),s=a(n(2084));function a(t){return t&&t.__esModule?t:{default:t}}function c(t,e){(0,i.default)(1,arguments);var n=(0,r.default)(t),a=n.getUTCFullYear(),c=e||{},l=c.locale,u=l&&l.options&&l.options.firstWeekContainsDate,h=null==u?1:(0,s.default)(u),f=null==c.firstWeekContainsDate?h:(0,s.default)(c.firstWeekContainsDate);if(!(f>=1&&f<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var d=new Date(0);d.setUTCFullYear(a+1,0,f),d.setUTCHours(0,0,0,0);var p=(0,o.default)(d,e),g=new Date(0);g.setUTCFullYear(a,0,f),g.setUTCHours(0,0,0,0);var m=(0,o.default)(g,e);return n.getTime()>=p.getTime()?a+1:n.getTime()>=m.getTime()?a:a-1}t.exports=e.default},6736:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isProtectedDayOfYearToken=i,e.isProtectedWeekYearToken=o,e.throwProtectedError=s;var n=["D","DD"],r=["YY","YYYY"];function i(t){return-1!==n.indexOf(t)}function o(t){return-1!==r.indexOf(t)}function s(t,e,n){if("YYYY"===t)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("YY"===t)throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("D"===t)throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("DD"===t)throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"))}},8734:function(t,e){"use strict";function n(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=n,t.exports=e.default},79:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=s;var r=o(n(1171)),i=o(n(8734));function o(t){return t&&t.__esModule?t:{default:t}}function s(t){(0,i.default)(1,arguments);var e=1,n=(0,r.default)(t),o=n.getUTCDay(),s=(o<e?7:0)+o-e;return n.setUTCDate(n.getUTCDate()-s),n.setUTCHours(0,0,0,0),n}t.exports=e.default},4275:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=a;var r=s(n(1370)),i=s(n(79)),o=s(n(8734));function s(t){return t&&t.__esModule?t:{default:t}}function a(t){(0,o.default)(1,arguments);var e=(0,r.default)(t),n=new Date(0);n.setUTCFullYear(e,0,4),n.setUTCHours(0,0,0,0);var s=(0,i.default)(n);return s}t.exports=e.default},9209:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=a;var r=s(n(1171)),i=s(n(8734)),o=s(n(2084));function s(t){return t&&t.__esModule?t:{default:t}}function a(t,e){(0,i.default)(1,arguments);var n=e||{},s=n.locale,a=s&&s.options&&s.options.weekStartsOn,c=null==a?0:(0,o.default)(a),l=null==n.weekStartsOn?c:(0,o.default)(n.weekStartsOn);if(!(l>=0&&l<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=(0,r.default)(t),h=u.getUTCDay(),f=(h<l?7:0)+h-l;return u.setUTCDate(u.getUTCDate()-f),u.setUTCHours(0,0,0,0),u}t.exports=e.default},4118:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=c;var r=a(n(6226)),i=a(n(8734)),o=a(n(9209)),s=a(n(2084));function a(t){return t&&t.__esModule?t:{default:t}}function c(t,e){(0,i.default)(1,arguments);var n=e||{},a=n.locale,c=a&&a.options&&a.options.firstWeekContainsDate,l=null==c?1:(0,s.default)(c),u=null==n.firstWeekContainsDate?l:(0,s.default)(n.firstWeekContainsDate),h=(0,r.default)(t,e),f=new Date(0);f.setUTCFullYear(h,0,u),f.setUTCHours(0,0,0,0);var d=(0,o.default)(f,e);return d}t.exports=e.default},2084:function(t,e){"use strict";function n(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=n,t.exports=e.default},5065:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=a;var r=s(n(2084)),i=s(n(1171)),o=s(n(8734));function s(t){return t&&t.__esModule?t:{default:t}}function a(t,e){(0,o.default)(2,arguments);var n=(0,i.default)(t).getTime(),s=(0,r.default)(e);return new Date(n+s)}t.exports=e.default},4262:function(t,e,n){"use strict";function r(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}n.d(e,{Z:function(){return r}})},3882:function(t,e,n){"use strict";function r(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}n.d(e,{Z:function(){return r}})},3946:function(t,e,n){"use strict";function r(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}n.d(e,{Z:function(){return r}})},7349:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(3946),i=n(9013),o=n(3882);function s(t,e){(0,o.Z)(2,arguments);var n=(0,i.Z)(t),s=(0,r.Z)(e);return isNaN(s)?new Date(NaN):s?(n.setDate(n.getDate()+s),n):n}},1640:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(3946),i=n(9013),o=n(3882);function s(t,e){(0,o.Z)(2,arguments);var n=(0,i.Z)(t),s=(0,r.Z)(e);if(isNaN(s))return new Date(NaN);if(!s)return n;var a=n.getDate(),c=new Date(n.getTime());c.setMonth(n.getMonth()+s+1,0);var l=c.getDate();return a>=l?c:(n.setFullYear(c.getFullYear(),c.getMonth(),a),n)}},3500:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(3946),i=n(7349),o=n(3882);function s(t,e){(0,o.Z)(2,arguments);var n=(0,r.Z)(e),s=7*n;return(0,i.Z)(t,s)}},1593:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(3946),i=n(1640),o=n(3882);function s(t,e){(0,o.Z)(2,arguments);var n=(0,r.Z)(e);return(0,i.Z)(t,12*n)}},4135:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(9013),i=n(3882);function o(t){(0,i.Z)(1,arguments);var e=(0,r.Z)(t),n=e.getMonth();return e.setFullYear(e.getFullYear(),n+1,0),e.setHours(23,59,59,999),e}},7090:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(9013),i=n(3946),o=n(3882);function s(t,e){(0,o.Z)(1,arguments);var n=e||{},s=n.locale,a=s&&s.options&&s.options.weekStartsOn,c=null==a?0:(0,i.Z)(a),l=null==n.weekStartsOn?c:(0,i.Z)(n.weekStartsOn);if(!(l>=0&&l<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=(0,r.Z)(t),h=u.getDay(),f=6+(h<l?-7:0)-(h-l);return u.setDate(u.getDate()+f),u.setHours(23,59,59,999),u}},876:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(9013),i=n(3882);function o(t){(0,i.Z)(1,arguments);var e=(0,r.Z)(t),n=e.getFullYear();return e.setFullYear(n+1,0,0),e.setHours(23,59,59,999),e}},4850:function(t,e,n){"use strict";n.d(e,{Z:function(){return q}});var r=n(3882);function i(t){return(0,r.Z)(1,arguments),t instanceof Date||"object"===typeof t&&"[object Date]"===Object.prototype.toString.call(t)}var o=n(9013);function s(t){if((0,r.Z)(1,arguments),!i(t)&&"number"!==typeof t)return!1;var e=(0,o.Z)(t);return!isNaN(Number(e))}var a=n(5826),c=n(3946);function l(t,e){(0,r.Z)(2,arguments);var n=(0,o.Z)(t).getTime(),i=(0,c.Z)(e);return new Date(n+i)}function u(t,e){(0,r.Z)(2,arguments);var n=(0,c.Z)(e);return l(t,-n)}var h=864e5;function f(t){(0,r.Z)(1,arguments);var e=(0,o.Z)(t),n=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var i=e.getTime(),s=n-i;return Math.floor(s/h)+1}function d(t){(0,r.Z)(1,arguments);var e=1,n=(0,o.Z)(t),i=n.getUTCDay(),s=(i<e?7:0)+i-e;return n.setUTCDate(n.getUTCDate()-s),n.setUTCHours(0,0,0,0),n}function p(t){(0,r.Z)(1,arguments);var e=(0,o.Z)(t),n=e.getUTCFullYear(),i=new Date(0);i.setUTCFullYear(n+1,0,4),i.setUTCHours(0,0,0,0);var s=d(i),a=new Date(0);a.setUTCFullYear(n,0,4),a.setUTCHours(0,0,0,0);var c=d(a);return e.getTime()>=s.getTime()?n+1:e.getTime()>=c.getTime()?n:n-1}function g(t){(0,r.Z)(1,arguments);var e=p(t),n=new Date(0);n.setUTCFullYear(e,0,4),n.setUTCHours(0,0,0,0);var i=d(n);return i}var m=6048e5;function b(t){(0,r.Z)(1,arguments);var e=(0,o.Z)(t),n=d(e).getTime()-g(e).getTime();return Math.round(n/m)+1}function v(t,e){(0,r.Z)(1,arguments);var n=e||{},i=n.locale,s=i&&i.options&&i.options.weekStartsOn,a=null==s?0:(0,c.Z)(s),l=null==n.weekStartsOn?a:(0,c.Z)(n.weekStartsOn);if(!(l>=0&&l<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=(0,o.Z)(t),h=u.getUTCDay(),f=(h<l?7:0)+h-l;return u.setUTCDate(u.getUTCDate()-f),u.setUTCHours(0,0,0,0),u}function y(t,e){(0,r.Z)(1,arguments);var n=(0,o.Z)(t),i=n.getUTCFullYear(),s=e||{},a=s.locale,l=a&&a.options&&a.options.firstWeekContainsDate,u=null==l?1:(0,c.Z)(l),h=null==s.firstWeekContainsDate?u:(0,c.Z)(s.firstWeekContainsDate);if(!(h>=1&&h<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var f=new Date(0);f.setUTCFullYear(i+1,0,h),f.setUTCHours(0,0,0,0);var d=v(f,e),p=new Date(0);p.setUTCFullYear(i,0,h),p.setUTCHours(0,0,0,0);var g=v(p,e);return n.getTime()>=d.getTime()?i+1:n.getTime()>=g.getTime()?i:i-1}function x(t,e){(0,r.Z)(1,arguments);var n=e||{},i=n.locale,o=i&&i.options&&i.options.firstWeekContainsDate,s=null==o?1:(0,c.Z)(o),a=null==n.firstWeekContainsDate?s:(0,c.Z)(n.firstWeekContainsDate),l=y(t,e),u=new Date(0);u.setUTCFullYear(l,0,a),u.setUTCHours(0,0,0,0);var h=v(u,e);return h}var _=6048e5;function w(t,e){(0,r.Z)(1,arguments);var n=(0,o.Z)(t),i=v(n,e).getTime()-x(n,e).getTime();return Math.round(i/_)+1}function k(t,e){var n=t<0?"-":"",r=Math.abs(t).toString();while(r.length<e)r="0"+r;return n+r}var M={y:function(t,e){var n=t.getUTCFullYear(),r=n>0?n:1-n;return k("yy"===e?r%100:r,e.length)},M:function(t,e){var n=t.getUTCMonth();return"M"===e?String(n+1):k(n+1,2)},d:function(t,e){return k(t.getUTCDate(),e.length)},a:function(t,e){var n=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return"am"===n?"a.m.":"p.m."}},h:function(t,e){return k(t.getUTCHours()%12||12,e.length)},H:function(t,e){return k(t.getUTCHours(),e.length)},m:function(t,e){return k(t.getUTCMinutes(),e.length)},s:function(t,e){return k(t.getUTCSeconds(),e.length)},S:function(t,e){var n=e.length,r=t.getUTCMilliseconds(),i=Math.floor(r*Math.pow(10,n-3));return k(i,e.length)}},S=M,O={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},C={G:function(t,e,n){var r=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(t,e,n){if("yo"===e){var r=t.getUTCFullYear(),i=r>0?r:1-r;return n.ordinalNumber(i,{unit:"year"})}return S.y(t,e)},Y:function(t,e,n,r){var i=y(t,r),o=i>0?i:1-i;if("YY"===e){var s=o%100;return k(s,2)}return"Yo"===e?n.ordinalNumber(o,{unit:"year"}):k(o,e.length)},R:function(t,e){var n=p(t);return k(n,e.length)},u:function(t,e){var n=t.getUTCFullYear();return k(n,e.length)},Q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return k(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return k(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){var r=t.getUTCMonth();switch(e){case"M":case"MM":return S.M(t,e);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n){var r=t.getUTCMonth();switch(e){case"L":return String(r+1);case"LL":return k(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,r){var i=w(t,r);return"wo"===e?n.ordinalNumber(i,{unit:"week"}):k(i,e.length)},I:function(t,e,n){var r=b(t);return"Io"===e?n.ordinalNumber(r,{unit:"week"}):k(r,e.length)},d:function(t,e,n){return"do"===e?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):S.d(t,e)},D:function(t,e,n){var r=f(t);return"Do"===e?n.ordinalNumber(r,{unit:"dayOfYear"}):k(r,e.length)},E:function(t,e,n){var r=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){var i=t.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(o);case"ee":return k(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});case"eeee":default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){var i=t.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(o);case"cc":return k(o,e.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});case"cccc":default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(t,e,n){var r=t.getUTCDay(),i=0===r?7:r;switch(e){case"i":return String(i);case"ii":return k(i,e.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){var r=t.getUTCHours(),i=r/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(t,e,n){var r,i=t.getUTCHours();switch(r=12===i?O.noon:0===i?O.midnight:i/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,e,n){var r,i=t.getUTCHours();switch(r=i>=17?O.evening:i>=12?O.afternoon:i>=4?O.morning:O.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,e,n){if("ho"===e){var r=t.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return S.h(t,e)},H:function(t,e,n){return"Ho"===e?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):S.H(t,e)},K:function(t,e,n){var r=t.getUTCHours()%12;return"Ko"===e?n.ordinalNumber(r,{unit:"hour"}):k(r,e.length)},k:function(t,e,n){var r=t.getUTCHours();return 0===r&&(r=24),"ko"===e?n.ordinalNumber(r,{unit:"hour"}):k(r,e.length)},m:function(t,e,n){return"mo"===e?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):S.m(t,e)},s:function(t,e,n){return"so"===e?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):S.s(t,e)},S:function(t,e){return S.S(t,e)},X:function(t,e,n,r){var i=r._originalDate||t,o=i.getTimezoneOffset();if(0===o)return"Z";switch(e){case"X":return T(o);case"XXXX":case"XX":return D(o);case"XXXXX":case"XXX":default:return D(o,":")}},x:function(t,e,n,r){var i=r._originalDate||t,o=i.getTimezoneOffset();switch(e){case"x":return T(o);case"xxxx":case"xx":return D(o);case"xxxxx":case"xxx":default:return D(o,":")}},O:function(t,e,n,r){var i=r._originalDate||t,o=i.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+P(o,":");case"OOOO":default:return"GMT"+D(o,":")}},z:function(t,e,n,r){var i=r._originalDate||t,o=i.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+P(o,":");case"zzzz":default:return"GMT"+D(o,":")}},t:function(t,e,n,r){var i=r._originalDate||t,o=Math.floor(i.getTime()/1e3);return k(o,e.length)},T:function(t,e,n,r){var i=r._originalDate||t,o=i.getTime();return k(o,e.length)}};function P(t,e){var n=t>0?"-":"+",r=Math.abs(t),i=Math.floor(r/60),o=r%60;if(0===o)return n+String(i);var s=e||"";return n+String(i)+s+k(o,2)}function T(t,e){if(t%60===0){var n=t>0?"-":"+";return n+k(Math.abs(t)/60,2)}return D(t,e)}function D(t,e){var n=e||"",r=t>0?"-":"+",i=Math.abs(t),o=k(Math.floor(i/60),2),s=k(i%60,2);return r+o+n+s}var E=C;function j(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}}function A(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}}function L(t,e){var n,r=t.match(/(P+)(p+)?/)||[],i=r[1],o=r[2];if(!o)return j(t,e);switch(i){case"P":n=e.dateTime({width:"short"});break;case"PP":n=e.dateTime({width:"medium"});break;case"PPP":n=e.dateTime({width:"long"});break;case"PPPP":default:n=e.dateTime({width:"full"});break}return n.replace("{{date}}",j(i,e)).replace("{{time}}",A(o,e))}var F={p:A,P:L},I=F,R=n(4262),N=["D","DD"],W=["YY","YYYY"];function z(t){return-1!==N.indexOf(t)}function U(t){return-1!==W.indexOf(t)}function H(t,e,n){if("YYYY"===t)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("YY"===t)throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("D"===t)throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("DD"===t)throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"))}var $=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,B=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,V=/^'([^]*?)'?$/,Y=/''/g,Z=/[a-zA-Z]/;function q(t,e,n){(0,r.Z)(2,arguments);var i=String(e),l=n||{},h=l.locale||a.Z,f=h.options&&h.options.firstWeekContainsDate,d=null==f?1:(0,c.Z)(f),p=null==l.firstWeekContainsDate?d:(0,c.Z)(l.firstWeekContainsDate);if(!(p>=1&&p<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var g=h.options&&h.options.weekStartsOn,m=null==g?0:(0,c.Z)(g),b=null==l.weekStartsOn?m:(0,c.Z)(l.weekStartsOn);if(!(b>=0&&b<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!h.localize)throw new RangeError("locale must contain localize property");if(!h.formatLong)throw new RangeError("locale must contain formatLong property");var v=(0,o.Z)(t);if(!s(v))throw new RangeError("Invalid time value");var y=(0,R.Z)(v),x=u(v,y),_={firstWeekContainsDate:p,weekStartsOn:b,locale:h,_originalDate:v},w=i.match(B).map((function(t){var e=t[0];if("p"===e||"P"===e){var n=I[e];return n(t,h.formatLong,_)}return t})).join("").match($).map((function(n){if("''"===n)return"'";var r=n[0];if("'"===r)return X(n);var i=E[r];if(i)return!l.useAdditionalWeekYearTokens&&U(n)&&H(n,e,t),!l.useAdditionalDayOfYearTokens&&z(n)&&H(n,e,t),i(x,n,h.localize,_);if(r.match(Z))throw new RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");return n})).join("");return w}function X(t){return t.match(V)[1].replace(Y,"'")}},1818:function(t,e,n){"use strict";n.d(e,{Z:function(){return M}});var r=n(9013),i=n(3882);function o(t,e){(0,i.Z)(2,arguments);var n=(0,r.Z)(t),o=(0,r.Z)(e),s=n.getTime()-o.getTime();return s<0?-1:s>0?1:s}function s(t,e){(0,i.Z)(2,arguments);var n=(0,r.Z)(t),o=(0,r.Z)(e),s=n.getFullYear()-o.getFullYear(),a=n.getMonth()-o.getMonth();return 12*s+a}function a(t){(0,i.Z)(1,arguments);var e=(0,r.Z)(t);return e.setHours(23,59,59,999),e}var c=n(4135);function l(t){(0,i.Z)(1,arguments);var e=(0,r.Z)(t);return a(e).getTime()===(0,c.Z)(e).getTime()}function u(t,e){(0,i.Z)(2,arguments);var n,a=(0,r.Z)(t),c=(0,r.Z)(e),u=o(a,c),h=Math.abs(s(a,c));if(h<1)n=0;else{1===a.getMonth()&&a.getDate()>27&&a.setDate(30),a.setMonth(a.getMonth()-u*h);var f=o(a,c)===-u;l((0,r.Z)(t))&&1===h&&1===o(t,c)&&(f=!1),n=u*(h-Number(f))}return 0===n?0:n}function h(t,e){return(0,i.Z)(2,arguments),(0,r.Z)(t).getTime()-(0,r.Z)(e).getTime()}var f={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)}},d="trunc";function p(t){return t?f[t]:f[d]}function g(t,e,n){(0,i.Z)(2,arguments);var r=h(t,e)/1e3;return p(null===n||void 0===n?void 0:n.roundingMethod)(r)}var m=n(5826);function b(t,e){if(null==t)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in e=e||{},e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}function v(t){return b({},t)}var y=n(4262),x=1440,_=2520,w=43200,k=86400;function M(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,i.Z)(2,arguments);var s=n.locale||m.Z;if(!s.formatDistance)throw new RangeError("locale must contain formatDistance property");var a=o(t,e);if(isNaN(a))throw new RangeError("Invalid time value");var c,l,h=v(n);h.addSuffix=Boolean(n.addSuffix),h.comparison=a,a>0?(c=(0,r.Z)(e),l=(0,r.Z)(t)):(c=(0,r.Z)(t),l=(0,r.Z)(e));var f,d=g(l,c),p=((0,y.Z)(l)-(0,y.Z)(c))/1e3,b=Math.round((d-p)/60);if(b<2)return n.includeSeconds?d<5?s.formatDistance("lessThanXSeconds",5,h):d<10?s.formatDistance("lessThanXSeconds",10,h):d<20?s.formatDistance("lessThanXSeconds",20,h):d<40?s.formatDistance("halfAMinute",null,h):d<60?s.formatDistance("lessThanXMinutes",1,h):s.formatDistance("xMinutes",1,h):0===b?s.formatDistance("lessThanXMinutes",1,h):s.formatDistance("xMinutes",b,h);if(b<45)return s.formatDistance("xMinutes",b,h);if(b<90)return s.formatDistance("aboutXHours",1,h);if(b<x){var M=Math.round(b/60);return s.formatDistance("aboutXHours",M,h)}if(b<_)return s.formatDistance("xDays",1,h);if(b<w){var S=Math.round(b/x);return s.formatDistance("xDays",S,h)}if(b<k)return f=Math.round(b/w),s.formatDistance("aboutXMonths",f,h);if(f=u(l,c),f<12){var O=Math.round(b/w);return s.formatDistance("xMonths",O,h)}var C=f%12,P=Math.floor(f/12);return C<3?s.formatDistance("aboutXYears",P,h):C<9?s.formatDistance("overXYears",P,h):s.formatDistance("almostXYears",P+1,h)}},1743:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(9013),i=n(3882);function o(t){(0,i.Z)(1,arguments);var e=(0,r.Z)(t);return e.setHours(0,0,0,0),e}function s(t,e){(0,i.Z)(2,arguments);var n=o(t),r=o(e);return n.getTime()===r.getTime()}},9160:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(9013),i=n(3882);function o(t,e){(0,i.Z)(2,arguments);var n=(0,r.Z)(t),o=(0,r.Z)(e);return n.getFullYear()===o.getFullYear()&&n.getMonth()===o.getMonth()}},1085:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(1743),i=n(3882);function o(t){return(0,i.Z)(1,arguments),(0,r.Z)(t,Date.now())}},9526:function(t,e,n){"use strict";function r(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.width?String(e.width):t.defaultWidth,r=t.formats[n]||t.formats[t.defaultWidth];return r}}n.d(e,{Z:function(){return r}})},8486:function(t,e,n){"use strict";function r(t){return function(e,n){var r,i=n||{},o=i.context?String(i.context):"standalone";if("formatting"===o&&t.formattingValues){var s=t.defaultFormattingWidth||t.defaultWidth,a=i.width?String(i.width):s;r=t.formattingValues[a]||t.formattingValues[s]}else{var c=t.defaultWidth,l=i.width?String(i.width):t.defaultWidth;r=t.values[l]||t.values[c]}var u=t.argumentCallback?t.argumentCallback(e):e;return r[u]}}n.d(e,{Z:function(){return r}})},6723:function(t,e,n){"use strict";function r(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,s=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],a=e.match(s);if(!a)return null;var c,l=a[0],u=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],h=Array.isArray(u)?o(u,(function(t){return t.test(l)})):i(u,(function(t){return t.test(l)}));c=t.valueCallback?t.valueCallback(h):h,c=n.valueCallback?n.valueCallback(c):c;var f=e.slice(l.length);return{value:c,rest:f}}}function i(t,e){for(var n in t)if(t.hasOwnProperty(n)&&e(t[n]))return n}function o(t,e){for(var n=0;n<t.length;n++)if(e(t[n]))return n}n.d(e,{Z:function(){return r}})},974:function(t,e,n){"use strict";function r(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.match(t.matchPattern);if(!r)return null;var i=r[0],o=e.match(t.parsePattern);if(!o)return null;var s=t.valueCallback?t.valueCallback(o[0]):o[0];s=n.valueCallback?n.valueCallback(s):s;var a=e.slice(i.length);return{value:s,rest:a}}}n.d(e,{Z:function(){return r}})},5826:function(t,e,n){"use strict";n.d(e,{Z:function(){return H}});var r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},i=function(t,e,n){var i,o=r[t];return i="string"===typeof o?o:1===e?o.one:o.other.replace("{{count}}",e.toString()),null!==n&&void 0!==n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i},o=i,s=n(9526),a={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},c={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},l={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},u={date:(0,s.Z)({formats:a,defaultWidth:"full"}),time:(0,s.Z)({formats:c,defaultWidth:"full"}),dateTime:(0,s.Z)({formats:l,defaultWidth:"full"})},h=u,f={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},d=function(t,e,n,r){return f[t]},p=d,g=n(8486),m={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},b={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},v={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},y={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},x={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},_={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},w=function(t,e){var n=Number(t),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},k={ordinalNumber:w,era:(0,g.Z)({values:m,defaultWidth:"wide"}),quarter:(0,g.Z)({values:b,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:(0,g.Z)({values:v,defaultWidth:"wide"}),day:(0,g.Z)({values:y,defaultWidth:"wide"}),dayPeriod:(0,g.Z)({values:x,defaultWidth:"wide",formattingValues:_,defaultFormattingWidth:"wide"})},M=k,S=n(6723),O=n(974),C=/^(\d+)(th|st|nd|rd)?/i,P=/\d+/i,T={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},D={any:[/^b/i,/^(a|c)/i]},E={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},j={any:[/1/i,/2/i,/3/i,/4/i]},A={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},L={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},F={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},I={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},R={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},N={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},W={ordinalNumber:(0,O.Z)({matchPattern:C,parsePattern:P,valueCallback:function(t){return parseInt(t,10)}}),era:(0,S.Z)({matchPatterns:T,defaultMatchWidth:"wide",parsePatterns:D,defaultParseWidth:"any"}),quarter:(0,S.Z)({matchPatterns:E,defaultMatchWidth:"wide",parsePatterns:j,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:(0,S.Z)({matchPatterns:A,defaultMatchWidth:"wide",parsePatterns:L,defaultParseWidth:"any"}),day:(0,S.Z)({matchPatterns:F,defaultMatchWidth:"wide",parsePatterns:I,defaultParseWidth:"any"}),dayPeriod:(0,S.Z)({matchPatterns:R,defaultMatchWidth:"any",parsePatterns:N,defaultParseWidth:"any"})},z=W,U={code:"en-US",formatDistance:o,formatLong:h,formatRelative:p,localize:M,match:z,options:{weekStartsOn:0,firstWeekContainsDate:1}},H=U},5830:function(t,e,n){"use strict";n.d(e,{Z:function(){return U}});var r={lessThanXSeconds:{one:"moins dune seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins dune minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus dun an",other:"plus de {{count}} ans"},almostXYears:{one:"presquun an",other:"presque {{count}} ans"}},i=function(t,e,n){var i,o=r[t];return i="string"===typeof o?o:1===e?o.one:o.other.replace("{{count}}",String(e)),null!==n&&void 0!==n&&n.addSuffix?n.comparison&&n.comparison>0?"dans "+i:"il y a "+i:i},o=i,s=n(9526),a={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},c={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},l={full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},u={date:(0,s.Z)({formats:a,defaultWidth:"full"}),time:(0,s.Z)({formats:c,defaultWidth:"full"}),dateTime:(0,s.Z)({formats:l,defaultWidth:"full"})},h=u,f={lastWeek:"eeee 'dernier à' p",yesterday:"'hier à' p",today:"'aujourdhui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'prochain à' p",other:"P"},d=function(t,e,n,r){return f[t]},p=d,g=n(8486),m={narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},b={narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2ème trim.","3ème trim.","4ème trim."],wide:["1er trimestre","2ème trimestre","3ème trimestre","4ème trimestre"]},v={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],wide:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},y={narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},x={narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"après-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de laprès-midi",evening:"du soir",night:"du matin"}},_=function(t,e){var n=Number(t),r=null===e||void 0===e?void 0:e.unit;if(0===n)return"0";var i,o=["year","week","hour","minute","second"];return i=1===n?r&&o.includes(r)?"ère":"er":"ème",n+i},w={ordinalNumber:_,era:(0,g.Z)({values:m,defaultWidth:"wide"}),quarter:(0,g.Z)({values:b,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:(0,g.Z)({values:v,defaultWidth:"wide"}),day:(0,g.Z)({values:y,defaultWidth:"wide"}),dayPeriod:(0,g.Z)({values:x,defaultWidth:"wide"})},k=w,M=n(6723),S=n(974),O=/^(\d+)(ième|ère|ème|er|e)?/i,C=/\d+/i,P={narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},T={any:[/^av/i,/^ap/i]},D={narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},E={any:[/1/i,/2/i,/3/i,/4/i]},j={narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},A={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},L={narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},F={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},I={narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},R={any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},N={ordinalNumber:(0,S.Z)({matchPattern:O,parsePattern:C,valueCallback:function(t){return parseInt(t)}}),era:(0,M.Z)({matchPatterns:P,defaultMatchWidth:"wide",parsePatterns:T,defaultParseWidth:"any"}),quarter:(0,M.Z)({matchPatterns:D,defaultMatchWidth:"wide",parsePatterns:E,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:(0,M.Z)({matchPatterns:j,defaultMatchWidth:"wide",parsePatterns:A,defaultParseWidth:"any"}),day:(0,M.Z)({matchPatterns:L,defaultMatchWidth:"wide",parsePatterns:F,defaultParseWidth:"any"}),dayPeriod:(0,M.Z)({matchPatterns:I,defaultMatchWidth:"any",parsePatterns:R,defaultParseWidth:"any"})},W=N,z={code:"fr",formatDistance:o,formatLong:h,formatRelative:p,localize:k,match:W,options:{weekStartsOn:1,firstWeekContainsDate:4}},U=z},3703:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(9013),i=n(3882);function o(t){(0,i.Z)(1,arguments);var e=(0,r.Z)(t);return e.setDate(1),e.setHours(0,0,0,0),e}},584:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(9013),i=n(3946),o=n(3882);function s(t,e){(0,o.Z)(1,arguments);var n=e||{},s=n.locale,a=s&&s.options&&s.options.weekStartsOn,c=null==a?0:(0,i.Z)(a),l=null==n.weekStartsOn?c:(0,i.Z)(n.weekStartsOn);if(!(l>=0&&l<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=(0,r.Z)(t),h=u.getDay(),f=(h<l?7:0)+h-l;return u.setDate(u.getDate()-f),u.setHours(0,0,0,0),u}},8148:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(9013),i=n(3882);function o(t){(0,i.Z)(1,arguments);var e=(0,r.Z)(t),n=new Date(0);return n.setFullYear(e.getFullYear(),0,1),n.setHours(0,0,0,0),n}},4559:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(3946),i=n(1640),o=n(3882);function s(t,e){(0,o.Z)(2,arguments);var n=(0,r.Z)(e);return(0,i.Z)(t,-n)}},7982:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(3946),i=n(3500),o=n(3882);function s(t,e){(0,o.Z)(2,arguments);var n=(0,r.Z)(e);return(0,i.Z)(t,-n)}},9319:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(3946),i=n(1593),o=n(3882);function s(t,e){(0,o.Z)(2,arguments);var n=(0,r.Z)(e);return(0,i.Z)(t,-n)}},9013:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(3882);function i(t){(0,r.Z)(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||"object"===typeof t&&"[object Date]"===e?new Date(t.getTime()):"number"===typeof t||"[object Number]"===e?new Date(t):("string"!==typeof t&&"[object String]"!==e||"undefined"===typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}},5616:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=y;var r=d(n(9989)),i=d(n(2512)),o=d(n(3239)),s=d(n(1171)),a=d(n(7100)),c=d(n(5209)),l=d(n(3561)),u=n(6736),h=d(n(2084)),f=d(n(8734));function d(t){return t&&t.__esModule?t:{default:t}}var p=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,g=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,m=/^'([^]*?)'?$/,b=/''/g,v=/[a-zA-Z]/;function y(t,e,n){(0,f.default)(2,arguments);var d=String(e),m=n||{},b=m.locale||i.default,y=b.options&&b.options.firstWeekContainsDate,_=null==y?1:(0,h.default)(y),w=null==m.firstWeekContainsDate?_:(0,h.default)(m.firstWeekContainsDate);if(!(w>=1&&w<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var k=b.options&&b.options.weekStartsOn,M=null==k?0:(0,h.default)(k),S=null==m.weekStartsOn?M:(0,h.default)(m.weekStartsOn);if(!(S>=0&&S<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!b.localize)throw new RangeError("locale must contain localize property");if(!b.formatLong)throw new RangeError("locale must contain formatLong property");var O=(0,s.default)(t);if(!(0,r.default)(O))throw new RangeError("Invalid time value");var C=(0,l.default)(O),P=(0,o.default)(O,C),T={firstWeekContainsDate:w,weekStartsOn:S,locale:b,_originalDate:O},D=d.match(g).map((function(t){var e=t[0];if("p"===e||"P"===e){var n=c.default[e];return n(t,b.formatLong,T)}return t})).join("").match(p).map((function(n){if("''"===n)return"'";var r=n[0];if("'"===r)return x(n);var i=a.default[r];if(i)return!m.useAdditionalWeekYearTokens&&(0,u.isProtectedWeekYearToken)(n)&&(0,u.throwProtectedError)(n,e,t),!m.useAdditionalDayOfYearTokens&&(0,u.isProtectedDayOfYearToken)(n)&&(0,u.throwProtectedError)(n,e,t),i(P,n,b.localize,T);if(r.match(v))throw new RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");return n})).join("");return D}function x(t){return t.match(m)[1].replace(b,"'")}t.exports=e.default},2382:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=o;var r=i(n(8734));function i(t){return t&&t.__esModule?t:{default:t}}function o(t){return(0,r.default)(1,arguments),t instanceof Date||"object"===typeof t&&"[object Date]"===Object.prototype.toString.call(t)}t.exports=e.default},9989:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=a;var r=s(n(2382)),i=s(n(1171)),o=s(n(8734));function s(t){return t&&t.__esModule?t:{default:t}}function a(t){if((0,o.default)(1,arguments),!(0,r.default)(t)&&"number"!==typeof t)return!1;var e=(0,i.default)(t);return!isNaN(Number(e))}t.exports=e.default},289:function(t,e){"use strict";function n(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.width?String(e.width):t.defaultWidth,r=t.formats[n]||t.formats[t.defaultWidth];return r}}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=n,t.exports=e.default},6245:function(t,e){"use strict";function n(t){return function(e,n){var r,i=n||{},o=i.context?String(i.context):"standalone";if("formatting"===o&&t.formattingValues){var s=t.defaultFormattingWidth||t.defaultWidth,a=i.width?String(i.width):s;r=t.formattingValues[a]||t.formattingValues[s]}else{var c=t.defaultWidth,l=i.width?String(i.width):t.defaultWidth;r=t.values[l]||t.values[c]}var u=t.argumentCallback?t.argumentCallback(e):e;return r[u]}}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=n,t.exports=e.default},3421:function(t,e){"use strict";function n(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.width,s=o&&t.matchPatterns[o]||t.matchPatterns[t.defaultMatchWidth],a=e.match(s);if(!a)return null;var c,l=a[0],u=o&&t.parsePatterns[o]||t.parsePatterns[t.defaultParseWidth],h=Array.isArray(u)?i(u,(function(t){return t.test(l)})):r(u,(function(t){return t.test(l)}));c=t.valueCallback?t.valueCallback(h):h,c=n.valueCallback?n.valueCallback(c):c;var f=e.slice(l.length);return{value:c,rest:f}}}function r(t,e){for(var n in t)if(t.hasOwnProperty(n)&&e(t[n]))return n}function i(t,e){for(var n=0;n<t.length;n++)if(e(t[n]))return n}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=n,t.exports=e.default},8926:function(t,e){"use strict";function n(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.match(t.matchPattern);if(!r)return null;var i=r[0],o=e.match(t.parsePattern);if(!o)return null;var s=t.valueCallback?t.valueCallback(o[0]):o[0];s=n.valueCallback?n.valueCallback(s):s;var a=e.slice(i.length);return{value:s,rest:a}}}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=n,t.exports=e.default},1924:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},r=function(t,e,r){var i,o=n[t];return i="string"===typeof o?o:1===e?o.one:o.other.replace("{{count}}",e.toString()),null!==r&&void 0!==r&&r.addSuffix?r.comparison&&r.comparison>0?"in "+i:i+" ago":i},i=r;e["default"]=i,t.exports=e.default},5062:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var r=i(n(289));function i(t){return t&&t.__esModule?t:{default:t}}var o={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},s={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},a={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},c={date:(0,r.default)({formats:o,defaultWidth:"full"}),time:(0,r.default)({formats:s,defaultWidth:"full"}),dateTime:(0,r.default)({formats:a,defaultWidth:"full"})},l=c;e["default"]=l,t.exports=e.default},5102:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},r=function(t,e,r,i){return n[t]},i=r;e["default"]=i,t.exports=e.default},7839:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var r=i(n(6245));function i(t){return t&&t.__esModule?t:{default:t}}var o={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},s={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},a={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},c={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},l={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},u={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},h=function(t,e){var n=Number(t),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},f={ordinalNumber:h,era:(0,r.default)({values:o,defaultWidth:"wide"}),quarter:(0,r.default)({values:s,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:(0,r.default)({values:a,defaultWidth:"wide"}),day:(0,r.default)({values:c,defaultWidth:"wide"}),dayPeriod:(0,r.default)({values:l,defaultWidth:"wide",formattingValues:u,defaultFormattingWidth:"wide"})},d=f;e["default"]=d,t.exports=e.default},9796:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var r=o(n(3421)),i=o(n(8926));function o(t){return t&&t.__esModule?t:{default:t}}var s=/^(\d+)(th|st|nd|rd)?/i,a=/\d+/i,c={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},l={any:[/^b/i,/^(a|c)/i]},u={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},h={any:[/1/i,/2/i,/3/i,/4/i]},f={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},d={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},p={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},g={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},m={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},b={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},v={ordinalNumber:(0,i.default)({matchPattern:s,parsePattern:a,valueCallback:function(t){return parseInt(t,10)}}),era:(0,r.default)({matchPatterns:c,defaultMatchWidth:"wide",parsePatterns:l,defaultParseWidth:"any"}),quarter:(0,r.default)({matchPatterns:u,defaultMatchWidth:"wide",parsePatterns:h,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:(0,r.default)({matchPatterns:f,defaultMatchWidth:"wide",parsePatterns:d,defaultParseWidth:"any"}),day:(0,r.default)({matchPatterns:p,defaultMatchWidth:"wide",parsePatterns:g,defaultParseWidth:"any"}),dayPeriod:(0,r.default)({matchPatterns:m,defaultMatchWidth:"any",parsePatterns:b,defaultParseWidth:"any"})},y=v;e["default"]=y,t.exports=e.default},2512:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var r=c(n(1924)),i=c(n(5062)),o=c(n(5102)),s=c(n(7839)),a=c(n(9796));function c(t){return t&&t.__esModule?t:{default:t}}var l={code:"en-US",formatDistance:r.default,formatLong:i.default,formatRelative:o.default,localize:s.default,match:a.default,options:{weekStartsOn:0,firstWeekContainsDate:1}},u=l;e["default"]=u,t.exports=e.default},3239:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=a;var r=s(n(2084)),i=s(n(5065)),o=s(n(8734));function s(t){return t&&t.__esModule?t:{default:t}}function a(t,e){(0,o.default)(2,arguments);var n=(0,r.default)(e);return(0,i.default)(t,-n)}t.exports=e.default},1171:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=o;var r=i(n(8734));function i(t){return t&&t.__esModule?t:{default:t}}function o(t){(0,r.default)(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||"object"===typeof t&&"[object Date]"===e?new Date(t.getTime()):"number"===typeof t||"[object Number]"===e?new Date(t):("string"!==typeof t&&"[object String]"!==e||"undefined"===typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}t.exports=e.default},5538:function(t){"use strict";const e=new Uint32Array(65536),n=(t,n)=>{const r=t.length,i=n.length,o=1<<r-1;let s=-1,a=0,c=r,l=r;while(l--)e[t.charCodeAt(l)]|=1<<l;for(l=0;l<i;l++){let t=e[n.charCodeAt(l)];const r=t|a;t|=(t&s)+s^s,a|=~(t|s),s&=t,a&o&&c++,s&o&&c--,a=a<<1|1,s=s<<1|~(r|a),a&=r}l=r;while(l--)e[t.charCodeAt(l)]=0;return c},r=(t,n)=>{const r=t.length,i=n.length,o=[],s=[],a=Math.ceil(r/32),c=Math.ceil(i/32);let l=i;for(let e=0;e<a;e++)s[e]=-1,o[e]=0;let u=0;for(;u<c-1;u++){let a=0,c=-1;const h=32*u,f=Math.min(32,i)+h;for(let t=h;t<f;t++)e[n.charCodeAt(t)]|=1<<t;l=i;for(let n=0;n<r;n++){const r=e[t.charCodeAt(n)],i=s[n/32|0]>>>n&1,l=o[n/32|0]>>>n&1,u=r|a,h=((r|l)&c)+c^c|r|l;let f=a|~(h|c),d=c&h;f>>>31^i&&(s[n/32|0]^=1<<n),d>>>31^l&&(o[n/32|0]^=1<<n),f=f<<1|i,d=d<<1|l,c=d|~(u|f),a=f&u}for(let t=h;t<f;t++)e[n.charCodeAt(t)]=0}let h=0,f=-1;const d=32*u,p=Math.min(32,i-d)+d;for(let g=d;g<p;g++)e[n.charCodeAt(g)]|=1<<g;l=i;for(let g=0;g<r;g++){const n=e[t.charCodeAt(g)],r=s[g/32|0]>>>g&1,a=o[g/32|0]>>>g&1,c=n|h,u=((n|a)&f)+f^f|n|a;let d=h|~(u|f),p=f&u;l+=d>>>i-1&1,l-=p>>>i-1&1,d>>>31^r&&(s[g/32|0]^=1<<g),p>>>31^a&&(o[g/32|0]^=1<<g),d=d<<1|r,p=p<<1|a,f=p|~(c|d),h=d&c}for(let g=d;g<p;g++)e[n.charCodeAt(g)]=0;return l},i=(t,e)=>{if(t.length>e.length){const n=e;e=t,t=n}return 0===t.length?e.length:t.length<=32?n(t,e):r(t,e)},o=(t,e)=>{let n=1/0,r=0;for(let o=0;o<e.length;o++){const s=i(t,e[o]);s<n&&(n=s,r=o)}return e[r]};t.exports={closest:o,distance:i}},6959:function(t){"use strict";const e=/[\p{Lu}]/u,n=/[\p{Ll}]/u,r=/^[\p{Lu}](?![\p{Lu}])/gu,i=/([\p{Alpha}\p{N}_]|$)/u,o=/[_.\- ]+/,s=new RegExp("^"+o.source),a=new RegExp(o.source+i.source,"gu"),c=new RegExp("\\d+"+i.source,"gu"),l=(t,r,i)=>{let o=!1,s=!1,a=!1;for(let c=0;c<t.length;c++){const l=t[c];o&&e.test(l)?(t=t.slice(0,c)+"-"+t.slice(c),o=!1,a=s,s=!0,c++):s&&a&&n.test(l)?(t=t.slice(0,c-1)+"-"+t.slice(c-1),a=s,s=!1,o=!0):(o=r(l)===l&&i(l)!==l,a=s,s=i(l)===l&&r(l)!==l)}return t},u=(t,e)=>(r.lastIndex=0,t.replace(r,(t=>e(t)))),h=(t,e)=>(a.lastIndex=0,c.lastIndex=0,t.replace(a,((t,n)=>e(n))).replace(c,(t=>e(t)))),f=(t,e)=>{if("string"!==typeof t&&!Array.isArray(t))throw new TypeError("Expected the input to be `string | string[]`");if(e={pascalCase:!1,preserveConsecutiveUppercase:!1,...e},t=Array.isArray(t)?t.map((t=>t.trim())).filter((t=>t.length)).join("-"):t.trim(),0===t.length)return"";const n=!1===e.locale?t=>t.toLowerCase():t=>t.toLocaleLowerCase(e.locale),r=!1===e.locale?t=>t.toUpperCase():t=>t.toLocaleUpperCase(e.locale);if(1===t.length)return e.pascalCase?r(t):n(t);const i=t!==n(t);return i&&(t=l(t,n,r)),t=t.replace(s,""),t=e.preserveConsecutiveUppercase?u(t,n):n(t),e.pascalCase&&(t=r(t.charAt(0))+t.slice(1)),h(t,r)};t.exports=f,t.exports["default"]=f},5205:function(t,e,n){"use strict";n.d(e,{z:function(){return o}});var r,i=function(){return Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/))};function o(t,e){void 0===e&&(e={});var n=e.registrationOptions;void 0===n&&(n={}),delete e.registrationOptions;var o=function(t){var n=[],r=arguments.length-1;while(r-- >0)n[r]=arguments[r+1];e&&e[t]&&e[t].apply(e,n)};"serviceWorker"in navigator&&r.then((function(){i()?(c(t,o,n),navigator.serviceWorker.ready.then((function(t){o("ready",t)})).catch((function(t){return s(o,t)}))):(a(t,o,n),navigator.serviceWorker.ready.then((function(t){o("ready",t)})).catch((function(t){return s(o,t)})))}))}function s(t,e){navigator.onLine||t("offline"),t("error",e)}function a(t,e,n){navigator.serviceWorker.register(t,n).then((function(t){e("registered",t),t.waiting?e("updated",t):t.onupdatefound=function(){e("updatefound",t);var n=t.installing;n.onstatechange=function(){"installed"===n.state&&(navigator.serviceWorker.controller?e("updated",t):e("cached",t))}}})).catch((function(t){return s(e,t)}))}function c(t,e,n){fetch(t).then((function(r){404===r.status?(e("error",new Error("Service worker not found at "+t)),l()):-1===r.headers.get("content-type").indexOf("javascript")?(e("error",new Error("Expected "+t+" to have javascript content-type, but received "+r.headers.get("content-type"))),l()):a(t,e,n)})).catch((function(t){return s(e,t)}))}function l(){"serviceWorker"in navigator&&navigator.serviceWorker.ready.then((function(t){t.unregister()})).catch((function(t){return s(emit,t)}))}"undefined"!==typeof window&&(r="undefined"!==typeof Promise?new Promise((function(t){return window.addEventListener("load",t)})):{then:function(t){return window.addEventListener("load",t)}})},2343:function(t,e,n){"use strict";var r,i,o,s,a,c,l,u,h,f=n(6252),d=n(2262),p=Object.defineProperty,g=Object.defineProperties,m=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,x=(t,e,n)=>e in t?p(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n
/*!
* vue-fullscreen v3.1.1
* https://github.com/mirari/vue-fullscreen#readme
*
* Copyright 2021 mirari
* Released under the MIT license
*
* Date: 2021-11-16T11:04:32.608Z
*/,_="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof n.g?n.g:"undefined"!=typeof self?self:{},w=function(t){return t},k=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)},M=Math.max,S=function(t,e,n){return e=M(void 0===e?t.length-1:e,0),function(){for(var r=arguments,i=-1,o=M(r.length-e,0),s=Array(o);++i<o;)s[i]=r[e+i];i=-1;for(var a=Array(e+1);++i<e;)a[i]=r[i];return a[e]=n(s),k(t,this,a)}},O=function(t){return function(){return t}},C="object"==typeof _&&_&&_.Object===Object&&_,P=C,T="object"==typeof self&&self&&self.Object===Object&&self,D=P||T||Function("return this")(),E=D.Symbol,j=E,A=Object.prototype,L=A.hasOwnProperty,F=A.toString,I=j?j.toStringTag:void 0,R=function(t){var e=L.call(t,I),n=t[I];try{t[I]=void 0;var r=!0}catch(y){}var i=F.call(t);return r&&(e?t[I]=n:delete t[I]),i},N=Object.prototype.toString,W=R,z=function(t){return N.call(t)},U=E?E.toStringTag:void 0,H=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":U&&U in Object(t)?W(t):z(t)},$=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},B=H,V=$,Y=function(t){if(!V(t))return!1;var e=B(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},Z=D["__core-js_shared__"],q=(r=/[^.]+$/.exec(Z&&Z.keys&&Z.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",X=function(t){return!!q&&q in t},G=Function.prototype.toString,J=Y,Q=X,K=$,tt=function(t){if(null!=t){try{return G.call(t)}catch(g){}try{return t+""}catch(g){}}return""},et=/^\[object .+?Constructor\]$/,nt=Function.prototype,rt=Object.prototype,it=nt.toString,ot=rt.hasOwnProperty,st=RegExp("^"+it.call(ot).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),at=function(t){return!(!K(t)||Q(t))&&(J(t)?st:et).test(tt(t))},ct=function(t,e){return null==t?void 0:t[e]},lt=function(t,e){var n=ct(t,e);return at(n)?n:void 0},ut=function(){try{var t=lt(Object,"defineProperty");return t({},"",{}),t}catch(g){}}(),ht=O,ft=ut,dt=ft?function(t,e){return ft(t,"toString",{configurable:!0,enumerable:!1,value:ht(e),writable:!0})}:w,pt=Date.now,gt=function(t){var e=0,n=0;return function(){var r=pt(),i=16-(r-n);if(n=r,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(dt),mt=w,bt=S,vt=gt,yt=function(t,e){return vt(bt(t,e,mt),t+"")},xt=function(t,e){return t===e||t!=t&&e!=e},_t=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991},wt=Y,kt=_t,Mt=function(t){return null!=t&&kt(t.length)&&!wt(t)},St=/^(?:0|[1-9]\d*)$/,Ot=function(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&St.test(t))&&t>-1&&t%1==0&&t<e},Ct=xt,Pt=Mt,Tt=Ot,Dt=$,Et=function(t,e,n){if(!Dt(n))return!1;var r=typeof e;return!!("number"==r?Pt(n)&&Tt(e,n.length):"string"==r&&e in n)&&Ct(n[e],t)},jt=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r},At=function(t){return null!=t&&"object"==typeof t},Lt=H,Ft=At,It=function(t){return Ft(t)&&"[object Arguments]"==Lt(t)},Rt=At,Nt=Object.prototype,Wt=Nt.hasOwnProperty,zt=Nt.propertyIsEnumerable,Ut=It(function(){return arguments}())?It:function(t){return Rt(t)&&Wt.call(t,"callee")&&!zt.call(t,"callee")},Ht=Array.isArray,$t={exports:{}};i=$t,s=D,a=function(){return!1},c=(o=$t.exports)&&!o.nodeType&&o,l=c&&i&&!i.nodeType&&i,u=l&&l.exports===c?s.Buffer:void 0,h=(u?u.isBuffer:void 0)||a,i.exports=h;var Bt=H,Vt=_t,Yt=At,Zt={};Zt["[object Float32Array]"]=Zt["[object Float64Array]"]=Zt["[object Int8Array]"]=Zt["[object Int16Array]"]=Zt["[object Int32Array]"]=Zt["[object Uint8Array]"]=Zt["[object Uint8ClampedArray]"]=Zt["[object Uint16Array]"]=Zt["[object Uint32Array]"]=!0,Zt["[object Arguments]"]=Zt["[object Array]"]=Zt["[object ArrayBuffer]"]=Zt["[object Boolean]"]=Zt["[object DataView]"]=Zt["[object Date]"]=Zt["[object Error]"]=Zt["[object Function]"]=Zt["[object Map]"]=Zt["[object Number]"]=Zt["[object Object]"]=Zt["[object RegExp]"]=Zt["[object Set]"]=Zt["[object String]"]=Zt["[object WeakMap]"]=!1;var qt=function(t){return Yt(t)&&Vt(t.length)&&!!Zt[Bt(t)]},Xt=function(t){return function(e){return t(e)}},Gt={exports:{}};!function(t,e){var n=C,r=e&&!e.nodeType&&e,i=r&&t&&!t.nodeType&&t,o=i&&i.exports===r&&n.process,s=function(){try{var t=i&&i.require&&i.require("util").types;return t||o&&o.binding&&o.binding("util")}catch(e){}}();t.exports=s}(Gt,Gt.exports);var Jt=qt,Qt=Xt,Kt=Gt.exports,te=Kt&&Kt.isTypedArray,ee=te?Qt(te):Jt,ne=jt,re=Ut,ie=Ht,oe=$t.exports,se=Ot,ae=ee,ce=Object.prototype.hasOwnProperty,le=function(t,e){var n=ie(t),r=!n&&re(t),i=!n&&!r&&oe(t),o=!n&&!r&&!i&&ae(t),s=n||r||i||o,a=s?ne(t.length,String):[],c=a.length;for(var l in t)!e&&!ce.call(t,l)||s&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||se(l,c))||a.push(l);return a},ue=Object.prototype,he=$,fe=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||ue)},de=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e},pe=Object.prototype.hasOwnProperty,ge=le,me=function(t){if(!he(t))return de(t);var e=fe(t),n=[];for(var r in t)("constructor"!=r||!e&&pe.call(t,r))&&n.push(r);return n},be=Mt,ve=yt,ye=xt,xe=Et,_e=function(t){return be(t)?ge(t,!0):me(t)},we=Object.prototype,ke=we.hasOwnProperty,Me=ve((function(t,e){t=Object(t);var n=-1,r=e.length,i=r>2?e[2]:void 0;for(i&&xe(e[0],e[1],i)&&(r=1);++n<r;)for(var o=e[n],s=_e(o),a=-1,c=s.length;++a<c;){var l=s[a],u=t[l];(void 0===u||ye(u,we[l])&&!ke.call(t,l))&&(t[l]=o[l])}return t})),Se={exports:{}};!function(t){var e,n,r,i,o;e="undefined"!=typeof window&&void 0!==window.document?window.document:{},n=t.exports,r=function(){for(var t,n=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],r=0,i=n.length,o={};r<i;r++)if((t=n[r])&&t[1]in e){for(r=0;r<t.length;r++)o[n[0][r]]=t[r];return o}return!1}(),i={change:r.fullscreenchange,error:r.fullscreenerror},o={request:function(t,n){return new Promise(function(i,o){var s=function(){this.off("change",s),i()}.bind(this);this.on("change",s);var a=(t=t||e.documentElement)[r.requestFullscreen](n);a instanceof Promise&&a.then(s).catch(o)}.bind(this))},exit:function(){return new Promise(function(t,n){if(this.isFullscreen){var i=function(){this.off("change",i),t()}.bind(this);this.on("change",i);var o=e[r.exitFullscreen]();o instanceof Promise&&o.then(i).catch(n)}else t()}.bind(this))},toggle:function(t,e){return this.isFullscreen?this.exit():this.request(t,e)},onchange:function(t){this.on("change",t)},onerror:function(t){this.on("error",t)},on:function(t,n){var r=i[t];r&&e.addEventListener(r,n,!1)},off:function(t,n){var r=i[t];r&&e.removeEventListener(r,n,!1)},raw:r},r?(Object.defineProperties(o,{isFullscreen:{get:function(){return Boolean(e[r.fullscreenElement])}},element:{enumerable:!0,get:function(){return e[r.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return Boolean(e[r.fullscreenEnabled])}}}),n?t.exports=o:window.screenfull=o):n?t.exports={isEnabled:!1}:window.screenfull={isEnabled:!1}}(Se);var Oe=Se.exports;const Ce=Oe;var Pe=(0,f.aZ)({props:{modelValue:{type:Boolean,default:!1},fullscreen:{type:Boolean,default:!1},exitOnClickWrapper:{type:Boolean,default:!0},fullscreenClass:{type:String,default:"fullscreen"},pageOnly:{type:Boolean,default:!1},teleport:{type:Boolean,default:!1}},emits:["change","update:modelValue","update:fullscreen"],setup(t,{emit:e}){const n=(0,d.iH)(),r=(0,d.qj)({isFullscreen:!1,isEnabled:Ce.isEnabled}),i=(0,f.Fl)((()=>t.pageOnly||!Ce.isEnabled)),o=(0,f.Fl)((()=>(i.value||t.teleport)&&r.isFullscreen?{position:"fixed",left:"0",top:"0",width:"100%",height:"100%"}:void 0));function s(){e("change",r.isFullscreen),e("update:modelValue",r.isFullscreen),e("update:fullscreen",r.isFullscreen)}function a(){Ce.isFullscreen||Ce.off("change",a),r.isFullscreen=Ce.isFullscreen,s()}function c(t){"Escape"===t.key&&u()}function l(){i.value?(r.isFullscreen=!0,s(),document.removeEventListener("keyup",c),document.addEventListener("keyup",c)):(Ce.off("change",a),Ce.on("change",a),Ce.request(t.teleport?document.body:n.value))}function u(){r.isFullscreen&&(i.value?(r.isFullscreen=!1,s(),document.removeEventListener("keyup",c)):Ce.exit())}return(0,f.YP)((()=>t.fullscreen),(t=>{t!==r.isFullscreen&&(t?l():u())})),(0,f.YP)((()=>t.modelValue),(t=>{t!==r.isFullscreen&&(t?l():u())})),h=((t,e)=>{for(var n in e||(e={}))v.call(e,n)&&x(t,n,e[n]);if(b)for(var n of b(e))y.call(e,n)&&x(t,n,e[n]);return t})({wrapper:n,wrapperStyle:o},(0,d.BK)(r)),g(h,m({toggle:function(t){void 0===t?r.isFullscreen?u():l():t?l():u()},request:l,exit:u,shadeClick:function(e){e.target===n.value&&t.exitOnClickWrapper&&u()}}));var h}});Pe.render=function(t,e,n,r,i,o){return(0,f.wg)(),(0,f.j4)(f.lR,{to:"body",disabled:!t.teleport||!t.fullscreen},[(0,f.Wm)("div",(0,f.dG)({ref:"wrapper"},t.$attrs,{style:t.wrapperStyle,class:{[t.fullscreenClass]:t.isFullscreen},onClick:e[1]||(e[1]=e=>t.shadeClick(e))}),[(0,f.WI)(t.$slots,"default")],16)],8,["disabled"])};const Te="undefined"!=typeof window&&null!==window;!function(){if(Te&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get(){return this.intersectionRatio>0}})}();const De=Object.prototype.propertyIsEnumerable,Ee=Object.getOwnPropertySymbols;function je(t){return"function"==typeof t||"[object Object]"===toString.call(t)}function Ae(t){return"__proto__"!==t&&"constructor"!==t&&"prototype"!==t}function Le(t,...e){if(!je(t))throw new TypeError("expected the first argument to be an object");if(0===e.length||"function"!=typeof Symbol||"function"!=typeof Ee)return t;for(const n of e){const e=Ee(n);for(const r of e)De.call(n,r)&&(t[r]=n[r])}return t}function Fe(t,...e){let n=0;var r;for(("object"==typeof(r=t)?null===r:"function"!=typeof r)&&(t=e[n++]),t||(t={});n<e.length;n++)if(je(e[n])){for(const r of Object.keys(e[n]))Ae(r)&&(je(t[r])&&je(e[n][r])?Fe(t[r],e[n][r]):t[r]=e[n][r]);Le(t,e[n])}return t}const Ie=Oe;class Re{constructor(t){this.fullscreenClass="fullscreen",this.teleport=!1,this.pageOnly=!1,t&&Fe(this,t)}}let Ne,We;function ze(t,e){t.style.position=e.position,t.style.left=e.left,t.style.top=e.top,t.style.width=e.width,t.style.height=e.height}function Ue(t){const e=t.element;e&&(e.classList.remove(t.options.fullscreenClass),(t.options.teleport||t.options.pageOnly)&&(t.options.teleport&&We&&(We.insertBefore(e,Ne),We.removeChild(Ne)),e.__styleCache&&ze(e,e.__styleCache)))}const He={options:new Re,element:null,isFullscreen:!1,isEnabled:Ie.isEnabled,toggle(t,e,n){return void 0===n?this.isFullscreen?this.exit():this.request(t,e):n?this.request(t,e):this.exit()},request(t,e){if(this.isFullscreen)return Promise.resolve();if(t||(t=document.body),this.options=new Re(e),t===document.body&&(this.options.teleport=!1),Ie.isEnabled||(this.options.pageOnly=!0),t.classList.add(this.options.fullscreenClass),this.options.teleport||this.options.pageOnly){const{position:e,left:n,top:r,width:i,height:o}=t.style;t.__styleCache={position:e,left:n,top:r,width:i,height:o},ze(t,{position:"fixed",left:"0",top:"0",width:"100%",height:"100%"})}if(this.options.teleport&&(We=t.parentNode,We&&(Ne=document.createComment("fullscreen-token"),We.insertBefore(Ne,t),document.body.appendChild(t))),this.options.pageOnly){const e=t=>{"Escape"===t.key&&(document.removeEventListener("keyup",e),this.exit())};return this.isFullscreen=!0,this.element=t,document.removeEventListener("keyup",e),document.addEventListener("keyup",e),this.options.callback&&this.options.callback(this.isFullscreen),Promise.resolve()}{const e=()=>{Ie.isFullscreen||(Ie.off("change",e),Ue(this)),this.isFullscreen=Ie.isFullscreen,this.options.teleport?this.element=t||null:this.element=Ie.element,this.options.callback&&this.options.callback(Ie.isFullscreen)};return Ie.on("change",e),Ie.request(this.options.teleport?document.body:t)}},exit(){return this.isFullscreen?this.options.pageOnly?(Ue(this),this.isFullscreen=!1,this.element=null,this.options.callback&&this.options.callback(this.isFullscreen),Promise.resolve()):Ie.exit():Promise.resolve()}},$e=(t,e,n)=>{const r=()=>{let t;const n={teleport:e.modifiers.teleport,pageOnly:e.modifiers.pageOnly};if(e.value)if("string"==typeof e.value)t=e.value;else{const r=e.value,{target:i}=r,o=((t,e)=>{var n={};for(var r in t)v.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&b)for(var r of b(t))e.indexOf(r)<0&&y.call(t,r)&&(n[r]=t[r]);return n})(r,["target"]);t=i,Fe(n,o)}"string"==typeof t&&(t=document.querySelector(t)),He.toggle(t,n)};t._onClickFullScreen&&t.removeEventListener("click",t._onClickFullScreen),t.addEventListener("click",r),t._onClickFullScreen=r};var Be={install(t,{name:e="fullscreen"}={}){t.config.globalProperties[`$${e}`]=He,t.component(e,Me(Pe,{name:e})),t.directive(e,$e)}};e["ZP"]=Be},3324:function(t,e,n){"use strict";n.d(e,{o:function(){return Je},QT:function(){return Qe}});const r="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag,i=t=>r?Symbol(t):t,o=(t,e,n)=>s({l:t,k:e,s:n}),s=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),a=t=>"number"===typeof t&&isFinite(t),c=t=>"[object Date]"===M(t),l=t=>"[object RegExp]"===M(t),u=t=>S(t)&&0===Object.keys(t).length;function h(t,e){"undefined"!==typeof console&&(console.warn("[intlify] "+t),e&&console.warn(e.stack))}const f=Object.assign;let d;const p=()=>d||(d="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{});function g(t){return t.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const m=Object.prototype.hasOwnProperty;function b(t,e){return m.call(t,e)}const v=Array.isArray,y=t=>"function"===typeof t,x=t=>"string"===typeof t,_=t=>"boolean"===typeof t,w=t=>null!==t&&"object"===typeof t,k=Object.prototype.toString,M=t=>k.call(t),S=t=>"[object Object]"===M(t),O=t=>null==t?"":v(t)||S(t)&&t.toString===k?JSON.stringify(t,null,2):String(t);const C=Object.prototype.hasOwnProperty;function P(t,e){return C.call(t,e)}const T=t=>null!==t&&"object"===typeof t,D=[];D[0]={["w"]:[0],["i"]:[3,0],["["]:[4],["o"]:[7]},D[1]={["w"]:[1],["."]:[2],["["]:[4],["o"]:[7]},D[2]={["w"]:[2],["i"]:[3,0],["0"]:[3,0]},D[3]={["i"]:[3,0],["0"]:[3,0],["w"]:[1,1],["."]:[2,1],["["]:[4,1],["o"]:[7,1]},D[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],["o"]:8,["l"]:[4,0]},D[5]={["'"]:[4,0],["o"]:8,["l"]:[5,0]},D[6]={['"']:[4,0],["o"]:8,["l"]:[6,0]};const E=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function j(t){return E.test(t)}function A(t){const e=t.charCodeAt(0),n=t.charCodeAt(t.length-1);return e!==n||34!==e&&39!==e?t:t.slice(1,-1)}function L(t){if(void 0===t||null===t)return"o";const e=t.charCodeAt(0);switch(e){case 91:case 93:case 46:case 34:case 39:return t;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 F(t){const e=t.trim();return("0"!==t.charAt(0)||!isNaN(parseInt(t)))&&(j(e)?A(e):"*"+e)}function I(t){const e=[];let n,r,i,o,s,a,c,l=-1,u=0,h=0;const f=[];function d(){const e=t[l+1];if(5===u&&"'"===e||6===u&&'"'===e)return l++,i="\\"+e,f[0](),!0}f[0]=()=>{void 0===r?r=i:r+=i},f[1]=()=>{void 0!==r&&(e.push(r),r=void 0)},f[2]=()=>{f[0](),h++},f[3]=()=>{if(h>0)h--,u=4,f[0]();else{if(h=0,void 0===r)return!1;if(r=F(r),!1===r)return!1;f[1]()}};while(null!==u)if(l++,n=t[l],"\\"!==n||!d()){if(o=L(n),c=D[u],s=c[o]||c["l"]||8,8===s)return;if(u=s[0],void 0!==s[1]&&(a=f[s[1]],a&&(i=n,!1===a())))return;if(7===u)return e}}const R=new Map;function N(t,e){if(!T(t))return null;let n=R.get(e);if(n||(n=I(e),n&&R.set(e,n)),!n)return null;const r=n.length;let i=t,o=0;while(o<r){const t=i[n[o]];if(void 0===t)return null;i=t,o++}return i}function W(t){if(!T(t))return t;for(const e in t)if(P(t,e))if(e.includes(".")){const n=e.split("."),r=n.length-1;let i=t;for(let t=0;t<r;t++)n[t]in i||(i[n[t]]={}),i=i[n[t]];i[n[r]]=t[e],delete t[e],T(i[n[r]])&&W(i[n[r]])}else T(t[e])&&W(t[e]);return t}
/*!
* @intlify/runtime v9.1.10
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/
const z=t=>t,U=t=>"",H="text",$=t=>0===t.length?"":t.join(""),B=O;function V(t,e){return t=Math.abs(t),2===e?t?t>1?1:0:1:t?Math.min(t,2):0}function Y(t){const e=a(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(a(t.named.count)||a(t.named.n))?a(t.named.count)?t.named.count:a(t.named.n)?t.named.n:e:e}function Z(t,e){e.count||(e.count=t),e.n||(e.n=t)}function q(t={}){const e=t.locale,n=Y(t),r=w(t.pluralRules)&&x(e)&&y(t.pluralRules[e])?t.pluralRules[e]:V,i=w(t.pluralRules)&&x(e)&&y(t.pluralRules[e])?V:void 0,o=t=>t[r(n,t.length,i)],s=t.list||[],c=t=>s[t],l=t.named||{};a(t.pluralIndex)&&Z(n,l);const u=t=>l[t];function h(e){const n=y(t.messages)?t.messages(e):!!w(t.messages)&&t.messages[e];return n||(t.parent?t.parent.message(e):U)}const f=e=>t.modifiers?t.modifiers[e]:z,d=S(t.processor)&&y(t.processor.normalize)?t.processor.normalize:$,p=S(t.processor)&&y(t.processor.interpolate)?t.processor.interpolate:B,g=S(t.processor)&&x(t.processor.type)?t.processor.type:H,m={["list"]:c,["named"]:u,["plural"]:o,["linked"]:(t,e)=>{const n=h(t)(m);return x(e)?f(e)(n):n},["message"]:h,["type"]:g,["interpolate"]:p,["normalize"]:d};return m}function X(t,e,n={}){const{domain:r,messages:i,args:o}=n,s=t,a=new SyntaxError(String(s));return a.code=t,e&&(a.location=e),a.domain=r,a}function G(t){throw t}function J(t,e,n){return{line:t,column:e,offset:n}}function Q(t,e,n){const r={start:t,end:e};return null!=n&&(r.source=n),r}const K=" ",tt="\r",et="\n",nt=String.fromCharCode(8232),rt=String.fromCharCode(8233);function it(t){const e=t;let n=0,r=1,i=1,o=0;const s=t=>e[t]===tt&&e[t+1]===et,a=t=>e[t]===et,c=t=>e[t]===rt,l=t=>e[t]===nt,u=t=>s(t)||a(t)||c(t)||l(t),h=()=>n,f=()=>r,d=()=>i,p=()=>o,g=t=>s(t)||c(t)||l(t)?et:e[t],m=()=>g(n),b=()=>g(n+o);function v(){return o=0,u(n)&&(r++,i=0),s(n)&&n++,n++,i++,e[n]}function y(){return s(n+o)&&o++,o++,e[n+o]}function x(){n=0,r=1,i=1,o=0}function _(t=0){o=t}function w(){const t=n+o;while(t!==n)v();o=0}return{index:h,line:f,column:d,peekOffset:p,charAt:g,currentChar:m,currentPeek:b,next:v,peek:y,reset:x,resetPeek:_,skipToPeek:w}}const ot=void 0,st="'",at="tokenizer";function ct(t,e={}){const n=!1!==e.location,r=it(t),i=()=>r.index(),o=()=>J(r.line(),r.column(),r.index()),s=o(),a=i(),c={currentType:14,offset:a,startLoc:s,endLoc:s,lastType:14,lastOffset:a,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},l=()=>c,{onError:u}=e;function h(t,e,n,...r){const i=l();if(e.column+=n,e.offset+=n,u){const n=Q(i.startLoc,e),o=X(t,n,{domain:at,args:r});u(o)}}function f(t,e,r){t.endLoc=o(),t.currentType=e;const i={type:e};return n&&(i.loc=Q(t.startLoc,t.endLoc)),null!=r&&(i.value=r),i}const d=t=>f(t,14);function p(t,e){return t.currentChar()===e?(t.next(),e):(h(0,o(),0,e),"")}function g(t){let e="";while(t.currentPeek()===K||t.currentPeek()===et)e+=t.currentPeek(),t.peek();return e}function m(t){const e=g(t);return t.skipToPeek(),e}function b(t){if(t===ot)return!1;const e=t.charCodeAt(0);return e>=97&&e<=122||e>=65&&e<=90||95===e}function v(t){if(t===ot)return!1;const e=t.charCodeAt(0);return e>=48&&e<=57}function y(t,e){const{currentType:n}=e;if(2!==n)return!1;g(t);const r=b(t.currentPeek());return t.resetPeek(),r}function x(t,e){const{currentType:n}=e;if(2!==n)return!1;g(t);const r="-"===t.currentPeek()?t.peek():t.currentPeek(),i=v(r);return t.resetPeek(),i}function _(t,e){const{currentType:n}=e;if(2!==n)return!1;g(t);const r=t.currentPeek()===st;return t.resetPeek(),r}function w(t,e){const{currentType:n}=e;if(8!==n)return!1;g(t);const r="."===t.currentPeek();return t.resetPeek(),r}function k(t,e){const{currentType:n}=e;if(9!==n)return!1;g(t);const r=b(t.currentPeek());return t.resetPeek(),r}function M(t,e){const{currentType:n}=e;if(8!==n&&12!==n)return!1;g(t);const r=":"===t.currentPeek();return t.resetPeek(),r}function S(t,e){const{currentType:n}=e;if(10!==n)return!1;const r=()=>{const e=t.currentPeek();return"{"===e?b(t.peek()):!("@"===e||"%"===e||"|"===e||":"===e||"."===e||e===K||!e)&&(e===et?(t.peek(),r()):b(e))},i=r();return t.resetPeek(),i}function O(t){g(t);const e="|"===t.currentPeek();return t.resetPeek(),e}function C(t,e=!0){const n=(e=!1,r="",i=!1)=>{const o=t.currentPeek();return"{"===o?"%"!==r&&e:"@"!==o&&o?"%"===o?(t.peek(),n(e,"%",!0)):"|"===o?!("%"!==r&&!i)||!(r===K||r===et):o===K?(t.peek(),n(!0,K,i)):o!==et||(t.peek(),n(!0,et,i)):"%"===r||e},r=n();return e&&t.resetPeek(),r}function P(t,e){const n=t.currentChar();return n===ot?ot:e(n)?(t.next(),n):null}function T(t){const e=t=>{const e=t.charCodeAt(0);return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57||95===e||36===e};return P(t,e)}function D(t){const e=t=>{const e=t.charCodeAt(0);return e>=48&&e<=57};return P(t,e)}function E(t){const e=t=>{const e=t.charCodeAt(0);return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102};return P(t,e)}function j(t){let e="",n="";while(e=D(t))n+=e;return n}function A(t){let e="";while(1){const n=t.currentChar();if("{"===n||"}"===n||"@"===n||"|"===n||!n)break;if("%"===n){if(!C(t))break;e+=n,t.next()}else if(n===K||n===et)if(C(t))e+=n,t.next();else{if(O(t))break;e+=n,t.next()}else e+=n,t.next()}return e}function L(t){m(t);let e="",n="";while(e=T(t))n+=e;return t.currentChar()===ot&&h(6,o(),0),n}function F(t){m(t);let e="";return"-"===t.currentChar()?(t.next(),e+=`-${j(t)}`):e+=j(t),t.currentChar()===ot&&h(6,o(),0),e}function I(t){m(t),p(t,"'");let e="",n="";const r=t=>t!==st&&t!==et;while(e=P(t,r))n+="\\"===e?R(t):e;const i=t.currentChar();return i===et||i===ot?(h(2,o(),0),i===et&&(t.next(),p(t,"'")),n):(p(t,"'"),n)}function R(t){const e=t.currentChar();switch(e){case"\\":case"'":return t.next(),`\\${e}`;case"u":return N(t,e,4);case"U":return N(t,e,6);default:return h(3,o(),0,e),""}}function N(t,e,n){p(t,e);let r="";for(let i=0;i<n;i++){const n=E(t);if(!n){h(4,o(),0,`\\${e}${r}${t.currentChar()}`);break}r+=n}return`\\${e}${r}`}function W(t){m(t);let e="",n="";const r=t=>"{"!==t&&"}"!==t&&t!==K&&t!==et;while(e=P(t,r))n+=e;return n}function z(t){let e="",n="";while(e=T(t))n+=e;return n}function U(t){const e=(n=!1,r)=>{const i=t.currentChar();return"{"!==i&&"%"!==i&&"@"!==i&&"|"!==i&&i?i===K?r:i===et?(r+=i,t.next(),e(n,r)):(r+=i,t.next(),e(!0,r)):r};return e(!1,"")}function H(t){m(t);const e=p(t,"|");return m(t),e}function $(t,e){let n=null;const r=t.currentChar();switch(r){case"{":return e.braceNest>=1&&h(8,o(),0),t.next(),n=f(e,2,"{"),m(t),e.braceNest++,n;case"}":return e.braceNest>0&&2===e.currentType&&h(7,o(),0),t.next(),n=f(e,3,"}"),e.braceNest--,e.braceNest>0&&m(t),e.inLinked&&0===e.braceNest&&(e.inLinked=!1),n;case"@":return e.braceNest>0&&h(6,o(),0),n=B(t,e)||d(e),e.braceNest=0,n;default:let r=!0,i=!0,s=!0;if(O(t))return e.braceNest>0&&h(6,o(),0),n=f(e,1,H(t)),e.braceNest=0,e.inLinked=!1,n;if(e.braceNest>0&&(5===e.currentType||6===e.currentType||7===e.currentType))return h(6,o(),0),e.braceNest=0,V(t,e);if(r=y(t,e))return n=f(e,5,L(t)),m(t),n;if(i=x(t,e))return n=f(e,6,F(t)),m(t),n;if(s=_(t,e))return n=f(e,7,I(t)),m(t),n;if(!r&&!i&&!s)return n=f(e,13,W(t)),h(1,o(),0,n.value),m(t),n;break}return n}function B(t,e){const{currentType:n}=e;let r=null;const i=t.currentChar();switch(8!==n&&9!==n&&12!==n&&10!==n||i!==et&&i!==K||h(9,o(),0),i){case"@":return t.next(),r=f(e,8,"@"),e.inLinked=!0,r;case".":return m(t),t.next(),f(e,9,".");case":":return m(t),t.next(),f(e,10,":");default:return O(t)?(r=f(e,1,H(t)),e.braceNest=0,e.inLinked=!1,r):w(t,e)||M(t,e)?(m(t),B(t,e)):k(t,e)?(m(t),f(e,12,z(t))):S(t,e)?(m(t),"{"===i?$(t,e)||r:f(e,11,U(t))):(8===n&&h(9,o(),0),e.braceNest=0,e.inLinked=!1,V(t,e))}}function V(t,e){let n={type:14};if(e.braceNest>0)return $(t,e)||d(e);if(e.inLinked)return B(t,e)||d(e);const r=t.currentChar();switch(r){case"{":return $(t,e)||d(e);case"}":return h(5,o(),0),t.next(),f(e,3,"}");case"@":return B(t,e)||d(e);default:if(O(t))return n=f(e,1,H(t)),e.braceNest=0,e.inLinked=!1,n;if(C(t))return f(e,0,A(t));if("%"===r)return t.next(),f(e,4,"%");break}return n}function Y(){const{currentType:t,offset:e,startLoc:n,endLoc:s}=c;return c.lastType=t,c.lastOffset=e,c.lastStartLoc=n,c.lastEndLoc=s,c.offset=i(),c.startLoc=o(),r.currentChar()===ot?f(c,14):V(r,c)}return{nextToken:Y,currentOffset:i,currentPosition:o,context:l}}const lt="parser",ut=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function ht(t,e,n){switch(t){case"\\\\":return"\\";case"\\'":return"'";default:{const t=parseInt(e||n,16);return t<=55295||t>=57344?String.fromCodePoint(t):"<22>"}}}function ft(t={}){const e=!1!==t.location,{onError:n}=t;function r(t,e,r,i,...o){const s=t.currentPosition();if(s.offset+=i,s.column+=i,n){const t=Q(r,s),i=X(e,t,{domain:lt,args:o});n(i)}}function i(t,n,r){const i={type:t,start:n,end:n};return e&&(i.loc={start:r,end:r}),i}function o(t,n,r,i){t.end=n,i&&(t.type=i),e&&t.loc&&(t.loc.end=r)}function s(t,e){const n=t.context(),r=i(3,n.offset,n.startLoc);return r.value=e,o(r,t.currentOffset(),t.currentPosition()),r}function a(t,e){const n=t.context(),{lastOffset:r,lastStartLoc:s}=n,a=i(5,r,s);return a.index=parseInt(e,10),t.nextToken(),o(a,t.currentOffset(),t.currentPosition()),a}function c(t,e){const n=t.context(),{lastOffset:r,lastStartLoc:s}=n,a=i(4,r,s);return a.key=e,t.nextToken(),o(a,t.currentOffset(),t.currentPosition()),a}function l(t,e){const n=t.context(),{lastOffset:r,lastStartLoc:s}=n,a=i(9,r,s);return a.value=e.replace(ut,ht),t.nextToken(),o(a,t.currentOffset(),t.currentPosition()),a}function u(t){const e=t.nextToken(),n=t.context(),{lastOffset:s,lastStartLoc:a}=n,c=i(8,s,a);return 12!==e.type?(r(t,11,n.lastStartLoc,0),c.value="",o(c,s,a),{nextConsumeToken:e,node:c}):(null==e.value&&r(t,13,n.lastStartLoc,0,dt(e)),c.value=e.value||"",o(c,t.currentOffset(),t.currentPosition()),{node:c})}function h(t,e){const n=t.context(),r=i(7,n.offset,n.startLoc);return r.value=e,o(r,t.currentOffset(),t.currentPosition()),r}function d(t){const e=t.context(),n=i(6,e.offset,e.startLoc);let s=t.nextToken();if(9===s.type){const e=u(t);n.modifier=e.node,s=e.nextConsumeToken||t.nextToken()}switch(10!==s.type&&r(t,13,e.lastStartLoc,0,dt(s)),s=t.nextToken(),2===s.type&&(s=t.nextToken()),s.type){case 11:null==s.value&&r(t,13,e.lastStartLoc,0,dt(s)),n.key=h(t,s.value||"");break;case 5:null==s.value&&r(t,13,e.lastStartLoc,0,dt(s)),n.key=c(t,s.value||"");break;case 6:null==s.value&&r(t,13,e.lastStartLoc,0,dt(s)),n.key=a(t,s.value||"");break;case 7:null==s.value&&r(t,13,e.lastStartLoc,0,dt(s)),n.key=l(t,s.value||"");break;default:r(t,12,e.lastStartLoc,0);const u=t.context(),f=i(7,u.offset,u.startLoc);return f.value="",o(f,u.offset,u.startLoc),n.key=f,o(n,u.offset,u.startLoc),{nextConsumeToken:s,node:n}}return o(n,t.currentOffset(),t.currentPosition()),{node:n}}function p(t){const e=t.context(),n=1===e.currentType?t.currentOffset():e.offset,u=1===e.currentType?e.endLoc:e.startLoc,h=i(2,n,u);h.items=[];let f=null;do{const n=f||t.nextToken();switch(f=null,n.type){case 0:null==n.value&&r(t,13,e.lastStartLoc,0,dt(n)),h.items.push(s(t,n.value||""));break;case 6:null==n.value&&r(t,13,e.lastStartLoc,0,dt(n)),h.items.push(a(t,n.value||""));break;case 5:null==n.value&&r(t,13,e.lastStartLoc,0,dt(n)),h.items.push(c(t,n.value||""));break;case 7:null==n.value&&r(t,13,e.lastStartLoc,0,dt(n)),h.items.push(l(t,n.value||""));break;case 8:const i=d(t);h.items.push(i.node),f=i.nextConsumeToken||null;break}}while(14!==e.currentType&&1!==e.currentType);const p=1===e.currentType?e.lastOffset:t.currentOffset(),g=1===e.currentType?e.lastEndLoc:t.currentPosition();return o(h,p,g),h}function g(t,e,n,s){const a=t.context();let c=0===s.items.length;const l=i(1,e,n);l.cases=[],l.cases.push(s);do{const e=p(t);c||(c=0===e.items.length),l.cases.push(e)}while(14!==a.currentType);return c&&r(t,10,n,0),o(l,t.currentOffset(),t.currentPosition()),l}function m(t){const e=t.context(),{offset:n,startLoc:r}=e,i=p(t);return 14===e.currentType?i:g(t,n,r,i)}function b(n){const s=ct(n,f({},t)),a=s.context(),c=i(0,a.offset,a.startLoc);return e&&c.loc&&(c.loc.source=n),c.body=m(s),14!==a.currentType&&r(s,13,a.lastStartLoc,0,n[a.offset]||""),o(c,s.currentOffset(),s.currentPosition()),c}return{parse:b}}function dt(t){if(14===t.type)return"EOF";const e=(t.value||"").replace(/\r?\n/gu,"\\n");return e.length>10?e.slice(0,9)+"…":e}function pt(t,e={}){const n={ast:t,helpers:new Set},r=()=>n,i=t=>(n.helpers.add(t),t);return{context:r,helper:i}}function gt(t,e){for(let n=0;n<t.length;n++)mt(t[n],e)}function mt(t,e){switch(t.type){case 1:gt(t.cases,e),e.helper("plural");break;case 2:gt(t.items,e);break;case 6:const n=t;mt(n.key,e),e.helper("linked");break;case 5:e.helper("interpolate"),e.helper("list");break;case 4:e.helper("interpolate"),e.helper("named");break}}function bt(t,e={}){const n=pt(t);n.helper("normalize"),t.body&&mt(t.body,n);const r=n.context();t.helpers=Array.from(r.helpers)}function vt(t,e){const{sourceMap:n,filename:r,breakLineCode:i,needIndent:o}=e,s={source:t.loc.source,filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:o,indentLevel:0},a=()=>s;function c(t,e){s.code+=t}function l(t,e=!0){const n=e?i:"";c(o?n+" ".repeat(t):n)}function u(t=!0){const e=++s.indentLevel;t&&l(e)}function h(t=!0){const e=--s.indentLevel;t&&l(e)}function f(){l(s.indentLevel)}const d=t=>`_${t}`,p=()=>s.needIndent;return{context:a,push:c,indent:u,deindent:h,newline:f,helper:d,needIndent:p}}function yt(t,e){const{helper:n}=t;t.push(`${n("linked")}(`),kt(t,e.key),e.modifier&&(t.push(", "),kt(t,e.modifier)),t.push(")")}function xt(t,e){const{helper:n,needIndent:r}=t;t.push(`${n("normalize")}([`),t.indent(r());const i=e.items.length;for(let o=0;o<i;o++){if(kt(t,e.items[o]),o===i-1)break;t.push(", ")}t.deindent(r()),t.push("])")}function _t(t,e){const{helper:n,needIndent:r}=t;if(e.cases.length>1){t.push(`${n("plural")}([`),t.indent(r());const i=e.cases.length;for(let n=0;n<i;n++){if(kt(t,e.cases[n]),n===i-1)break;t.push(", ")}t.deindent(r()),t.push("])")}}function wt(t,e){e.body?kt(t,e.body):t.push("null")}function kt(t,e){const{helper:n}=t;switch(e.type){case 0:wt(t,e);break;case 1:_t(t,e);break;case 2:xt(t,e);break;case 6:yt(t,e);break;case 8:t.push(JSON.stringify(e.value),e);break;case 7:t.push(JSON.stringify(e.value),e);break;case 5:t.push(`${n("interpolate")}(${n("list")}(${e.index}))`,e);break;case 4:t.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(e.key)}))`,e);break;case 9:t.push(JSON.stringify(e.value),e);break;case 3:t.push(JSON.stringify(e.value),e);break;default:0}}const Mt=(t,e={})=>{const n=x(e.mode)?e.mode:"normal",r=x(e.filename)?e.filename:"message.intl",i=!!e.sourceMap,o=null!=e.breakLineCode?e.breakLineCode:"arrow"===n?";":"\n",s=e.needIndent?e.needIndent:"arrow"!==n,a=t.helpers||[],c=vt(t,{mode:n,filename:r,sourceMap:i,breakLineCode:o,needIndent:s});c.push("normal"===n?"function __msg__ (ctx) {":"(ctx) => {"),c.indent(s),a.length>0&&(c.push(`const { ${a.map((t=>`${t}: _${t}`)).join(", ")} } = ctx`),c.newline()),c.push("return "),kt(c,t),c.deindent(s),c.push("}");const{code:l,map:u}=c.context();return{ast:t,code:l,map:u?u.toJSON():void 0}};function St(t,e={}){const n=f({},e),r=ft(n),i=r.parse(t);return bt(i,n),Mt(i,n)}
/*!
* @intlify/devtools-if v9.1.10
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/
const Ot={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};
/*!
* @intlify/core-base v9.1.10
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/
let Ct=null;function Pt(t){Ct=t}function Tt(t,e,n){Ct&&Ct.emit(Ot.I18nInit,{timestamp:Date.now(),i18n:t,version:e,meta:n})}const Dt=Et(Ot.FunctionTranslate);function Et(t){return e=>Ct&&Ct.emit(t,e)}const jt="9.1.10",At=-1,Lt="";function Ft(){return{upper:t=>x(t)?t.toUpperCase():t,lower:t=>x(t)?t.toLowerCase():t,capitalize:t=>x(t)?`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`:t}}let It;function Rt(t){It=t}let Nt=null;const Wt=t=>{Nt=t},zt=()=>Nt;let Ut=0;function Ht(t={}){const e=x(t.version)?t.version:jt,n=x(t.locale)?t.locale:"en-US",r=v(t.fallbackLocale)||S(t.fallbackLocale)||x(t.fallbackLocale)||!1===t.fallbackLocale?t.fallbackLocale:n,i=S(t.messages)?t.messages:{[n]:{}},o=S(t.datetimeFormats)?t.datetimeFormats:{[n]:{}},s=S(t.numberFormats)?t.numberFormats:{[n]:{}},a=f({},t.modifiers||{},Ft()),c=t.pluralRules||{},u=y(t.missing)?t.missing:null,d=!_(t.missingWarn)&&!l(t.missingWarn)||t.missingWarn,p=!_(t.fallbackWarn)&&!l(t.fallbackWarn)||t.fallbackWarn,g=!!t.fallbackFormat,m=!!t.unresolving,b=y(t.postTranslation)?t.postTranslation:null,k=S(t.processor)?t.processor:null,M=!_(t.warnHtmlMessage)||t.warnHtmlMessage,O=!!t.escapeParameter,C=y(t.messageCompiler)?t.messageCompiler:It,P=y(t.onWarn)?t.onWarn:h,T=t,D=w(T.__datetimeFormatters)?T.__datetimeFormatters:new Map,E=w(T.__numberFormatters)?T.__numberFormatters:new Map,j=w(T.__meta)?T.__meta:{};Ut++;const A={version:e,cid:Ut,locale:n,fallbackLocale:r,messages:i,datetimeFormats:o,numberFormats:s,modifiers:a,pluralRules:c,missing:u,missingWarn:d,fallbackWarn:p,fallbackFormat:g,unresolving:m,postTranslation:b,processor:k,warnHtmlMessage:M,escapeParameter:O,messageCompiler:C,onWarn:P,__datetimeFormatters:D,__numberFormatters:E,__meta:j};return __INTLIFY_PROD_DEVTOOLS__&&Tt(A,e,j),A}function $t(t,e,n,r,i){const{missing:o,onWarn:s}=t;if(null!==o){const r=o(t,n,e,i);return x(r)?r:e}return e}function Bt(t,e,n){const r=t;r.__localeChainCache||(r.__localeChainCache=new Map);let i=r.__localeChainCache.get(n);if(!i){i=[];let t=[n];while(v(t))t=Vt(i,t,e);const o=v(e)?e:S(e)?e["default"]?e["default"]:null:e;t=x(o)?[o]:o,v(t)&&Vt(i,t,!1),r.__localeChainCache.set(n,i)}return i}function Vt(t,e,n){let r=!0;for(let i=0;i<e.length&&_(r);i++){const o=e[i];x(o)&&(r=Yt(t,e[i],n))}return r}function Yt(t,e,n){let r;const i=e.split("-");do{const e=i.join("-");r=Zt(t,e,n),i.splice(-1,1)}while(i.length&&!0===r);return r}function Zt(t,e,n){let r=!1;if(!t.includes(e)&&(r=!0,e)){r="!"!==e[e.length-1];const i=e.replace(/!/g,"");t.push(i),(v(n)||S(n))&&n[i]&&(r=n[i])}return r}function qt(t,e,n){const r=t;r.__localeChainCache=new Map,Bt(t,n,e)}const Xt=t=>t;let Gt=Object.create(null);function Jt(t,e={}){{const n=e.onCacheKey||Xt,r=n(t),i=Gt[r];if(i)return i;let o=!1;const s=e.onError||G;e.onError=t=>{o=!0,s(t)};const{code:a}=St(t,e),c=new Function(`return ${a}`)();return o?c:Gt[r]=c}}function Qt(t){return X(t,null,void 0)}const Kt=()=>"",te=t=>y(t);function ee(t,...e){const{fallbackFormat:n,postTranslation:r,unresolving:i,fallbackLocale:o,messages:s}=t,[a,c]=se(...e),l=_(c.missingWarn)?c.missingWarn:t.missingWarn,u=_(c.fallbackWarn)?c.fallbackWarn:t.fallbackWarn,h=_(c.escapeParameter)?c.escapeParameter:t.escapeParameter,d=!!c.resolvedMessage,p=x(c.default)||_(c.default)?_(c.default)?a:c.default:n?a:"",g=n||""!==p,m=x(c.locale)?c.locale:t.locale;h&&ne(c);let[b,v,y]=d?[a,m,s[m]||{}]:re(t,a,m,o,u,l),w=a;if(d||x(b)||te(b)||g&&(b=p,w=b),!d&&(!x(b)&&!te(b)||!x(v)))return i?At:a;let k=!1;const M=()=>{k=!0},S=te(b)?b:ie(t,a,v,b,w,M);if(k)return b;const O=ce(t,v,y,c),C=q(O),P=oe(t,S,C),T=r?r(P):P;if(__INTLIFY_PROD_DEVTOOLS__){const e={timestamp:Date.now(),key:x(a)?a:te(b)?b.key:"",locale:v||(te(b)?b.locale:""),format:x(b)?b:te(b)?b.source:"",message:T};e.meta=f({},t.__meta,zt()||{}),Dt(e)}return T}function ne(t){v(t.list)?t.list=t.list.map((t=>x(t)?g(t):t)):w(t.named)&&Object.keys(t.named).forEach((e=>{x(t.named[e])&&(t.named[e]=g(t.named[e]))}))}function re(t,e,n,r,i,o){const{messages:s,onWarn:a}=t,c=Bt(t,r,n);let l,u={},h=null,f=n,d=null;const p="translate";for(let g=0;g<c.length;g++){l=d=c[g],u=s[l]||{};if(null===(h=N(u,e))&&(h=u[e]),x(h)||y(h))break;const n=$t(t,e,l,o,p);n!==e&&(h=n),f=d}return[h,l,u]}function ie(t,e,n,r,i,o){const{messageCompiler:s,warnHtmlMessage:a}=t;if(te(r)){const t=r;return t.locale=t.locale||n,t.key=t.key||e,t}const c=s(r,ae(t,n,i,r,a,o));return c.locale=n,c.key=e,c.source=r,c}function oe(t,e,n){const r=e(n);return r}function se(...t){const[e,n,r]=t,i={};if(!x(e)&&!a(e)&&!te(e))throw Qt(14);const o=a(e)?String(e):(te(e),e);return a(n)?i.plural=n:x(n)?i.default=n:S(n)&&!u(n)?i.named=n:v(n)&&(i.list=n),a(r)?i.plural=r:x(r)?i.default=r:S(r)&&f(i,r),[o,i]}function ae(t,e,n,r,i,s){return{warnHtmlMessage:i,onError:t=>{throw s&&s(t),t},onCacheKey:t=>o(e,n,t)}}function ce(t,e,n,r){const{modifiers:i,pluralRules:o}=t,s=r=>{const i=N(n,r);if(x(i)){let n=!1;const o=()=>{n=!0},s=ie(t,r,e,i,r,o);return n?Kt:s}return te(i)?i:Kt},c={locale:e,modifiers:i,pluralRules:o,messages:s};return t.processor&&(c.processor=t.processor),r.list&&(c.list=r.list),r.named&&(c.named=r.named),a(r.plural)&&(c.pluralIndex=r.plural),c}const le="undefined"!==typeof Intl;le&&Intl.DateTimeFormat,le&&Intl.NumberFormat;function ue(t,...e){const{datetimeFormats:n,unresolving:r,fallbackLocale:i,onWarn:o}=t,{__datetimeFormatters:s}=t;const[a,c,l,h]=he(...e),d=_(l.missingWarn)?l.missingWarn:t.missingWarn,p=(_(l.fallbackWarn)?l.fallbackWarn:t.fallbackWarn,!!l.part),g=x(l.locale)?l.locale:t.locale,m=Bt(t,i,g);if(!x(a)||""===a)return new Intl.DateTimeFormat(g).format(c);let b,v={},y=null,w=g,k=null;const M="datetime format";for(let u=0;u<m.length;u++){if(b=k=m[u],v=n[b]||{},y=v[a],S(y))break;$t(t,a,b,d,M),w=k}if(!S(y)||!x(b))return r?At:a;let O=`${b}__${a}`;u(h)||(O=`${O}__${JSON.stringify(h)}`);let C=s.get(O);return C||(C=new Intl.DateTimeFormat(b,f({},y,h)),s.set(O,C)),p?C.formatToParts(c):C.format(c)}function he(...t){const[e,n,r,i]=t;let o,s={},l={};if(x(e)){if(!/\d{4}-\d{2}-\d{2}(T.*)?/.test(e))throw Qt(16);o=new Date(e);try{o.toISOString()}catch(u){throw Qt(16)}}else if(c(e)){if(isNaN(e.getTime()))throw Qt(15);o=e}else{if(!a(e))throw Qt(14);o=e}return x(n)?s.key=n:S(n)&&(s=n),x(r)?s.locale=r:S(r)&&(l=r),S(i)&&(l=i),[s.key||"",o,s,l]}function fe(t,e,n){const r=t;for(const i in n){const t=`${e}__${i}`;r.__datetimeFormatters.has(t)&&r.__datetimeFormatters.delete(t)}}function de(t,...e){const{numberFormats:n,unresolving:r,fallbackLocale:i,onWarn:o}=t,{__numberFormatters:s}=t;const[a,c,l,h]=pe(...e),d=_(l.missingWarn)?l.missingWarn:t.missingWarn,p=(_(l.fallbackWarn)?l.fallbackWarn:t.fallbackWarn,!!l.part),g=x(l.locale)?l.locale:t.locale,m=Bt(t,i,g);if(!x(a)||""===a)return new Intl.NumberFormat(g).format(c);let b,v={},y=null,w=g,k=null;const M="number format";for(let u=0;u<m.length;u++){if(b=k=m[u],v=n[b]||{},y=v[a],S(y))break;$t(t,a,b,d,M),w=k}if(!S(y)||!x(b))return r?At:a;let O=`${b}__${a}`;u(h)||(O=`${O}__${JSON.stringify(h)}`);let C=s.get(O);return C||(C=new Intl.NumberFormat(b,f({},y,h)),s.set(O,C)),p?C.formatToParts(c):C.format(c)}function pe(...t){const[e,n,r,i]=t;let o={},s={};if(!a(e))throw Qt(14);const c=e;return x(n)?o.key=n:S(n)&&(o=n),x(r)?o.locale=r:S(r)&&(s=r),S(i)&&(s=i),[o.key||"",c,o,s]}function ge(t,e,n){const r=t;for(const i in n){const t=`${e}__${i}`;r.__numberFormatters.has(t)&&r.__numberFormatters.delete(t)}}"boolean"!==typeof __INTLIFY_PROD_DEVTOOLS__&&(p().__INTLIFY_PROD_DEVTOOLS__=!1);var me=n(6252),be=n(2262);
/*!
* vue-i18n v9.1.10
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/
const ve="9.1.10";function ye(){"boolean"!==typeof __INTLIFY_PROD_DEVTOOLS__&&(p().__INTLIFY_PROD_DEVTOOLS__=!1)}function xe(t,...e){return X(t,null,void 0)}const _e="__INTLIFY_META__",we=i("__transrateVNode"),ke=i("__datetimeParts"),Me=i("__numberParts"),Se=(i("__enableEmitter"),i("__disableEmitter"),i("__setPluralRules"));i("__intlifyMeta");const Oe=i("__injectWithOption");let Ce=0;function Pe(t){return(e,n,r,i)=>t(n,r,(0,me.FN)()||void 0,i)}function Te(t,e){const{messages:n,__i18n:r}=e,i=S(n)?n:v(r)?{}:{[t]:{}};if(v(r)&&r.forEach((({locale:t,resource:e})=>{t?(i[t]=i[t]||{},Ee(e,i[t])):Ee(e,i)})),e.flatJson)for(const o in i)b(i,o)&&W(i[o]);return i}const De=t=>!w(t)||v(t);function Ee(t,e){if(De(t)||De(e))throw xe(20);for(const n in t)b(t,n)&&(De(t[n])||De(e[n])?e[n]=t[n]:Ee(t[n],e[n]))}const je=()=>{const t=(0,me.FN)();return t&&t.type[_e]?{[_e]:t.type[_e]}:null};function Ae(t={}){const{__root:e}=t,n=void 0===e;let r=!_(t.inheritLocale)||t.inheritLocale;const i=(0,be.iH)(e&&r?e.locale.value:x(t.locale)?t.locale:"en-US"),o=(0,be.iH)(e&&r?e.fallbackLocale.value:x(t.fallbackLocale)||v(t.fallbackLocale)||S(t.fallbackLocale)||!1===t.fallbackLocale?t.fallbackLocale:i.value),s=(0,be.iH)(Te(i.value,t)),c=(0,be.iH)(S(t.datetimeFormats)?t.datetimeFormats:{[i.value]:{}}),u=(0,be.iH)(S(t.numberFormats)?t.numberFormats:{[i.value]:{}});let h=e?e.missingWarn:!_(t.missingWarn)&&!l(t.missingWarn)||t.missingWarn,d=e?e.fallbackWarn:!_(t.fallbackWarn)&&!l(t.fallbackWarn)||t.fallbackWarn,p=e?e.fallbackRoot:!_(t.fallbackRoot)||t.fallbackRoot,g=!!t.fallbackFormat,m=y(t.missing)?t.missing:null,b=y(t.missing)?Pe(t.missing):null,k=y(t.postTranslation)?t.postTranslation:null,M=!_(t.warnHtmlMessage)||t.warnHtmlMessage,O=!!t.escapeParameter;const C=e?e.modifiers:S(t.modifiers)?t.modifiers:{};let P,T=t.pluralRules||e&&e.pluralRules;function D(){return Ht({version:ve,locale:i.value,fallbackLocale:o.value,messages:s.value,datetimeFormats:c.value,numberFormats:u.value,modifiers:C,pluralRules:T,missing:null===b?void 0:b,missingWarn:h,fallbackWarn:d,fallbackFormat:g,unresolving:!0,postTranslation:null===k?void 0:k,warnHtmlMessage:M,escapeParameter:O,__datetimeFormatters:S(P)?P.__datetimeFormatters:void 0,__numberFormatters:S(P)?P.__numberFormatters:void 0,__v_emitter:S(P)?P.__v_emitter:void 0,__meta:{framework:"vue"}})}function E(){return[i.value,o.value,s.value,c.value,u.value]}P=D(),qt(P,i.value,o.value);const j=(0,me.Fl)({get:()=>i.value,set:t=>{i.value=t,P.locale=i.value}}),A=(0,me.Fl)({get:()=>o.value,set:t=>{o.value=t,P.fallbackLocale=o.value,qt(P,i.value,t)}}),L=(0,me.Fl)((()=>s.value)),F=(0,me.Fl)((()=>c.value)),I=(0,me.Fl)((()=>u.value));function R(){return y(k)?k:null}function W(t){k=t,P.postTranslation=t}function z(){return m}function U(t){null!==t&&(b=Pe(t)),m=t,P.missing=b}function H(t,n,r,i,o,s){let c;if(E(),__INTLIFY_PROD_DEVTOOLS__)try{Wt(je()),c=t(P)}finally{Wt(null)}else c=t(P);if(a(c)&&c===At){const[t,r]=n();return e&&p?i(e):o(t)}if(s(c))return c;throw xe(14)}function $(...t){return H((e=>ee(e,...t)),(()=>se(...t)),"translate",(e=>e.t(...t)),(t=>t),(t=>x(t)))}function B(...t){const[e,n,r]=t;if(r&&!w(r))throw xe(15);return $(e,n,f({resolvedMessage:!0},r||{}))}function V(...t){return H((e=>ue(e,...t)),(()=>he(...t)),"datetime format",(e=>e.d(...t)),(()=>Lt),(t=>x(t)))}function Y(...t){return H((e=>de(e,...t)),(()=>pe(...t)),"number format",(e=>e.n(...t)),(()=>Lt),(t=>x(t)))}function Z(t){return t.map((t=>x(t)?(0,me.Wm)(me.xv,null,t,0):t))}const q=t=>t,X={normalize:Z,interpolate:q,type:"vnode"};function G(...t){return H((e=>{let n;const r=e;try{r.processor=X,n=ee(r,...t)}finally{r.processor=null}return n}),(()=>se(...t)),"translate",(e=>e[we](...t)),(t=>[(0,me.Wm)(me.xv,null,t,0)]),(t=>v(t)))}function J(...t){return H((e=>de(e,...t)),(()=>pe(...t)),"number format",(e=>e[Me](...t)),(()=>[]),(t=>x(t)||v(t)))}function Q(...t){return H((e=>ue(e,...t)),(()=>he(...t)),"datetime format",(e=>e[ke](...t)),(()=>[]),(t=>x(t)||v(t)))}function K(t){T=t,P.pluralRules=T}function tt(t,e){const n=x(e)?e:i.value,r=rt(n);return null!==N(r,t)}function et(t){let e=null;const n=Bt(P,o.value,i.value);for(let r=0;r<n.length;r++){const i=s.value[n[r]]||{},o=N(i,t);if(null!=o){e=o;break}}return e}function nt(t){const n=et(t);return null!=n?n:e&&e.tm(t)||{}}function rt(t){return s.value[t]||{}}function it(t,e){s.value[t]=e,P.messages=s.value}function ot(t,e){s.value[t]=s.value[t]||{},Ee(e,s.value[t]),P.messages=s.value}function st(t){return c.value[t]||{}}function at(t,e){c.value[t]=e,P.datetimeFormats=c.value,fe(P,t,e)}function ct(t,e){c.value[t]=f(c.value[t]||{},e),P.datetimeFormats=c.value,fe(P,t,e)}function lt(t){return u.value[t]||{}}function ut(t,e){u.value[t]=e,P.numberFormats=u.value,ge(P,t,e)}function ht(t,e){u.value[t]=f(u.value[t]||{},e),P.numberFormats=u.value,ge(P,t,e)}Ce++,e&&((0,me.YP)(e.locale,(t=>{r&&(i.value=t,P.locale=t,qt(P,i.value,o.value))})),(0,me.YP)(e.fallbackLocale,(t=>{r&&(o.value=t,P.fallbackLocale=t,qt(P,i.value,o.value))})));const ft={id:Ce,locale:j,fallbackLocale:A,get inheritLocale(){return r},set inheritLocale(t){r=t,t&&e&&(i.value=e.locale.value,o.value=e.fallbackLocale.value,qt(P,i.value,o.value))},get availableLocales(){return Object.keys(s.value).sort()},messages:L,datetimeFormats:F,numberFormats:I,get modifiers(){return C},get pluralRules(){return T||{}},get isGlobal(){return n},get missingWarn(){return h},set missingWarn(t){h=t,P.missingWarn=h},get fallbackWarn(){return d},set fallbackWarn(t){d=t,P.fallbackWarn=d},get fallbackRoot(){return p},set fallbackRoot(t){p=t},get fallbackFormat(){return g},set fallbackFormat(t){g=t,P.fallbackFormat=g},get warnHtmlMessage(){return M},set warnHtmlMessage(t){M=t,P.warnHtmlMessage=t},get escapeParameter(){return O},set escapeParameter(t){O=t,P.escapeParameter=t},t:$,rt:B,d:V,n:Y,te:tt,tm:nt,getLocaleMessage:rt,setLocaleMessage:it,mergeLocaleMessage:ot,getDateTimeFormat:st,setDateTimeFormat:at,mergeDateTimeFormat:ct,getNumberFormat:lt,setNumberFormat:ut,mergeNumberFormat:ht,getPostTranslationHandler:R,setPostTranslationHandler:W,getMissingHandler:z,setMissingHandler:U,[we]:G,[Me]:J,[ke]:Q,[Se]:K,[Oe]:t.__injectWithOption};return ft}function Le(t){const e=x(t.locale)?t.locale:"en-US",n=x(t.fallbackLocale)||v(t.fallbackLocale)||S(t.fallbackLocale)||!1===t.fallbackLocale?t.fallbackLocale:e,r=y(t.missing)?t.missing:void 0,i=!_(t.silentTranslationWarn)&&!l(t.silentTranslationWarn)||!t.silentTranslationWarn,o=!_(t.silentFallbackWarn)&&!l(t.silentFallbackWarn)||!t.silentFallbackWarn,s=!_(t.fallbackRoot)||t.fallbackRoot,a=!!t.formatFallbackMessages,c=S(t.modifiers)?t.modifiers:{},u=t.pluralizationRules,h=y(t.postTranslation)?t.postTranslation:void 0,d=!x(t.warnHtmlInMessage)||"off"!==t.warnHtmlInMessage,p=!!t.escapeParameterHtml,g=!_(t.sync)||t.sync;let m=t.messages;if(S(t.sharedMessages)){const e=t.sharedMessages,n=Object.keys(e);m=n.reduce(((t,n)=>{const r=t[n]||(t[n]={});return f(r,e[n]),t}),m||{})}const{__i18n:b,__root:w,__injectWithOption:k}=t,M=t.datetimeFormats,O=t.numberFormats,C=t.flatJson;return{locale:e,fallbackLocale:n,messages:m,flatJson:C,datetimeFormats:M,numberFormats:O,missing:r,missingWarn:i,fallbackWarn:o,fallbackRoot:s,fallbackFormat:a,modifiers:c,pluralRules:u,postTranslation:h,warnHtmlMessage:d,escapeParameter:p,inheritLocale:g,__i18n:b,__root:w,__injectWithOption:k}}function Fe(t={}){const e=Ae(Le(t)),n={id:e.id,get locale(){return e.locale.value},set locale(t){e.locale.value=t},get fallbackLocale(){return e.fallbackLocale.value},set fallbackLocale(t){e.fallbackLocale.value=t},get messages(){return e.messages.value},get datetimeFormats(){return e.datetimeFormats.value},get numberFormats(){return e.numberFormats.value},get availableLocales(){return e.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(t){},get missing(){return e.getMissingHandler()},set missing(t){e.setMissingHandler(t)},get silentTranslationWarn(){return _(e.missingWarn)?!e.missingWarn:e.missingWarn},set silentTranslationWarn(t){e.missingWarn=_(t)?!t:t},get silentFallbackWarn(){return _(e.fallbackWarn)?!e.fallbackWarn:e.fallbackWarn},set silentFallbackWarn(t){e.fallbackWarn=_(t)?!t:t},get modifiers(){return e.modifiers},get formatFallbackMessages(){return e.fallbackFormat},set formatFallbackMessages(t){e.fallbackFormat=t},get postTranslation(){return e.getPostTranslationHandler()},set postTranslation(t){e.setPostTranslationHandler(t)},get sync(){return e.inheritLocale},set sync(t){e.inheritLocale=t},get warnHtmlInMessage(){return e.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(t){e.warnHtmlMessage="off"!==t},get escapeParameterHtml(){return e.escapeParameter},set escapeParameterHtml(t){e.escapeParameter=t},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(t){},get pluralizationRules(){return e.pluralRules||{}},__composer:e,t(...t){const[n,r,i]=t,o={};let s=null,a=null;if(!x(n))throw xe(15);const c=n;return x(r)?o.locale=r:v(r)?s=r:S(r)&&(a=r),v(i)?s=i:S(i)&&(a=i),e.t(c,s||a||{},o)},rt(...t){return e.rt(...t)},tc(...t){const[n,r,i]=t,o={plural:1};let s=null,c=null;if(!x(n))throw xe(15);const l=n;return x(r)?o.locale=r:a(r)?o.plural=r:v(r)?s=r:S(r)&&(c=r),x(i)?o.locale=i:v(i)?s=i:S(i)&&(c=i),e.t(l,s||c||{},o)},te(t,n){return e.te(t,n)},tm(t){return e.tm(t)},getLocaleMessage(t){return e.getLocaleMessage(t)},setLocaleMessage(t,n){e.setLocaleMessage(t,n)},mergeLocaleMessage(t,n){e.mergeLocaleMessage(t,n)},d(...t){return e.d(...t)},getDateTimeFormat(t){return e.getDateTimeFormat(t)},setDateTimeFormat(t,n){e.setDateTimeFormat(t,n)},mergeDateTimeFormat(t,n){e.mergeDateTimeFormat(t,n)},n(...t){return e.n(...t)},getNumberFormat(t){return e.getNumberFormat(t)},setNumberFormat(t,n){e.setNumberFormat(t,n)},mergeNumberFormat(t,n){e.mergeNumberFormat(t,n)},getChoiceIndex(t,e){return-1},__onComponentInstanceCreated(e){const{componentInstanceCreatedListener:r}=t;r&&r(e,n)}};return n}const Ie={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>"parent"===t||"global"===t,default:"parent"},i18n:{type:Object}},Re={name:"i18n-t",props:f({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>a(t)||!isNaN(t)}},Ie),setup(t,e){const{slots:n,attrs:r}=e,i=t.i18n||Qe({useScope:t.scope,__useComponent:!0}),o=Object.keys(n).filter((t=>"_"!==t));return()=>{const n={};t.locale&&(n.locale=t.locale),void 0!==t.plural&&(n.plural=x(t.plural)?+t.plural:t.plural);const s=Ne(e,o),a=i[we](t.keypath,s,n),c=f({},r);return x(t.tag)||w(t.tag)?(0,me.h)(t.tag,c,a):(0,me.h)(me.HY,c,a)}}};function Ne({slots:t},e){return 1===e.length&&"default"===e[0]?t.default?t.default():[]:e.reduce(((e,n)=>{const r=t[n];return r&&(e[n]=r()),e}),{})}function We(t,e,n,r){const{slots:i,attrs:o}=e;return()=>{const e={part:!0};let s={};t.locale&&(e.locale=t.locale),x(t.format)?e.key=t.format:w(t.format)&&(x(t.format.key)&&(e.key=t.format.key),s=Object.keys(t.format).reduce(((e,r)=>n.includes(r)?f({},e,{[r]:t.format[r]}):e),{}));const a=r(t.value,e,s);let c=[e.key];v(a)?c=a.map(((t,e)=>{const n=i[t.type];return n?n({[t.type]:t.value,index:e,parts:a}):[t.value]})):x(a)&&(c=[a]);const l=f({},o);return x(t.tag)||w(t.tag)?(0,me.h)(t.tag,l,c):(0,me.h)(me.HY,l,c)}}const ze=["localeMatcher","style","unit","unitDisplay","currency","currencyDisplay","useGrouping","numberingSystem","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","notation","formatMatcher"],Ue={name:"i18n-n",props:f({value:{type:Number,required:!0},format:{type:[String,Object]}},Ie),setup(t,e){const n=t.i18n||Qe({useScope:"parent",__useComponent:!0});return We(t,e,ze,((...t)=>n[Me](...t)))}},He=["dateStyle","timeStyle","fractionalSecondDigits","calendar","dayPeriod","numberingSystem","localeMatcher","timeZone","hour12","hourCycle","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"],$e={name:"i18n-d",props:f({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ie),setup(t,e){const n=t.i18n||Qe({useScope:"parent",__useComponent:!0});return We(t,e,He,((...t)=>n[ke](...t)))}};function Be(t,e){const n=t;if("composition"===t.mode)return n.__getInstance(e)||t.global;{const r=n.__getInstance(e);return null!=r?r.__composer:t.global.__composer}}function Ve(t){const e=(e,{instance:n,value:r,modifiers:i})=>{if(!n||!n.$)throw xe(22);const o=Be(t,n.$);const s=Ye(r);e.textContent=o.t(...Ze(s))};return{beforeMount:e,beforeUpdate:e}}function Ye(t){if(x(t))return{path:t};if(S(t)){if(!("path"in t))throw xe(19,"path");return t}throw xe(20)}function Ze(t){const{path:e,locale:n,args:r,choice:i,plural:o}=t,s={},c=r||{};return x(n)&&(s.locale=n),a(i)&&(s.plural=i),a(o)&&(s.plural=o),[e,c,s]}function qe(t,e,...n){const r=S(n[0])?n[0]:{},i=!!r.useI18nComponentName,o=!_(r.globalInstall)||r.globalInstall;o&&(t.component(i?"i18n":Re.name,Re),t.component(Ue.name,Ue),t.component($e.name,$e)),t.directive("t",Ve(e))}function Xe(t,e,n){return{beforeCreate(){const r=(0,me.FN)();if(!r)throw xe(22);const i=this.$options;if(i.i18n){const n=i.i18n;i.__i18n&&(n.__i18n=i.__i18n),n.__root=e,this===this.$root?this.$i18n=Ge(t,n):(n.__injectWithOption=!0,this.$i18n=Fe(n))}else i.__i18n?this===this.$root?this.$i18n=Ge(t,i):this.$i18n=Fe({__i18n:i.__i18n,__injectWithOption:!0,__root:e}):this.$i18n=t;t.__onComponentInstanceCreated(this.$i18n),n.__setInstance(r,this.$i18n),this.$t=(...t)=>this.$i18n.t(...t),this.$rt=(...t)=>this.$i18n.rt(...t),this.$tc=(...t)=>this.$i18n.tc(...t),this.$te=(t,e)=>this.$i18n.te(t,e),this.$d=(...t)=>this.$i18n.d(...t),this.$n=(...t)=>this.$i18n.n(...t),this.$tm=t=>this.$i18n.tm(t)},mounted(){0},beforeUnmount(){const t=(0,me.FN)();if(!t)throw xe(22);delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,n.__deleteInstance(t),delete this.$i18n}}}function Ge(t,e){t.locale=e.locale||t.locale,t.fallbackLocale=e.fallbackLocale||t.fallbackLocale,t.missing=e.missing||t.missing,t.silentTranslationWarn=e.silentTranslationWarn||t.silentFallbackWarn,t.silentFallbackWarn=e.silentFallbackWarn||t.silentFallbackWarn,t.formatFallbackMessages=e.formatFallbackMessages||t.formatFallbackMessages,t.postTranslation=e.postTranslation||t.postTranslation,t.warnHtmlInMessage=e.warnHtmlInMessage||t.warnHtmlInMessage,t.escapeParameterHtml=e.escapeParameterHtml||t.escapeParameterHtml,t.sync=e.sync||t.sync,t.__composer[Se](e.pluralizationRules||t.pluralizationRules);const n=Te(t.locale,{messages:e.messages,__i18n:e.__i18n});return Object.keys(n).forEach((e=>t.mergeLocaleMessage(e,n[e]))),e.datetimeFormats&&Object.keys(e.datetimeFormats).forEach((n=>t.mergeDateTimeFormat(n,e.datetimeFormats[n]))),e.numberFormats&&Object.keys(e.numberFormats).forEach((n=>t.mergeNumberFormat(n,e.numberFormats[n]))),t}function Je(t={}){const e=!_(t.legacy)||t.legacy,n=!!t.globalInjection,r=new Map,o=e?Fe(t):Ae(t),s=i(""),a={get mode(){return e?"legacy":"composition"},async install(t,...r){t.__VUE_I18N_SYMBOL__=s,t.provide(t.__VUE_I18N_SYMBOL__,a),!e&&n&&rn(t,a.global),qe(t,a,...r),e&&t.mixin(Xe(o,o.__composer,a))},get global(){return o},__instances:r,__getInstance(t){return r.get(t)||null},__setInstance(t,e){r.set(t,e)},__deleteInstance(t){r.delete(t)}};return a}function Qe(t={}){const e=(0,me.FN)();if(null==e)throw xe(16);if(!e.appContext.app.__VUE_I18N_SYMBOL__)throw xe(17);const n=(0,me.f3)(e.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw xe(22);const r="composition"===n.mode?n.global:n.global.__composer,i=u(t)?"__i18n"in e.type?"local":"global":t.useScope?t.useScope:"local";if("global"===i){let n=w(t.messages)?t.messages:{};"__i18nGlobal"in e.type&&(n=Te(r.locale.value,{messages:n,__i18n:e.type.__i18nGlobal}));const i=Object.keys(n);if(i.length&&i.forEach((t=>{r.mergeLocaleMessage(t,n[t])})),w(t.datetimeFormats)){const e=Object.keys(t.datetimeFormats);e.length&&e.forEach((e=>{r.mergeDateTimeFormat(e,t.datetimeFormats[e])}))}if(w(t.numberFormats)){const e=Object.keys(t.numberFormats);e.length&&e.forEach((e=>{r.mergeNumberFormat(e,t.numberFormats[e])}))}return r}if("parent"===i){let i=Ke(n,e,t.__useComponent);return null==i&&(i=r),i}if("legacy"===n.mode)throw xe(18);const o=n;let s=o.__getInstance(e);if(null==s){const n=e.type,i=f({},t);n.__i18n&&(i.__i18n=n.__i18n),r&&(i.__root=r),s=Ae(i),tn(o,e,s),o.__setInstance(e,s)}return s}function Ke(t,e,n=!1){let r=null;const i=e.root;let o=e.parent;while(null!=o){const e=t;if("composition"===t.mode)r=e.__getInstance(o);else{const t=e.__getInstance(o);null!=t&&(r=t.__composer),n&&r&&!r[Oe]&&(r=null)}if(null!=r)break;if(i===o)break;o=o.parent}return r}function tn(t,e,n){(0,me.bv)((()=>{0}),e),(0,me.Ah)((()=>{t.__deleteInstance(e)}),e)}const en=["locale","fallbackLocale","availableLocales"],nn=["t","rt","d","n","tm"];function rn(t,e){const n=Object.create(null);en.forEach((t=>{const r=Object.getOwnPropertyDescriptor(e,t);if(!r)throw xe(22);const i=(0,be.dq)(r.value)?{get(){return r.value.value},set(t){r.value.value=t}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,t,i)})),t.config.globalProperties.$i18n=n,nn.forEach((n=>{const r=Object.getOwnPropertyDescriptor(e,n);if(!r||!r.value)throw xe(22);Object.defineProperty(t.config.globalProperties,`$${n}`,r)}))}if(Rt(Jt),ye(),__INTLIFY_PROD_DEVTOOLS__){const t=p();t.__INTLIFY__=!0,Pt(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}},3744:function(t,e){"use strict";e.Z=(t,e)=>{const n=t.__vccOpts||t;for(const[r,i]of e)n[r]=i;return n}},2119:function(t,e,n){"use strict";n.d(e,{PO:function(){return V},p7:function(){return ne},tv:function(){return oe},yj:function(){return se}});var r=n(6252),i=n(2262);
/*!
* vue-router v4.0.16
* (c) 2022 Eduardo San Martin Morote
* @license MIT
*/
const o="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag,s=t=>o?Symbol(t):"_vr_"+t,a=s("rvlm"),c=s("rvd"),l=s("r"),u=s("rl"),h=s("rvl"),f="undefined"!==typeof window;function d(t){return t.__esModule||o&&"Module"===t[Symbol.toStringTag]}const p=Object.assign;function g(t,e){const n={};for(const r in e){const i=e[r];n[r]=Array.isArray(i)?i.map(t):t(i)}return n}const m=()=>{};const b=/\/$/,v=t=>t.replace(b,"");function y(t,e,n="/"){let r,i={},o="",s="";const a=e.indexOf("?"),c=e.indexOf("#",a>-1?a:0);return a>-1&&(r=e.slice(0,a),o=e.slice(a+1,c>-1?c:e.length),i=t(o)),c>-1&&(r=r||e.slice(0,c),s=e.slice(c,e.length)),r=C(null!=r?r:e,n),{fullPath:r+(o&&"?")+o+s,path:r,query:i,hash:s}}function x(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function _(t,e){return e&&t.toLowerCase().startsWith(e.toLowerCase())?t.slice(e.length)||"/":t}function w(t,e,n){const r=e.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&k(e.matched[r],n.matched[i])&&M(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function k(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function M(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!S(t[n],e[n]))return!1;return!0}function S(t,e){return Array.isArray(t)?O(t,e):Array.isArray(e)?O(e,t):t===e}function O(t,e){return Array.isArray(e)?t.length===e.length&&t.every(((t,n)=>t===e[n])):1===t.length&&t[0]===e}function C(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),r=t.split("/");let i,o,s=n.length-1;for(i=0;i<r.length;i++)if(o=r[i],1!==s&&"."!==o){if(".."!==o)break;s--}return n.slice(0,s).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var P,T;(function(t){t["pop"]="pop",t["push"]="push"})(P||(P={})),function(t){t["back"]="back",t["forward"]="forward",t["unknown"]=""}(T||(T={}));function D(t){if(!t)if(f){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return"/"!==t[0]&&"#"!==t[0]&&(t="/"+t),v(t)}const E=/^[^#]+#/;function j(t,e){return t.replace(E,"#")+e}function A(t,e){const n=document.documentElement.getBoundingClientRect(),r=t.getBoundingClientRect();return{behavior:e.behavior,left:r.left-n.left-(e.left||0),top:r.top-n.top-(e.top||0)}}const L=()=>({left:window.pageXOffset,top:window.pageYOffset});function F(t){let e;if("el"in t){const n=t.el,r="string"===typeof n&&n.startsWith("#");0;const i="string"===typeof n?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;e=A(i,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(null!=e.left?e.left:window.pageXOffset,null!=e.top?e.top:window.pageYOffset)}function I(t,e){const n=history.state?history.state.position-e:-1;return n+t}const R=new Map;function N(t,e){R.set(t,e)}function W(t){const e=R.get(t);return R.delete(t),e}let z=()=>location.protocol+"//"+location.host;function U(t,e){const{pathname:n,search:r,hash:i}=e,o=t.indexOf("#");if(o>-1){let e=i.includes(t.slice(o))?t.slice(o).length:1,n=i.slice(e);return"/"!==n[0]&&(n="/"+n),_(n,"")}const s=_(n,t);return s+r+i}function H(t,e,n,r){let i=[],o=[],s=null;const a=({state:o})=>{const a=U(t,location),c=n.value,l=e.value;let u=0;if(o){if(n.value=a,e.value=o,s&&s===c)return void(s=null);u=l?o.position-l.position:0}else r(a);i.forEach((t=>{t(n.value,c,{delta:u,type:P.pop,direction:u?u>0?T.forward:T.back:T.unknown})}))};function c(){s=n.value}function l(t){i.push(t);const e=()=>{const e=i.indexOf(t);e>-1&&i.splice(e,1)};return o.push(e),e}function u(){const{history:t}=window;t.state&&t.replaceState(p({},t.state,{scroll:L()}),"")}function h(){for(const t of o)t();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u),{pauseListeners:c,listen:l,destroy:h}}function $(t,e,n,r=!1,i=!1){return{back:t,current:e,forward:n,replaced:r,position:window.history.length,scroll:i?L():null}}function B(t){const{history:e,location:n}=window,r={value:U(t,n)},i={value:e.state};function o(r,o,s){const a=t.indexOf("#"),c=a>-1?(n.host&&document.querySelector("base")?t:t.slice(a))+r:z()+t+r;try{e[s?"replaceState":"pushState"](o,"",c),i.value=o}catch(l){console.error(l),n[s?"replace":"assign"](c)}}function s(t,n){const s=p({},e.state,$(i.value.back,t,i.value.forward,!0),n,{position:i.value.position});o(t,s,!0),r.value=t}function a(t,n){const s=p({},i.value,e.state,{forward:t,scroll:L()});o(s.current,s,!0);const a=p({},$(r.value,t,null),{position:s.position+1},n);o(t,a,!1),r.value=t}return i.value||o(r.value,{back:null,current:r.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0),{location:r,state:i,push:a,replace:s}}function V(t){t=D(t);const e=B(t),n=H(t,e.state,e.location,e.replace);function r(t,e=!0){e||n.pauseListeners(),history.go(t)}const i=p({location:"",base:t,go:r,createHref:j.bind(null,t)},e,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>e.state.value}),i}function Y(t){return"string"===typeof t||t&&"object"===typeof t}function Z(t){return"string"===typeof t||"symbol"===typeof t}const q={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},X=s("nf");var G;(function(t){t[t["aborted"]=4]="aborted",t[t["cancelled"]=8]="cancelled",t[t["duplicated"]=16]="duplicated"})(G||(G={}));function J(t,e){return p(new Error,{type:t,[X]:!0},e)}function Q(t,e){return t instanceof Error&&X in t&&(null==e||!!(t.type&e))}const K="[^/]+?",tt={sensitive:!1,strict:!1,start:!0,end:!0},et=/[.+*?^${}()[\]/\\]/g;function nt(t,e){const n=p({},tt,e),r=[];let i=n.start?"^":"";const o=[];for(const u of t){const t=u.length?[]:[90];n.strict&&!u.length&&(i+="/");for(let e=0;e<u.length;e++){const r=u[e];let s=40+(n.sensitive?.25:0);if(0===r.type)e||(i+="/"),i+=r.value.replace(et,"\\$&"),s+=40;else if(1===r.type){const{value:t,repeatable:n,optional:a,regexp:c}=r;o.push({name:t,repeatable:n,optional:a});const h=c||K;if(h!==K){s+=10;try{new RegExp(`(${h})`)}catch(l){throw new Error(`Invalid custom RegExp for param "${t}" (${h}): `+l.message)}}let f=n?`((?:${h})(?:/(?:${h}))*)`:`(${h})`;e||(f=a&&u.length<2?`(?:/${f})`:"/"+f),a&&(f+="?"),i+=f,s+=20,a&&(s+=-8),n&&(s+=-20),".*"===h&&(s+=-50)}t.push(s)}r.push(t)}if(n.strict&&n.end){const t=r.length-1;r[t][r[t].length-1]+=.7000000000000001}n.strict||(i+="/?"),n.end?i+="$":n.strict&&(i+="(?:/|$)");const s=new RegExp(i,n.sensitive?"":"i");function a(t){const e=t.match(s),n={};if(!e)return null;for(let r=1;r<e.length;r++){const t=e[r]||"",i=o[r-1];n[i.name]=t&&i.repeatable?t.split("/"):t}return n}function c(e){let n="",r=!1;for(const i of t){r&&n.endsWith("/")||(n+="/"),r=!1;for(const o of i)if(0===o.type)n+=o.value;else if(1===o.type){const{value:s,repeatable:a,optional:c}=o,l=s in e?e[s]:"";if(Array.isArray(l)&&!a)throw new Error(`Provided param "${s}" is an array but it is not repeatable (* or + modifiers)`);const u=Array.isArray(l)?l.join("/"):l;if(!u){if(!c)throw new Error(`Missing required param "${s}"`);i.length<2&&t.length>1&&(n.endsWith("/")?n=n.slice(0,-1):r=!0)}n+=u}}return n}return{re:s,score:r,keys:o,parse:a,stringify:c}}function rt(t,e){let n=0;while(n<t.length&&n<e.length){const r=e[n]-t[n];if(r)return r;n++}return t.length<e.length?1===t.length&&80===t[0]?-1:1:t.length>e.length?1===e.length&&80===e[0]?1:-1:0}function it(t,e){let n=0;const r=t.score,i=e.score;while(n<r.length&&n<i.length){const t=rt(r[n],i[n]);if(t)return t;n++}if(1===Math.abs(i.length-r.length)){if(ot(r))return 1;if(ot(i))return-1}return i.length-r.length}function ot(t){const e=t[t.length-1];return t.length>0&&e[e.length-1]<0}const st={type:0,value:""},at=/[a-zA-Z0-9_]/;function ct(t){if(!t)return[[]];if("/"===t)return[[st]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(t){throw new Error(`ERR (${n})/"${l}": ${t}`)}let n=0,r=n;const i=[];let o;function s(){o&&i.push(o),o=[]}let a,c=0,l="",u="";function h(){l&&(0===n?o.push({type:0,value:l}):1===n||2===n||3===n?(o.length>1&&("*"===a||"+"===a)&&e(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:l,regexp:u,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):e("Invalid state to consume buffer"),l="")}function f(){l+=a}while(c<t.length)if(a=t[c++],"\\"!==a||2===n)switch(n){case 0:"/"===a?(l&&h(),s()):":"===a?(h(),n=1):f();break;case 4:f(),n=r;break;case 1:"("===a?n=2:at.test(a)?f():(h(),n=0,"*"!==a&&"?"!==a&&"+"!==a&&c--);break;case 2:")"===a?"\\"==u[u.length-1]?u=u.slice(0,-1)+a:n=3:u+=a;break;case 3:h(),n=0,"*"!==a&&"?"!==a&&"+"!==a&&c--,u="";break;default:e("Unknown state");break}else r=n,n=4;return 2===n&&e(`Unfinished custom RegExp for param "${l}"`),h(),s(),i}function lt(t,e,n){const r=nt(ct(t.path),n);const i=p(r,{record:t,parent:e,children:[],alias:[]});return e&&!i.record.aliasOf===!e.record.aliasOf&&e.children.push(i),i}function ut(t,e){const n=[],r=new Map;function i(t){return r.get(t)}function o(t,n,r){const i=!r,a=ft(t);a.aliasOf=r&&r.record;const l=mt(e,t),u=[a];if("alias"in t){const e="string"===typeof t.alias?[t.alias]:t.alias;for(const t of e)u.push(p({},a,{components:r?r.record.components:a.components,path:t,aliasOf:r?r.record:a}))}let h,f;for(const e of u){const{path:u}=e;if(n&&"/"!==u[0]){const t=n.record.path,r="/"===t[t.length-1]?"":"/";e.path=n.record.path+(u&&r+u)}if(h=lt(e,n,l),r?r.alias.push(h):(f=f||h,f!==h&&f.alias.push(h),i&&t.name&&!pt(h)&&s(t.name)),"children"in a){const t=a.children;for(let e=0;e<t.length;e++)o(t[e],h,r&&r.children[e])}r=r||h,c(h)}return f?()=>{s(f)}:m}function s(t){if(Z(t)){const e=r.get(t);e&&(r.delete(t),n.splice(n.indexOf(e),1),e.children.forEach(s),e.alias.forEach(s))}else{const e=n.indexOf(t);e>-1&&(n.splice(e,1),t.record.name&&r.delete(t.record.name),t.children.forEach(s),t.alias.forEach(s))}}function a(){return n}function c(t){let e=0;while(e<n.length&&it(t,n[e])>=0&&(t.record.path!==n[e].record.path||!bt(t,n[e])))e++;n.splice(e,0,t),t.record.name&&!pt(t)&&r.set(t.record.name,t)}function l(t,e){let i,o,s,a={};if("name"in t&&t.name){if(i=r.get(t.name),!i)throw J(1,{location:t});s=i.record.name,a=p(ht(e.params,i.keys.filter((t=>!t.optional)).map((t=>t.name))),t.params),o=i.stringify(a)}else if("path"in t)o=t.path,i=n.find((t=>t.re.test(o))),i&&(a=i.parse(o),s=i.record.name);else{if(i=e.name?r.get(e.name):n.find((t=>t.re.test(e.path))),!i)throw J(1,{location:t,currentLocation:e});s=i.record.name,a=p({},e.params,t.params),o=i.stringify(a)}const c=[];let l=i;while(l)c.unshift(l.record),l=l.parent;return{name:s,path:o,params:a,matched:c,meta:gt(c)}}return e=mt({strict:!1,end:!0,sensitive:!1},e),t.forEach((t=>o(t))),{addRoute:o,resolve:l,removeRoute:s,getRoutes:a,getRecordMatcher:i}}function ht(t,e){const n={};for(const r of e)r in t&&(n[r]=t[r]);return n}function ft(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:dt(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||{}:{default:t.component}}}function dt(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const r in t.components)e[r]="boolean"===typeof n?n:n[r];return e}function pt(t){while(t){if(t.record.aliasOf)return!0;t=t.parent}return!1}function gt(t){return t.reduce(((t,e)=>p(t,e.meta)),{})}function mt(t,e){const n={};for(const r in t)n[r]=r in e?e[r]:t[r];return n}function bt(t,e){return e.children.some((e=>e===t||bt(t,e)))}const vt=/#/g,yt=/&/g,xt=/\//g,_t=/=/g,wt=/\?/g,kt=/\+/g,Mt=/%5B/g,St=/%5D/g,Ot=/%5E/g,Ct=/%60/g,Pt=/%7B/g,Tt=/%7C/g,Dt=/%7D/g,Et=/%20/g;function jt(t){return encodeURI(""+t).replace(Tt,"|").replace(Mt,"[").replace(St,"]")}function At(t){return jt(t).replace(Pt,"{").replace(Dt,"}").replace(Ot,"^")}function Lt(t){return jt(t).replace(kt,"%2B").replace(Et,"+").replace(vt,"%23").replace(yt,"%26").replace(Ct,"`").replace(Pt,"{").replace(Dt,"}").replace(Ot,"^")}function Ft(t){return Lt(t).replace(_t,"%3D")}function It(t){return jt(t).replace(vt,"%23").replace(wt,"%3F")}function Rt(t){return null==t?"":It(t).replace(xt,"%2F")}function Nt(t){try{return decodeURIComponent(""+t)}catch(e){}return""+t}function Wt(t){const e={};if(""===t||"?"===t)return e;const n="?"===t[0],r=(n?t.slice(1):t).split("&");for(let i=0;i<r.length;++i){const t=r[i].replace(kt," "),n=t.indexOf("="),o=Nt(n<0?t:t.slice(0,n)),s=n<0?null:Nt(t.slice(n+1));if(o in e){let t=e[o];Array.isArray(t)||(t=e[o]=[t]),t.push(s)}else e[o]=s}return e}function zt(t){let e="";for(let n in t){const r=t[n];if(n=Ft(n),null==r){void 0!==r&&(e+=(e.length?"&":"")+n);continue}const i=Array.isArray(r)?r.map((t=>t&&Lt(t))):[r&&Lt(r)];i.forEach((t=>{void 0!==t&&(e+=(e.length?"&":"")+n,null!=t&&(e+="="+t))}))}return e}function Ut(t){const e={};for(const n in t){const r=t[n];void 0!==r&&(e[n]=Array.isArray(r)?r.map((t=>null==t?null:""+t)):null==r?r:""+r)}return e}function Ht(){let t=[];function e(e){return t.push(e),()=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)}}function n(){t=[]}return{add:e,list:()=>t,reset:n}}function $t(t,e,n,r,i){const o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise(((s,a)=>{const c=t=>{!1===t?a(J(4,{from:n,to:e})):t instanceof Error?a(t):Y(t)?a(J(2,{from:e,to:t})):(o&&r.enterCallbacks[i]===o&&"function"===typeof t&&o.push(t),s())},l=t.call(r&&r.instances[i],e,n,c);let u=Promise.resolve(l);t.length<3&&(u=u.then(c)),u.catch((t=>a(t)))}))}function Bt(t,e,n,r){const i=[];for(const o of t)for(const t in o.components){let s=o.components[t];if("beforeRouteEnter"===e||o.instances[t])if(Vt(s)){const a=s.__vccOpts||s,c=a[e];c&&i.push($t(c,n,r,o,t))}else{let a=s();0,i.push((()=>a.then((i=>{if(!i)return Promise.reject(new Error(`Couldn't resolve component "${t}" at "${o.path}"`));const s=d(i)?i.default:i;o.components[t]=s;const a=s.__vccOpts||s,c=a[e];return c&&$t(c,n,r,o,t)()}))))}}return i}function Vt(t){return"object"===typeof t||"displayName"in t||"props"in t||"__vccOpts"in t}function Yt(t){const e=(0,r.f3)(l),n=(0,r.f3)(u),o=(0,r.Fl)((()=>e.resolve((0,i.SU)(t.to)))),s=(0,r.Fl)((()=>{const{matched:t}=o.value,{length:e}=t,r=t[e-1],i=n.matched;if(!r||!i.length)return-1;const s=i.findIndex(k.bind(null,r));if(s>-1)return s;const a=Jt(t[e-2]);return e>1&&Jt(r)===a&&i[i.length-1].path!==a?i.findIndex(k.bind(null,t[e-2])):s})),a=(0,r.Fl)((()=>s.value>-1&&Gt(n.params,o.value.params))),c=(0,r.Fl)((()=>s.value>-1&&s.value===n.matched.length-1&&M(n.params,o.value.params)));function h(n={}){return Xt(n)?e[(0,i.SU)(t.replace)?"replace":"push"]((0,i.SU)(t.to)).catch(m):Promise.resolve()}return{route:o,href:(0,r.Fl)((()=>o.value.href)),isActive:a,isExactActive:c,navigate:h}}const Zt=(0,r.aZ)({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:Yt,setup(t,{slots:e}){const n=(0,i.qj)(Yt(t)),{options:o}=(0,r.f3)(l),s=(0,r.Fl)((()=>({[Qt(t.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Qt(t.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const i=e.default&&e.default(n);return t.custom?i:(0,r.h)("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},i)}}}),qt=Zt;function Xt(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&(void 0===t.button||0===t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function Gt(t,e){for(const n in e){const r=e[n],i=t[n];if("string"===typeof r){if(r!==i)return!1}else if(!Array.isArray(i)||i.length!==r.length||r.some(((t,e)=>t!==i[e])))return!1}return!0}function Jt(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Qt=(t,e,n)=>null!=t?t:null!=e?e:n,Kt=(0,r.aZ)({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const o=(0,r.f3)(h),s=(0,r.Fl)((()=>t.route||o.value)),l=(0,r.f3)(c,0),u=(0,r.Fl)((()=>s.value.matched[l]));(0,r.JJ)(c,l+1),(0,r.JJ)(a,u),(0,r.JJ)(h,s);const f=(0,i.iH)();return(0,r.YP)((()=>[f.value,u.value,t.name]),(([t,e,n],[r,i,o])=>{e&&(e.instances[n]=t,i&&i!==e&&t&&t===r&&(e.leaveGuards.size||(e.leaveGuards=i.leaveGuards),e.updateGuards.size||(e.updateGuards=i.updateGuards))),!t||!e||i&&k(e,i)&&r||(e.enterCallbacks[n]||[]).forEach((e=>e(t)))}),{flush:"post"}),()=>{const i=s.value,o=u.value,a=o&&o.components[t.name],c=t.name;if(!a)return te(n.default,{Component:a,route:i});const l=o.props[t.name],h=l?!0===l?i.params:"function"===typeof l?l(i):l:null,d=t=>{t.component.isUnmounted&&(o.instances[c]=null)},g=(0,r.h)(a,p({},h,e,{onVnodeUnmounted:d,ref:f}));return te(n.default,{Component:g,route:i})||g}}});function te(t,e){if(!t)return null;const n=t(e);return 1===n.length?n[0]:n}const ee=Kt;function ne(t){const e=ut(t.routes,t),n=t.parseQuery||Wt,o=t.stringifyQuery||zt,s=t.history;const a=Ht(),c=Ht(),d=Ht(),b=(0,i.XI)(q);let v=q;f&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const _=g.bind(null,(t=>""+t)),k=g.bind(null,Rt),M=g.bind(null,Nt);function S(t,n){let r,i;return Z(t)?(r=e.getRecordMatcher(t),i=n):i=t,e.addRoute(i,r)}function O(t){const n=e.getRecordMatcher(t);n&&e.removeRoute(n)}function C(){return e.getRoutes().map((t=>t.record))}function T(t){return!!e.getRecordMatcher(t)}function D(t,r){if(r=p({},r||b.value),"string"===typeof t){const i=y(n,t,r.path),o=e.resolve({path:i.path},r),a=s.createHref(i.fullPath);return p(i,o,{params:M(o.params),hash:Nt(i.hash),redirectedFrom:void 0,href:a})}let i;if("path"in t)i=p({},t,{path:y(n,t.path,r.path).path});else{const e=p({},t.params);for(const t in e)null==e[t]&&delete e[t];i=p({},t,{params:k(t.params)}),r.params=k(r.params)}const a=e.resolve(i,r),c=t.hash||"";a.params=_(M(a.params));const l=x(o,p({},t,{hash:At(c),path:a.path})),u=s.createHref(l);return p({fullPath:l,hash:c,query:o===zt?Ut(t.query):t.query||{}},a,{redirectedFrom:void 0,href:u})}function E(t){return"string"===typeof t?y(n,t,b.value.path):p({},t)}function j(t,e){if(v!==t)return J(8,{from:e,to:t})}function A(t){return U(t)}function R(t){return A(p(E(t),{replace:!0}))}function z(t){const e=t.matched[t.matched.length-1];if(e&&e.redirect){const{redirect:n}=e;let r="function"===typeof n?n(t):n;return"string"===typeof r&&(r=r.includes("?")||r.includes("#")?r=E(r):{path:r},r.params={}),p({query:t.query,hash:t.hash,params:t.params},r)}}function U(t,e){const n=v=D(t),r=b.value,i=t.state,s=t.force,a=!0===t.replace,c=z(n);if(c)return U(p(E(c),{state:i,force:s,replace:a}),e||n);const l=n;let u;return l.redirectedFrom=e,!s&&w(o,r,n)&&(u=J(16,{to:l,from:r}),it(r,r,!0,!1)),(u?Promise.resolve(u):$(l,r)).catch((t=>Q(t)?Q(t,2)?t:rt(t):et(t,l,r))).then((t=>{if(t){if(Q(t,2))return U(p(E(t.to),{state:i,force:s,replace:a}),e||l)}else t=V(l,r,!0,a,i);return B(l,r,t),t}))}function H(t,e){const n=j(t,e);return n?Promise.reject(n):Promise.resolve()}function $(t,e){let n;const[r,i,o]=ie(t,e);n=Bt(r.reverse(),"beforeRouteLeave",t,e);for(const a of r)a.leaveGuards.forEach((r=>{n.push($t(r,t,e))}));const s=H.bind(null,t,e);return n.push(s),re(n).then((()=>{n=[];for(const r of a.list())n.push($t(r,t,e));return n.push(s),re(n)})).then((()=>{n=Bt(i,"beforeRouteUpdate",t,e);for(const r of i)r.updateGuards.forEach((r=>{n.push($t(r,t,e))}));return n.push(s),re(n)})).then((()=>{n=[];for(const r of t.matched)if(r.beforeEnter&&!e.matched.includes(r))if(Array.isArray(r.beforeEnter))for(const i of r.beforeEnter)n.push($t(i,t,e));else n.push($t(r.beforeEnter,t,e));return n.push(s),re(n)})).then((()=>(t.matched.forEach((t=>t.enterCallbacks={})),n=Bt(o,"beforeRouteEnter",t,e),n.push(s),re(n)))).then((()=>{n=[];for(const r of c.list())n.push($t(r,t,e));return n.push(s),re(n)})).catch((t=>Q(t,8)?t:Promise.reject(t)))}function B(t,e,n){for(const r of d.list())r(t,e,n)}function V(t,e,n,r,i){const o=j(t,e);if(o)return o;const a=e===q,c=f?history.state:{};n&&(r||a?s.replace(t.fullPath,p({scroll:a&&c&&c.scroll},i)):s.push(t.fullPath,i)),b.value=t,it(t,e,n,a),rt()}let Y;function X(){Y||(Y=s.listen(((t,e,n)=>{const r=D(t),i=z(r);if(i)return void U(p(i,{replace:!0}),r).catch(m);v=r;const o=b.value;f&&N(I(o.fullPath,n.delta),L()),$(r,o).catch((t=>Q(t,12)?t:Q(t,2)?(U(t.to,r).then((t=>{Q(t,20)&&!n.delta&&n.type===P.pop&&s.go(-1,!1)})).catch(m),Promise.reject()):(n.delta&&s.go(-n.delta,!1),et(t,r,o)))).then((t=>{t=t||V(r,o,!1),t&&(n.delta?s.go(-n.delta,!1):n.type===P.pop&&Q(t,20)&&s.go(-1,!1)),B(r,o,t)})).catch(m)})))}let G,K=Ht(),tt=Ht();function et(t,e,n){rt(t);const r=tt.list();return r.length?r.forEach((r=>r(t,e,n))):console.error(t),Promise.reject(t)}function nt(){return G&&b.value!==q?Promise.resolve():new Promise(((t,e)=>{K.add([t,e])}))}function rt(t){return G||(G=!t,X(),K.list().forEach((([e,n])=>t?n(t):e())),K.reset()),t}function it(e,n,i,o){const{scrollBehavior:s}=t;if(!f||!s)return Promise.resolve();const a=!i&&W(I(e.fullPath,0))||(o||!i)&&history.state&&history.state.scroll||null;return(0,r.Y3)().then((()=>s(e,n,a))).then((t=>t&&F(t))).catch((t=>et(t,e,n)))}const ot=t=>s.go(t);let st;const at=new Set,ct={currentRoute:b,addRoute:S,removeRoute:O,hasRoute:T,getRoutes:C,resolve:D,options:t,push:A,replace:R,go:ot,back:()=>ot(-1),forward:()=>ot(1),beforeEach:a.add,beforeResolve:c.add,afterEach:d.add,onError:tt.add,isReady:nt,install(t){const e=this;t.component("RouterLink",qt),t.component("RouterView",ee),t.config.globalProperties.$router=e,Object.defineProperty(t.config.globalProperties,"$route",{enumerable:!0,get:()=>(0,i.SU)(b)}),f&&!st&&b.value===q&&(st=!0,A(s.location).catch((t=>{0})));const n={};for(const i in q)n[i]=(0,r.Fl)((()=>b.value[i]));t.provide(l,e),t.provide(u,(0,i.qj)(n)),t.provide(h,b);const o=t.unmount;at.add(t),t.unmount=function(){at.delete(t),at.size<1&&(v=q,Y&&Y(),Y=null,b.value=q,st=!1,G=!1),o()}}};return ct}function re(t){return t.reduce(((t,e)=>t.then((()=>e()))),Promise.resolve())}function ie(t,e){const n=[],r=[],i=[],o=Math.max(e.matched.length,t.matched.length);for(let s=0;s<o;s++){const o=e.matched[s];o&&(t.matched.find((t=>k(t,o)))?r.push(o):n.push(o));const a=t.matched[s];a&&(e.matched.find((t=>k(t,a)))||i.push(a))}return[n,r,i]}function oe(){return(0,r.f3)(l)}function se(){return(0,r.f3)(u)}},3907:function(t,e,n){"use strict";n.d(e,{MT:function(){return et},oR:function(){return b}});var r=n(6252),i=n(2262);function o(){return s().__VUE_DEVTOOLS_GLOBAL_HOOK__}function s(){return"undefined"!==typeof navigator&&"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{}}const a="function"===typeof Proxy,c="devtools-plugin:setup",l="plugin:settings:set";let u,h;function f(){var t;return void 0!==u||("undefined"!==typeof window&&window.performance?(u=!0,h=window.performance):"undefined"!==typeof n.g&&(null===(t=n.g.perf_hooks)||void 0===t?void 0:t.performance)?(u=!0,h=n.g.perf_hooks.performance):u=!1),u}function d(){return f()?h.now():Date.now()}class p{constructor(t,e){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=e;const n={};if(t.settings)for(const s in t.settings){const e=t.settings[s];n[s]=e.defaultValue}const r=`__vue-devtools-plugin-settings__${t.id}`;let i=Object.assign({},n);try{const t=localStorage.getItem(r),e=JSON.parse(t);Object.assign(i,e)}catch(o){}this.fallbacks={getSettings(){return i},setSettings(t){try{localStorage.setItem(r,JSON.stringify(t))}catch(o){}i=t},now(){return d()}},e&&e.on(l,((t,e)=>{t===this.plugin.id&&this.fallbacks.setSettings(e)})),this.proxiedOn=new Proxy({},{get:(t,e)=>this.target?this.target.on[e]:(...t)=>{this.onQueue.push({method:e,args:t})}}),this.proxiedTarget=new Proxy({},{get:(t,e)=>this.target?this.target[e]:"on"===e?this.proxiedOn:Object.keys(this.fallbacks).includes(e)?(...t)=>(this.targetQueue.push({method:e,args:t,resolve:()=>{}}),this.fallbacks[e](...t)):(...t)=>new Promise((n=>{this.targetQueue.push({method:e,args:t,resolve:n})}))})}async setRealTarget(t){this.target=t;for(const e of this.onQueue)this.target.on[e.method](...e.args);for(const e of this.targetQueue)e.resolve(await this.target[e.method](...e.args))}}function g(t,e){const n=t,r=s(),i=o(),l=a&&n.enableEarlyProxy;if(!i||!r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&&l){const t=l?new p(n,i):null,o=r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[];o.push({pluginDescriptor:n,setupFn:e,proxy:t}),t&&e(t.proxiedTarget)}else i.emit(c,t,e)}
/*!
* vuex v4.0.2
* (c) 2021 Evan You
* @license MIT
*/
var m="store";function b(t){return void 0===t&&(t=null),(0,r.f3)(null!==t?t:m)}function v(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function y(t){return null!==t&&"object"===typeof t}function x(t){return t&&"function"===typeof t.then}function _(t,e){return function(){return t(e)}}function w(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function k(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;S(t,n,[],t._modules.root,!0),M(t,n,e)}function M(t,e,n){var r=t._state;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,s={};v(o,(function(e,n){s[n]=_(e,t),Object.defineProperty(t.getters,n,{get:function(){return s[n]()},enumerable:!0})})),t._state=(0,i.qj)({data:e}),t.strict&&E(t),r&&n&&t._withCommit((function(){r.data=null}))}function S(t,e,n,r,i){var o=!n.length,s=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[s],t._modulesNamespaceMap[s]=r),!o&&!i){var a=j(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit((function(){a[c]=r.state}))}var l=r.context=O(t,s,n);r.forEachMutation((function(e,n){var r=s+n;P(t,r,e,l)})),r.forEachAction((function(e,n){var r=e.root?n:s+n,i=e.handler||e;T(t,r,i,l)})),r.forEachGetter((function(e,n){var r=s+n;D(t,r,e,l)})),r.forEachChild((function(r,o){S(t,e,n.concat(o),r,i)}))}function O(t,e,n){var r=""===e,i={dispatch:r?t.dispatch:function(n,r,i){var o=A(n,r,i),s=o.payload,a=o.options,c=o.type;return a&&a.root||(c=e+c),t.dispatch(c,s)},commit:r?t.commit:function(n,r,i){var o=A(n,r,i),s=o.payload,a=o.options,c=o.type;a&&a.root||(c=e+c),t.commit(c,s,a)}};return Object.defineProperties(i,{getters:{get:r?function(){return t.getters}:function(){return C(t,e)}},state:{get:function(){return j(t.state,n)}}}),i}function C(t,e){if(!t._makeLocalGettersCache[e]){var n={},r=e.length;Object.keys(t.getters).forEach((function(i){if(i.slice(0,r)===e){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return t.getters[i]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function P(t,e,n,r){var i=t._mutations[e]||(t._mutations[e]=[]);i.push((function(e){n.call(t,r.state,e)}))}function T(t,e,n,r){var i=t._actions[e]||(t._actions[e]=[]);i.push((function(e){var i=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e);return x(i)||(i=Promise.resolve(i)),t._devtoolHook?i.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):i}))}function D(t,e,n,r){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)})}function E(t){(0,r.YP)((function(){return t._state.data}),(function(){0}),{deep:!0,flush:"sync"})}function j(t,e){return e.reduce((function(t,e){return t[e]}),t)}function A(t,e,n){return y(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}var L="vuex bindings",F="vuex:mutations",I="vuex:actions",R="vuex",N=0;function W(t,e){g({id:"org.vuejs.vuex",app:t,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[L]},(function(n){n.addTimelineLayer({id:F,label:"Vuex Mutations",color:z}),n.addTimelineLayer({id:I,label:"Vuex Actions",color:z}),n.addInspector({id:R,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree((function(n){if(n.app===t&&n.inspectorId===R)if(n.filter){var r=[];Y(r,e._modules.root,n.filter,""),n.rootNodes=r}else n.rootNodes=[V(e._modules.root,"")]})),n.on.getInspectorState((function(n){if(n.app===t&&n.inspectorId===R){var r=n.nodeId;C(e,r),n.state=Z(X(e._modules,r),"root"===r?e.getters:e._makeLocalGettersCache,r)}})),n.on.editInspectorState((function(n){if(n.app===t&&n.inspectorId===R){var r=n.nodeId,i=n.path;"root"!==r&&(i=r.split("/").filter(Boolean).concat(i)),e._withCommit((function(){n.set(e._state.data,i,n.state.value)}))}})),e.subscribe((function(t,e){var r={};t.payload&&(r.payload=t.payload),r.state=e,n.notifyComponentUpdate(),n.sendInspectorTree(R),n.sendInspectorState(R),n.addTimelineEvent({layerId:F,event:{time:Date.now(),title:t.type,data:r}})})),e.subscribeAction({before:function(t,e){var r={};t.payload&&(r.payload=t.payload),t._id=N++,t._time=Date.now(),r.state=e,n.addTimelineEvent({layerId:I,event:{time:t._time,title:t.type,groupId:t._id,subtitle:"start",data:r}})},after:function(t,e){var r={},i=Date.now()-t._time;r.duration={_custom:{type:"duration",display:i+"ms",tooltip:"Action duration",value:i}},t.payload&&(r.payload=t.payload),r.state=e,n.addTimelineEvent({layerId:I,event:{time:Date.now(),title:t.type,groupId:t._id,subtitle:"end",data:r}})}})}))}var z=8702998,U=6710886,H=16777215,$={label:"namespaced",textColor:H,backgroundColor:U};function B(t){return t&&"root"!==t?t.split("/").slice(-2,-1)[0]:"Root"}function V(t,e){return{id:e||"root",label:B(e),tags:t.namespaced?[$]:[],children:Object.keys(t._children).map((function(n){return V(t._children[n],e+n+"/")}))}}function Y(t,e,n,r){r.includes(n)&&t.push({id:r||"root",label:r.endsWith("/")?r.slice(0,r.length-1):r||"Root",tags:e.namespaced?[$]:[]}),Object.keys(e._children).forEach((function(i){Y(t,e._children[i],n,r+i+"/")}))}function Z(t,e,n){e="root"===n?e:e[n];var r=Object.keys(e),i={state:Object.keys(t.state).map((function(e){return{key:e,editable:!0,value:t.state[e]}}))};if(r.length){var o=q(e);i.getters=Object.keys(o).map((function(t){return{key:t.endsWith("/")?B(t):t,editable:!1,value:G((function(){return o[t]}))}}))}return i}function q(t){var e={};return Object.keys(t).forEach((function(n){var r=n.split("/");if(r.length>1){var i=e,o=r.pop();r.forEach((function(t){i[t]||(i[t]={_custom:{value:{},display:t,tooltip:"Module",abstract:!0}}),i=i[t]._custom.value})),i[o]=G((function(){return t[n]}))}else e[n]=G((function(){return t[n]}))})),e}function X(t,e){var n=e.split("/").filter((function(t){return t}));return n.reduce((function(t,r,i){var o=t[r];if(!o)throw new Error('Missing module "'+r+'" for path "'+e+'".');return i===n.length-1?o:o._children}),"root"===e?t:t.root._children)}function G(t){try{return t()}catch(e){return e}}var J=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"===typeof n?n():n)||{}},Q={namespaced:{configurable:!0}};Q.namespaced.get=function(){return!!this._rawModule.namespaced},J.prototype.addChild=function(t,e){this._children[t]=e},J.prototype.removeChild=function(t){delete this._children[t]},J.prototype.getChild=function(t){return this._children[t]},J.prototype.hasChild=function(t){return t in this._children},J.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},J.prototype.forEachChild=function(t){v(this._children,t)},J.prototype.forEachGetter=function(t){this._rawModule.getters&&v(this._rawModule.getters,t)},J.prototype.forEachAction=function(t){this._rawModule.actions&&v(this._rawModule.actions,t)},J.prototype.forEachMutation=function(t){this._rawModule.mutations&&v(this._rawModule.mutations,t)},Object.defineProperties(J.prototype,Q);var K=function(t){this.register([],t,!1)};function tt(t,e,n){if(e.update(n),n.modules)for(var r in n.modules){if(!e.getChild(r))return void 0;tt(t.concat(r),e.getChild(r),n.modules[r])}}K.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},K.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")}),"")},K.prototype.update=function(t){tt([],this.root,t)},K.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=new J(e,n);if(0===t.length)this.root=i;else{var o=this.get(t.slice(0,-1));o.addChild(t[t.length-1],i)}e.modules&&v(e.modules,(function(e,i){r.register(t.concat(i),e,n)}))},K.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],r=e.getChild(n);r&&r.runtime&&e.removeChild(n)},K.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};function et(t){return new nt(t)}var nt=function(t){var e=this;void 0===t&&(t={});var n=t.plugins;void 0===n&&(n=[]);var r=t.strict;void 0===r&&(r=!1);var i=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new K(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._devtools=i;var o=this,s=this,a=s.dispatch,c=s.commit;this.dispatch=function(t,e){return a.call(o,t,e)},this.commit=function(t,e,n){return c.call(o,t,e,n)},this.strict=r;var l=this._modules.root.state;S(this,l,[],this._modules.root),M(this,l),n.forEach((function(t){return t(e)}))},rt={state:{configurable:!0}};nt.prototype.install=function(t,e){t.provide(e||m,this),t.config.globalProperties.$store=this;var n=void 0!==this._devtools&&this._devtools;n&&W(t,this)},rt.state.get=function(){return this._state.data},rt.state.set=function(t){0},nt.prototype.commit=function(t,e,n){var r=this,i=A(t,e,n),o=i.type,s=i.payload,a=(i.options,{type:o,payload:s}),c=this._mutations[o];c&&(this._withCommit((function(){c.forEach((function(t){t(s)}))})),this._subscribers.slice().forEach((function(t){return t(a,r.state)})))},nt.prototype.dispatch=function(t,e){var n=this,r=A(t,e),i=r.type,o=r.payload,s={type:i,payload:o},a=this._actions[i];if(a){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(s,n.state)}))}catch(l){0}var c=a.length>1?Promise.all(a.map((function(t){return t(o)}))):a[0](o);return new Promise((function(t,e){c.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(s,n.state)}))}catch(l){0}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(s,n.state,t)}))}catch(l){0}e(t)}))}))}},nt.prototype.subscribe=function(t,e){return w(t,this._subscribers,e)},nt.prototype.subscribeAction=function(t,e){var n="function"===typeof t?{before:t}:t;return w(n,this._actionSubscribers,e)},nt.prototype.watch=function(t,e,n){var i=this;return(0,r.YP)((function(){return t(i.state,i.getters)}),e,Object.assign({},n))},nt.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._state.data=t}))},nt.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),S(this,this.state,t,this._modules.get(t),n.preserveState),M(this,this.state)},nt.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=j(e.state,t.slice(0,-1));delete n[t[t.length-1]]})),k(this)},nt.prototype.hasModule=function(t){return"string"===typeof t&&(t=[t]),this._modules.isRegistered(t)},nt.prototype.hotUpdate=function(t){this._modules.update(t),k(this,!0)},nt.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(nt.prototype,rt);st((function(t,e){var n={};return it(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=at(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"===typeof i?i.call(this,e,n):e[i]},n[r].vuex=!0})),n})),st((function(t,e){var n={};return it(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var r=this.$store.commit;if(t){var o=at(this.$store,"mapMutations",t);if(!o)return;r=o.context.commit}return"function"===typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n})),st((function(t,e){var n={};return it(e).forEach((function(e){var r=e.key,i=e.val;i=t+i,n[r]=function(){if(!t||at(this.$store,"mapGetters",t))return this.$store.getters[i]},n[r].vuex=!0})),n})),st((function(t,e){var n={};return it(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var o=at(this.$store,"mapActions",t);if(!o)return;r=o.context.dispatch}return"function"===typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n}));function it(t){return ot(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function ot(t){return Array.isArray(t)||y(t)}function st(t){return function(e,n){return"string"!==typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function at(t,e,n){var r=t._modulesNamespaceMap[n];return r}},5721:function(t,e){"use strict";function n(t,e,n,r,i,o,s){var a=new Date(0);return a.setUTCFullYear(t,e,n),a.setUTCHours(r,i,o,s),a}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=n,t.exports=e.default},5855:function(t,e){"use strict";function n(t,e,n){var s=o(t,n.timeZone,n.locale);return s.formatToParts?r(s,e):i(s,e)}function r(t,e){var n=t.formatToParts(e);return n[n.length-1].value}function i(t,e){var n=t.format(e).replace(/\u200E/g,""),r=/ [\w-+ ]+$/.exec(n);return r?r[0].substr(1):""}function o(t,e,n){if(n&&!n.code)throw new Error("date-fns-tz error: Please set a language code on the locale object imported from date-fns, e.g. `locale.code = 'en-US'`");return new Intl.DateTimeFormat(n?[n.code,"en-US"]:void 0,{timeZone:e,timeZoneName:t})}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=n,t.exports=e.default},2734:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=l;var r=o(n(2712)),i=o(n(5721));function o(t){return t&&t.__esModule?t:{default:t}}var s=36e5,a=6e4,c={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-]\d{2}):?(\d{2})$/};function l(t,e,n){var r,i,o;if(""===t)return 0;if(r=c.timezoneZ.exec(t),r)return 0;if(r=c.timezoneHH.exec(t),r)return o=parseInt(r[1],10),d(o)?-o*s:NaN;if(r=c.timezoneHHMM.exec(t),r){o=parseInt(r[1],10);var l=parseInt(r[2],10);return d(o,l)?(i=Math.abs(o)*s+l*a,o>0?-i:i):NaN}if(g(t)){e=new Date(e||Date.now());var p=n?e:u(e),m=h(p,t),b=n?m:f(e,m,t);return-b}return NaN}function u(t){return(0,i.default)(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds())}function h(t,e){var n=(0,r.default)(t,e),o=(0,i.default)(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0).getTime(),s=t.getTime(),a=s%1e3;return s-=a>=0?a:1e3+a,o-s}function f(t,e,n){var r=t.getTime(),i=r-e,o=h(new Date(i),n);if(e===o)return e;i-=o-e;var s=h(new Date(i),n);return o===s?o:Math.max(o,s)}function d(t,e){return-23<=t&&t<=23&&(null==e||0<=e&&e<=59)}var p={};function g(t){if(p[t])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:t}),p[t]=!0,!0}catch(e){return!1}}t.exports=e.default},7048:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,r=n;e["default"]=r,t.exports=e.default},2712:function(t,e){"use strict";function n(t,e){var n=a(e);return n.formatToParts?i(n,t):o(n,t)}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=n;var r={year:0,month:1,day:2,hour:3,minute:4,second:5};function i(t,e){try{for(var n=t.formatToParts(e),i=[],o=0;o<n.length;o++){var s=r[n[o].type];s>=0&&(i[s]=parseInt(n[o].value,10))}return i}catch(a){if(a instanceof RangeError)return[NaN];throw a}}function o(t,e){var n=t.format(e).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[r[3],r[1],r[2],r[4],r[5],r[6]]}var s={};function a(t){if(!s[t]){var e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),n="06/25/2014, 00:00:00"===e||"06/25/2014 00:00:00"===e;s[t]=n?new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return s[t]}t.exports=e.default},3826:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var r=o(n(5855)),i=o(n(2734));function o(t){return t&&t.__esModule?t:{default:t}}var s=6e4,a={X:function(t,e,n,r){var i=c(r.timeZone,r._originalDate||t);if(0===i)return"Z";switch(e){case"X":return h(i);case"XXXX":case"XX":return u(i);case"XXXXX":case"XXX":default:return u(i,":")}},x:function(t,e,n,r){var i=c(r.timeZone,r._originalDate||t);switch(e){case"x":return h(i);case"xxxx":case"xx":return u(i);case"xxxxx":case"xxx":default:return u(i,":")}},O:function(t,e,n,r){var i=c(r.timeZone,r._originalDate||t);switch(e){case"O":case"OO":case"OOO":return"GMT"+f(i,":");case"OOOO":default:return"GMT"+u(i,":")}},z:function(t,e,n,i){var o=i._originalDate||t;switch(e){case"z":case"zz":case"zzz":return(0,r.default)("short",o,i);case"zzzz":default:return(0,r.default)("long",o,i)}}};function c(t,e){var n=t?(0,i.default)(t,e,!0)/s:e.getTimezoneOffset();if(Number.isNaN(n))throw new RangeError("Invalid time zone specified: "+t);return n}function l(t,e){var n=t<0?"-":"",r=Math.abs(t).toString();while(r.length<e)r="0"+r;return n+r}function u(t,e){var n=e||"",r=t>0?"-":"+",i=Math.abs(t),o=l(Math.floor(i/60),2),s=l(Math.floor(i%60),2);return r+o+n+s}function h(t,e){if(t%60===0){var n=t>0?"-":"+";return n+l(Math.abs(t)/60,2)}return u(t,e)}function f(t,e){var n=t>0?"-":"+",r=Math.abs(t),i=Math.floor(r/60),o=r%60;if(0===o)return n+String(i);var s=e||"";return n+String(i)+s+l(o,2)}var d=a;e["default"]=d,t.exports=e.default},2012:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=c;var r=s(n(5616)),i=s(n(3826)),o=s(n(1476));function s(t){return t&&t.__esModule?t:{default:t}}var a=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function c(t,e,n){var s=String(e),c=n||{},l=s.match(a);if(l){var u=(0,o.default)(t,c);s=l.reduce((function(t,e){if("'"===e[0])return t;var n=t.indexOf(e),r="'"===t[n-1],o=t.replace(e,"'"+i.default[e[0]](u,e,null,c)+"'");return r?o.substring(0,n-1)+o.substring(n+1):o}),s)}return(0,r.default)(t,s,c)}t.exports=e.default},6645:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=a;var r=s(n(6420)),i=s(n(2012)),o=s(n(1132));function s(t){return t&&t.__esModule?t:{default:t}}function a(t,e,n,s){var a=(0,r.default)(s);return a.timeZone=e,(0,i.default)((0,o.default)(t,e),n,a)}t.exports=e.default},4992:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=o;var r=i(n(2734));function i(t){return t&&t.__esModule?t:{default:t}}function o(t,e){return-(0,r.default)(t,e)}t.exports=e.default},722:function(t,e,n){"use strict";t.exports={format:n(2012),formatInTimeZone:n(6645),getTimezoneOffset:n(4992),toDate:n(1476),utcToZonedTime:n(1132),zonedTimeToUtc:n(8516)}},1476:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=f;var r=a(n(2084)),i=a(n(3561)),o=a(n(2734)),s=a(n(7048));function a(t){return t&&t.__esModule?t:{default:t}}var c=36e5,l=6e4,u=2,h={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:s.default};function f(t,e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===t)return new Date(NaN);var n=e||{},s=null==n.additionalDigits?u:(0,r.default)(n.additionalDigits);if(2!==s&&1!==s&&0!==s)throw new RangeError("additionalDigits must be 0, 1 or 2");if(t instanceof Date||"object"===typeof t&&"[object Date]"===Object.prototype.toString.call(t))return new Date(t.getTime());if("number"===typeof t||"[object Number]"===Object.prototype.toString.call(t))return new Date(t);if("string"!==typeof t&&"[object String]"!==Object.prototype.toString.call(t))return new Date(NaN);var a=d(t),c=p(a.date,s),l=c.year,h=c.restDateString,f=g(h,l);if(isNaN(f))return new Date(NaN);if(f){var b,v=f.getTime(),y=0;if(a.time&&(y=m(a.time),isNaN(y)))return new Date(NaN);if(a.timeZone||n.timeZone){if(b=(0,o.default)(a.timeZone||n.timeZone,new Date(v+y)),isNaN(b))return new Date(NaN)}else b=(0,i.default)(new Date(v+y)),b=(0,i.default)(new Date(v+y+b));return new Date(v+y+b)}return new Date(NaN)}function d(t){var e,n={},r=h.dateTimePattern.exec(t);if(r?(n.date=r[1],e=r[3]):(r=h.datePattern.exec(t),r?(n.date=r[1],e=r[2]):(n.date=null,e=t)),e){var i=h.timeZone.exec(e);i?(n.time=e.replace(i[1],""),n.timeZone=i[1].trim()):n.time=e}return n}function p(t,e){var n,r=h.YYY[e],i=h.YYYYY[e];if(n=h.YYYY.exec(t)||i.exec(t),n){var o=n[1];return{year:parseInt(o,10),restDateString:t.slice(o.length)}}if(n=h.YY.exec(t)||r.exec(t),n){var s=n[1];return{year:100*parseInt(s,10),restDateString:t.slice(s.length)}}return{year:null}}function g(t,e){if(null===e)return null;var n,r,i,o;if(0===t.length)return r=new Date(0),r.setUTCFullYear(e),r;if(n=h.MM.exec(t),n)return r=new Date(0),i=parseInt(n[1],10)-1,_(e,i)?(r.setUTCFullYear(e,i),r):new Date(NaN);if(n=h.DDD.exec(t),n){r=new Date(0);var s=parseInt(n[1],10);return w(e,s)?(r.setUTCFullYear(e,0,s),r):new Date(NaN)}if(n=h.MMDD.exec(t),n){r=new Date(0),i=parseInt(n[1],10)-1;var a=parseInt(n[2],10);return _(e,i,a)?(r.setUTCFullYear(e,i,a),r):new Date(NaN)}if(n=h.Www.exec(t),n)return o=parseInt(n[1],10)-1,k(e,o)?b(e,o):new Date(NaN);if(n=h.WwwD.exec(t),n){o=parseInt(n[1],10)-1;var c=parseInt(n[2],10)-1;return k(e,o,c)?b(e,o,c):new Date(NaN)}return null}function m(t){var e,n,r;if(e=h.HH.exec(t),e)return n=parseFloat(e[1].replace(",",".")),M(n)?n%24*c:NaN;if(e=h.HHMM.exec(t),e)return n=parseInt(e[1],10),r=parseFloat(e[2].replace(",",".")),M(n,r)?n%24*c+r*l:NaN;if(e=h.HHMMSS.exec(t),e){n=parseInt(e[1],10),r=parseInt(e[2],10);var i=parseFloat(e[3].replace(",","."));return M(n,r,i)?n%24*c+r*l+1e3*i:NaN}return null}function b(t,e,n){e=e||0,n=n||0;var r=new Date(0);r.setUTCFullYear(t,0,4);var i=r.getUTCDay()||7,o=7*e+n+1-i;return r.setUTCDate(r.getUTCDate()+o),r}var v=[31,28,31,30,31,30,31,31,30,31,30,31],y=[31,29,31,30,31,30,31,31,30,31,30,31];function x(t){return t%400===0||t%4===0&&t%100!==0}function _(t,e,n){if(e<0||e>11)return!1;if(null!=n){if(n<1)return!1;var r=x(t);if(r&&n>y[e])return!1;if(!r&&n>v[e])return!1}return!0}function w(t,e){if(e<1)return!1;var n=x(t);return!(n&&e>366)&&!(!n&&e>365)}function k(t,e,n){return!(e<0||e>52)&&(null==n||!(n<0||n>6))}function M(t,e,n){return(null==t||!(t<0||t>=25))&&((null==e||!(e<0||e>=60))&&(null==n||!(n<0||n>=60)))}t.exports=e.default},1132:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=s;var r=o(n(2734)),i=o(n(1476));function o(t){return t&&t.__esModule?t:{default:t}}function s(t,e,n){var o=(0,i.default)(t,n),s=(0,r.default)(e,o,!0),a=new Date(o.getTime()-s),c=new Date(0);return c.setFullYear(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate()),c.setHours(a.getUTCHours(),a.getUTCMinutes(),a.getUTCSeconds(),a.getUTCMilliseconds()),c}t.exports=e.default},8516:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=l;var r=c(n(6420)),i=c(n(1476)),o=c(n(7048)),s=c(n(2734)),a=c(n(5721));function c(t){return t&&t.__esModule?t:{default:t}}function l(t,e,n){if("string"===typeof t&&!t.match(o.default)){var c=(0,r.default)(n);return c.timeZone=e,(0,i.default)(t,c)}var l=(0,i.default)(t,n),u=(0,a.default)(l.getFullYear(),l.getMonth(),l.getDate(),l.getHours(),l.getMinutes(),l.getSeconds(),l.getMilliseconds()).getTime(),h=(0,s.default)(e,new Date(u));return new Date(u+h)}t.exports=e.default},6518:function(t,e,n){"use strict";n.d(e,{vz:function(){return Oa},wW:function(){return Ca},xZ:function(){return Pa},tn:function(){return Ta}});var r=n(3328);function i(){this.__data__=[],this.size=0}var o=i;function s(t,e){return t===e||t!==t&&e!==e}var a=s;function c(t,e){var n=t.length;while(n--)if(a(t[n][0],e))return n;return-1}var l=c,u=Array.prototype,h=u.splice;function f(t){var e=this.__data__,n=l(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():h.call(e,n,1),--this.size,!0}var d=f;function p(t){var e=this.__data__,n=l(e,t);return n<0?void 0:e[n][1]}var g=p;function m(t){return l(this.__data__,t)>-1}var b=m;function v(t,e){var n=this.__data__,r=l(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}var y=v;function x(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}x.prototype.clear=o,x.prototype["delete"]=d,x.prototype.get=g,x.prototype.has=b,x.prototype.set=y;var _=x;function w(){this.__data__=new _,this.size=0}var k=w;function M(t){var e=this.__data__,n=e["delete"](t);return this.size=e.size,n}var S=M;function O(t){return this.__data__.get(t)}var C=O;function P(t){return this.__data__.has(t)}var T=P,D="object"==typeof global&&global&&global.Object===Object&&global,E=D,j="object"==typeof self&&self&&self.Object===Object&&self,A=E||j||Function("return this")(),L=A,F=L.Symbol,I=F,R=Object.prototype,N=R.hasOwnProperty,W=R.toString,z=I?I.toStringTag:void 0;function U(t){var e=N.call(t,z),n=t[z];try{t[z]=void 0;var r=!0}catch(o){}var i=W.call(t);return r&&(e?t[z]=n:delete t[z]),i}var H=U,$=Object.prototype,B=$.toString;function V(t){return B.call(t)}var Y=V,Z="[object Null]",q="[object Undefined]",X=I?I.toStringTag:void 0;function G(t){return null==t?void 0===t?q:Z:X&&X in Object(t)?H(t):Y(t)}var J=G;function Q(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}var K=Q,tt="[object AsyncFunction]",et="[object Function]",nt="[object GeneratorFunction]",rt="[object Proxy]";function it(t){if(!K(t))return!1;var e=J(t);return e==et||e==nt||e==tt||e==rt}var ot=it,st=L["__core-js_shared__"],at=st,ct=function(){var t=/[^.]+$/.exec(at&&at.keys&&at.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function lt(t){return!!ct&&ct in t}var ut=lt,ht=Function.prototype,ft=ht.toString;function dt(t){if(null!=t){try{return ft.call(t)}catch(e){}try{return t+""}catch(e){}}return""}var pt=dt,gt=/[\\^$.*+?()[\]{}|]/g,mt=/^\[object .+?Constructor\]$/,bt=Function.prototype,vt=Object.prototype,yt=bt.toString,xt=vt.hasOwnProperty,_t=RegExp("^"+yt.call(xt).replace(gt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function wt(t){if(!K(t)||ut(t))return!1;var e=ot(t)?_t:mt;return e.test(pt(t))}var kt=wt;function Mt(t,e){return null==t?void 0:t[e]}var St=Mt;function Ot(t,e){var n=St(t,e);return kt(n)?n:void 0}var Ct=Ot,Pt=Ct(L,"Map"),Tt=Pt,Dt=Ct(Object,"create"),Et=Dt;function jt(){this.__data__=Et?Et(null):{},this.size=0}var At=jt;function Lt(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var Ft=Lt,It="__lodash_hash_undefined__",Rt=Object.prototype,Nt=Rt.hasOwnProperty;function Wt(t){var e=this.__data__;if(Et){var n=e[t];return n===It?void 0:n}return Nt.call(e,t)?e[t]:void 0}var zt=Wt,Ut=Object.prototype,Ht=Ut.hasOwnProperty;function $t(t){var e=this.__data__;return Et?void 0!==e[t]:Ht.call(e,t)}var Bt=$t,Vt="__lodash_hash_undefined__";function Yt(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Et&&void 0===e?Vt:e,this}var Zt=Yt;function qt(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}qt.prototype.clear=At,qt.prototype["delete"]=Ft,qt.prototype.get=zt,qt.prototype.has=Bt,qt.prototype.set=Zt;var Xt=qt;function Gt(){this.size=0,this.__data__={hash:new Xt,map:new(Tt||_),string:new Xt}}var Jt=Gt;function Qt(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}var Kt=Qt;function te(t,e){var n=t.__data__;return Kt(e)?n["string"==typeof e?"string":"hash"]:n.map}var ee=te;function ne(t){var e=ee(this,t)["delete"](t);return this.size-=e?1:0,e}var re=ne;function ie(t){return ee(this,t).get(t)}var oe=ie;function se(t){return ee(this,t).has(t)}var ae=se;function ce(t,e){var n=ee(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}var le=ce;function ue(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}ue.prototype.clear=Jt,ue.prototype["delete"]=re,ue.prototype.get=oe,ue.prototype.has=ae,ue.prototype.set=le;var he=ue,fe=200;function de(t,e){var n=this.__data__;if(n instanceof _){var r=n.__data__;if(!Tt||r.length<fe-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new he(r)}return n.set(t,e),this.size=n.size,this}var pe=de;function ge(t){var e=this.__data__=new _(t);this.size=e.size}ge.prototype.clear=k,ge.prototype["delete"]=S,ge.prototype.get=C,ge.prototype.has=T,ge.prototype.set=pe;var me=ge,be="__lodash_hash_undefined__";function ve(t){return this.__data__.set(t,be),this}var ye=ve;function xe(t){return this.__data__.has(t)}var _e=xe;function we(t){var e=-1,n=null==t?0:t.length;this.__data__=new he;while(++e<n)this.add(t[e])}we.prototype.add=we.prototype.push=ye,we.prototype.has=_e;var ke=we;function Me(t,e){var n=-1,r=null==t?0:t.length;while(++n<r)if(e(t[n],n,t))return!0;return!1}var Se=Me;function Oe(t,e){return t.has(e)}var Ce=Oe,Pe=1,Te=2;function De(t,e,n,r,i,o){var s=n&Pe,a=t.length,c=e.length;if(a!=c&&!(s&&c>a))return!1;var l=o.get(t),u=o.get(e);if(l&&u)return l==e&&u==t;var h=-1,f=!0,d=n&Te?new ke:void 0;o.set(t,e),o.set(e,t);while(++h<a){var p=t[h],g=e[h];if(r)var m=s?r(g,p,h,e,t,o):r(p,g,h,t,e,o);if(void 0!==m){if(m)continue;f=!1;break}if(d){if(!Se(e,(function(t,e){if(!Ce(d,e)&&(p===t||i(p,t,n,r,o)))return d.push(e)}))){f=!1;break}}else if(p!==g&&!i(p,g,n,r,o)){f=!1;break}}return o["delete"](t),o["delete"](e),f}var Ee=De,je=L.Uint8Array,Ae=je;function Le(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}var Fe=Le;function Ie(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var Re=Ie,Ne=1,We=2,ze="[object Boolean]",Ue="[object Date]",He="[object Error]",$e="[object Map]",Be="[object Number]",Ve="[object RegExp]",Ye="[object Set]",Ze="[object String]",qe="[object Symbol]",Xe="[object ArrayBuffer]",Ge="[object DataView]",Je=I?I.prototype:void 0,Qe=Je?Je.valueOf:void 0;function Ke(t,e,n,r,i,o,s){switch(n){case Ge:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case Xe:return!(t.byteLength!=e.byteLength||!o(new Ae(t),new Ae(e)));case ze:case Ue:case Be:return a(+t,+e);case He:return t.name==e.name&&t.message==e.message;case Ve:case Ze:return t==e+"";case $e:var c=Fe;case Ye:var l=r&Ne;if(c||(c=Re),t.size!=e.size&&!l)return!1;var u=s.get(t);if(u)return u==e;r|=We,s.set(t,e);var h=Ee(c(t),c(e),r,i,o,s);return s["delete"](t),h;case qe:if(Qe)return Qe.call(t)==Qe.call(e)}return!1}var tn=Ke;function en(t,e){var n=-1,r=e.length,i=t.length;while(++n<r)t[i+n]=e[n];return t}var nn=en,rn=Array.isArray,on=rn;function sn(t,e,n){var r=e(t);return on(t)?r:nn(r,n(t))}var an=sn;function cn(t,e){var n=-1,r=null==t?0:t.length,i=0,o=[];while(++n<r){var s=t[n];e(s,n,t)&&(o[i++]=s)}return o}var ln=cn;function un(){return[]}var hn=un,fn=Object.prototype,dn=fn.propertyIsEnumerable,pn=Object.getOwnPropertySymbols,gn=pn?function(t){return null==t?[]:(t=Object(t),ln(pn(t),(function(e){return dn.call(t,e)})))}:hn,mn=gn;function bn(t,e){var n=-1,r=Array(t);while(++n<t)r[n]=e(n);return r}var vn=bn;function yn(t){return null!=t&&"object"==typeof t}var xn=yn,_n="[object Arguments]";function wn(t){return xn(t)&&J(t)==_n}var kn=wn,Mn=Object.prototype,Sn=Mn.hasOwnProperty,On=Mn.propertyIsEnumerable,Cn=kn(function(){return arguments}())?kn:function(t){return xn(t)&&Sn.call(t,"callee")&&!On.call(t,"callee")},Pn=Cn;function Tn(){return!1}var Dn=Tn,En="object"==typeof exports&&exports&&!exports.nodeType&&exports,jn=En&&"object"==typeof module&&module&&!module.nodeType&&module,An=jn&&jn.exports===En,Ln=An?L.Buffer:void 0,Fn=Ln?Ln.isBuffer:void 0,In=Fn||Dn,Rn=In,Nn=9007199254740991,Wn=/^(?:0|[1-9]\d*)$/;function zn(t,e){var n=typeof t;return e=null==e?Nn:e,!!e&&("number"==n||"symbol"!=n&&Wn.test(t))&&t>-1&&t%1==0&&t<e}var Un=zn,Hn=9007199254740991;function $n(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Hn}var Bn=$n,Vn="[object Arguments]",Yn="[object Array]",Zn="[object Boolean]",qn="[object Date]",Xn="[object Error]",Gn="[object Function]",Jn="[object Map]",Qn="[object Number]",Kn="[object Object]",tr="[object RegExp]",er="[object Set]",nr="[object String]",rr="[object WeakMap]",ir="[object ArrayBuffer]",or="[object DataView]",sr="[object Float32Array]",ar="[object Float64Array]",cr="[object Int8Array]",lr="[object Int16Array]",ur="[object Int32Array]",hr="[object Uint8Array]",fr="[object Uint8ClampedArray]",dr="[object Uint16Array]",pr="[object Uint32Array]",gr={};function mr(t){return xn(t)&&Bn(t.length)&&!!gr[J(t)]}gr[sr]=gr[ar]=gr[cr]=gr[lr]=gr[ur]=gr[hr]=gr[fr]=gr[dr]=gr[pr]=!0,gr[Vn]=gr[Yn]=gr[ir]=gr[Zn]=gr[or]=gr[qn]=gr[Xn]=gr[Gn]=gr[Jn]=gr[Qn]=gr[Kn]=gr[tr]=gr[er]=gr[nr]=gr[rr]=!1;var br=mr;function vr(t){return function(e){return t(e)}}var yr=vr,xr="object"==typeof exports&&exports&&!exports.nodeType&&exports,_r=xr&&"object"==typeof module&&module&&!module.nodeType&&module,wr=_r&&_r.exports===xr,kr=wr&&E.process,Mr=function(){try{var t=_r&&_r.require&&_r.require("util").types;return t||kr&&kr.binding&&kr.binding("util")}catch(e){}}(),Sr=Mr,Or=Sr&&Sr.isTypedArray,Cr=Or?yr(Or):br,Pr=Cr,Tr=Object.prototype,Dr=Tr.hasOwnProperty;function Er(t,e){var n=on(t),r=!n&&Pn(t),i=!n&&!r&&Rn(t),o=!n&&!r&&!i&&Pr(t),s=n||r||i||o,a=s?vn(t.length,String):[],c=a.length;for(var l in t)!e&&!Dr.call(t,l)||s&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||Un(l,c))||a.push(l);return a}var jr=Er,Ar=Object.prototype;function Lr(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||Ar;return t===n}var Fr=Lr;function Ir(t,e){return function(n){return t(e(n))}}var Rr=Ir,Nr=Rr(Object.keys,Object),Wr=Nr,zr=Object.prototype,Ur=zr.hasOwnProperty;function Hr(t){if(!Fr(t))return Wr(t);var e=[];for(var n in Object(t))Ur.call(t,n)&&"constructor"!=n&&e.push(n);return e}var $r=Hr;function Br(t){return null!=t&&Bn(t.length)&&!ot(t)}var Vr=Br;function Yr(t){return Vr(t)?jr(t):$r(t)}var Zr=Yr;function qr(t){return an(t,Zr,mn)}var Xr=qr,Gr=1,Jr=Object.prototype,Qr=Jr.hasOwnProperty;function Kr(t,e,n,r,i,o){var s=n&Gr,a=Xr(t),c=a.length,l=Xr(e),u=l.length;if(c!=u&&!s)return!1;var h=c;while(h--){var f=a[h];if(!(s?f in e:Qr.call(e,f)))return!1}var d=o.get(t),p=o.get(e);if(d&&p)return d==e&&p==t;var g=!0;o.set(t,e),o.set(e,t);var m=s;while(++h<c){f=a[h];var b=t[f],v=e[f];if(r)var y=s?r(v,b,f,e,t,o):r(b,v,f,t,e,o);if(!(void 0===y?b===v||i(b,v,n,r,o):y)){g=!1;break}m||(m="constructor"==f)}if(g&&!m){var x=t.constructor,_=e.constructor;x==_||!("constructor"in t)||!("constructor"in e)||"function"==typeof x&&x instanceof x&&"function"==typeof _&&_ instanceof _||(g=!1)}return o["delete"](t),o["delete"](e),g}var ti=Kr,ei=Ct(L,"DataView"),ni=ei,ri=Ct(L,"Promise"),ii=ri,oi=Ct(L,"Set"),si=oi,ai=Ct(L,"WeakMap"),ci=ai,li="[object Map]",ui="[object Object]",hi="[object Promise]",fi="[object Set]",di="[object WeakMap]",pi="[object DataView]",gi=pt(ni),mi=pt(Tt),bi=pt(ii),vi=pt(si),yi=pt(ci),xi=J;(ni&&xi(new ni(new ArrayBuffer(1)))!=pi||Tt&&xi(new Tt)!=li||ii&&xi(ii.resolve())!=hi||si&&xi(new si)!=fi||ci&&xi(new ci)!=di)&&(xi=function(t){var e=J(t),n=e==ui?t.constructor:void 0,r=n?pt(n):"";if(r)switch(r){case gi:return pi;case mi:return li;case bi:return hi;case vi:return fi;case yi:return di}return e});var _i=xi,wi=1,ki="[object Arguments]",Mi="[object Array]",Si="[object Object]",Oi=Object.prototype,Ci=Oi.hasOwnProperty;function Pi(t,e,n,r,i,o){var s=on(t),a=on(e),c=s?Mi:_i(t),l=a?Mi:_i(e);c=c==ki?Si:c,l=l==ki?Si:l;var u=c==Si,h=l==Si,f=c==l;if(f&&Rn(t)){if(!Rn(e))return!1;s=!0,u=!1}if(f&&!u)return o||(o=new me),s||Pr(t)?Ee(t,e,n,r,i,o):tn(t,e,c,n,r,i,o);if(!(n&wi)){var d=u&&Ci.call(t,"__wrapped__"),p=h&&Ci.call(e,"__wrapped__");if(d||p){var g=d?t.value():t,m=p?e.value():e;return o||(o=new me),i(g,m,n,r,o)}}return!!f&&(o||(o=new me),ti(t,e,n,r,i,o))}var Ti=Pi;function Di(t,e,n,r,i){return t===e||(null==t||null==e||!xn(t)&&!xn(e)?t!==t&&e!==e:Ti(t,e,n,r,Di,i))}var Ei=Di;function ji(t,e){return Ei(t,e)}var Ai=ji;function Li(t,e){var n=-1,r=null==t?0:t.length;while(++n<r)if(!1===e(t[n],n,t))break;return t}var Fi=Li,Ii=function(){try{var t=Ct(Object,"defineProperty");return t({},"",{}),t}catch(e){}}(),Ri=Ii;function Ni(t,e,n){"__proto__"==e&&Ri?Ri(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var Wi=Ni,zi=Object.prototype,Ui=zi.hasOwnProperty;function Hi(t,e,n){var r=t[e];Ui.call(t,e)&&a(r,n)&&(void 0!==n||e in t)||Wi(t,e,n)}var $i=Hi;function Bi(t,e,n,r){var i=!n;n||(n={});var o=-1,s=e.length;while(++o<s){var a=e[o],c=r?r(n[a],t[a],a,n,t):void 0;void 0===c&&(c=t[a]),i?Wi(n,a,c):$i(n,a,c)}return n}var Vi=Bi;function Yi(t,e){return t&&Vi(e,Zr(e),t)}var Zi=Yi;function qi(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}var Xi=qi,Gi=Object.prototype,Ji=Gi.hasOwnProperty;function Qi(t){if(!K(t))return Xi(t);var e=Fr(t),n=[];for(var r in t)("constructor"!=r||!e&&Ji.call(t,r))&&n.push(r);return n}var Ki=Qi;function to(t){return Vr(t)?jr(t,!0):Ki(t)}var eo=to;function no(t,e){return t&&Vi(e,eo(e),t)}var ro=no,io="object"==typeof exports&&exports&&!exports.nodeType&&exports,oo=io&&"object"==typeof module&&module&&!module.nodeType&&module,so=oo&&oo.exports===io,ao=so?L.Buffer:void 0,co=ao?ao.allocUnsafe:void 0;function lo(t,e){if(e)return t.slice();var n=t.length,r=co?co(n):new t.constructor(n);return t.copy(r),r}var uo=lo;function ho(t,e){var n=-1,r=t.length;e||(e=Array(r));while(++n<r)e[n]=t[n];return e}var fo=ho;function po(t,e){return Vi(t,mn(t),e)}var go=po,mo=Rr(Object.getPrototypeOf,Object),bo=mo,vo=Object.getOwnPropertySymbols,yo=vo?function(t){var e=[];while(t)nn(e,mn(t)),t=bo(t);return e}:hn,xo=yo;function _o(t,e){return Vi(t,xo(t),e)}var wo=_o;function ko(t){return an(t,eo,xo)}var Mo=ko,So=Object.prototype,Oo=So.hasOwnProperty;function Co(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&Oo.call(t,"index")&&(n.index=t.index,n.input=t.input),n}var Po=Co;function To(t){var e=new t.constructor(t.byteLength);return new Ae(e).set(new Ae(t)),e}var Do=To;function Eo(t,e){var n=e?Do(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}var jo=Eo,Ao=/\w*$/;function Lo(t){var e=new t.constructor(t.source,Ao.exec(t));return e.lastIndex=t.lastIndex,e}var Fo=Lo,Io=I?I.prototype:void 0,Ro=Io?Io.valueOf:void 0;function No(t){return Ro?Object(Ro.call(t)):{}}var Wo=No;function zo(t,e){var n=e?Do(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}var Uo=zo,Ho="[object Boolean]",$o="[object Date]",Bo="[object Map]",Vo="[object Number]",Yo="[object RegExp]",Zo="[object Set]",qo="[object String]",Xo="[object Symbol]",Go="[object ArrayBuffer]",Jo="[object DataView]",Qo="[object Float32Array]",Ko="[object Float64Array]",ts="[object Int8Array]",es="[object Int16Array]",ns="[object Int32Array]",rs="[object Uint8Array]",is="[object Uint8ClampedArray]",os="[object Uint16Array]",ss="[object Uint32Array]";function as(t,e,n){var r=t.constructor;switch(e){case Go:return Do(t);case Ho:case $o:return new r(+t);case Jo:return jo(t,n);case Qo:case Ko:case ts:case es:case ns:case rs:case is:case os:case ss:return Uo(t,n);case Bo:return new r;case Vo:case qo:return new r(t);case Yo:return Fo(t);case Zo:return new r;case Xo:return Wo(t)}}var cs=as,ls=Object.create,us=function(){function t(){}return function(e){if(!K(e))return{};if(ls)return ls(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}(),hs=us;function fs(t){return"function"!=typeof t.constructor||Fr(t)?{}:hs(bo(t))}var ds=fs,ps="[object Map]";function gs(t){return xn(t)&&_i(t)==ps}var ms=gs,bs=Sr&&Sr.isMap,vs=bs?yr(bs):ms,ys=vs,xs="[object Set]";function _s(t){return xn(t)&&_i(t)==xs}var ws=_s,ks=Sr&&Sr.isSet,Ms=ks?yr(ks):ws,Ss=Ms,Os=1,Cs=2,Ps=4,Ts="[object Arguments]",Ds="[object Array]",Es="[object Boolean]",js="[object Date]",As="[object Error]",Ls="[object Function]",Fs="[object GeneratorFunction]",Is="[object Map]",Rs="[object Number]",Ns="[object Object]",Ws="[object RegExp]",zs="[object Set]",Us="[object String]",Hs="[object Symbol]",$s="[object WeakMap]",Bs="[object ArrayBuffer]",Vs="[object DataView]",Ys="[object Float32Array]",Zs="[object Float64Array]",qs="[object Int8Array]",Xs="[object Int16Array]",Gs="[object Int32Array]",Js="[object Uint8Array]",Qs="[object Uint8ClampedArray]",Ks="[object Uint16Array]",ta="[object Uint32Array]",ea={};function na(t,e,n,r,i,o){var s,a=e&Os,c=e&Cs,l=e&Ps;if(n&&(s=i?n(t,r,i,o):n(t)),void 0!==s)return s;if(!K(t))return t;var u=on(t);if(u){if(s=Po(t),!a)return fo(t,s)}else{var h=_i(t),f=h==Ls||h==Fs;if(Rn(t))return uo(t,a);if(h==Ns||h==Ts||f&&!i){if(s=c||f?{}:ds(t),!a)return c?wo(t,ro(s,t)):go(t,Zi(s,t))}else{if(!ea[h])return i?t:{};s=cs(t,h,a)}}o||(o=new me);var d=o.get(t);if(d)return d;o.set(t,s),Ss(t)?t.forEach((function(r){s.add(na(r,e,n,r,t,o))})):ys(t)&&t.forEach((function(r,i){s.set(i,na(r,e,n,i,t,o))}));var p=l?c?Mo:Xr:c?eo:Zr,g=u?void 0:p(t);return Fi(g||t,(function(r,i){g&&(i=r,r=t[i]),$i(s,i,na(r,e,n,i,t,o))})),s}ea[Ts]=ea[Ds]=ea[Bs]=ea[Vs]=ea[Es]=ea[js]=ea[Ys]=ea[Zs]=ea[qs]=ea[Xs]=ea[Gs]=ea[Is]=ea[Rs]=ea[Ns]=ea[Ws]=ea[zs]=ea[Us]=ea[Hs]=ea[Js]=ea[Qs]=ea[Ks]=ea[ta]=!0,ea[As]=ea[Ls]=ea[$s]=!1;var ra=na,ia=1,oa=4;function sa(t){return ra(t,ia|oa)}var aa=sa,ca=n(6252),la=n(2262),ua=n(6959);const ha=/[^\p{L}\p{N}]+/gu,fa=t=>null==t?"":Array.isArray(t)?t.map((t=>t.toString().trim())).filter((t=>t.length>0)).join(" "):"function"===typeof t?t.name?t.name:"":"function"!==typeof t.toString?"":t.toString().trim(),da=(t,e={})=>{const n=fa(t),r=e.punctuationRegex??ha,i=n?ua(r?n.replace(r," "):n,e):"";return i?i[0].toLocaleUpperCase(e.locale)+i.slice(1):""};var pa=da,ga=Object.defineProperty,ma=Object.defineProperties,ba=Object.getOwnPropertyDescriptors,va=Object.getOwnPropertySymbols,ya=Object.prototype.hasOwnProperty,xa=Object.prototype.propertyIsEnumerable,_a=(t,e,n)=>e in t?ga(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,wa=(t,e)=>{for(var n in e||(e={}))ya.call(e,n)&&_a(t,n,e[n]);if(va)for(var n of va(e))xa.call(e,n)&&_a(t,n,e[n]);return t},ka=(t,e)=>ma(t,ba(e)),Ma=(t,e)=>{const n={chartData:{type:Object,required:!0},options:{type:Object,required:!1},chartId:{default:t,type:String},width:{default:400,type:Number},height:{default:400,type:Number},cssClasses:{type:String,default:""},styles:{type:Object},plugins:{type:Array,default:()=>[]},onLabelsUpdate:{type:Function},onChartUpdate:{type:Function},onChartDestroy:{type:Function},onChartRender:{type:Function}},i=pa(t);return(0,ca.aZ)({name:i,props:n,emits:{"labels:update":()=>!0,"chart:update":t=>!0,"chart:destroy":()=>!0,"chart:render":t=>!0},setup(t,{emit:n,expose:o}){const s=(0,la.iH)(null),a=`${t.chartId}`;let c=(0,la.XI)(null);function l(t,e){if(e&&c.value){let n=c.value;Ai(t,e)||e.datasets.length!==t.datasets.length?n.data.datasets=t.datasets:(t.datasets.forEach(((t,r)=>{const i=Object.keys(e.datasets[r]),o=Object.keys(t),s=i.filter((t=>"_meta"!==t&&-1===o.indexOf(t)));s.forEach((t=>{n.data.datasets[r]&&delete n.data.datasets[r][t]}));for(const e in t){const i=t[e];t.hasOwnProperty(e)&&null!=i&&n&&(n.data.datasets[r][e]=i)}})),t.labels&&(n.data.labels=t.labels,h())),d()}else c.value&&p(),u()}function u(){s.value?(c.value=new r.kL(s.value,{data:t.chartData,type:e,options:aa(t.options),plugins:t.plugins}),f()):console.error(`Error on component ${i}, canvas cannot be rendered. Check if the render appends server-side`)}function h(){n("labels:update"),t.onLabelsUpdate&&t.onLabelsUpdate()}function f(){c.value&&(n("chart:render",c.value),t.onChartRender&&t.onChartRender(c.value))}function d(){c.value&&(c.value.update(),n("chart:render",c.value),t.onChartRender&&t.onChartRender(c.value))}function p(){c.value&&c.value.destroy(),n("chart:destroy"),t.onChartDestroy&&t.onChartDestroy()}return(0,ca.YP)((()=>t.chartData),l,{deep:!0}),(0,ca.YP)((()=>t.options),((t,e)=>{c.value&&t&&!Ai(c.value.options,e)&&(c.value.options=aa(t),e=aa(t),d())}),{deep:!0}),(0,ca.bv)(u),(0,ca.Jd)((()=>{c.value&&c.value.destroy()})),o({canvasRef:s,renderChart:u,chartInstance:c,canvasId:a,update:d}),()=>(0,ca.h)("div",{style:ka(wa({maxWidth:"100%"},t.styles),{position:"relative"}),class:t.cssClasses},[(0,ca.h)("canvas",{style:{maxWidth:"100%",maxHeight:"100%"},id:a,width:t.width,height:t.height,ref:s})])}})},Sa=t=>e=>{const n=`${t}ChartRef`,r={[n]:(0,la.iH)()},i=(0,ca.Fl)((()=>ka(wa(wa(wa({},e),e.jsx&&{ref:r[n]}),!e.jsx&&{ref:n}),{chartData:(0,la.SU)(e.chartData),options:(0,la.SU)(e.options)})));function o(){var e;const i=r[n].value;i?null==(e=null==i?void 0:i.chartInstance.value)||e.update():console.warn(`No chartInstance to update (use${pa(t)}Chart)`)}return{[`${t}ChartProps`]:i,[n]:r[n],update:o}},Oa=Ma("bar-chart","bar"),Ca=(Ma("doughnut-chart","doughnut"),Ma("line-chart","line")),Pa=(Ma("pie-chart","pie"),Ma("polar-chart","polarArea"),Ma("radar-chart","radar"),Ma("bubble-chart","bubble"),Ma("scatter-chart","scatter"),Sa("doughnut"),Sa("bar")),Ta=Sa("line");Sa("pie"),Sa("polarArea"),Sa("radar"),Sa("bubble"),Sa("scatter")}}]);
//# sourceMappingURL=chunk-vendors.87c31c45.js.map