PageSourceSearch

https://ispgaya.pt/js/vendor.js?id=92b5ecc645e1b690edcf83092f14c575

js ispgaya.pt collected 2026-10-02 11:32:47 UTC 422,949 bytes, 2 lines download raw bytes

1/*! For license information please see vendor.js.LICENSE.txt */
2"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[898],{988:(t,e,n)=>{function i(){return i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},i.apply(this,arguments)}function s(t,e){if(null==t)return{};var n,i,s={},o=Object.keys(t);for(i=0;i<o.length;i++)n=o[i],e.indexOf(n)>=0||(s[n]=t[n]);return s}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function r(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=t[Symbol.iterator]()).next.bind(n)}n.d(e,{Ul:()=>r,gK:()=>s,gY:()=>i})},165:(t,e,n)=>{n.d(e,{pJ:()=>m,lG:()=>b,V2:()=>v});var i,s=n(988),o=n(821),r=n(343),a=n(574);!function(t){t.Space=" ",t.Enter="Enter",t.Escape="Escape",t.Backspace="Backspace",t.ArrowLeft="ArrowLeft",t.ArrowUp="ArrowUp",t.ArrowRight="ArrowRight",t.ArrowDown="ArrowDown",t.Home="Home",t.End="End",t.PageUp="PageUp",t.PageDown="PageDown",t.Tab="Tab"}(i||(i={}));var l,c=n(122),d=n(779),h=n(357);function u(t,e){if(t)return t;var n=null!=e?e:"button";return"string"==typeof n&&"button"===n.toLowerCase()?"button":void 0}!function(t){t[t.Open=0]="Open",t[t.Closed=1]="Closed"}(l||(l={}));var p=Symbol("DisclosureContext");function f(t){var e=(0,o.f3)(p,null);if(null===e){var n=new Error("<"+t+" /> is missing a parent <Disclosure /> component.");throw Error.captureStackTrace&&Error.captureStackTrace(n,f),n}return e}var g=Symbol("DisclosurePanelContext");var m=(0,o.aZ)({name:"Disclosure",props:{as:{type:[Object,String],default:"template"},defaultOpen:{type:[Boolean],default:!1}},setup:function(t,e){var n=e.slots,i=e.attrs,u="headlessui-disclosure-button-"+(0,c.M)(),f="headlessui-disclosure-panel-"+(0,c.M)(),g=(0,o.iH)(t.defaultOpen?l.Open:l.Closed),m=(0,o.iH)(null),b=(0,o.iH)(null),v={buttonId:u,panelId:f,disclosureState:g,panel:m,button:b,toggleDisclosure:function(){var t;g.value=(0,r.E)(g.value,((t={})[l.Open]=l.Closed,t[l.Closed]=l.Open,t))},closeDisclosure:function(){g.value!==l.Closed&&(g.value=l.Closed)},close:function(t){v.closeDisclosure();var e=t?t instanceof HTMLElement?t:t.value instanceof HTMLElement?(0,d.v)(t):(0,d.v)(v.button):(0,d.v)(v.button);null==e||e.focus()}};return(0,o.JJ)(p,v),(0,h.Rb)((0,o.Fl)((function(){var t;return(0,r.E)(g.value,((t={})[l.Open]=h.ZM.Open,t[l.Closed]=h.ZM.Closed,t))}))),function(){var e=(0,s.gK)(t,["defaultOpen"]),o={open:g.value===l.Open,close:v.close};return(0,a.sY)({props:e,slot:o,slots:n,attrs:i,name:"Disclosure"})}}}),b=(0,o.aZ)({name:"DisclosureButton",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1}},render:function(){var t=f("DisclosureButton"),e={open:t.disclosureState.value===l.Open},n=this.isWithinPanel?{ref:"el",type:this.type,onClick:this.handleClick,onKeydown:this.handleKeyDown}:{id:this.id,ref:"el",type:this.type,"aria-expanded":this.$props.disabled?void 0:t.disclosureState.value===l.Open,"aria-controls":(0,d.v)(t.panel)?t.panelId:void 0,disabled:!!this.$props.disabled||void 0,onClick:this.handleClick,onKeydown:this.handleKeyDown,onKeyup:this.handleKeyUp};return(0,a.sY)({props:(0,s.gY)({},this.$props,n),slot:e,attrs:this.$attrs,slots:this.$slots,name:"DisclosureButton"})},setup:function(t,e){var n,s,r,a=e.attrs,l=f("DisclosureButton"),c=(0,o.f3)(g,null),h=null!==c&&c===l.panelId,p=(0,o.iH)(null);return h||(0,o.m0)((function(){l.button.value=p.value})),{isWithinPanel:h,id:l.buttonId,el:p,type:(n=(0,o.Fl)((function(){return{as:t.as,type:a.type}})),s=p,r=(0,o.iH)(u(n.value.type,n.value.as)),(0,o.bv)((function(){r.value=u(n.value.type,n.value.as)})),(0,o.m0)((function(){var t;r.value||(0,d.v)(s)&&(0,d.v)(s)instanceof HTMLButtonElement&&!(null==(t=(0,d.v)(s))?void 0:t.hasAttribute("type"))&&(r.value="button")})),r),handleClick:function(){var e;t.disabled||(h?(l.toggleDisclosure(),null==(e=(0,d.v)(l.button))||e.focus()):l.toggleDisclosure())},handleKeyDown:function(e){var n;if(!t.disabled)if(h)switch(e.key){case i.Space:case i.Enter:e.preventDefault(),e.stopPropagation(),l.toggleDisclosure(),null==(n=(0,d.v)(l.button))||n.focus()}else switch(e.key){case i.Space:case i.Enter:e.preventDefault(),e.stopPropagation(),l.toggleDisclosure()}},handleKeyUp:function(t){if(t.key===i.Space)t.preventDefault()}}}}),v=(0,o.aZ)({name:"DisclosurePanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0}},render:function(){var t=f("DisclosurePanel"),e={open:t.disclosureState.value===l.Open,close:t.close},n={id:this.id,ref:"el"};return(0,a.sY)({props:(0,s.gY)({},this.$props,n),slot:e,attrs:this.$attrs,slots:this.$slots,features:a.AN.RenderStrategy|a.AN.Static,visible:this.visible,name:"DisclosurePanel"})},setup:function(){var t=f("DisclosurePanel");(0,o.JJ)(g,t.panelId);var e=(0,h.oJ)(),n=(0,o.Fl)((function(){return null!==e?e.value===h.ZM.Open:t.disclosureState.value===l.Open}));return{id:t.panelId,el:t.panel,visible:n}}})},494:(t,e,n)=>{n.d(e,{x:()=>w,Q:()=>S});var i,s=n(988),o=n(821),r=n(343),a=n(574),l=n(122),c=n(779),d=n(357);function h(){var t=[],e={requestAnimationFrame:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(){var t=requestAnimationFrame.apply(void 0,arguments);e.add((function(){return cancelAnimationFrame(t)}))}
2)),nextFrame:function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];e.requestAnimationFrame((function(){e.requestAnimationFrame.apply(e,n)}))},setTimeout:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(){var t=setTimeout.apply(void 0,arguments);e.add((function(){return clearTimeout(t)}))})),add:function(e){t.push(e)},dispose:function(){for(var e,n=(0,s.Ul)(t.splice(0));!(e=n()).done;){var i=e.value;i()}}};return e}function u(t){for(var e,n=arguments.length,i=new Array(n>1?n-1:0),s=1;s<n;s++)i[s-1]=arguments[s];t&&i.length>0&&(e=t.classList).add.apply(e,i)}function p(t){for(var e,n=arguments.length,i=new Array(n>1?n-1:0),s=1;s<n;s++)i[s-1]=arguments[s];t&&i.length>0&&(e=t.classList).remove.apply(e,i)}function f(t,e,n,s,o,r){var a,l,c=h(),d=void 0!==r?(a=r,l={called:!1},function(){if(!l.called)return l.called=!0,a.apply(void 0,arguments)}):function(){};return p.apply(void 0,[t].concat(o)),u.apply(void 0,[t].concat(e,n)),c.nextFrame((function(){p.apply(void 0,[t].concat(n)),u.apply(void 0,[t].concat(s)),c.add(function(t,e){var n=h();if(!t)return n.dispose;var s=getComputedStyle(t),o=[s.transitionDuration,s.transitionDelay].map((function(t){var e=t.split(",").filter(Boolean).map((function(t){return t.includes("ms")?parseFloat(t):1e3*parseFloat(t)})).sort((function(t,e){return e-t}))[0];return void 0===e?0:e})),r=o[0],a=o[1];return 0!==r?n.setTimeout((function(){return e(i.Finished)}),r+a):e(i.Finished),n.add((function(){return e(i.Cancelled)})),n.dispose}(t,(function(n){return p.apply(void 0,[t].concat(s,e)),u.apply(void 0,[t].concat(o)),d(n)})))})),c.add((function(){return p.apply(void 0,[t].concat(e,n,s,o))})),c.add((function(){return d(i.Cancelled)})),c.dispose}function g(t){return void 0===t&&(t=""),t.split(" ").filter((function(t){return t.trim().length>1}))}!function(t){t.Finished="finished",t.Cancelled="cancelled"}(i||(i={}));var m,b=Symbol("TransitionContext");!function(t){t.Visible="visible",t.Hidden="hidden"}(m||(m={}));var v=Symbol("NestingContext");function y(t){return"children"in t?y(t.children):t.value.filter((function(t){return t.state===m.Visible})).length>0}function x(t){var e=(0,o.iH)([]),n=(0,o.iH)(!1);function i(i,s){var o;void 0===s&&(s=a.l4.Hidden);var l=e.value.findIndex((function(t){return t.id===i}));-1!==l&&((0,r.E)(s,((o={})[a.l4.Unmount]=function(){e.value.splice(l,1)},o[a.l4.Hidden]=function(){e.value[l].state=m.Hidden},o)),!y(e)&&n.value&&(null==t||t()))}return(0,o.bv)((function(){return n.value=!0})),(0,o.SK)((function(){return n.value=!1})),{children:e,register:function(t){var n=e.value.find((function(e){return e.id===t}));return n?n.state!==m.Visible&&(n.state=m.Visible):e.value.push({id:t,state:m.Visible}),function(){return i(t,a.l4.Unmount)}},unregister:i}}var _=a.AN.RenderStrategy,w=(0,o.aZ)({props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:function(){return!0},afterEnter:function(){return!0},beforeLeave:function(){return!0},afterLeave:function(){return!0}},render:function(){var t=this;if(this.renderAsRoot)return(0,o.h)(S,(0,s.gY)({},this.$props,{onBeforeEnter:function(){return t.$emit("beforeEnter")},onAfterEnter:function(){return t.$emit("afterEnter")},onBeforeLeave:function(){return t.$emit("beforeLeave")},onAfterLeave:function(){return t.$emit("afterLeave")}}),this.$slots);var e=this.$props,n=(0,s.gK)(e,["appear","show","enter","enterFrom","enterTo","entered","leave","leaveFrom","leaveTo"]);return(0,a.sY)({props:(0,s.gY)({},n,{ref:"el"}),slot:{},slots:this.$slots,attrs:this.$attrs,features:_,visible:this.state===m.Visible,name:"TransitionChild"})},setup:function(t,e){var n=e.emit;if(null===(0,o.f3)(b,null)&&(0,d.ih)())return{renderAsRoot:!0};var s=(0,o.iH)(null),h=(0,o.iH)(m.Visible),u=(0,o.Fl)((function(){return t.unmount?a.l4.Unmount:a.l4.Hidden})),p=function(){var t=(0,o.f3)(b,null);if(null===t)throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");return t}(),_=p.show,w=p.appear,S=function(){var t=(0,o.f3)(v,null);if(null===t)throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");return t}(),C=S.register,k=S.unregister,A={value:!0},M=(0,l.M)(),E={value:!1},O=x((function(){E.value||(h.value=m.Hidden,k(M),n("afterLeave"))}));(0,o.bv)((function(){var t=C(M);(0,o.SK)(t)})),(0,o.m0)((function(){var t;u.value===a.l4.Hidden&&M&&(_&&h.value!==m.Visible?h.value=m.Visible:(0,r.E)(h.value,((t={})[m.Hidden]=function(){return k(M)},t[m.Visible]=function(){return C(M)},t)))}));var T=g(t.enter),P=g(t.enterFrom),L=g(t.enterTo),D=g(t.entered),I=g(t.leave),R=g(t.leaveFrom),F=g(t.leaveTo);return(0,o.bv)((function(){(0,o.m0)((function(){if(h.value===m.Visible){var t=(0,c.v)(s);if(t instanceof Comment&&""===t.data)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}}))})),(0,o.bv)((function(){(0,o.YP)([_,w],(function(t,e,o){!function(t){var e=A.value&&!w.value,o=(0,c.v)(s);o&&o instanceof HTMLElement&&(e||(E.value=!0,_.value&&n("beforeEnter"),_.value||n("beforeLeave"),t(_.value?f(o,T,P,L,D,(function(t){E.value=!1,t===i.Finished&&n("afterEnter")})):f(o,I,R,F,D,(function(t){E.value=!1,t===i.Finished&&(y(O)||(h.value=m.Hidden,k(M),n("afterLeave")))})))))}(o),A.value=!1}),{immediate:!0})}
2)),(0,o.JJ)(v,O),(0,d.Rb)((0,o.Fl)((function(){var t;return(0,r.E)(h.value,((t={})[m.Visible]=d.ZM.Open,t[m.Hidden]=d.ZM.Closed,t))}))),{el:s,renderAsRoot:!1,state:h}}}),S=(0,o.aZ)({inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:function(){return!0},afterEnter:function(){return!0},beforeLeave:function(){return!0},afterLeave:function(){return!0}},render:function(){var t=this,e=this.$props,n=e.unmount,i=(0,s.gK)(e,["show","appear","unmount"]),r={unmount:n};return(0,a.sY)({props:(0,s.gY)({},r,{as:"template"}),slot:{},slots:(0,s.gY)({},this.$slots,{default:function(){return[(0,o.h)(w,(0,s.gY)({onBeforeEnter:function(){return t.$emit("beforeEnter")},onAfterEnter:function(){return t.$emit("afterEnter")},onBeforeLeave:function(){return t.$emit("beforeLeave")},onAfterLeave:function(){return t.$emit("afterLeave")}},t.$attrs,r,i),t.$slots.default)]}}),attrs:{},features:_,visible:this.state===m.Visible,name:"Transition"})},setup:function(t){var e=(0,d.oJ)(),n=(0,o.Fl)((function(){var n;return null===t.show&&null!==e?(0,r.E)(e.value,((n={})[d.ZM.Open]=!0,n[d.ZM.Closed]=!1,n)):t.show}));(0,o.m0)((function(){if(![!0,!1].includes(n.value))throw new Error('A <Transition /> is used but it is missing a `:show="true | false"` prop.')}));var i=(0,o.iH)(n.value?m.Visible:m.Hidden),s=x((function(){i.value=m.Hidden})),a={value:!0},l={show:n,appear:(0,o.Fl)((function(){return t.appear||!a.value}))};return(0,o.bv)((function(){(0,o.m0)((function(){a.value=!1,n.value?i.value=m.Visible:y(s)||(i.value=m.Hidden)}))})),(0,o.JJ)(v,s),(0,o.JJ)(b,l),{state:i,show:n}}})},122:(t,e,n)=>{n.d(e,{M:()=>s});var i=0;function s(){return++i}},357:(t,e,n)=>{n.d(e,{Rb:()=>l,ZM:()=>i,ih:()=>r,oJ:()=>a});var i,s=n(821),o=Symbol("Context");function r(){return null!==a()}function a(){return(0,s.f3)(o,null)}function l(t){(0,s.JJ)(o,t)}!function(t){t[t.Open=0]="Open",t[t.Closed=1]="Closed"}(i||(i={}))},779:(t,e,n)=>{function i(t){var e;return null==t||null==t.value?null:null!=(e=t.value.$el)?e:t.value}n.d(e,{v:()=>i})},343:(t,e,n)=>{function i(t,e){if(t in e){for(var n=e[t],s=arguments.length,o=new Array(s>2?s-2:0),r=2;r<s;r++)o[r-2]=arguments[r];return"function"==typeof n?n.apply(void 0,o):n}var a=new Error('Tried to handle "'+t+'" but there is no handler defined. Only defined handlers are: '+Object.keys(e).map((function(t){return'"'+t+'"'})).join(", ")+".");throw Error.captureStackTrace&&Error.captureStackTrace(a,i),a}n.d(e,{E:()=>i})},574:(t,e,n)=>{n.d(e,{AN:()=>i,l4:()=>s,sY:()=>l});var i,s,o=n(988),r=n(821),a=n(343);function l(t){var e=t.visible,n=void 0===e||e,r=t.features,l=void 0===r?i.None:r,d=(0,o.gK)(t,["visible","features"]);if(n)return c(d);if(l&i.Static&&d.props.static)return c(d);if(l&i.RenderStrategy){var h,u,p=null==(h=d.props.unmount)||h?s.Unmount:s.Hidden;return(0,a.E)(p,((u={})[s.Unmount]=function(){return null},u[s.Hidden]=function(){return c((0,o.gY)({},d,{props:(0,o.gY)({},d.props,{hidden:!0,style:{display:"none"}})}))},u))}return c(d)}function c(t){var e,n=t.props,i=t.attrs,s=t.slots,a=t.slot,l=t.name,c=function(t,e){void 0===e&&(e=[]);for(var n,i=Object.assign({},t),s=(0,o.Ul)(e);!(n=s()).done;){var r=n.value;r in i&&delete i[r]}return i}(n,["unmount","static"]),d=c.as,h=(0,o.gK)(c,["as"]),u=null==s.default?void 0:s.default(a);if("template"===d){if(Object.keys(h).length>0||Object.keys(i).length>0){var p=null!=u?u:[],f=p[0],g=p.slice(1);if(null==(e=f)||"string"!=typeof e.type&&"object"!=typeof e.type&&"function"!=typeof e.type||g.length>0)throw new Error(['Passing props on "template"!',"","The current component <"+l+' /> is rendering a "template".',"However we need to passthrough the following props:",Object.keys(h).concat(Object.keys(i)).map((function(t){return"  - "+t})).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map((function(t){return"  - "+t})).join("\n")].join("\n"));return(0,r.Ho)(f,h)}return Array.isArray(u)&&1===u.length?u[0]:u}return(0,r.h)(d,h,u)}!function(t){t[t.None=0]="None",t[t.RenderStrategy=1]="RenderStrategy",t[t.Static=2]="Static"}(i||(i={})),function(t){t[t.Unmount=0]="Unmount",t[t.Hidden=1]="Hidden"}(s||(s={}))},728:(t,e,n)=>{n.d(e,{qi:()=>Os,vn:()=>Hn,ZL:()=>Gs,uw:()=>uo,kL:()=>_s,De:()=>Xs,f$:()=>mo,tt:()=>qn,u:()=>co});const i="undefined"==typeof window?function(t){return t()}:window.requestAnimationFrame;function s(t,e,n){const s=n||(t=>Array.prototype.slice.call(t));let o=!1,r=[];return function(...n){r=s(n),o||(o=!0,i.call(window,(()=>{o=!1,t.apply(e,r)})))}}const o=t=>"start"===t?"left":"end"===t?"right":"center",r=(t,e,n)=>"start"===t?e:"end"===t?n:(e+n)/2;function a(){}const l=function(){let t=0;return function(){return t++}}();function c(t){return null==t}function d(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return"[object"===e.substr(0,7)&&"Array]"===e.substr(-6)}function h(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}const u=t=>("number"==typeof t||t instanceof Number)&&isFinite(+t);function p(t,e){return u(t)?t:e}function f(t,e){return void 0===t?e:t}const g=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function m(t,e,n){if(t&&"function"==typeof t.call)return t.apply(n,e)}function b(t,e,n,i){let s,o,r;if(d(t))if(o=t.length,i)for(s=o-1;s>=0;s--)e.call(n,t[s],s);else for(s=0;s<o;s++)e.call(n,t[s],s);else if(h(t))for(r=Object.keys(t),o=r.length,s=0;s<o;s++)e.call(n,t[r[s]],r[s])}function v(t,e){let n,i,s,o;if(!t||!e||t.length!==e.length)return!1;for(n=0,i=t.length;n<i;++n)if(s=t[n],o=e[n],s.datasetIndex!==o.datasetIndex||s.index!==o.index)return!1;return!0}function y(t){if(d(t))return t.map(y);if(h(t)){const e=Object.create(null),n=Object.keys(t),i=n.length;let s=0;for(;s<i;++s)e[n[s]]=y(t[n[s]]);return e}return t}function x(t){return-1===["__proto__","prototype","constructor"].indexOf(t)}function _(t,e,n,i){if(!x(t))return;const s=e[t],o=n[t];h(s)&&h(o)?w(s,o,i):e[t]=y(o)}function w(t,e,n){const i=d(e)?e:[e],s=i.length;
vendor: 5,840 bytes, line 2
2if(!h(t))return t;const o=(n=n||{}).merger||_;for(let r=0;r<s;++r){if(!h(e=i[r]))continue;const s=Object.keys(e);for(let i=0,r=s.length;i<r;++i)o(s[i],t,e,n)}return t}function S(t,e){return w(t,e,{merger:C})}function C(t,e,n){if(!x(t))return;const i=e[t],s=n[t];h(i)&&h(s)?S(i,s):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=y(s))}const k=".";function A(t,e){const n=t.indexOf(k,e);return-1===n?t.length:n}function M(t,e){if(""===e)return t;let n=0,i=A(e,n);for(;t&&i>n;)t=t[e.substr(n,i-n)],n=i+1,i=A(e,n);return t}function E(t){return t.charAt(0).toUpperCase()+t.slice(1)}const O=t=>void 0!==t,T=t=>"function"==typeof t,P=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};const L=Math.PI,D=2*L,I=D+L,R=Number.POSITIVE_INFINITY,F=L/180,N=L/2,j=L/4,B=2*L/3,$=Math.log10,z=Math.sign;function V(t){const e=Math.round(t);t=W(t,e,t/1e3)?e:t;const n=Math.pow(10,Math.floor($(t))),i=t/n;return(i<=1?1:i<=2?2:i<=5?5:10)*n}function H(t){return!isNaN(parseFloat(t))&&isFinite(t)}function W(t,e,n){return Math.abs(t-e)<n}function Y(t,e,n){let i,s,o;for(i=0,s=t.length;i<s;i++)o=t[i][n],isNaN(o)||(e.min=Math.min(e.min,o),e.max=Math.max(e.max,o))}function U(t){return t*(L/180)}function G(t){return t*(180/L)}function q(t){if(!u(t))return;let e=1,n=0;for(;Math.round(t*e)/e!==t;)e*=10,n++;return n}function K(t,e){const n=e.x-t.x,i=e.y-t.y,s=Math.sqrt(n*n+i*i);let o=Math.atan2(i,n);return o<-.5*L&&(o+=D),{angle:o,distance:s}}function X(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Z(t,e){return(t-e+I)%D-L}function J(t){return(t%D+D)%D}function Q(t,e,n,i){const s=J(t),o=J(e),r=J(n),a=J(o-s),l=J(r-s),c=J(s-o),d=J(s-r);return s===o||s===r||i&&o===r||a>l&&c<d}function tt(t,e,n){return Math.max(e,Math.min(n,t))}function et(t,e,n,i=1e-6){return t>=Math.min(e,n)-i&&t<=Math.max(e,n)+i}const nt=t=>0===t||1===t,it=(t,e,n)=>-Math.pow(2,10*(t-=1))*Math.sin((t-e)*D/n),st=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*D/n)+1,ot={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*N),easeOutSine:t=>Math.sin(t*N),easeInOutSine:t=>-.5*(Math.cos(L*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=>nt(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=>nt(t)?t:it(t,.075,.3),easeOutElastic:t=>nt(t)?t:st(t,.075,.3),easeInOutElastic(t){const e=.1125;return nt(t)?t:t<.5?.5*it(2*t,e,.45):.5+.5*st(2*t-1,e,.45)},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-ot.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*ot.easeInBounce(2*t):.5*ot.easeOutBounce(2*t-1)+.5},rt={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},at="0123456789ABCDEF",lt=t=>at[15&t],ct=t=>at[(240&t)>>4]+at[15&t],dt=t=>(240&t)>>4==(15&t);function ht(t){var e=function(t){return dt(t.r)&&dt(t.g)&&dt(t.b)&&dt(t.a)}(t)?lt:ct;return t?"#"+e(t.r)+e(t.g)+e(t.b)+(t.a<255?e(t.a):""):t}function ut(t){return t+.5|0}const pt=(t,e,n)=>Math.max(Math.min(t,n),e);function ft(t){return pt(ut(2.55*t),0,255)}function gt(t){return pt(ut(255*t),0,255)}function mt(t){return pt(ut(t/2.55)/100,0,1)}function bt(t){return pt(ut(100*t),0,100)}const vt=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const yt=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function xt(t,e,n){const i=e*Math.min(n,1-n),s=(e,s=(e+t/30)%12)=>n-i*Math.max(Math.min(s-3,9-s,1),-1);return[s(0),s(8),s(4)]}function _t(t,e,n){const i=(i,s=(i+t/60)%6)=>n-n*e*Math.max(Math.min(s,4-s,1),0);return[i(5),i(3),i(1)]}function wt(t,e,n){const i=xt(t,1,.5);let s;for(e+n>1&&(s=1/(e+n),e*=s,n*=s),s=0;s<3;s++)i[s]*=1-e-n,i[s]+=e;return i}function St(t){const e=t.r/255,n=t.g/255,i=t.b/255,s=Math.max(e,n,i),o=Math.min(e,n,i),r=(s+o)/2;let a,l,c;return s!==o&&(c=s-o,l=r>.5?c/(2-s-o):c/(s+o),a=s===e?(n-i)/c+(n<i?6:0):s===n?(i-e)/c+2:(e-n)/c+4,a=60*a+.5),[0|a,l||0,r]}function Ct(t,e,n,i){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,i)).map(gt)}function kt(t,e,n){return Ct(xt,t,e,n)}function At(t){return(t%360+360)%360}function Mt(t){const e=yt.exec(t);let n,i=255;if(!e)return;e[5]!==n&&(i=e[6]?ft(+e[5]):gt(+e[5]));const s=At(+e[2]),o=+e[3]/100,r=+e[4]/100;return n="hwb"===e[1]?function(t,e,n){return Ct(wt,t,e,n)}(s,o,r):"hsv"===e[1]?function(t,e,n){return Ct(_t,t,e,n)}(s,o,r):kt(s,o,r),{r:n[0],g:n[1],b:n[2],a:i}}const Et={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"},Ot={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",K
vendor: 4,834 bytes, line 2
2ocTate:"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"};let Tt;function Pt(t){Tt||(Tt=function(){const t={},e=Object.keys(Ot),n=Object.keys(Et);let i,s,o,r,a;for(i=0;i<e.length;i++){for(r=a=e[i],s=0;s<n.length;s++)o=n[s],a=a.replace(o,Et[o]);o=parseInt(Ot[r],16),t[a]=[o>>16&255,o>>8&255,255&o]}return t}(),Tt.transparent=[0,0,0,0]);const e=Tt[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}function Lt(t,e,n){if(t){let i=St(t);i[e]=Math.max(0,Math.min(i[e]+i[e]*n,0===e?360:1)),i=kt(i),t.r=i[0],t.g=i[1],t.b=i[2]}}function Dt(t,e){return t?Object.assign(e||{},t):t}function It(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=gt(t[3]))):(e=Dt(t,{r:0,g:0,b:0,a:1})).a=gt(e.a),e}function Rt(t){return"r"===t.charAt(0)?function(t){const e=vt.exec(t);let n,i,s,o=255;if(e){if(e[7]!==n){const t=+e[7];o=255&(e[8]?ft(t):255*t)}return n=+e[1],i=+e[3],s=+e[5],n=255&(e[2]?ft(n):n),i=255&(e[4]?ft(i):i),s=255&(e[6]?ft(s):s),{r:n,g:i,b:s,a:o}}}(t):Mt(t)}class Ft{constructor(t){if(t instanceof Ft)return t;const e=typeof t;let n;var i,s,o;"object"===e?n=It(t):"string"===e&&(o=(i=t).length,"#"===i[0]&&(4===o||5===o?s={r:255&17*rt[i[1]],g:255&17*rt[i[2]],b:255&17*rt[i[3]],a:5===o?17*rt[i[4]]:255}:7!==o&&9!==o||(s={r:rt[i[1]]<<4|rt[i[2]],g:rt[i[3]]<<4|rt[i[4]],b:rt[i[5]]<<4|rt[i[6]],a:9===o?rt[i[7]]<<4|rt[i[8]]:255})),n=s||Pt(t)||Rt(t)),this._rgb=n,this._valid=!!n}get valid(){return this._valid}get rgb(){var t=Dt(this._rgb);return t&&(t.a=mt(t.a)),t}set rgb(t){this._rgb=It(t)}rgbString(){return this._valid?(t=this._rgb)&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${mt(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`):this._rgb;var t}hexString(){return this._valid?ht(this._rgb):this._rgb}hslString(){return this._valid?function(t){if(!t)return;const e=St(t),n=e[0],i=bt(e[1]),s=bt(e[2]);return t.a<255?`hsla(${n}, ${i}%, ${s}%, ${mt(t.a)})`:`hsl(${n}, ${i}%, ${s}%)`}(this._rgb):this._rgb}mix(t,e){const n=this;if(t){const i=n.rgb,s=t.rgb;let o;const r=e===o?.5:e,a=2*r-1,l=i.a-s.a,c=((a*l==-1?a:(a+l)/(1+a*l))+1)/2;o=1-c,i.r=255&c*i.r+o*s.r+.5,i.g=255&c*i.g+o*s.g+.5,i.b=255&c*i.b+o*s.b+.5,i.a=r*i.a+(1-r)*s.a,n.rgb=i}return n}clone(){return new Ft(this.rgb)}alpha(t){return this._rgb.a=gt(t),this}clearer(t){return this._rgb.a*=1-t,this}greyscale(){const t=this._rgb,e=ut(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}opaquer(t){return this._rgb.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 Lt(this._rgb,2,t),this}darken(t){return Lt(this._rgb,2,-t),this}saturate(t){return Lt(this._rgb,1,t),this}desaturate(t){return Lt(this._rgb,1,-t),this}rotate(t){return function(t,e){var n=St(t);n[0]=At(n[0]+e),n=kt(n),t.r=n[0],t.g=n[1],t.b=n[2]}(this._rgb,t),this}}function Nt(t){return new Ft(t)}
2const jt=t=>t instanceof CanvasGradient||t instanceof CanvasPattern;function Bt(t){return jt(t)?t:Nt(t)}function $t(t){return jt(t)?t:Nt(t).saturate(.5).darken(.1).hexString()}const zt=Object.create(null),Vt=Object.create(null);function Ht(t,e){if(!e)return t;const n=e.split(".");for(let e=0,i=n.length;e<i;++e){const i=n[e];t=t[i]||(t[i]=Object.create(null))}return t}function Wt(t,e,n){return"string"==typeof e?w(Ht(t,e),n):w(Ht(t,""),e)}var Yt=new class{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)=>$t(e.backgroundColor),this.hoverBorderColor=(t,e)=>$t(e.borderColor),this.hoverColor=(t,e)=>$t(e.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={}
vendor: 14,937 bytes, line 2
2,this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t)}set(t,e){return Wt(this,t,e)}get(t){return Ht(this,t)}describe(t,e){return Wt(Vt,t,e)}override(t,e){return Wt(zt,t,e)}route(t,e,n,i){const s=Ht(this,t),o=Ht(this,n),r="_"+e;Object.defineProperties(s,{[r]:{value:s[e],writable:!0},[e]:{enumerable:!0,get(){const t=this[r],e=o[i];return h(t)?Object.assign({},e,t):f(t,e)},set(t){this[r]=t}}})}}({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function Ut(t,e,n,i,s){let o=e[s];return o||(o=e[s]=t.measureText(s).width,n.push(s)),o>i&&(i=o),i}function Gt(t,e,n,i){let s=(i=i||{}).data=i.data||{},o=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(s=i.data={},o=i.garbageCollect=[],i.font=e),t.save(),t.font=e;let r=0;const a=n.length;let l,c,h,u,p;for(l=0;l<a;l++)if(u=n[l],null!=u&&!0!==d(u))r=Ut(t,s,o,r,u);else if(d(u))for(c=0,h=u.length;c<h;c++)p=u[c],null==p||d(p)||(r=Ut(t,s,o,r,p));t.restore();const f=o.length/2;if(f>n.length){for(l=0;l<f;l++)delete s[o[l]];o.splice(0,f)}return r}function qt(t,e,n){const i=t.currentDevicePixelRatio,s=0!==n?Math.max(n/2,.5):0;return Math.round((e-s)*i)/i+s}function Kt(t,e){(e=e||t.getContext("2d")).save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore()}function Xt(t,e,n,i){let s,o,r,a,l;const c=e.pointStyle,d=e.rotation,h=e.radius;let u=(d||0)*F;if(c&&"object"==typeof c&&(s=c.toString(),"[object HTMLImageElement]"===s||"[object HTMLCanvasElement]"===s))return t.save(),t.translate(n,i),t.rotate(u),t.drawImage(c,-c.width/2,-c.height/2,c.width,c.height),void t.restore();if(!(isNaN(h)||h<=0)){switch(t.beginPath(),c){default:t.arc(n,i,h,0,D),t.closePath();break;case"triangle":t.moveTo(n+Math.sin(u)*h,i-Math.cos(u)*h),u+=B,t.lineTo(n+Math.sin(u)*h,i-Math.cos(u)*h),u+=B,t.lineTo(n+Math.sin(u)*h,i-Math.cos(u)*h),t.closePath();break;case"rectRounded":l=.516*h,a=h-l,o=Math.cos(u+j)*a,r=Math.sin(u+j)*a,t.arc(n-o,i-r,l,u-L,u-N),t.arc(n+r,i-o,l,u-N,u),t.arc(n+o,i+r,l,u,u+N),t.arc(n-r,i+o,l,u+N,u+L),t.closePath();break;case"rect":if(!d){a=Math.SQRT1_2*h,t.rect(n-a,i-a,2*a,2*a);break}u+=j;case"rectRot":o=Math.cos(u)*h,r=Math.sin(u)*h,t.moveTo(n-o,i-r),t.lineTo(n+r,i-o),t.lineTo(n+o,i+r),t.lineTo(n-r,i+o),t.closePath();break;case"crossRot":u+=j;case"cross":o=Math.cos(u)*h,r=Math.sin(u)*h,t.moveTo(n-o,i-r),t.lineTo(n+o,i+r),t.moveTo(n+r,i-o),t.lineTo(n-r,i+o);break;case"star":o=Math.cos(u)*h,r=Math.sin(u)*h,t.moveTo(n-o,i-r),t.lineTo(n+o,i+r),t.moveTo(n+r,i-o),t.lineTo(n-r,i+o),u+=j,o=Math.cos(u)*h,r=Math.sin(u)*h,t.moveTo(n-o,i-r),t.lineTo(n+o,i+r),t.moveTo(n+r,i-o),t.lineTo(n-r,i+o);break;case"line":o=Math.cos(u)*h,r=Math.sin(u)*h,t.moveTo(n-o,i-r),t.lineTo(n+o,i+r);break;case"dash":t.moveTo(n,i),t.lineTo(n+Math.cos(u)*h,i+Math.sin(u)*h)}t.fill(),e.borderWidth>0&&t.stroke()}}function Zt(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 Jt(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function Qt(t){t.restore()}function te(t,e,n,i,s){if(!e)return t.lineTo(n.x,n.y);if("middle"===s){const i=(e.x+n.x)/2;t.lineTo(i,e.y),t.lineTo(i,n.y)}else"after"===s!=!!i?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y);t.lineTo(n.x,n.y)}function ee(t,e,n,i){if(!e)return t.lineTo(n.x,n.y);t.bezierCurveTo(i?e.cp1x:e.cp2x,i?e.cp1y:e.cp2y,i?n.cp2x:n.cp1x,i?n.cp2y:n.cp1y,n.x,n.y)}function ne(t,e,n,i,s,o={}){const r=d(e)?e:[e],a=o.strokeWidth>0&&""!==o.strokeColor;let l,h;for(t.save(),t.font=s.string,function(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]);c(e.rotation)||t.rotate(e.rotation);e.color&&(t.fillStyle=e.color);e.textAlign&&(t.textAlign=e.textAlign);e.textBaseline&&(t.textBaseline=e.textBaseline)}(t,o),l=0;l<r.length;++l)h=r[l],a&&(o.strokeColor&&(t.strokeStyle=o.strokeColor),c(o.strokeWidth)||(t.lineWidth=o.strokeWidth),t.strokeText(h,n,i,o.maxWidth)),t.fillText(h,n,i,o.maxWidth),ie(t,n,i,h,o),i+=s.lineHeight;t.restore()}function ie(t,e,n,i,s){if(s.strikethrough||s.underline){const o=t.measureText(i),r=e-o.actualBoundingBoxLeft,a=e+o.actualBoundingBoxRight,l=n-o.actualBoundingBoxAscent,c=n+o.actualBoundingBoxDescent,d=s.strikethrough?(l+c)/2:c;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=s.decorationWidth||2,t.moveTo(r,d),t.lineTo(a,d),t.stroke()}}function se(t,e){const{x:n,y:i,w:s,h:o,radius:r}=e;t.arc(n+r.topLeft,i+r.topLeft,r.topLeft,-N,L,!0),t.lineTo(n,i+o-r.bottomLeft),t.arc(n+r.bottomLeft,i+o-r.bottomLeft,r.bottomLeft,L,N,!0),t.lineTo(n+s-r.bottomRight,i+o),t.arc(n+s-r.bottomRight,i+o-r.bottomRight,r.bottomRight,N,0,!0),t.lineTo(n+s,i+r.topRight),t.arc(n+s-r.topRight,i+r.topRight,r.topRight,0,-N,!0),t.lineTo(n+r.topLeft,i)}const oe=new RegExp(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/),re=new RegExp(/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/);function ae(t,e){const n=(""+t).match(oe);if(!n||"normal"===n[1])return 1.2*e;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100}return e*t}const le=t=>+t||0;function ce(t,e){const n={},i=h(e),s=i?Object.keys(e):e,o=h(t)?i?n=>f(t[n],t[e[n]]):e=>t[e]:()=>t;for(const t of s)n[t]=le(o(t));return n}function de(t){return ce(t,{top:"y",right:"x",bottom:"y",left:"x"})}function he(t){return ce(t,["topLeft","topRight","bottomLeft","bottomRight"])}function ue(t){const e=de(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function pe(t,e){t=t||{},e=e||Yt.font;let n=f(t.size,e.size);"string"==typeof n&&(n=parseInt(n,10));let i=f(t.style,e.style);i&&!(""+i).match(re)&&(console.warn('Invalid font style specified: "'+i+'"'),i="");const s={family:f(t.family,e.family),lineHeight:ae(f(t.lineHeight,e.lineHeight),n),size:n,style:i,weight:f(t.weight,e.weight),string:""};return s.string=function(t){return!t||c(t.size)||c(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}(s),s}function fe(t,e,n,i){let s,o,r,a=!0;for(s=0,o=t.length;s<o;++s)if(r=t[s],void 0!==r&&(void 0!==e&&"function"==typeof r&&(r=r(e),a=!1),void 0!==n&&d(r)&&(r=r[n%r.length],a=!1),void 0!==r))return i&&!a&&(i.cacheable=!1),r}function ge(t,e){return Object.assign(Object.create(t),e)}function me(t,e,n){n=n||(n=>t[n]<e);let i,s=t.length-1,o=0;for(;s-o>1;)i=o+s>>1,n(i)?o=i:s=i;return{lo:o,hi:s}}const be=(t,e,n)=>me(t,n,(i=>t[i][e]<n)),ve=(t,e,n)=>me(t,n,(i=>t[i][e]>=n));const ye=["push","pop","shift","splice","unshift"];function xe(t,e){const n=t._chartjs;if(!n)return;const i=n.listeners,s=i.indexOf(e);-1!==s&&i.splice(s,1),i.length>0||(ye.forEach((e=>{delete t[e]})),delete t._chartjs)}function _e(t){const e=new Set;let n,i;for(n=0,i=t.length;n<i;++n)e.add(t[n]);return e.size===i?t:Array.from(e)}function we(t,e=[""],n=t,i,s=(()=>t[0])){O(i)||(i=De("_fallback",t));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:n,_fallback:i,_getTarget:s,override:s=>we([s,...t],e,n,i)};return new Proxy(o,{deleteProperty:(e,n)=>(delete e[n],delete e._keys,delete t[0][n],!0),get:(n,i)=>Me(n,i,(()=>function(t,e,n,i){let s;for(const o of e)if(s=De(ke(o,t),n),O(s))return Ae(t,s)?Pe(n,i,t,s):s}(i,e,t,n))),getOwnPropertyDescriptor:(t,e)=>Reflect.getOwnPropertyDescriptor(t._scopes[0],e),getPrototypeOf:()=>Reflect.getPrototypeOf(t[0]),has:(t,e)=>Ie(t).includes(e),ownKeys:t=>Ie(t),set(t,e,n){const i=t._storage||(t._storage=s());return t[e]=i[e]=n,delete t._keys,!0}})}function Se(t,e,n,i){const s={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:Ce(t,i),setContext:e=>Se(t,e,n,i),override:s=>Se(t.override(s),e,n,i)};return new Proxy(s,{deleteProperty:(e,n)=>(delete e[n],delete t[n],!0),get:(t,e,n)=>Me(t,e,(()=>function(t,e,n){const{_proxy:i,_context:s,_subProxy:o,_descriptors:r}=t;let a=i[e];T(a)&&r.isScriptable(e)&&(a=function(t,e,n,i){const{_proxy:s,_context:o,_subProxy:r,_stack:a}=n;if(a.has(t))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+t);a.add(t),e=e(o,r||i),a.delete(t),Ae(t,e)&&(e=Pe(s._scopes,s,t,e));return e}(e,a,t,n));d(a)&&a.length&&(a=function(t,e,n,i){const{_proxy:s,_context:o,_subProxy:r,_descriptors:a}=n;if(O(o.index)&&i(t))e=e[o.index%e.length];else if(h(e[0])){const n=e,i=s._scopes.filter((t=>t!==n));e=[];for(const l of n){const n=Pe(i,s,t,l);e.push(Se(n,o,r&&r[t],a))}}return e}(e,a,t,r.isIndexable));Ae(e,a)&&(a=Se(a,s,o&&o[e],r));return a}(t,e,n))),getOwnPropertyDescriptor:(e,n)=>e._descriptors.allKeys?Reflect.has(t,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,n),getPrototypeOf:()=>Reflect.getPrototypeOf(t),has:(e,n)=>Reflect.has(t,n),ownKeys:()=>Reflect.ownKeys(t),set:(e,n,i)=>(t[n]=i,delete e[n],!0)})}function Ce(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:i=e.indexable,_allKeys:s=e.allKeys}=t;return{allKeys:s,scriptable:n,indexable:i,isScriptable:T(n)?n:()=>n,isIndexable:T(i)?i:()=>i}}const ke=(t,e)=>t?t+E(e):e,Ae=(t,e)=>h(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function Me(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const i=n();return t[e]=i,i}function Ee(t,e,n){return T(t)?t(e,n):t}const Oe=(t,e)=>!0===t?e:"string"==typeof t?M(e,t):void 0;function Te(t,e,n,i,s){for(const o of e){const e=Oe(n,o);if(e){t.add(e);const o=Ee(e._fallback,n,s);if(O(o)&&o!==n&&o!==i)return o}else if(!1===e&&O(i)&&n!==i)return null}return!1}function Pe(t,e,n,i){const s=e._rootScopes,o=Ee(e._fallback,n,i),r=[...t,...s],a=new Set;a.add(i);let l=Le(a,r,n,o||n,i);return null!==l&&((!O(o)||o===n||(l=Le(a,r,o,l,i),null!==l))&&we(Array.from(a),[""],s,o,(()=>function(t,e,n){const i=t._getTarget();e in i||(i[e]={});const s=i[e];if(d(s)&&h(n))return n;return s}(e,n,i))))}function Le(t,e,n,i,s){for(;n;)n=Te(t,e,n,i,s);return n}function De(t,e){for(const n of e){if(!n)continue;const e=n[t];if(O(e))return e}}function Ie(t){let e=t._keys;return e||(e=t._keys=function(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)}(t._scopes)),e}const Re=Number.EPSILON||1e-14,Fe=(t,e)=>e<t.length&&!t[e].skip&&t[e],Ne=t=>"x"===t?"y":"x";function je(t,e,n,i){const s=t.skip?e:t,o=e,r=n.skip?e:n,a=X(o,s),l=X(r,o);let c=a/(a+l),d=l/(a+l);c=isNaN(c)?0:c,d=isNaN(d)?0:d;const h=i*c,u=i*d;return{previous:{x:o.x-h*(r.x-s.x),y:o.y-h*(r.y-s.y)},next:{x:o.x+u*(r.x-s.x),y:o.y+u*(r.y-s.y)}}}function Be(t,e="x"){const n=Ne(e),i=t.length,s=Array(i).fill(0),o=Array(i);let r,a,l,c=Fe(t,0);for(r=0;r<i;++r)if(a=l,l=c,c=Fe(t,r+1),l){if(c){const t=c[e]-l[e];s[r]=0!==t?(c[n]-l[n])/t:0}o[r]=a?c?z(s[r-1])!==z(s[r])?0:(s[r-1]+s[r])/2:s[r-1]:s[r]}!function(t,e,n){const i=t.length;let s,o,r,a,l,c=Fe(t,0);for(let d=0;d<i-1;++d)l=c,c=Fe(t,d+1),l&&c&&(W(e[d],0,Re)?n[d]=n[d+1]=0:(s=n[d]/e[d],o=n[d+1]/e[d],a=Math.pow(s,2)+Math.pow(o,2),a<=9||(r=3/Math.sqrt(a),n[d]=s*r*e[d],n[d+1]=o*r*e[d])))}(t,s,o),function(t,e,n="x"){const i=Ne(n),s=t.length;let o,r,a,l=Fe(t,0);for(let c=0;c<s;++c){if(r=a,a=l,l=Fe(t,c+1),!a)continue;const s=a[n],d=a[i];r&&(o=(s-r[n])/3,a[`cp1${n}`]=s-o,a[`cp1${i}`]=d-o*e[c]),l&&(o=(l[n]-s)/3,a[`cp2${n}`]=s+o,a[`cp2${i}`]=d+o*e[c])}}(t,o,e)}function $e(t,e,n){return Math.max(Math.min(t,n),e)}function ze(t,e,n,i,s){let o,r,a,l;if(e.spanGaps&&(t=t.filter((t=>!t.skip))),"monotone"===e.cubicInterpolationMode)Be(t,s);else{let n=i?t[t.length-1]:t[0];for(o=0,r=t.length;o<r;++o)a=t[o],l=je(n,a,t[Math.min(o+1,r-(i?0:1))%r],e.tension),a.cp1x=l.previous.x,a.cp1y=l.previous.y,a.cp2x=l.next.x,a.cp2y=l.next.y,n=a}e.capBezierPoints&&function(t,e){let n,i,s,o,r,a=Zt(t[0],e);for(n=0,i=t.length;n<i;++n)r=o,o=a,a=n<i-1&&Zt(t[n+1],e),o&&(s=t[n],r&&(s.cp1x=$e(s.cp1x,e.left,e.right),s.cp1y=$e(s.cp1y,e.top,e.bottom)),a&&(s.cp2x=$e(s.cp2x,e.left,e.right),s.cp2y=$e(s.cp2y,e.top,e.bottom)))}(t,n)}function Ve(){return"undefined"!=typeof window&&"undefined"!=typeof document}function He(t){let e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e}function We(t,e,n){let i;return"string"==typeof t?(i=parseInt(t,10),-1!==t.indexOf("%")&&(i=i/100*e.parentNode[n])):i=t,i}const Ye=t=>window.getComputedStyle(t,null);const Ue=["top","right","bottom","left"];function Ge(t,e,n){const i={};n=n?"-"+n:"";for(let s=0;s<4;s++){const o=Ue[s];i[o]=parseFloat(t[e+"-"+o+n])||0}return i.width=i.left+i.right,i.height=i.top+i.bottom,i}const qe=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function Ke(t,e){const{canvas:n,currentDevicePixelRatio:i}=e,s=Ye(n),o="border-box"===s.boxSizing,r=Ge(s,"padding"),a=Ge(s,"border","width"),{x:l,y:c,box:d}=function(t,e){const n=t.native||t,i=n.touches,s=i&&i.length?i[0]:n,{offsetX:o,offsetY:r}=s;let a,l,c=!1;if(qe(o,r,n.target))a=o,l=r;else{const t=e.getBoundingClientRect();a=s.clientX-t.left,l=s.clientY-t.top,c=!0}return{x:a,y:l,box:c}}(t,n),h=r.left+(d&&a.left),u=r.top+(d&&a.top);let{width:p,height:f}=e;return o&&(p-=r.width+a.width,f-=r.height+a.height),{x:Math.round((l-h)/p*n.width/i),y:Math.round((c-u)/f*n.height/i)}}const Xe=t=>Math.round(10*t)/10;function Ze(t,e,n,i){const s=Ye(t),o=Ge(s,"margin"),r=We(s.maxWidth,t,"clientWidth")||R,a=We(s.maxHeight,t,"clientHeight")||R,l=function(t,e,n){let i,s;if(void 0===e||void 0===n){const o=He(t);if(o){const t=o.getBoundingClientRect(),r=Ye(o),a=Ge(r,"border","width"),l=Ge(r,"padding");e=t.width-l.width-a.width,n=t.height-l.height-a.height,i=We(r.maxWidth,o,"clientWidth"),s=We(r.maxHeight,o,"clientHeight")}else e=t.clientWidth,n=t.clientHeight}return{width:e,height:n,maxWidth:i||R,maxHeight:s||R}}(t,e,n);let{width:c,height:d}=l;if("content-box"===s.boxSizing){const t=Ge(s,"border","width"),e=Ge(s,"padding");c-=e.width+t.width,d-=e.height+t.height}return c=Math.max(0,c-o.width),d=Math.max(0,i?Math.floor(c/i):d-o.height),c=Xe(Math.min(c,r,l.maxWidth)),d=Xe(Math.min(d,a,l.maxHeight)),c&&!d&&(d=Xe(c/2)),{width:c,height:d}}function Je(t,e,n){const i=e||1,s=Math.floor(t.height*i),o=Math.floor(t.width*i);t.height=s/i,t.width=o/i;const r=t.canvas;return r.style&&(n||!r.style.height&&!r.style.width)&&(r.style.height=`${t.height}px`,r.style.width=`${t.width}px`),(t.currentDevicePixelRatio!==i||r.height!==s||r.width!==o)&&(t.currentDevicePixelRatio=i,r.height=s,r.width=o,t.ctx.setTransform(i,0,0,i,0,0),!0)}const Qe=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(t){}return t}();function tn(t,e){const n=function(t,e){return Ye(t).getPropertyValue(e)}(t,e),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?+i[1]:void 0}function en(t,e,n,i){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function nn(t,e,n,i){return{x:t.x+n*(e.x-t.x),y:"middle"===i?n<.5?t.y:e.y:"after"===i?n<1?t.y:e.y:n>0?e.y:t.y}}function sn(t,e,n,i){const s={x:t.cp2x,y:t.cp2y},o={x:e.cp1x,y:e.cp1y},r=en(t,s,n),a=en(s,o,n),l=en(o,e,n),c=en(r,a,n),d=en(a,l,n);return en(c,d,n)}const on=new Map;function rn(t,e,n){return function(t,e){e=e||{};const n=t+JSON.stringify(e);let i=on.get(n);
vendor: 6,833 bytes, line 2
2return i||(i=new Intl.NumberFormat(t,e),on.set(n,i)),i}(e,n).format(t)}function an(t,e,n){return t?function(t,e){return{x:n=>t+t+e-n,setWidth(t){e=t},textAlign:t=>"center"===t?t:"right"===t?"left":"right",xPlus:(t,e)=>t-e,leftForLtr:(t,e)=>t-e}}(e,n):{x:t=>t,setWidth(t){},textAlign:t=>t,xPlus:(t,e)=>t+e,leftForLtr:(t,e)=>t}}function ln(t,e){let n,i;"ltr"!==e&&"rtl"!==e||(n=t.canvas.style,i=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=i)}function cn(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function dn(t){return"angle"===t?{between:Q,compare:Z,normalize:J}:{between:et,compare:(t,e)=>t-e,normalize:t=>t}}function hn({start:t,end:e,count:n,loop:i,style:s}){return{start:t%n,end:e%n,loop:i&&(e-t+1)%n==0,style:s}}function un(t,e,n){if(!n)return[t];const{property:i,start:s,end:o}=n,r=e.length,{compare:a,between:l,normalize:c}=dn(i),{start:d,end:h,loop:u,style:p}=function(t,e,n){const{property:i,start:s,end:o}=n,{between:r,normalize:a}=dn(i),l=e.length;let c,d,{start:h,end:u,loop:p}=t;if(p){for(h+=l,u+=l,c=0,d=l;c<d&&r(a(e[h%l][i]),s,o);++c)h--,u--;h%=l,u%=l}return u<h&&(u+=l),{start:h,end:u,loop:p,style:t.style}}(t,e,n),f=[];let g,m,b,v=!1,y=null;const x=()=>v||l(s,b,g)&&0!==a(s,b),_=()=>!v||0===a(o,g)||l(o,b,g);for(let t=d,n=d;t<=h;++t)m=e[t%r],m.skip||(g=c(m[i]),g!==b&&(v=l(g,s,o),null===y&&x()&&(y=0===a(g,s)?t:n),null!==y&&_()&&(f.push(hn({start:y,end:t,loop:u,count:r,style:p})),y=null),n=t,b=g));return null!==y&&f.push(hn({start:y,end:h,loop:u,count:r,style:p})),f}function pn(t,e){const n=[],i=t.segments;for(let s=0;s<i.length;s++){const o=un(i[s],t.points,e);o.length&&n.push(...o)}return n}function fn(t,e,n,i){return i&&i.setContext&&n?function(t,e,n,i){const s=t._chart.getContext(),o=gn(t.options),{_datasetIndex:r,options:{spanGaps:a}}=t,l=n.length,c=[];let d=o,h=e[0].start,u=h;function p(t,e,i,s){const o=a?-1:1;if(t!==e){for(t+=l;n[t%l].skip;)t-=o;for(;n[e%l].skip;)e+=o;t%l!=e%l&&(c.push({start:t%l,end:e%l,loop:i,style:s}),d=s,h=e%l)}}for(const t of e){h=a?h:t.start;let e,o=n[h%l];for(u=h+1;u<=t.end;u++){const a=n[u%l];e=gn(i.setContext(ge(s,{type:"segment",p0:o,p1:a,p0DataIndex:(u-1)%l,p1DataIndex:u%l,datasetIndex:r}))),mn(e,d)&&p(h,u-1,t.loop,d),o=a,d=e}h<u-1&&p(h,u-1,t.loop,d)}return c}(t,e,n,i):e}function gn(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function mn(t,e){return e&&JSON.stringify(t)!==JSON.stringify(e)}var bn=new class{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,e,n,i){const s=e.listeners[i],o=e.duration;s.forEach((i=>i({chart:t,initial:e.initial,numSteps:o,currentStep:Math.min(n-e.start,o)})))}_refresh(){this._request||(this._running=!0,this._request=i.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(t=Date.now()){let e=0;this._charts.forEach(((n,i)=>{if(!n.running||!n.items.length)return;const s=n.items;let o,r=s.length-1,a=!1;for(;r>=0;--r)o=s[r],o._active?(o._total>n.duration&&(n.duration=o._total),o.tick(t),a=!0):(s[r]=s[s.length-1],s.pop());a&&(i.draw(),this._notify(i,n,t,"progress")),s.length||(n.running=!1,this._notify(i,n,t,"complete"),n.initial=!1),e+=s.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 i=n.length-1;for(;i>=0;--i)n[i].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}};const vn="transparent",yn={boolean:(t,e,n)=>n>.5?e:t,color(t,e,n){const i=Bt(t||vn),s=i.valid&&Bt(e||vn);return s&&s.valid?s.mix(i,n).hexString():e},number:(t,e,n)=>t+(e-t)*n};class xn{constructor(t,e,n,i){const s=e[n];i=fe([t.to,i,s,t.from]);const o=fe([t.from,s,i]);this._active=!0,this._fn=t.fn||yn[t.type||typeof o],this._easing=ot[t.easing]||ot.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=o,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],s=n-this._start,o=this._duration-s;this._start=n,this._duration=Math.floor(Math.max(o,t.duration)),this._total+=s,this._loop=!!t.loop,this._to=fe([t.to,e,i,t.from]),this._from=fe([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,i=this._prop,s=this._from,o=this._loop,r=this._to;let a;if(this._active=s!==r&&(o||e<n),!this._active)return this._target[i]=r,void this._notify(!0);e<0?this._target[i]=s:(a=e/n%2,a=o&&a>1?2-a:a,a=this._easing(Math.min(1,Math.max(0,a))),this._target[i]=this._fn(s,r,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 t=0;t<n.length;t++)n[t][e]()}}Yt.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 _n=Object.keys(Yt.animation);Yt.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>"onProgress"!==t&&"onComplete"!==t&&"fn"!==t}),Yt.set("animations",{colors:{type:"color",properties:["color","borderColor","backgroundColor"]},numbers:{type:"number",properties:["x","y","borderWidth","radius","tension"]}}),Yt.describe("animations",{_fallback:"animation"}),Yt.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 wn{constructor(t,e){this._chart=t,this._properties=new Map,this.configure(e)}configure(t){if(!h(t))return;const e=this._properties;Object.getOwnPropertyNames(t).forEach((n=>{const i=t[n];if(!h(i))return;const s={};for(const t of _n)s[t]=i[t];(d(i.properties)&&i.properties||[n]).forEach((t=>{t!==n&&e.has(t)||e.set(t,s)}
vendor: 10,629 bytes, line 2
2))}))}_animateOptions(t,e){const n=e.options,i=function(t,e){if(!e)return;let n=t.options;if(!n)return void(t.options=e);n.$shared&&(t.options=n=Object.assign({},n,{$shared:!1,$animations:{}}));return n}(t,n);if(!i)return[];const s=this._createAnimations(i,n);return n.$shared&&function(t,e){const n=[],i=Object.keys(e);for(let e=0;e<i.length;e++){const s=t[i[e]];s&&s.active()&&n.push(s.wait())}return Promise.all(n)}(t.options.$animations,n).then((()=>{t.options=n}),(()=>{})),s}_createAnimations(t,e){const n=this._properties,i=[],s=t.$animations||(t.$animations={}),o=Object.keys(e),r=Date.now();let a;for(a=o.length-1;a>=0;--a){const l=o[a];if("$"===l.charAt(0))continue;if("options"===l){i.push(...this._animateOptions(t,e));continue}const c=e[l];let d=s[l];const h=n.get(l);if(d){if(h&&d.active()){d.update(h,c,r);continue}d.cancel()}h&&h.duration?(s[l]=d=new xn(h,t,l,c),i.push(d)):t[l]=c}return i}update(t,e){if(0===this._properties.size)return void Object.assign(t,e);const n=this._createAnimations(t,e);return n.length?(bn.add(this._chart,n),!0):void 0}}function Sn(t,e){const n=t&&t.options||{},i=n.reverse,s=void 0===n.min?e:0,o=void 0===n.max?e:0;return{start:i?o:s,end:i?s:o}}function Cn(t,e){const n=[],i=t._getSortedDatasetMetas(e);let s,o;for(s=0,o=i.length;s<o;++s)n.push(i[s].index);return n}function kn(t,e,n,i={}){const s=t.keys,o="single"===i.mode;let r,a,l,c;if(null!==e){for(r=0,a=s.length;r<a;++r){if(l=+s[r],l===n){if(i.all)continue;break}c=t.values[l],u(c)&&(o||0===e||z(e)===z(c))&&(e+=c)}return e}}function An(t,e){const n=t&&t.options.stacked;return n||void 0===n&&void 0!==e.stack}function Mn(t,e,n){const i=t[e]||(t[e]={});return i[n]||(i[n]={})}function En(t,e,n,i){for(const s of e.getMatchingVisibleMetas(i).reverse()){const e=t[s.index];if(n&&e>0||!n&&e<0)return s.index}return null}function On(t,e){const{chart:n,_cachedMeta:i}=t,s=n._stacks||(n._stacks={}),{iScale:o,vScale:r,index:a}=i,l=o.axis,c=r.axis,d=function(t,e,n){return`${t.id}.${e.id}.${n.stack||n.type}`}(o,r,i),h=e.length;let u;for(let t=0;t<h;++t){const n=e[t],{[l]:o,[c]:h}=n;u=(n._stacks||(n._stacks={}))[c]=Mn(s,d,o),u[a]=h,u._top=En(u,r,!0,i.type),u._bottom=En(u,r,!1,i.type)}}function Tn(t,e){const n=t.scales;return Object.keys(n).filter((t=>n[t].axis===e)).shift()}function Pn(t,e){const n=t.controller.index,i=t.vScale&&t.vScale.axis;if(i){e=e||t._parsed;for(const t of e){const e=t._stacks;if(!e||void 0===e[i]||void 0===e[i][n])return;delete e[i][n]}}}const Ln=t=>"reset"===t||"none"===t,Dn=(t,e)=>e?t:Object.assign({},t);class In{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.$context=void 0,this._syncList=[],this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=An(t.vScale,t),this.addElements()}updateIndex(t){this.index!==t&&Pn(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,e=this._cachedMeta,n=this.getDataset(),i=(t,e,n,i)=>"x"===t?e:"r"===t?i:n,s=e.xAxisID=f(n.xAxisID,Tn(t,"x")),o=e.yAxisID=f(n.yAxisID,Tn(t,"y")),r=e.rAxisID=f(n.rAxisID,Tn(t,"r")),a=e.indexAxis,l=e.iAxisID=i(a,s,o,r),c=e.vAxisID=i(a,o,s,r);e.xScale=this.getScaleForId(s),e.yScale=this.getScaleForId(o),e.rScale=this.getScaleForId(r),e.iScale=this.getScaleForId(l),e.vScale=this.getScaleForId(c)}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&&xe(this._data,this),t._stacked&&Pn(t)}_dataCheck(){const t=this.getDataset(),e=t.data||(t.data=[]),n=this._data;if(h(e))this._data=function(t){const e=Object.keys(t),n=new Array(e.length);let i,s,o;for(i=0,s=e.length;i<s;++i)o=e[i],n[i]={x:o,y:t[o]};return n}(e);else if(n!==e){if(n){xe(n,this);const t=this._cachedMeta;Pn(t),t._parsed=[]}e&&Object.isExtensible(e)&&(s=this,(i=e)._chartjs?i._chartjs.listeners.push(s):(Object.defineProperty(i,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[s]}}),ye.forEach((t=>{const e="_onData"+E(t),n=i[t];Object.defineProperty(i,t,{configurable:!0,enumerable:!1,value(...t){const s=n.apply(this,t);return i._chartjs.listeners.forEach((n=>{"function"==typeof n[e]&&n[e](...t)})),s}})})))),this._syncList=[],this._data=e}var i,s}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const e=this._cachedMeta,n=this.getDataset();let i=!1;this._dataCheck();const s=e._stacked;e._stacked=An(e.vScale,e),e.stack!==n.stack&&(i=!0,Pn(e),e.stack=n.stack),this._resyncElements(t),(i||s!==e._stacked)&&On(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:s,_stacked:o}=n,r=s.axis;let a,l,c,u=0===t&&e===i.length||n._sorted,p=t>0&&n._parsed[t-1];if(!1===this._parsing)n._parsed=i,n._sorted=!0,c=i;else{c=d(i[t])?this.parseArrayData(n,i,t,e):h(i[t])?this.parseObjectData(n,i,t,e):this.parsePrimitiveData(n,i,t,e);const s=()=>null===l[r]||p&&l[r]<p[r];for(a=0;a<e;++a)n._parsed[a+t]=l=c[a],u&&(s()&&(u=!1),p=l);n._sorted=u}o&&On(this,c)}parsePrimitiveData(t,e,n,i){const{iScale:s,vScale:o}=t,r=s.axis,a=o.axis,l=s.getLabels(),c=s===o,d=new Array(i);let h,u,p;for(h=0,u=i;h<u;++h)p=h+n,d[h]={[r]:c||s.parse(l[p],p),[a]:o.parse(e[p],p)};return d}parseArrayData(t,e,n,i){const{xScale:s,yScale:o}=t,r=new Array(i);let a,l,c,d;for(a=0,l=i;a<l;++a)c=a+n,d=e[c],r[a]={x:s.parse(d[0],c),y:o.parse(d[1],c)};return r}parseObjectData(t,e,n,i){const{xScale:s,yScale:o}=t,{xAxisKey:r="x",yAxisKey:a="y"}=this._parsing,l=new Array(i);let c,d,h,u;for(c=0,d=i;c<d;++c)h=c+n,u=e[h],l[c]={x:s.parse(M(u,r),h),y:o.parse(M(u,a),h)};return l}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,e,n){const i=this.chart,s=this._cachedMeta,o=e[t.axis];return kn({keys:Cn(i,!0),values:e._stacks[t.axis]},o,s.index,{mode:n})}updateRangeFromParsed(t,e,n,i){const s=n[e.axis];let o=null===s?NaN:s;const r=i&&n._stacks[e.axis];i&&r&&(i.values=r,o=kn(i,s,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,s=n._sorted&&t===n.iScale,o=i.length,r=this._getOtherScale(t),a=((t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:Cn(n,!0),values:null})(e,n,this.chart),l={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:c,max:d}=function(t){const{min:e,max:n,minDefined:i,maxDefined:s}=t.getUserBounds();return{min:i?e:Number.NEGATIVE_INFINITY,max:s?n:Number.POSITIVE_INFINITY}}(r);let h,p;function f(){p=i[h];const e=p[r.axis];return!u(p[t.axis])||c>e||d<e}for(h=0;h<o&&(f()||(this.updateRangeFromParsed(l,t,p,a),!s));++h);if(s)for(h=o-1;h>=0;--h)if(!f()){this.updateRangeFromParsed(l,t,p,a);break}return l}getAllParsedValues(t){const e=this._cachedMeta._parsed,n=[];let i,s,o;for(i=0,s=e.length;i<s;++i)o=e[i][t.axis],u(o)&&n.push(o);return n}getMaxOverflow(){return!1}getLabelAndValue(t){const e=this._cachedMeta,n=e.iScale,i=e.vScale,s=this.getParsed(t);return{label:n?""+n.getLabelForValue(s[n.axis]):"",value:i?""+i.getLabelForValue(s[i.axis]):""}}_update(t){const e=this._cachedMeta;this.update(t||"default"),e._clip=function(t){let e,n,i,s;return h(t)?(e=t.top,n=t.right,i=t.bottom,s=t.left):e=n=i=s=t,{top:e,right:n,bottom:i,left:s,disabled:!1===t}}(f(this.options.clip,function(t,e,n){if(!1===n)return!1;const i=Sn(t,n),s=Sn(e,n);return{top:s.end,right:i.end,bottom:s.start,left:i.start}}(e.xScale,e.yScale,this.getMaxOverflow())))}update(t){}draw(){const t=this._ctx,e=this.chart,n=this._cachedMeta,i=n.data||[],s=e.chartArea,o=[],r=this._drawStart||0,a=this._drawCount||i.length-r,l=this.options.drawActiveElementsOnTop;let c;for(n.dataset&&n.dataset.draw(t,s,r,a),c=r;c<r+a;++c){const e=i[c];e.hidden||(e.active&&l?o.push(e):e.draw(t,s))}for(c=0;c<o.length;++c)o[c].draw(t,s)}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 i=this.getDataset();let s;if(t>=0&&t<this._cachedMeta.data.length){const e=this._cachedMeta.data[t];s=e.$context||(e.$context=function(t,e,n){return ge(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}(this.getContext(),t,e)),s.parsed=this.getParsed(t),s.raw=i.data[t],s.index=s.dataIndex=t}else s=this.$context||(this.$context=function(t,e){return ge(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}(this.chart.getContext(),this.index)),s.dataset=i,s.index=s.datasetIndex=this.index;return s.active=!!e,s.mode=n,s}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,s=this._cachedDataOpts,o=t+"-"+e,r=s[o],a=this.enableOptionSharing&&O(n);if(r)return Dn(r,a);const l=this.chart.config,c=l.datasetElementScopeKeys(this._type,t),d=i?[`${t}Hover`,"hover",t,""]:[t,""],h=l.getOptionScopes(this.getDataset(),c),u=Object.keys(Yt.elements[t]),p=l.resolveNamedOptions(h,u,(()=>this.getContext(n,i)),d);return p.$shared&&(p.$shared=a,s[o]=Object.freeze(Dn(p,a))),p}_resolveAnimations(t,e,n){const i=this.chart,s=this._cachedDataOpts,o=`animation-${e}`,r=s[o];if(r)return r;let a;if(!1!==i.options.animation){const i=this.chart.config,s=i.datasetAnimationScopeKeys(this._type,e),o=i.getOptionScopes(this.getDataset(),s);a=i.createResolver(o,this.getContext(t,n,e))}const l=new wn(i,a&&a.animations);return a&&a._cacheable&&(s[o]=Object.freeze(l)),l}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||Ln(t)||this.chart._animationsDisabled}updateElement(t,e,n,i){Ln(i)?Object.assign(t,n):this._resolveAnimations(e,i).update(t,n)}updateSharedOptions(t,e,n){t&&!Ln(e)&&this._resolveAnimations(void 0,e).update(t,n)}_setStyle(t,e,n,i){t.active=i;const s=this.getStyle(e,i);
vendor: 4,503 bytes, line 2
2this._resolveAnimations(e,n,i).update(t,{options:!i&&this.getSharedOptions(s)||s})}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[t,e,n]of this._syncList)this[t](e,n);this._syncList=[];const i=n.length,s=e.length,o=Math.min(s,i);o&&this.parse(0,o),s>i?this._insertElements(i,s-i,t):s<i&&this._removeElements(s,i-s)}_insertElements(t,e,n=!0){const i=this._cachedMeta,s=i.data,o=t+e;let r;const a=t=>{for(t.length+=e,r=t.length-1;r>=o;r--)t[r]=t[r-e]};for(a(s),r=t;r<o;++r)s[r]=new this.dataElementType;this._parsing&&a(i._parsed),this.parse(t,e),n&&this.updateElements(s,t,e,"reset")}updateElements(t,e,n,i){}_removeElements(t,e){const n=this._cachedMeta;if(this._parsing){const i=n._parsed.splice(t,e);n._stacked&&Pn(n,i)}n.data.splice(t,e)}_sync(t){if(this._parsing)this._syncList.push(t);else{const[e,n,i]=t;this[e](n,i)}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 Rn(t){const e=t.iScale,n=function(t,e){if(!t._cache.$bar){const n=t.getMatchingVisibleMetas(e);let i=[];for(let e=0,s=n.length;e<s;e++)i=i.concat(n[e].controller.getAllParsedValues(t));t._cache.$bar=_e(i.sort(((t,e)=>t-e)))}return t._cache.$bar}(e,t.type);let i,s,o,r,a=e._length;const l=()=>{32767!==o&&-32768!==o&&(O(r)&&(a=Math.min(a,Math.abs(o-r)||a)),r=o)};for(i=0,s=n.length;i<s;++i)o=e.getPixelForValue(n[i]),l();for(r=void 0,i=0,s=e.ticks.length;i<s;++i)o=e.getPixelForTick(i),l();return a}function Fn(t,e,n,i){return d(t)?function(t,e,n,i){const s=n.parse(t[0],i),o=n.parse(t[1],i),r=Math.min(s,o),a=Math.max(s,o);let l=r,c=a;Math.abs(r)>Math.abs(a)&&(l=a,c=r),e[n.axis]=c,e._custom={barStart:l,barEnd:c,start:s,end:o,min:r,max:a}}(t,e,n,i):e[n.axis]=n.parse(t,i),e}function Nn(t,e,n,i){const s=t.iScale,o=t.vScale,r=s.getLabels(),a=s===o,l=[];let c,d,h,u;for(c=n,d=n+i;c<d;++c)u=e[c],h={},h[s.axis]=a||s.parse(r[c],c),l.push(Fn(u,h,o,c));return l}function jn(t){return t&&void 0!==t.barStart&&void 0!==t.barEnd}function Bn(t,e,n,i){let s=e.borderSkipped;const o={};if(!s)return void(t.borderSkipped=o);const{start:r,end:a,reverse:l,top:c,bottom:d}=function(t){let e,n,i,s,o;return t.horizontal?(e=t.base>t.x,n="left",i="right"):(e=t.base<t.y,n="bottom",i="top"),e?(s="end",o="start"):(s="start",o="end"),{start:n,end:i,reverse:e,top:s,bottom:o}}(t);"middle"===s&&n&&(t.enableBorderRadius=!0,(n._top||0)===i?s=c:(n._bottom||0)===i?s=d:(o[$n(d,r,a,l)]=!0,s=c)),o[$n(s,r,a,l)]=!0,t.borderSkipped=o}function $n(t,e,n,i){var s,o,r;return i?(r=n,t=zn(t=(s=t)===(o=e)?r:s===r?o:s,n,e)):t=zn(t,e,n),t}function zn(t,e,n){return"start"===t?e:"end"===t?n:t}function Vn(t,{inflateAmount:e},n){t.inflateAmount="auto"===e?1===n?.33:0:e}In.defaults={},In.prototype.datasetElementType=null,In.prototype.dataElementType=null;class Hn extends In{parsePrimitiveData(t,e,n,i){return Nn(t,e,n,i)}parseArrayData(t,e,n,i){return Nn(t,e,n,i)}parseObjectData(t,e,n,i){const{iScale:s,vScale:o}=t,{xAxisKey:r="x",yAxisKey:a="y"}=this._parsing,l="x"===s.axis?r:a,c="x"===o.axis?r:a,d=[];let h,u,p,f;for(h=n,u=n+i;h<u;++h)f=e[h],p={},p[s.axis]=s.parse(M(f,l),h),d.push(Fn(M(f,c),p,o,h));return d}updateRangeFromParsed(t,e,n,i){super.updateRangeFromParsed(t,e,n,i);const s=n._custom;s&&e===this._cachedMeta.vScale&&(t.min=Math.min(t.min,s.min),t.max=Math.max(t.max,s.max))}getMaxOverflow(){return 0}getLabelAndValue(t){const e=this._cachedMeta,{iScale:n,vScale:i}=e,s=this.getParsed(t),o=s._custom,r=jn(o)?"["+o.start+", "+o.end+"]":""+i.getLabelForValue(s[i.axis]);return{label:""+n.getLabelForValue(s[n.axis]),value:r}}initialize(){this.enableOptionSharing=!0,super.initialize();this._cachedMeta.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 s="reset"===i,{index:o,_cachedMeta:{vScale:r}}
vendor: 6,898 bytes, line 2
2=this,a=r.getBasePixel(),l=r.isHorizontal(),d=this._getRuler(),h=this.resolveDataElementOptions(e,i),u=this.getSharedOptions(h),p=this.includeOptions(i,u);this.updateSharedOptions(u,i,h);for(let h=e;h<e+n;h++){const e=this.getParsed(h),n=s||c(e[r.axis])?{base:a,head:a}:this._calculateBarValuePixels(h),f=this._calculateBarIndexPixels(h,d),g=(e._stacks||{})[r.axis],m={horizontal:l,base:n.base,enableBorderRadius:!g||jn(e._custom)||o===g._top||o===g._bottom,x:l?n.head:f.center,y:l?f.center:n.head,height:l?f.size:Math.abs(n.size),width:l?Math.abs(n.size):f.size};p&&(m.options=u||this.resolveDataElementOptions(h,t[h].active?"active":i));const b=m.options||t[h].options;Bn(m,b,g,o),Vn(m,b,d.ratio),this.updateElement(t[h],h,m,i)}}_getStacks(t,e){const n=this._cachedMeta.iScale,i=n.getMatchingVisibleMetas(this._type),s=n.options.stacked,o=i.length,r=[];let a,l;for(a=0;a<o;++a)if(l=i[a],l.controller.options.grouped){if(void 0!==e){const t=l.controller.getParsed(e)[l.controller._cachedMeta.vScale.axis];if(c(t)||isNaN(t))continue}if((!1===s||-1===r.indexOf(l.stack)||void 0===s&&void 0===l.stack)&&r.push(l.stack),l.index===t)break}return r.length||r.push(void 0),r}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,e,n){const i=this._getStacks(t,n),s=void 0!==e?i.indexOf(e):-1;return-1===s?i.length-1:s}_getRuler(){const t=this.options,e=this._cachedMeta,n=e.iScale,i=[];let s,o;for(s=0,o=e.data.length;s<o;++s)i.push(n.getPixelForValue(this.getParsed(s)[n.axis],s));const r=t.barThickness;return{min:r||Rn(e),pixels:i,start:n._startPixel,end:n._endPixel,stackCount:this._getStackCount(),scale:n,grouped:t.grouped,ratio:r?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){const{_cachedMeta:{vScale:e,_stacked:n},options:{base:i,minBarLength:s}}=this,o=i||0,r=this.getParsed(t),a=r._custom,l=jn(a);let d,h,u=r[e.axis],p=0,f=n?this.applyStack(e,r,n):u;f!==u&&(p=f-u,f=u),l&&(u=a.barStart,f=a.barEnd-a.barStart,0!==u&&z(u)!==z(a.barEnd)&&(p=0),p+=u);const g=c(i)||l?p:i;let m=e.getPixelForValue(g);if(d=this.chart.getDataVisibility(t)?e.getPixelForValue(p+f):m,h=d-m,Math.abs(h)<s&&(h=function(t,e,n){return 0!==t?z(t):(e.isHorizontal()?1:-1)*(e.min>=n?1:-1)}(h,e,o)*s,u===o&&(m-=h/2),d=m+h),m===e.getPixelForValue(o)){const t=z(h)*e.getLineWidthForValue(o)/2;m+=t,h-=t}return{size:h,base:m,head:d,center:d+h/2}}_calculateBarIndexPixels(t,e){const n=e.scale,i=this.options,s=i.skipNull,o=f(i.maxBarThickness,1/0);let r,a;if(e.grouped){const n=s?this._getStackCount(t):e.stackCount,l="flex"===i.barThickness?function(t,e,n,i){const s=e.pixels,o=s[t];let r=t>0?s[t-1]:null,a=t<s.length-1?s[t+1]:null;const l=n.categoryPercentage;null===r&&(r=o-(null===a?e.end-e.start:a-o)),null===a&&(a=o+o-r);const c=o-(o-Math.min(r,a))/2*l;return{chunk:Math.abs(a-r)/2*l/i,ratio:n.barPercentage,start:c}}(t,e,i,n):function(t,e,n,i){const s=n.barThickness;let o,r;return c(s)?(o=e.min*n.categoryPercentage,r=n.barPercentage):(o=s*i,r=1),{chunk:o/i,ratio:r,start:e.pixels[t]-o/2}}(t,e,i,n),d=this._getStackIndex(this.index,this._cachedMeta.stack,s?t:void 0);r=l.start+l.chunk*d+l.chunk/2,a=Math.min(o,l.chunk*l.ratio)}else r=n.getPixelForValue(this.getParsed(t)[n.axis],t),a=Math.min(o,e.min*e.ratio);return{base:r-a/2,head:r+a/2,center:r,size:a}}draw(){const t=this._cachedMeta,e=t.vScale,n=t.data,i=n.length;let s=0;for(;s<i;++s)null!==this.getParsed(s)[e.axis]&&n[s].draw(this._ctx)}}Hn.id="bar",Hn.defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}},Hn.overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};class Wn extends In{initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(t,e,n,i){const s=super.parsePrimitiveData(t,e,n,i);for(let t=0;t<s.length;t++)s[t]._custom=this.resolveDataElementOptions(t+n).radius;return s}parseArrayData(t,e,n,i){const s=super.parseArrayData(t,e,n,i);for(let t=0;t<s.length;t++){const i=e[n+t];s[t]._custom=f(i[2],this.resolveDataElementOptions(t+n).radius)}return s}parseObjectData(t,e,n,i){const s=super.parseObjectData(t,e,n,i);for(let t=0;t<s.length;t++){const i=e[n+t];s[t]._custom=f(i&&i.r&&+i.r,this.resolveDataElementOptions(t+n).radius)}return s}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:i}=e,s=this.getParsed(t),o=n.getLabelForValue(s.x),r=i.getLabelForValue(s.y),a=s._custom;return{label:e.label,value:"("+o+", "+r+(a?", "+a:"")+")"}}update(t){const e=this._cachedMeta.data;this.updateElements(e,0,e.length,t)}updateElements(t,e,n,i){const s="reset"===i,{iScale:o,vScale:r}=this._cachedMeta,a=this.resolveDataElementOptions(e,i),l=this.getSharedOptions(a),c=this.includeOptions(i,l),d=o.axis,h=r.axis;for(let a=e;a<e+n;a++){const e=t[a],n=!s&&this.getParsed(a),l={},u=l[d]=s?o.getPixelForDecimal(.5):o.getPixelForValue(n[d]),p=l[h]=s?r.getBasePixel():r.getPixelForValue(n[h]);l.skip=isNaN(u)||isNaN(p),c&&(l.options=this.resolveDataElementOptions(a,e.active?"active":i),s&&(l.options.radius=0)),this.updateElement(e,a,l,i)}this.updateSharedOptions(l,i,a)}resolveDataElementOptions(t,e){const n=this.getParsed(t);let i=super.resolveDataElementOptions(t,e);i.$shared&&(i=Object.assign({},i,{$shared:!1}));const s=i.radius;return"active"!==e&&(i.radius=0),i.radius+=f(n&&n._custom,s),i}}Wn.id="bubble",Wn.defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}},Wn.overrides={scales:{x:{type:"linear"},y:{type:"linear"}},plugins:{tooltip:{callbacks:{title:()=>""}}}};class Yn extends In{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 s,o,r=t=>+n[t];if(h(n[t])){const{key:t="value"}=this._parsing;r=e=>+M(n[e],t)}for(s=t,o=t+e;s<o;++s)i._parsed[s]=r(s)}}_getRotation(){return U(this.options.rotation-90)}_getCircumference(){return U(this.options.circumference)}_getRotationExtents(){let t=D,e=-D;for(let n=0;n<this.chart.data.datasets.length;++n)if(this.chart.isDatasetVisible(n)){const i=this.chart.getDatasetMeta(n).controller,s=i._getRotation(),o=i._getCircumference();t=Math.min(t,s),e=Math.max(e,s+o)}return{rotation:t,circumference:e-t}}update(t){const e=this.chart,{chartArea:n}=e,i=this._cachedMeta,s=i.data,o=this.getMaxBorderWidth()+this.getMaxOffset(s)+this.options.spacing,r=Math.max((Math.min(n.width,n.height)-o)/2,0),a=Math.min((l=this.options.cutout,c=r,"string"==typeof l&&l.endsWith("%")?parseFloat(l)/100:l/c),1
vendor: 7,385 bytes, line 2
2);var l,c;const d=this._getRingWeight(this.index),{circumference:h,rotation:u}=this._getRotationExtents(),{ratioX:p,ratioY:f,offsetX:m,offsetY:b}=function(t,e,n){let i=1,s=1,o=0,r=0;if(e<D){const a=t,l=a+e,c=Math.cos(a),d=Math.sin(a),h=Math.cos(l),u=Math.sin(l),p=(t,e,i)=>Q(t,a,l,!0)?1:Math.max(e,e*n,i,i*n),f=(t,e,i)=>Q(t,a,l,!0)?-1:Math.min(e,e*n,i,i*n),g=p(0,c,h),m=p(N,d,u),b=f(L,c,h),v=f(L+N,d,u);i=(g-b)/2,s=(m-v)/2,o=-(g+b)/2,r=-(m+v)/2}return{ratioX:i,ratioY:s,offsetX:o,offsetY:r}}(u,h,a),v=(n.width-o)/p,y=(n.height-o)/f,x=Math.max(Math.min(v,y)/2,0),_=g(this.options.radius,x),w=(_-Math.max(_*a,0))/this._getVisibleDatasetWeightTotal();this.offsetX=m*_,this.offsetY=b*_,i.total=this.calculateTotal(),this.outerRadius=_-w*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-w*d,0),this.updateElements(s,0,s.length,t)}_circumference(t,e){const n=this.options,i=this._cachedMeta,s=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]*s/D)}updateElements(t,e,n,i){const s="reset"===i,o=this.chart,r=o.chartArea,a=o.options.animation,l=(r.left+r.right)/2,c=(r.top+r.bottom)/2,d=s&&a.animateScale,h=d?0:this.innerRadius,u=d?0:this.outerRadius,p=this.resolveDataElementOptions(e,i),f=this.getSharedOptions(p),g=this.includeOptions(i,f);let m,b=this._getRotation();for(m=0;m<e;++m)b+=this._circumference(m,s);for(m=e;m<e+n;++m){const e=this._circumference(m,s),n=t[m],o={x:l+this.offsetX,y:c+this.offsetY,startAngle:b,endAngle:b+e,circumference:e,outerRadius:u,innerRadius:h};g&&(o.options=f||this.resolveDataElementOptions(m,n.active?"active":i)),b+=e,this.updateElement(n,m,o,i)}this.updateSharedOptions(f,i,p)}calculateTotal(){const t=this._cachedMeta,e=t.data;let n,i=0;for(n=0;n<e.length;n++){const s=t._parsed[n];null===s||isNaN(s)||!this.chart.getDataVisibility(n)||e[n].hidden||(i+=Math.abs(s))}return i}calculateCircumference(t){const e=this._cachedMeta.total;return e>0&&!isNaN(t)?D*(Math.abs(t)/e):0}getLabelAndValue(t){const e=this._cachedMeta,n=this.chart,i=n.data.labels||[],s=rn(e._parsed[t],n.options.locale);return{label:i[t]||"",value:s}}getMaxBorderWidth(t){let e=0;const n=this.chart;let i,s,o,r,a;if(!t)for(i=0,s=n.data.datasets.length;i<s;++i)if(n.isDatasetVisible(i)){o=n.getDatasetMeta(i),t=o.data,r=o.controller;break}if(!t)return 0;for(i=0,s=t.length;i<s;++i)a=r.resolveDataElementOptions(i),"inner"!==a.borderAlign&&(e=Math.max(e,a.borderWidth||0,a.hoverBorderWidth||0));return e}getMaxOffset(t){let e=0;for(let n=0,i=t.length;n<i;++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(f(this.chart.data.datasets[t].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}Yn.id="doughnut",Yn.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"},Yn.descriptors={_scriptable:t=>"spacing"!==t,_indexable:t=>"spacing"!==t},Yn.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,i)=>{const s=t.getDatasetMeta(0).controller.getStyle(i);return{text:e,fillStyle:s.backgroundColor,strokeStyle:s.borderColor,lineWidth:s.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(i),index:i}}))}return[]}},onClick(t,e,n){n.chart.toggleDataVisibility(e.index),n.chart.update()}},tooltip:{callbacks:{title:()=>"",label(t){let e=t.label;const n=": "+t.formattedValue;return d(e)?(e=e.slice(),e[0]+=n):e+=n,e}}}}};class Un extends In{initialize(){this.enableOptionSharing=!0,super.initialize()}update(t){const e=this._cachedMeta,{dataset:n,data:i=[],_dataset:s}=e,o=this.chart._animationsDisabled;let{start:r,count:a}=function(t,e,n){const i=e.length;let s=0,o=i;if(t._sorted){const{iScale:r,_parsed:a}=t,l=r.axis,{min:c,max:d,minDefined:h,maxDefined:u}=r.getUserBounds();h&&(s=tt(Math.min(be(a,r.axis,c).lo,n?i:be(e,l,r.getPixelForValue(c)).lo),0,i-1)),o=u?tt(Math.max(be(a,r.axis,d).hi+1,n?0:be(e,l,r.getPixelForValue(d)).hi+1),s,i)-s:i-s}return{start:s,count:o}}(e,i,o);this._drawStart=r,this._drawCount=a,function(t){const{xScale:e,yScale:n,_scaleRanges:i}=t,s={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!i)return t._scaleRanges=s,!0;const o=i.xmin!==e.min||i.xmax!==e.max||i.ymin!==n.min||i.ymax!==n.max;return Object.assign(i,s),o}(e)&&(r=0,a=i.length),n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!s._decimated,n.points=i;const l=this.resolveDatasetElementOptions(t);this.options.showLine||(l.borderWidth=0),l.segment=this.options.segment,this.updateElement(n,void 0,{animated:!o,options:l},t),this.updateElements(i,r,a,t)}updateElements(t,e,n,i){const s="reset"===i,{iScale:o,vScale:r,_stacked:a,_dataset:l}=this._cachedMeta,d=this.resolveDataElementOptions(e,i),h=this.getSharedOptions(d),u=this.includeOptions(i,h),p=o.axis,f=r.axis,{spanGaps:g,segment:m}=this.options,b=H(g)?g:Number.POSITIVE_INFINITY,v=this.chart._animationsDisabled||s||"none"===i;let y=e>0&&this.getParsed(e-1);for(let d=e;d<e+n;++d){const e=t[d],n=this.getParsed(d),g=v?e:{},x=c(n[f]),_=g[p]=o.getPixelForValue(n[p],d),w=g[f]=s||x?r.getBasePixel():r.getPixelForValue(a?this.applyStack(r,n,a):n[f],d);g.skip=isNaN(_)||isNaN(w)||x,g.stop=d>0&&n[p]-y[p]>b,m&&(g.parsed=n,g.raw=l.data[d]),u&&(g.options=h||this.resolveDataElementOptions(d,e.active?"active":i)),v||this.updateElement(e,d,g,i),y=n}this.updateSharedOptions(h,i,d)}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,n=e.options&&e.options.borderWidth||0,i=t.data||[];if(!i.length)return n;const s=i[0].size(this.resolveDataElementOptions(0)),o=i[i.length-1].size(this.resolveDataElementOptions(i.length-1));return Math.max(n,s,o)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}Un.id="line",Un.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},Un.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class Gn extends In{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||[],s=rn(e._parsed[t].r,n.options.locale);return{label:i[t]||"",value:s}}update(t){const e=this._cachedMeta.data;this._updateRadius(),this.updateElements(e,0,e.length,t)}_updateRadius(){const t=this.chart,e=t.chartArea,n=t.options,i=Math.min(e.right-e.left,e.bottom-e.top),s=Math.max(i/2,0),o=(s-Math.max(n.cutoutPercentage?s/100*n.cutoutPercentage:1,0))/t.getVisibleDatasetCount();this.outerRadius=s-o*this.index,this.innerRadius=this.outerRadius-o}updateElements(t,e,n,i){const s="reset"===i,o=this.chart,r=this.getDataset(),a=o.options.animation,l=this._cachedMeta.rScale,c=l.xCenter,d=l.yCenter,h=l.getIndexAngle(0)-.5*L;let u,p=h;const f=360/this.countVisibleElements();for(u=0;
2u<e;++u)p+=this._computeAngle(u,i,f);for(u=e;u<e+n;u++){const e=t[u];let n=p,g=p+this._computeAngle(u,i,f),m=o.getDataVisibility(u)?l.getDistanceFromCenterForValue(r.data[u]):0;p=g,s&&(a.animateScale&&(m=0),a.animateRotate&&(n=g=h));const b={x:c,y:d,innerRadius:0,outerRadius:m,startAngle:n,endAngle:g,options:this.resolveDataElementOptions(u,e.active?"active":i)};this.updateElement(e,u,b,i)}}countVisibleElements(){const t=this.getDataset(),e=this._cachedMeta;let n=0;return e.data.forEach(((e,i)=>{!isNaN(t.data[i])&&this.chart.getDataVisibility(i)&&n++})),n}_computeAngle(t,e,n){return this.chart.getDataVisibility(t)?U(this.resolveDataElementOptions(t,e).angle||n):0}}Gn.id="polarArea",Gn.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0},Gn.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,i)=>{const s=t.getDatasetMeta(0).controller.getStyle(i);return{text:e,fillStyle:s.backgroundColor,strokeStyle:s.borderColor,lineWidth:s.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(i),index:i}}))}return[]}},onClick(t,e,n){n.chart.toggleDataVisibility(e.index),n.chart.update()}},tooltip:{callbacks:{title:()=>"",label:t=>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 qn extends Yn{}qn.id="pie",qn.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class Kn extends In{getLabelAndValue(t){const e=this._cachedMeta.vScale,n=this.getParsed(t);return{label:e.getLabels()[t],value:""+e.getLabelForValue(n[e.axis])}}update(t){const e=this._cachedMeta,n=e.dataset,i=e.data||[],s=e.iScale.getLabels();if(n.points=i,"resize"!==t){const e=this.resolveDatasetElementOptions(t);this.options.showLine||(e.borderWidth=0);const o={_loop:!0,_fullLoop:s.length===i.length,options:e};this.updateElement(n,void 0,o,t)}this.updateElements(i,0,i.length,t)}updateElements(t,e,n,i){const s=this.getDataset(),o=this._cachedMeta.rScale,r="reset"===i;for(let a=e;a<e+n;a++){const e=t[a],n=this.resolveDataElementOptions(a,e.active?"active":i),l=o.getPointPositionForValue(a,s.data[a]),c=r?o.xCenter:l.x,d=r?o.yCenter:l.y,h={x:c,y:d,angle:l.angle,skip:isNaN(c)||isNaN(d),options:n};this.updateElement(e,a,h,i)}}}Kn.id="radar",Kn.defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}},Kn.overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};class Xn extends Un{}Xn.id="scatter",Xn.defaults={showLine:!1,fill:!1},Xn.overrides={interaction:{mode:"point"},plugins:{tooltip:{callbacks:{title:()=>"",label:t=>"("+t.label+", "+t.formattedValue+")"}}},scales:{x:{type:"linear"},y:{type:"linear"}}};function Zn(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Jn{constructor(t){this.options=t||{}}formats(){return Zn()}parse(t,e){return Zn()}format(t,e){return Zn()}add(t,e,n){return Zn()}diff(t,e,n){return Zn()}startOf(t,e,n){return Zn()}endOf(t,e){return Zn()}}Jn.override=function(t){Object.assign(Jn.prototype,t)};var Qn={_date:Jn};function ti(t,e){return"native"in t?{x:t.x,y:t.y}:Ke(t,e)}function ei(t,e,n,i){const{controller:s,data:o,_sorted:r}=t,a=s._cachedMeta.iScale;if(a&&e===a.axis&&"r"!==e&&r&&o.length){const t=a._reversePixels?ve:be;if(!i)return t(o,e,n);if(s._sharedOptions){const i=o[0],s="function"==typeof i.getRange&&i.getRange(e);if(s){const i=t(o,e,n-s),r=t(o,e,n+s);return{lo:i.lo,hi:r.hi}}}}return{lo:0,hi:o.length-1}}function ni(t,e,n,i,s){const o=t.getSortedVisibleDatasetMetas(),r=n[e];for(let t=0,n=o.length;t<n;++t){const{index:n,data:a}=o[t],{lo:l,hi:c}=ei(o[t],e,r,s);for(let t=l;t<=c;++t){const e=a[t];e.skip||i(e,n,t)}}}function ii(t,e,n,i){const s=[];if(!Zt(e,t.chartArea,t._minPadding))return s;return ni(t,n,e,(function(t,n,o){t.inRange(e.x,e.y,i)&&s.push({element:t,datasetIndex:n,index:o})}),!0),s}function si(t,e,n,i,s){let o=[];const r=function(t){const e=-1!==t.indexOf("x"),n=-1!==t.indexOf("y");return function(t,i){const s=e?Math.abs(t.x-i.x):0,o=n?Math.abs(t.y-i.y):0;return Math.sqrt(Math.pow(s,2)+Math.pow(o,2))}}(n);let a=Number.POSITIVE_INFINITY;return ni(t,n,e,(function(n,l,c){const d=n.inRange(e.x,e.y,s);if(i&&!d)return;const h=n.getCenterPoint(s);if(!Zt(h,t.chartArea,t._minPadding)&&!d)return;const u=r(e,h);u<a?(o=[{element:n,datasetIndex:l,index:c}],a=u):u===a&&o.push({element:n,datasetIndex:l,index:c})})),o}function oi(t,e,n,i,s){return Zt(e,t.chartArea,t._minPadding)?"r"!==n||i?si(t,e,n,i,s):function(t,e,n,i){let s=[];return ni(t,n,e,(function(t,n,o){const{startAngle:r,endAngle:a}=t.getProps(["startAngle","endAngle"],i),{angle:l}=K(t,{x:e.x,y:e.y});Q(l,r,a)&&s.push({element:t,datasetIndex:n,index:o})})),s}(t,e,n,s):[]}function ri(t,e,n,i){const s=ti(e,t),o=[],r=n.axis,a="x"===r?"inXRange":"inYRange";let l=!1;return function(t,e){const n=t.getSortedVisibleDatasetMetas();let i,s,o;for(let t=0,r=n.length;t<r;++t){({index:i,data:s}=n[t]);for(let t=0,n=s.length;t<n;++t)o=s[t],o.skip||e(o,i,t)}}(t,((t,e,n)=>{t[a](s[r],i)&&o.push({element:t,datasetIndex:e,index:n}),t.inRange(s.x,s.y,i)&&(l=!0)})),n.intersect&&!l?[]:o}var ai={modes:{index(t,e,n,i){const s=ti(e,t),o=n.axis||"x",r=n.intersect?ii(t,s,o,i):oi(t,s,o,!1,i),a=[];
vendor: 12,964 bytes, line 2
2return r.length?(t.getSortedVisibleDatasetMetas().forEach((t=>{const e=r[0].index,n=t.data[e];n&&!n.skip&&a.push({element:n,datasetIndex:t.index,index:e})})),a):[]},dataset(t,e,n,i){const s=ti(e,t),o=n.axis||"xy";let r=n.intersect?ii(t,s,o,i):oi(t,s,o,!1,i);if(r.length>0){const e=r[0].datasetIndex,n=t.getDatasetMeta(e).data;r=[];for(let t=0;t<n.length;++t)r.push({element:n[t],datasetIndex:e,index:t})}return r},point:(t,e,n,i)=>ii(t,ti(e,t),n.axis||"xy",i),nearest:(t,e,n,i)=>oi(t,ti(e,t),n.axis||"xy",n.intersect,i),x:(t,e,n,i)=>ri(t,e,{axis:"x",intersect:n.intersect},i),y:(t,e,n,i)=>ri(t,e,{axis:"y",intersect:n.intersect},i)}};const li=["left","top","right","bottom"];function ci(t,e){return t.filter((t=>t.pos===e))}function di(t,e){return t.filter((t=>-1===li.indexOf(t.pos)&&t.box.axis===e))}function hi(t,e){return t.sort(((t,n)=>{const i=e?n:t,s=e?t:n;return i.weight===s.weight?i.index-s.index:i.weight-s.weight}))}function ui(t,e){const n=function(t){const e={};for(const n of t){const{stack:t,pos:i,stackWeight:s}=n;if(!t||!li.includes(i))continue;const o=e[t]||(e[t]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=s}return e}(t),{vBoxMaxWidth:i,hBoxMaxHeight:s}=e;let o,r,a;for(o=0,r=t.length;o<r;++o){a=t[o];const{fullSize:r}=a.box,l=n[a.stack],c=l&&a.stackWeight/l.weight;a.horizontal?(a.width=c?c*i:r&&e.availableWidth,a.height=s):(a.width=i,a.height=c?c*s:r&&e.availableHeight)}return n}function pi(t,e,n,i){return Math.max(t[n],e[n])+Math.max(t[i],e[i])}function fi(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 gi(t,e,n,i){const{pos:s,box:o}=n,r=t.maxPadding;if(!h(s)){n.size&&(t[s]-=n.size);const e=i[n.stack]||{size:0,count:1};e.size=Math.max(e.size,n.horizontal?o.height:o.width),n.size=e.size/e.count,t[s]+=n.size}o.getPadding&&fi(r,o.getPadding());const a=Math.max(0,e.outerWidth-pi(r,t,"left","right")),l=Math.max(0,e.outerHeight-pi(r,t,"top","bottom")),c=a!==t.w,d=l!==t.h;return t.w=a,t.h=l,n.horizontal?{same:c,other:d}:{same:d,other:c}}function mi(t,e){const n=e.maxPadding;function i(t){const i={left:0,top:0,right:0,bottom:0};return t.forEach((t=>{i[t]=Math.max(e[t],n[t])})),i}return i(t?["left","right"]:["top","bottom"])}function bi(t,e,n,i){const s=[];let o,r,a,l,c,d;for(o=0,r=t.length,c=0;o<r;++o){a=t[o],l=a.box,l.update(a.width||e.w,a.height||e.h,mi(a.horizontal,e));const{same:r,other:h}=gi(e,n,a,i);c|=r&&s.length,d=d||h,l.fullSize||s.push(a)}return c&&bi(s,e,n,i)||d}function vi(t,e,n,i,s){t.top=n,t.left=e,t.right=e+i,t.bottom=n+s,t.width=i,t.height=s}function yi(t,e,n,i){const s=n.padding;let{x:o,y:r}=e;for(const a of t){const t=a.box,l=i[a.stack]||{count:1,placed:0,weight:1},c=a.stackWeight/l.weight||1;if(a.horizontal){const i=e.w*c,o=l.size||t.height;O(l.start)&&(r=l.start),t.fullSize?vi(t,s.left,r,n.outerWidth-s.right-s.left,o):vi(t,e.left+l.placed,r,i,o),l.start=r,l.placed+=i,r=t.bottom}else{const i=e.h*c,r=l.size||t.width;O(l.start)&&(o=l.start),t.fullSize?vi(t,o,s.top,r,n.outerHeight-s.bottom-s.top):vi(t,o,e.top+l.placed,r,i),l.start=o,l.placed+=i,o=t.right}}e.x=o,e.y=r}Yt.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}});var xi={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 s=ue(t.options.layout.padding),o=Math.max(e-s.width,0),r=Math.max(n-s.height,0),a=function(t){const e=function(t){const e=[];let n,i,s,o,r,a;for(n=0,i=(t||[]).length;n<i;++n)s=t[n],({position:o,options:{stack:r,stackWeight:a=1}}=s),e.push({index:n,box:s,pos:o,horizontal:s.isHorizontal(),weight:s.weight,stack:r&&o+r,stackWeight:a});return e}(t),n=hi(e.filter((t=>t.box.fullSize)),!0),i=hi(ci(e,"left"),!0),s=hi(ci(e,"right")),o=hi(ci(e,"top"),!0),r=hi(ci(e,"bottom")),a=di(e,"x"),l=di(e,"y");return{fullSize:n,leftAndTop:i.concat(o),rightAndBottom:s.concat(l).concat(r).concat(a),chartArea:ci(e,"chartArea"),vertical:i.concat(s).concat(l),horizontal:o.concat(r).concat(a)}}(t.boxes),l=a.vertical,c=a.horizontal;b(t.boxes,(t=>{"function"==typeof t.beforeLayout&&t.beforeLayout()}));const d=l.reduce(((t,e)=>e.box.options&&!1===e.box.options.display?t:t+1),0)||1,h=Object.freeze({outerWidth:e,outerHeight:n,padding:s,availableWidth:o,availableHeight:r,vBoxMaxWidth:o/2/d,hBoxMaxHeight:r/2}),u=Object.assign({},s);fi(u,ue(i));const p=Object.assign({maxPadding:u,w:o,h:r,x:s.left,y:s.top},s),f=ui(l.concat(c),h);bi(a.fullSize,p,h,f),bi(l,p,h,f),bi(c,p,h,f)&&bi(l,p,h,f),function(t){const e=t.maxPadding;function n(n){const i=Math.max(e[n]-t[n],0);return t[n]+=i,i}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}(p),yi(a.leftAndTop,p,h,f),p.x+=p.w,p.y+=p.h,yi(a.rightAndBottom,p,h,f),t.chartArea={left:p.left,top:p.top,right:p.left+p.w,bottom:p.top+p.h,height:p.h,width:p.w},b(a.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 _i{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,n){}removeEventListener(t,e,n){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,n,i){return e=Math.max(0,e||t.width),n=n||t.height,{width:e,height:Math.max(0,i?Math.floor(e/i):n)}}isAttached(t){return!0}updateConfig(t){}}class wi extends _i{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const Si="$chartjs",Ci={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},ki=t=>null===t||""===t;const Ai=!!Qe&&{passive:!0};function Mi(t,e,n){t.canvas.removeEventListener(e,n,Ai)}function Ei(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function Oi(t,e,n){const i=t.canvas,s=new MutationObserver((t=>{let e=!1;for(const n of t)e=e||Ei(n.addedNodes,i),e=e&&!Ei(n.removedNodes,i);e&&n()}));return s.observe(document,{childList:!0,subtree:!0}),s}function Ti(t,e,n){const i=t.canvas,s=new MutationObserver((t=>{let e=!1;for(const n of t)e=e||Ei(n.removedNodes,i),e=e&&!Ei(n.addedNodes,i);e&&n()}));return s.observe(document,{childList:!0,subtree:!0}),s}const Pi=new Map;let Li=0;function Di(){const t=window.devicePixelRatio;t!==Li&&(Li=t,Pi.forEach(((e,n)=>{n.currentDevicePixelRatio!==t&&e()})))}function Ii(t,e,n){const i=t.canvas,o=i&&He(i);if(!o)return;const r=s(((t,e)=>{const i=o.clientWidth;n(t,e),i<o.clientWidth&&n()}),window),a=new ResizeObserver((t=>{const e=t[0],n=e.contentRect.width,i=e.contentRect.height;0===n&&0===i||r(n,i)}));return a.observe(o),function(t,e){Pi.size||window.addEventListener("resize",Di),Pi.set(t,e)}(t,r),a}function Ri(t,e,n){n&&n.disconnect(),"resize"===e&&function(t){Pi.delete(t),Pi.size||window.removeEventListener("resize",Di)}(t)}function Fi(t,e,n){const i=t.canvas,o=s((e=>{null!==t.ctx&&n(function(t,e){const n=Ci[t.type]||t.type,{x:i,y:s}=Ke(t,e);return{type:n,chart:e,native:t,x:void 0!==i?i:null,y:void 0!==s?s:null}}(e,t))}),t,(t=>{const e=t[0];return[e,e.offsetX,e.offsetY]}));return function(t,e,n){t.addEventListener(e,n,Ai)}(i,e,o),o}class Ni extends _i{acquireContext(t,e){const n=t&&t.getContext&&t.getContext("2d");return n&&n.canvas===t?(function(t,e){const n=t.style,i=t.getAttribute("height"),s=t.getAttribute("width");if(t[Si]={initial:{height:i,width:s,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",ki(s)){const e=tn(t,"width");void 0!==e&&(t.width=e)}if(ki(i))if(""===t.style.height)t.height=t.width/(e||2);else{const e=tn(t,"height");void 0!==e&&(t.height=e)}}(t,e),n):null}releaseContext(t){const e=t.canvas;if(!e[Si])return!1;const n=e[Si].initial;["height","width"].forEach((t=>{const i=n[t];c(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[Si],!0}addEventListener(t,e,n){this.removeEventListener(t,e);const i=t.$proxies||(t.$proxies={}),s={attach:Oi,detach:Ti,resize:Ii}[e]||Fi;i[e]=s(t,e,n)}removeEventListener(t,e){const n=t.$proxies||(t.$proxies={}),i=n[e];if(!i)return;({attach:Ri,detach:Ri,resize:Ri}[e]||Mi)(t,e,i),n[e]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,n,i){return Ze(t,e,n,i)}isAttached(t){const e=He(t);return!(!e||!e.isConnected)}}class ji{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 H(this.x)&&H(this.y)}getProps(t,e){const n=this.$animations;if(!e||!n)return this;const i={};return t.forEach((t=>{i[t]=n[t]&&n[t].active()?n[t]._to:this[t]})),i}}ji.defaults={},ji.defaultRoutes=void 0;const Bi={values:t=>d(t)?t:""+t,numeric(t,e,n){if(0===t)return"0";const i=this.chart.options.locale;let s,o=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)&&(s="scientific"),o=function(t,e){let n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;Math.abs(n)>=1&&t!==Math.floor(t)&&(n=t-Math.floor(t));return n}(t,n)}const r=$(Math.abs(o)),a=Math.max(Math.min(-1*Math.floor(r),20),0),l={notation:s,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),rn(t,i,l)},logarithmic(t,e,n){if(0===t)return"0";const i=t/Math.pow(10,Math.floor($(t)));return 1===i||2===i||5===i?Bi.numeric.call(this,t,e,n):""}};var $i={formatters:Bi};function zi(t,e){const n=t.options.ticks,i=n.maxTicksLimit||function(t){const e=t.options.offset,n=t._tickSize(),i=t._length/n+(e?0:1),s=t._maxLength/n;return Math.floor(Math.min(i,s))}(t),s=n.major.enabled?function(t){const e=[];let n,i;for(n=0,i=t.length;n<i;n++)t[n].major&&e.push(n);return e}(e):[],o=s.length,r=s[0],a=s[o-1],l=[];if(o>i)return function(t,e,n,i){let s,o=0,r=n[0];for(i=Math.ceil(i),s=0;s<t.length;s++)s===r&&(e.push(t[s]),o++,r=n[o*i])}(e,l,s,o/i),l;const d=function(t,e,n){const i=function(t){const e=t.length;let n,i;if(e<2)return!1;for(i=t[0],n=1;n<e;++n)if(t[n]-t[n-1]!==i)return!1;return i}(t),s=e.length/n;if(!i)return Math.max(s,1);const o=function(t){const e=[],n=Math.sqrt(t);let i;for(i=1;i<n;i++)t%i==0&&(e.push(i),e.push(t/i));return n===(0|n)&&e.push(n),e.sort(((t,e)=>t-e)).pop(),e}(i);for(let t=0,e=o.length-1;t<e;t++){const e=o[t];if(e>s)return e}return Math.max(s,1)}(s,e,i);if(o>0){let t,n;const i=o>1?Math.round((a-r)/(o-1)):null;for(Vi(e,l,d,c(i)?0:r-i,r),t=0,n=o-1;t<n;t++)Vi(e,l,d,s[t],s[t+1]);return Vi(e,l,d,a,c(i)?e.length:a+i),l}return Vi(e,l,d),l}function Vi(t,e,n,i,s){const o=f(i,0),r=Math.min(f(s,t.length),t.length);let a,l,c,d=0;for(n=Math.ceil(n),s&&(a=s-i,n=a/Math.floor(a/n)),c=o;c<0;)d++,c=Math.round(o+d*n);for(l=Math.max(o,0);l<r;l++)l===c&&(e.push(t[l]),d++,c=Math.round(o+d*n))}Yt.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:$i.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),Yt.route("scale.ticks","color","","color"),Yt.route("scale.grid","color","","borderColor"),Yt.route("scale.grid","borderColor","","borderColor"),Yt.route("scale.title","color","","color"),Yt.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&"callback"!==t&&"parser"!==t,_indexable:t=>"borderDash"!==t&&"tickBorderDash"!==t}),Yt.describe("scales",{_fallback:"scale"}),Yt.describe("scale.ticks",{_scriptable:t=>"backdropPadding"!==t&&"callback"!==t,_indexable:t=>"backdropPadding"!==t});const Hi=(t,e,n)=>"top"===e||"left"===e?t[e]+n:t[e]-n;function Wi(t,e){const n=[],i=t.length/e,s=t.length;let o=0;for(;o<s;o+=i)n.push(t[Math.floor(o)]);return n}function Yi(t,e,n){const i=t.ticks.length,s=Math.min(e,i-1),o=t._startPixel,r=t._endPixel,a=1e-6;let l,c=t.getPixelForTick(s);if(!(n&&(l=1===i?Math.max(c-o,r-c):0===e?(t.getPixelForTick(1)-c)/2:(c-t.getPixelForTick(s-1))/2,c+=s<e?l:-l,c<o-a||c>r+a)))return c}function Ui(t){return t.drawTicks?t.tickLength:0}function Gi(t,e){if(!t.display)return 0;const n=pe(t.font,e),i=ue(t.padding);return(d(t.text)?t.text.length:1)*n.lineHeight+i.height}function qi(t,e,n){let i=o(t);return(n&&"right"!==e||!n&&"right"===e)&&(i=(t=>
vendor: 6,915 bytes, line 2
2"left"===t?"right":"right"===t?"left":t)(i)),i}class Ki extends ji{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=p(t,Number.POSITIVE_INFINITY),e=p(e,Number.NEGATIVE_INFINITY),n=p(n,Number.POSITIVE_INFINITY),i=p(i,Number.NEGATIVE_INFINITY),{min:p(t,n),max:p(e,i),minDefined:u(t),maxDefined:u(e)}}getMinMax(t){let e,{min:n,max:i,minDefined:s,maxDefined:o}=this.getUserBounds();if(s&&o)return{min:n,max:i};const r=this.getMatchingVisibleMetas();for(let a=0,l=r.length;a<l;++a)e=r[a].controller.getMinMax(this,t),s||(n=Math.min(n,e.min)),o||(i=Math.max(i,e.max));return n=o&&n>i?i:n,i=s&&n>i?n:i,{min:p(n,p(i,n)),max:p(i,p(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(){m(this.options.beforeUpdate,[this])}update(t,e,n){const{beginAtZero:i,grace:s,ticks:o}=this.options,r=o.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=function(t,e,n){const{min:i,max:s}=t,o=g(e,(s-i)/2),r=(t,e)=>n&&0===t?0:t+e;return{min:r(i,-Math.abs(o)),max:r(s,o)}}(this,s,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const a=r<this.ticks.length;this._convertTicksToLabels(a?Wi(this.ticks,r):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),o.display&&(o.autoSkip||"auto"===o.source)&&(this.ticks=zi(this,this.ticks),this._labelSizes=null),a&&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(){m(this.options.afterUpdate,[this])}beforeSetDimensions(){m(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(){m(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),m(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){m(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const e=this.options.ticks;let n,i,s;for(n=0,i=t.length;n<i;n++)s=t[n],s.label=m(e.callback,[s.value,n,t],this)}afterTickToLabelConversion(){m(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){m(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,e=t.ticks,n=this.ticks.length,i=e.minRotation||0,s=e.maxRotation;let o,r,a,l=i;if(!this._isVisible()||!e.display||i>=s||n<=1||!this.isHorizontal())return void(this.labelRotation=i);const c=this._getLabelSizes(),d=c.widest.width,h=c.highest.height,u=tt(this.chart.width-d,0,this.maxWidth);o=t.offset?this.maxWidth/n:u/(n-1),d+6>o&&(o=u/(n-(t.offset?.5:1)),r=this.maxHeight-Ui(t.grid)-e.padding-Gi(t.title,this.chart.options.font),a=Math.sqrt(d*d+h*h),l=G(Math.min(Math.asin(tt((c.highest.height+6)/o,-1,1)),Math.asin(tt(r/a,-1,1))-Math.asin(tt(h/a,-1,1)))),l=Math.max(i,Math.min(s,l))),this.labelRotation=l}afterCalculateLabelRotation(){m(this.options.afterCalculateLabelRotation,[this])}beforeFit(){m(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:n,title:i,grid:s}}=this,o=this._isVisible(),r=this.isHorizontal();if(o){const o=Gi(i,e.options.font);if(r?(t.width=this.maxWidth,t.height=Ui(s)+o):(t.height=this.maxHeight,t.width=Ui(s)+o),n.display&&this.ticks.length){const{first:e,last:i,widest:s,highest:o}=this._getLabelSizes(),a=2*n.padding,l=U(this.labelRotation),c=Math.cos(l),d=Math.sin(l);if(r){const e=n.mirror?0:d*s.width+c*o.height;t.height=Math.min(this.maxHeight,t.height+e+a)}else{const e=n.mirror?0:c*s.width+d*o.height;t.width=Math.min(this.maxWidth,t.width+e+a)}this._calculatePadding(e,i,d,c)}}this._handleMargins(),r?(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,i){const{ticks:{align:s,padding:o},position:r}=this.options,a=0!==this.labelRotation,l="top"!==r&&"x"===this.axis;if(this.isHorizontal()){const r=this.getPixelForTick(0)-this.left,c=this.right-this.getPixelForTick(this.ticks.length-1);let d=0,h=0;a?l?(d=i*t.width,h=n*e.height):(d=n*t.height,h=i*e.width):"start"===s?h=e.width:"end"===s?d=t.width:(d=t.width/2,h=e.width/2),this.paddingLeft=Math.max((d-r+o)*this.width/(this.width-r),0),this.paddingRight=Math.max((h-c+o)*this.width/(this.width-c),0)}
vendor: 7,302 bytes, line 2
2else{let n=e.height/2,i=t.height/2;"start"===s?(n=0,i=t.height):"end"===s&&(n=e.height,i=0),this.paddingTop=n+o,this.paddingBottom=i+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(){m(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++)c(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=Wi(n,e)),this._labelSizes=t=this._computeLabelSizes(n,n.length)}return t}_computeLabelSizes(t,e){const{ctx:n,_longestTextCache:i}=this,s=[],o=[];let r,a,l,h,u,p,f,g,m,v,y,x=0,_=0;for(r=0;r<e;++r){if(h=t[r].label,u=this._resolveTickFontOptions(r),n.font=p=u.string,f=i[p]=i[p]||{data:{},gc:[]},g=u.lineHeight,m=v=0,c(h)||d(h)){if(d(h))for(a=0,l=h.length;a<l;++a)y=h[a],c(y)||d(y)||(m=Ut(n,f.data,f.gc,m,y),v+=g)}else m=Ut(n,f.data,f.gc,m,h),v=g;s.push(m),o.push(v),x=Math.max(m,x),_=Math.max(v,_)}!function(t,e){b(t,(t=>{const n=t.gc,i=n.length/2;let s;if(i>e){for(s=0;s<i;++s)delete t.data[n[s]];n.splice(0,i)}}))}(i,e);const w=s.indexOf(x),S=o.indexOf(_),C=t=>({width:s[t]||0,height:o[t]||0});return{first:C(0),last:C(e-1),widest:C(w),highest:C(S),widths:s,heights:o}}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 tt(this._alignToPixels?qt(this.chart,e,0):e,-32768,32767)}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=function(t,e,n){return ge(t,{tick:n,index:e,type:"tick"})}(this.getContext(),t,n))}return this.$context||(this.$context=ge(this.chart.getContext(),{scale:this,type:"scale"}))}_tickSize(){const t=this.options.ticks,e=U(this.labelRotation),n=Math.abs(Math.cos(e)),i=Math.abs(Math.sin(e)),s=this._getLabelSizes(),o=t.autoSkipPadding||0,r=s?s.widest.width+o:0,a=s?s.highest.height+o:0;return this.isHorizontal()?a*n>r*i?r/n:a/i:a*i<r*n?a/n:r/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:s,position:o}=i,r=s.offset,a=this.isHorizontal(),l=this.ticks.length+(r?1:0),c=Ui(s),d=[],u=s.setContext(this.getContext()),p=u.drawBorder?u.borderWidth:0,g=p/2,m=function(t){return qt(n,t,p)};let b,v,y,x,_,w,S,C,k,A,M,E;if("top"===o)b=m(this.bottom),w=this.bottom-c,C=b-g,A=m(t.top)+g,E=t.bottom;else if("bottom"===o)b=m(this.top),A=t.top,E=m(t.bottom)-g,w=b+g,C=this.top+c;else if("left"===o)b=m(this.right),_=this.right-c,S=b-g,k=m(t.left)+g,M=t.right;else if("right"===o)b=m(this.left),k=t.left,M=m(t.right)-g,_=b+g,S=this.left+c;else if("x"===e){if("center"===o)b=m((t.top+t.bottom)/2+.5);else if(h(o)){const t=Object.keys(o)[0],e=o[t];b=m(this.chart.scales[t].getPixelForValue(e))}A=t.top,E=t.bottom,w=b+g,C=w+c}else if("y"===e){if("center"===o)b=m((t.left+t.right)/2);else if(h(o)){const t=Object.keys(o)[0],e=o[t];b=m(this.chart.scales[t].getPixelForValue(e))}_=b-g,S=_-c,k=t.left,M=t.right}const O=f(i.ticks.maxTicksLimit,l),T=Math.max(1,Math.ceil(l/O));for(v=0;v<l;v+=T){const t=s.setContext(this.getContext(v)),e=t.lineWidth,i=t.color,o=s.borderDash||[],l=t.borderDashOffset,c=t.tickWidth,h=t.tickColor,u=t.tickBorderDash||[],p=t.tickBorderDashOffset;y=Yi(this,v,r),void 0!==y&&(x=qt(n,y,e),a?_=S=k=M=x:w=C=A=E=x,d.push({tx1:_,ty1:w,tx2:S,ty2:C,x1:k,y1:A,x2:M,y2:E,width:e,color:i,borderDash:o,borderDashOffset:l,tickWidth:c,tickColor:h,tickBorderDash:u,tickBorderDashOffset:p}))}return this._ticksLength=l,this._borderValue=b,d}_computeLabelItems(t){const e=this.axis,n=this.options,{position:i,ticks:s}=n,o=this.isHorizontal(),r=this.ticks,{align:a,crossAlign:l,padding:c,mirror:u}=s,p=Ui(n.grid),f=p+c,g=u?-c:f,m=-U(this.labelRotation),b=[];let v,y,x,_,w,S,C,k,A,M,E,O,T="middle";if("top"===i)S=this.bottom-g,C=this._getXAxisLabelAlignment();else if("bottom"===i)S=this.top+g,C=this._getXAxisLabelAlignment();else if("left"===i){const t=this._getYAxisLabelAlignment(p);C=t.textAlign,w=t.x}else if("right"===i){const t=this._getYAxisLabelAlignment(p);C=t.textAlign,w=t.x}else if("x"===e){if("center"===i)S=(t.top+t.bottom)/2+f;else if(h(i)){const t=Object.keys(i)[0],e=i[t];S=this.chart.scales[t].getPixelForValue(e)+f}C=this._getXAxisLabelAlignment()}else if("y"===e){if("center"===i)w=(t.left+t.right)/2-f;else if(h(i)){const t=Object.keys(i)[0],e=i[t];w=this.chart.scales[t].getPixelForValue(e)}C=this._getYAxisLabelAlignment(p).textAlign}"y"===e&&("start"===a?T="top":"end"===a&&(T="bottom"));const P=this._getLabelSizes();for(v=0,y=r.length;v<y;++v){x=r[v],_=x.label;const t=s.setContext(this.getContext(v));k=this.getPixelForTick(v)+s.labelOffset,A=this._resolveTickFontOptions(v),M=A.lineHeight,E=d(_)?_.length:1;const e=E/2,n=t.color,a=t.textStrokeColor,c=t.textStrokeWidth;let h;if(o?(w=k,O="top"===i?"near"===l||0!==m?-E*M+M/2:"center"===l?-P.highest.height/2-e*M+M:-P.highest.height+M/2:"near"===l||0!==m?M/2:"center"===l?P.highest.height/2-e*M:P.highest.height-E*M,u&&(O*=-1)):(S=k,O=(1-E)*M/2),t.showLabelBackdrop){const e=ue(t.backdropPadding),n=P.heights[v],i=P.widths[v];let s=S+O-e.top,o=w-e.left;switch(T){case"middle":s-=n/2;break;case"bottom":s-=n}switch(C){case"center":o-=i/2;break;case"right":o-=i}h={left:o,top:s,width:i+e.width,height:n+e.height,color:t.backdropColor}}b.push({rotation:m,label:_,font:A,color:n,strokeColor:a,strokeWidth:c,textOffset:O,textAlign:C,textBaseline:T,translation:[w,S],backdrop:h})}return b}_getXAxisLabelAlignment(){const{position:t,ticks:e}=this.options;if(-U(this.labelRotation))return"top"===t?"left":"right";let n="center";return"start"===e.align?n="left":"end"===e.align&&(n="right"),n}_getYAxisLabelAlignment(t){const{position:e,ticks:{crossAlign:n,mirror:i,padding:s}}=this.options,o=t+s,r=this._getLabelSizes().widest.width;let a,l;return"left"===e?i?(l=this.right+s,"near"===n?a="left":"center"===n?(a="center",l+=r/2):(a="right",l+=r)):(l=this.right-o,"near"===n?a="right":"center"===n?(a="center",l-=r/2):(a="left",l=this.left)):"right"===e?i?(l=this.left+s,"near"===n?a="right":"center"===n?(a="center",l-=r/2):(a="left",l-=r)):(l=this.left+o,"near"===n?a="left":"center"===n?(a="center",l+=r/2):(a="right",l=this.right)):a="right",{textAlign:a,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}
vendor: 5,512 bytes, line 2
2:"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:i,width:s,height:o}=this;e&&(t.save(),t.fillStyle=e,t.fillRect(n,i,s,o),t.restore())}getLineWidthForValue(t){const e=this.options.grid;if(!this._isVisible()||!e.display)return 0;const n=this.ticks.findIndex((e=>e.value===t));if(n>=0){return e.setContext(this.getContext(n)).lineWidth}return 0}drawGrid(t){const e=this.options.grid,n=this.ctx,i=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let s,o;const r=(t,e,i)=>{i.width&&i.color&&(n.save(),n.lineWidth=i.width,n.strokeStyle=i.color,n.setLineDash(i.borderDash||[]),n.lineDashOffset=i.borderDashOffset,n.beginPath(),n.moveTo(t.x,t.y),n.lineTo(e.x,e.y),n.stroke(),n.restore())};if(e.display)for(s=0,o=i.length;s<o;++s){const t=i[s];e.drawOnChartArea&&r({x:t.x1,y:t.y1},{x:t.x2,y:t.y2},t),e.drawTicks&&r({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()),s=n.drawBorder?i.borderWidth:0;if(!s)return;const o=n.setContext(this.getContext(0)).lineWidth,r=this._borderValue;let a,l,c,d;this.isHorizontal()?(a=qt(t,this.left,s)-s/2,l=qt(t,this.right,o)+o/2,c=d=r):(c=qt(t,this.top,s)-s/2,d=qt(t,this.bottom,o)+o/2,a=l=r),e.save(),e.lineWidth=i.borderWidth,e.strokeStyle=i.borderColor,e.beginPath(),e.moveTo(a,c),e.lineTo(l,d),e.stroke(),e.restore()}drawLabels(t){if(!this.options.ticks.display)return;const e=this.ctx,n=this._computeLabelArea();n&&Jt(e,n);const i=this._labelItems||(this._labelItems=this._computeLabelItems(t));let s,o;for(s=0,o=i.length;s<o;++s){const t=i[s],n=t.font,o=t.label;t.backdrop&&(e.fillStyle=t.backdrop.color,e.fillRect(t.backdrop.left,t.backdrop.top,t.backdrop.width,t.backdrop.height)),ne(e,o,0,t.textOffset,n,t)}n&&Qt(e)}drawTitle(){const{ctx:t,options:{position:e,title:n,reverse:i}}=this;if(!n.display)return;const s=pe(n.font),o=ue(n.padding),a=n.align;let l=s.lineHeight/2;"bottom"===e||"center"===e||h(e)?(l+=o.bottom,d(n.text)&&(l+=s.lineHeight*(n.text.length-1))):l+=o.top;const{titleX:c,titleY:u,maxWidth:p,rotation:f}=function(t,e,n,i){const{top:s,left:o,bottom:a,right:l,chart:c}=t,{chartArea:d,scales:u}=c;let p,f,g,m=0;const b=a-s,v=l-o;if(t.isHorizontal()){if(f=r(i,o,l),h(n)){const t=Object.keys(n)[0],i=n[t];g=u[t].getPixelForValue(i)+b-e}else g="center"===n?(d.bottom+d.top)/2+b-e:Hi(t,n,e);p=l-o}else{if(h(n)){const t=Object.keys(n)[0],i=n[t];f=u[t].getPixelForValue(i)-v+e}else f="center"===n?(d.left+d.right)/2-v+e:Hi(t,n,e);g=r(i,a,s),m="left"===n?-N:N}return{titleX:f,titleY:g,maxWidth:p,rotation:m}}(this,l,e,a);ne(t,n.text,0,0,s,{color:n.color,maxWidth:p,rotation:f,textAlign:qi(a,e,i),textBaseline:"middle",translation:[c,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=f(t.grid&&t.grid.z,-1);return this._isVisible()&&this.draw===Ki.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",i=[];let s,o;for(s=0,o=e.length;s<o;++s){const o=e[s];o[n]!==this.id||t&&o.type!==t||i.push(o)}return i}_resolveTickFontOptions(t){return pe(this.options.ticks.setContext(this.getContext(t)).font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class Xi{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;(function(t){return"id"in t&&"defaults"in t})(e)&&(n=this.register(e));const i=this.items,s=t.id,o=this.scope+"."+s;if(!s)throw new Error("class does not have id: "+t);return s in i||(i[s]=t,function(t,e,n){const i=w(Object.create(null),[n?Yt.get(n):{},Yt.get(e),t.defaults]);Yt.set(e,i),t.defaultRoutes&&function(t,e){Object.keys(e).forEach((n=>{const i=n.split("."),s=i.pop(),o=[t].concat(i).join("."),r=e[n].split("."),a=r.pop(),l=r.join(".");Yt.route(o,s,l,a)}))}(e,t.defaultRoutes);t.descriptors&&Yt.describe(e,t.descriptors)}(t,o,n),this.override&&Yt.override(t.id,t.overrides)),o}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 Yt[i]&&(delete Yt[i][n],this.override&&delete zt[n])}}var Zi=new class{constructor(){this.controllers=new Xi(In,"datasets",!0),this.elements=new Xi(ji,"elements"),this.plugins=new Xi(Object,"plugins"),this.scales=new Xi(Ki,"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")}
vendor: 2,822 bytes, line 2
2removeControllers(...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):b(e,(e=>{const i=n||this._getRegistryForType(e);this._exec(t,i,e)}))}))}_exec(t,e,n){const i=E(t);m(n["before"+i],[],n),e[t](n),m(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 i=e.get(t);if(void 0===i)throw new Error('"'+t+'" is not a registered '+n+".");return i}};class Ji{constructor(){this._init=[]}notify(t,e,n,i){"beforeInit"===e&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const s=i?this._descriptors(t).filter(i):this._descriptors(t),o=this._notify(s,t,e,n);return"afterDestroy"===e&&(this._notify(s,t,"stop"),this._notify(this._init,t,"uninstall")),o}_notify(t,e,n,i){i=i||{};for(const s of t){const t=s.plugin;if(!1===m(t[n],[e,i,s.options],t)&&i.cancelable)return!1}return!0}invalidate(){c(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=f(n.options&&n.options.plugins,{}),s=function(t){const e=[],n=Object.keys(Zi.plugins.items);for(let t=0;t<n.length;t++)e.push(Zi.getPlugin(n[t]));const i=t.plugins||[];for(let t=0;t<i.length;t++){const n=i[t];-1===e.indexOf(n)&&e.push(n)}return e}(n);return!1!==i||e?function(t,e,n,i){const s=[],o=t.getContext();for(let r=0;r<e.length;r++){const a=e[r],l=Qi(n[a.id],i);null!==l&&s.push({plugin:a,options:ts(t.config,a,l,o)})}return s}(t,s,i,e):[]}_notifyStateChanges(t){const e=this._oldCache||[],n=this._cache,i=(t,e)=>t.filter((t=>!e.some((e=>t.plugin.id===e.plugin.id))));this._notify(i(e,n),t,"stop"),this._notify(i(n,e),t,"start")}}function Qi(t,e){return e||!1!==t?!0===t?{}:t:null}function ts(t,e,n,i){const s=t.pluginScopeKeys(e),o=t.getOptionScopes(n,s);return t.createResolver(o,i,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function es(t,e){const n=Yt.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||n.indexAxis||"x"}function ns(t,e){return"x"===t||"y"===t?t:e.axis||("top"===(n=e.position)||"bottom"===n?"x":"left"===n||"right"===n?"y":void 0)||t.charAt(0).toLowerCase();var n}function is(t){const e=t.options||(t.options={});e.plugins=f(e.plugins,{}),e.scales=function(t,e){const n=zt[t.type]||{scales:{}},i=e.scales||{},s=es(t.type,e),o=Object.create(null),r=Object.create(null);
vendor: 5,931 bytes, line 2
2return Object.keys(i).forEach((t=>{const e=i[t];if(!h(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 a=ns(t,e),l=function(t,e){return t===e?"_index_":"_value_"}(a,s),c=n.scales||{};o[a]=o[a]||t,r[t]=S(Object.create(null),[{axis:a},e,c[a],c[l]])})),t.data.datasets.forEach((n=>{const s=n.type||t.type,a=n.indexAxis||es(s,e),l=(zt[s]||{}).scales||{};Object.keys(l).forEach((t=>{const e=function(t,e){let n=t;return"_index_"===t?n=e:"_value_"===t&&(n="x"===e?"y":"x"),n}(t,a),s=n[e+"AxisID"]||o[e]||e;r[s]=r[s]||Object.create(null),S(r[s],[{axis:e},i[s],l[t]])}))})),Object.keys(r).forEach((t=>{const e=r[t];S(e,[Yt.scales[e.type],Yt.scale])})),r}(t,e)}function ss(t){return(t=t||{}).datasets=t.datasets||[],t.labels=t.labels||[],t}const os=new Map,rs=new Set;function as(t,e){let n=os.get(t);return n||(n=e(),os.set(t,n),rs.add(n)),n}const ls=(t,e,n)=>{const i=M(e,n);void 0!==i&&t.add(i)};class cs{constructor(t){this._config=function(t){return(t=t||{}).data=ss(t.data),is(t),t}(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=ss(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(),is(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return as(t,(()=>[[`datasets.${t}`,""]]))}datasetAnimationScopeKeys(t,e){return as(`${t}.transition.${e}`,(()=>[[`datasets.${t}.transitions.${e}`,`transitions.${e}`],[`datasets.${t}`,""]]))}datasetElementScopeKeys(t,e){return as(`${t}-${e}`,(()=>[[`datasets.${t}.elements.${e}`,`datasets.${t}`,`elements.${e}`,""]]))}pluginScopeKeys(t){const e=t.id;return as(`${this.type}-plugin-${e}`,(()=>[[`plugins.${e}`,...t.additionalOptionScopes||[]]]))}_cachedScopes(t,e){const n=this._scopeCache;let i=n.get(t);return i&&!e||(i=new Map,n.set(t,i)),i}getOptionScopes(t,e,n){const{options:i,type:s}=this,o=this._cachedScopes(t,n),r=o.get(e);if(r)return r;const a=new Set;e.forEach((e=>{t&&(a.add(t),e.forEach((e=>ls(a,t,e)))),e.forEach((t=>ls(a,i,t))),e.forEach((t=>ls(a,zt[s]||{},t))),e.forEach((t=>ls(a,Yt,t))),e.forEach((t=>ls(a,Vt,t)))}));const l=Array.from(a);return 0===l.length&&l.push(Object.create(null)),rs.has(e)&&o.set(e,l),l}chartOptionScopes(){const{options:t,type:e}=this;return[t,zt[e]||{},Yt.datasets[e]||{},{type:e},Yt,Vt]}resolveNamedOptions(t,e,n,i=[""]){const s={$shared:!0},{resolver:o,subPrefixes:r}=ds(this._resolverCache,t,i);let a=o;if(function(t,e){const{isScriptable:n,isIndexable:i}=Ce(t);for(const s of e){const e=n(s),o=i(s),r=(o||e)&&t[s];if(e&&(T(r)||hs(r))||o&&d(r))return!0}return!1}(o,e)){s.$shared=!1;a=Se(o,n=T(n)?n():n,this.createResolver(t,n,r))}for(const t of e)s[t]=a[t];return s}createResolver(t,e,n=[""],i){const{resolver:s}=ds(this._resolverCache,t,n);return h(e)?Se(s,e,void 0,i):s}}function ds(t,e,n){let i=t.get(e);i||(i=new Map,t.set(e,i));const s=n.join();let o=i.get(s);if(!o){o={resolver:we(e,n),subPrefixes:n.filter((t=>!t.toLowerCase().includes("hover")))},i.set(s,o)}return o}const hs=t=>h(t)&&Object.getOwnPropertyNames(t).reduce(((e,n)=>e||T(t[n])),!1);const us=["top","bottom","left","right","chartArea"];function ps(t,e){return"top"===t||"bottom"===t||-1===us.indexOf(t)&&"x"===e}function fs(t,e){return function(n,i){return n[t]===i[t]?n[e]-i[e]:n[t]-i[t]}}function gs(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),m(n&&n.onComplete,[t],e)}function ms(t){const e=t.chart,n=e.options.animation;m(n&&n.onProgress,[t],e)}function bs(t){return Ve()&&"string"==typeof t?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const vs={},ys=t=>{const e=bs(t);return Object.values(vs).filter((t=>t.canvas===e)).pop()};function xs(t,e,n){const i=Object.keys(t);for(const s of i){const i=+s;if(i>=e){const o=t[s];delete t[s],(n>0||i>e)&&(t[i+n]=o)}}}class _s{constructor(t,e){const n=this.config=new cs(e),i=bs(t),s=ys(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 o=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||function(t){return!Ve()||"undefined"!=typeof OffscreenCanvas&&t instanceof OffscreenCanvas?wi:Ni}(i)),this.platform.updateConfig(n);const r=this.platform.acquireContext(i,o.aspectRatio),a=r&&r.canvas,c=a&&a.height,d=a&&a.width;this.id=l(),this.ctx=r,this.canvas=a,this.width=d,this.height=c,this._options=o,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 Ji,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function(t,e){let n;return function(...i){return e?(clearTimeout(n),n=setTimeout(t,e,i)):t.apply(this,i),e}}((t=>this.update(t)),o.resizeDelay||0),this._dataChanges=[],vs[this.id]=this,r&&a?(bn.listen(this,"complete",gs),bn.listen(this,"progress",ms),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:s}=this;return c(t)?e&&s?s: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():Je
vendor: 4,846 bytes, line 2
2(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Kt(this.canvas,this.ctx),this}stop(){return bn.stop(this),this}resize(t,e){bn.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){const n=this.options,i=this.canvas,s=n.maintainAspectRatio&&this.aspectRatio,o=this.platform.getMaximumSize(i,t,e,s),r=n.devicePixelRatio||this.platform.getDevicePixelRatio(),a=this.width?"resize":"attach";this.width=o.width,this.height=o.height,this._aspectRatio=this.aspectRatio,Je(this,r,!0)&&(this.notifyPlugins("resize",{size:o}),m(n.onResize,[this,o],this),this.attached&&this._doResize(a)&&this.render())}ensureScalesHaveIDs(){b(this.options.scales||{},((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 s=[];e&&(s=s.concat(Object.keys(e).map((t=>{const n=e[t],i=ns(t,n),s="r"===i,o="x"===i;return{options:n,dposition:s?"chartArea":o?"bottom":"left",dtype:s?"radialLinear":o?"category":"linear"}})))),b(s,(e=>{const s=e.options,o=s.id,r=ns(o,s),a=f(s.type,e.dtype);void 0!==s.position&&ps(s.position,r)===ps(e.dposition)||(s.position=e.dposition),i[o]=!0;let l=null;if(o in n&&n[o].type===a)l=n[o];else{l=new(Zi.getScale(a))({id:o,type:a,ctx:this.ctx,chart:this}),n[l.id]=l}l.init(s,t)})),b(i,((t,e)=>{t||delete n[e]})),b(n,(t=>{xi.configure(this,t,t.options),xi.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(fs("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 s=this.getDatasetMeta(n);const o=i.type||this.config.type;if(s.type&&s.type!==o&&(this._destroyDatasetMeta(n),s=this.getDatasetMeta(n)),s.type=o,s.indexAxis=i.indexAxis||es(o,this.options),s.order=i.order||0,s.index=n,s.label=""+i.label,s.visible=this.isDatasetVisible(n),s.controller)s.controller.updateIndex(n),s.controller.linkScales();else{const e=Zi.getController(o),{datasetElementType:i,dataElementType:r}=Yt.datasets[o];Object.assign(e.prototype,{dataElementType:Zi.getElement(r),datasetElementType:i&&Zi.getElement(i)}),s.controller=new e(this,n),t.push(s.controller)}}return this._updateMetasets(),t}_resetElements(){b(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 s=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let o=0;for(let t=0,e=this.data.datasets.length;t<e;t++){const{controller:e}=this.getDatasetMeta(t),n=!i&&-1===s.indexOf(e);e.buildOrUpdateElements(n),o=Math.max(+e.getMaxOverflow(),o)}o=this._minPadding=n.layout.autoPadding?o:0,this._updateLayout(o),i||b(s,(t=>{t.reset()})),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(fs("z","_idx"));const{_active:r,_lastEvent:a}=this;a?this._eventHandler(a,!0):r.length&&this._updateHoverStyles(r,r,!0),this.render()}_updateScales(){b(this.scales,(t=>{xi.removeBox(this,t)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,e=new Set(Object.keys(this._listeners)),n=new Set(t.events);P(e,n)&&!!this._responsiveListeners===t.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(const{method:n,start:i,count:s}of e){xs(t,i,"_removeElements"===n?-s:s)}}_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 t=1;t<e;t++)if(!P(i,n(t)))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;xi.update(this,this.width,this.height,t);const e=this.chartArea,n=e.width<=0||e.height<=0;this._layers=[],b(this.boxes,(t=>{n&&"chartArea"===t.position||(t.configure&&t.configure(),this._layers.push(...t._layers()))}
vendor: 10,325 bytes, line 2
2),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,T(t)?t({datasetIndex:e}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,e){const n=this.getDatasetMeta(t),i={meta:n,index:t,mode:e,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",i)&&(n.controller._update(e),i.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",i))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(bn.has(this)?this.attached&&!bn.running(this)&&bn.start(this):(this.draw(),gs({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 i,s;for(i=0,s=e.length;i<s;++i){const s=e[i];t&&!s.visible||n.push(s)}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,s=this.chartArea,o={meta:t,index:t.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",o)&&(i&&Jt(e,{left:!1===n.left?0:s.left-n.left,right:!1===n.right?this.width:s.right+n.right,top:!1===n.top?0:s.top-n.top,bottom:!1===n.bottom?this.height:s.bottom+n.bottom}),t.controller.draw(),i&&Qt(e),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}getElementsAtEventForMode(t,e,n,i){const s=ai.modes[e];return"function"==typeof s?s(this,t,n,i):[]}getDatasetMeta(t){const e=this.data.datasets[t],n=this._metasets;let i=n.filter((t=>t&&t._dataset===e)).pop();return i||(i={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(i)),i}getContext(){return this.$context||(this.$context=ge(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){this.getDatasetMeta(t).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",s=this.getDatasetMeta(t),o=s.controller._resolveAnimations(void 0,i);O(e)?(s.data[e].hidden=!n,this.update()):(this.setDatasetVisibility(t,n),o.update(s,{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(),bn.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(),Kt(t,e),this.platform.releaseContext(e),this.canvas=null,this.ctx=null),this.notifyPlugins("destroy"),delete vs[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,i)=>{e.addEventListener(this,n,i),t[n]=i},i=(t,e,n)=>{t.offsetX=e,t.offsetY=n,this._eventHandler(t)};b(this.options.events,(t=>n(t,i)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,e=this.platform,n=(n,i)=>{e.addEventListener(this,n,i),t[n]=i},i=(n,i)=>{t[n]&&(e.removeEventListener(this,n,i),delete t[n])},s=(t,e)=>{this.canvas&&this.resize(t,e)};let o;const r=()=>{i("attach",r),this.attached=!0,this.resize(),n("resize",s),n("detach",o)};o=()=>{this.attached=!1,i("resize",s),this._stop(),this._resize(0,0),n("attach",r)},e.isAttached(this.canvas)?r():o()}unbindEvents(){b(this._listeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._listeners={},b(this._responsiveListeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._responsiveListeners=void 0}updateHoverStyle(t,e,n){const i=n?"set":"remove";let s,o,r,a;for("dataset"===e&&(s=this.getDatasetMeta(t[0].datasetIndex),s.controller["_"+i+"DatasetHoverStyle"]()),r=0,a=t.length;r<a;++r){o=t[r];const e=o&&this.getDatasetMeta(o.datasetIndex).controller;e&&e[i+"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}}));!v(n,e)&&(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 i=this.options.hover,s=(t,e)=>t.filter((t=>!e.some((e=>t.datasetIndex===e.datasetIndex&&t.index===e.index)))),o=s(e,t),r=n?t:s(t,e);o.length&&this.updateHoverStyle(o,i.mode,!1),r.length&&i.mode&&this.updateHoverStyle(r,i.mode,!0)}_eventHandler(t,e){const n={event:t,replay:e,cancelable:!0,inChartArea:Zt(t,this.chartArea,this._minPadding)},i=e=>(e.options.events||this.options.events).includes(t.native.type);if(!1===this.notifyPlugins("beforeEvent",n,i))return;const s=this._handleEvent(t,e,n.inChartArea);return n.cancelable=!1,this.notifyPlugins("afterEvent",n,i),(s||n.changed)&&this.render(),this}_handleEvent(t,e,n){const{_active:i=[],options:s}=this,o=e,r=this._getActiveElements(t,i,n,o),a=function(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}(t),l=function(t,e,n,i){return n&&"mouseout"!==t.type?i?e:t:null}(t,this._lastEvent,n,a);n&&(this._lastEvent=null,m(s.onHover,[t,r,this],this),a&&m(s.onClick,[t,r,this],this));const c=!v(r,i);return(c||e)&&(this._active=r,this._updateHoverStyles(r,i,e)),this._lastEvent=l,c}_getActiveElements(t,e,n,i){if("mouseout"===t.type)return[];if(!n)return e;const s=this.options.hover;return this.getElementsAtEventForMode(t,s.mode,s,i)}}const ws=()=>b(_s.instances,(t=>t._plugins.invalidate())),Ss=!0;function Cs(t,e,n){const{startAngle:i,pixelMargin:s,x:o,y:r,outerRadius:a,innerRadius:l}=e;let c=s/a;t.beginPath(),t.arc(o,r,a,i-c,n+c),l>s?(c=s/l,t.arc(o,r,l,n+c,i-c,!0)):t.arc(o,r,s,n+N,i-N),t.closePath(),t.clip()}function ks(t,e,n,i){const s=ce(t.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]);const o=(n-e)/2,r=Math.min(o,i*e/2),a=t=>{const e=(n-Math.min(o,t))*i/2;return tt(t,0,Math.min(o,e))};return{outerStart:a(s.outerStart),outerEnd:a(s.outerEnd),innerStart:tt(s.innerStart,0,r),innerEnd:tt(s.innerEnd,0,r)}}function As(t,e,n,i){return{x:n+t*Math.cos(e),y:i+t*Math.sin(e)}}function Ms(t,e,n,i,s){const{x:o,y:r,startAngle:a,pixelMargin:l,innerRadius:c}=e,d=Math.max(e.outerRadius+i+n-l,0),h=c>0?c+i+n+l:0;let u=0;const p=s-a;if(i){const t=((c>0?c-i:0)+(d>0?d-i:0))/2;u=(p-(0!==t?p*t/(t+i):p))/2}const f=(p-Math.max(.001,p*d-n/L)/d)/2,g=a+f+u,m=s-f-u,{outerStart:b,outerEnd:v,innerStart:y,innerEnd:x}=ks(e,h,d,m-g),_=d-b,w=d-v,S=g+b/_,C=m-v/w,k=h+y,A=h+x,M=g+y/k,E=m-x/A;if(t.beginPath(),t.arc(o,r,d,S,C),v>0){const e=As(w,C,o,r);t.arc(e.x,e.y,v,C,m+N)}const O=As(A,m,o,r);if(t.lineTo(O.x,O.y),x>0){const e=As(A,E,o,r);t.arc(e.x,e.y,x,m+N,E+Math.PI)}if(t.arc(o,r,h,m-x/h,g+y/h,!0),y>0){const e=As(k,M,o,r);t.arc(e.x,e.y,y,M+Math.PI,g-N)}const T=As(_,g,o,r);if(t.lineTo(T.x,T.y),b>0){const e=As(_,S,o,r);t.arc(e.x,e.y,b,g-N,S)}t.closePath()}function Es(t,e,n,i,s){const{options:o}=e,{borderWidth:r,borderJoinStyle:a}=o,l="inner"===o.borderAlign;r&&(l?(t.lineWidth=2*r,t.lineJoin=a||"round"):(t.lineWidth=r,t.lineJoin=a||"bevel"),e.fullCircles&&function(t,e,n){const{x:i,y:s,startAngle:o,pixelMargin:r,fullCircles:a}=e,l=Math.max(e.outerRadius-r,0),c=e.innerRadius+r;let d;for(n&&Cs(t,e,o+D),t.beginPath(),t.arc(i,s,c,o+D,o,!0),d=0;d<a;++d)t.stroke();for(t.beginPath(),t.arc(i,s,l,o,o+D),d=0;d<a;++d)t.stroke()}(t,e,l),l&&Cs(t,e,s),Ms(t,e,n,i,s),t.stroke())}Object.defineProperties(_s,{defaults:{enumerable:Ss,value:Yt},instances:{enumerable:Ss,value:vs},overrides:{enumerable:Ss,value:zt},registry:{enumerable:Ss,value:Zi},version:{enumerable:Ss,value:"3.7.1"},getChart:{enumerable:Ss,value:ys},register:{enumerable:Ss,value:(...t)=>{Zi.add(...t),ws()}},unregister:{enumerable:Ss,value:(...t)=>{Zi.remove(...t),ws()}}});class Os extends ji{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:s,distance:o}=K(i,{x:t,y:e}),{startAngle:r,endAngle:a,innerRadius:l,outerRadius:c,circumference:d}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],n),h=this.options.spacing/2,u=f(d,a-r)>=D||Q(s,r,a),p=et(o,l+h,c+h);return u&&p}getCenterPoint(t){const{x:e,y:n,startAngle:i,endAngle:s,innerRadius:o,outerRadius:r}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],t),{offset:a,spacing:l}=this.options,c=(i+s)/2,d=(o+r+l+a)/2;return{x:e+Math.cos(c)*d,y:n+Math.sin(c)*d}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:e,circumference:n}=this,i=(e.offset||0)/2,s=(e.spacing||0)/2;if(this.pixelMargin="inner"===e.borderAlign?.33:0,this.fullCircles=n>D?Math.floor(n/D):0,0===n||this.innerRadius<0||this.outerRadius<0)return;t.save();let o=0;if(i){o=i/2;
vendor: 8,872 bytes, line 2
2const e=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(e)*o,Math.sin(e)*o),this.circumference>=L&&(o=i)}t.fillStyle=e.backgroundColor,t.strokeStyle=e.borderColor;const r=function(t,e,n,i){const{fullCircles:s,startAngle:o,circumference:r}=e;let a=e.endAngle;if(s){Ms(t,e,n,i,o+D);for(let e=0;e<s;++e)t.fill();isNaN(r)||(a=o+r%D,r%D==0&&(a+=D))}return Ms(t,e,n,i,a),t.fill(),a}(t,this,o,s);Es(t,this,o,s,r),t.restore()}}function Ts(t,e,n=e){t.lineCap=f(n.borderCapStyle,e.borderCapStyle),t.setLineDash(f(n.borderDash,e.borderDash)),t.lineDashOffset=f(n.borderDashOffset,e.borderDashOffset),t.lineJoin=f(n.borderJoinStyle,e.borderJoinStyle),t.lineWidth=f(n.borderWidth,e.borderWidth),t.strokeStyle=f(n.borderColor,e.borderColor)}function Ps(t,e,n){t.lineTo(n.x,n.y)}function Ls(t,e,n={}){const i=t.length,{start:s=0,end:o=i-1}=n,{start:r,end:a}=e,l=Math.max(s,r),c=Math.min(o,a),d=s<r&&o<r||s>a&&o>a;return{count:i,start:l,loop:e.loop,ilen:c<l&&!d?i+c-l:c-l}}function Ds(t,e,n,i){const{points:s,options:o}=e,{count:r,start:a,loop:l,ilen:c}=Ls(s,n,i),d=function(t){return t.stepped?te:t.tension||"monotone"===t.cubicInterpolationMode?ee:Ps}(o);let h,u,p,{move:f=!0,reverse:g}=i||{};for(h=0;h<=c;++h)u=s[(a+(g?c-h:h))%r],u.skip||(f?(t.moveTo(u.x,u.y),f=!1):d(t,p,u,g,o.stepped),p=u);return l&&(u=s[(a+(g?c:0))%r],d(t,p,u,g,o.stepped)),!!l}function Is(t,e,n,i){const s=e.points,{count:o,start:r,ilen:a}=Ls(s,n,i),{move:l=!0,reverse:c}=i||{};let d,h,u,p,f,g,m=0,b=0;const v=t=>(r+(c?a-t:t))%o,y=()=>{p!==f&&(t.lineTo(m,f),t.lineTo(m,p),t.lineTo(m,g))};for(l&&(h=s[v(0)],t.moveTo(h.x,h.y)),d=0;d<=a;++d){if(h=s[v(d)],h.skip)continue;const e=h.x,n=h.y,i=0|e;i===u?(n<p?p=n:n>f&&(f=n),m=(b*m+e)/++b):(y(),t.lineTo(e,n),u=i,b=0,p=f=n),g=n}y()}function Rs(t){const e=t.options,n=e.borderDash&&e.borderDash.length;return!(t._decimated||t._loop||e.tension||"monotone"===e.cubicInterpolationMode||e.stepped||n)?Is:Ds}Os.id="arc",Os.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0},Os.defaultRoutes={backgroundColor:"backgroundColor"};const Fs="function"==typeof Path2D;function Ns(t,e,n,i){Fs&&!e.options.segment?function(t,e,n,i){let s=e._path;s||(s=e._path=new Path2D,e.path(s,n,i)&&s.closePath()),Ts(t,e.options),t.stroke(s)}(t,e,n,i):function(t,e,n,i){const{segments:s,options:o}=e,r=Rs(e);for(const a of s)Ts(t,o,a.style),t.beginPath(),r(t,e,a,{start:n,end:n+i-1})&&t.closePath(),t.stroke()}(t,e,n,i)}class js extends ji{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;ze(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=function(t,e){const n=t.points,i=t.options.spanGaps,s=n.length;if(!s)return[];const o=!!t._loop,{start:r,end:a}=function(t,e,n,i){let s=0,o=e-1;if(n&&!i)for(;s<e&&!t[s].skip;)s++;for(;s<e&&t[s].skip;)s++;for(s%=e,n&&(o+=s);o>s&&t[o%e].skip;)o--;return o%=e,{start:s,end:o}}(n,s,o,i);return fn(t,!0===i?[{start:r,end:a,loop:o}]:function(t,e,n,i){const s=t.length,o=[];let r,a=e,l=t[e];for(r=e+1;r<=n;++r){const n=t[r%s];n.skip||n.stop?l.skip||(i=!1,o.push({start:e%s,end:(r-1)%s,loop:i}),e=a=n.stop?r:null):(a=r,l.skip&&(e=r)),l=n}return null!==a&&o.push({start:e%s,end:a%s,loop:i}),o}(n,r,a<r?a+s:a,!!t._fullLoop&&0===r&&a===s-1),n,e)}(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],s=this.points,o=pn(this,{property:e,start:i,end:i});if(!o.length)return;const r=[],a=function(t){return t.stepped?nn:t.tension||"monotone"===t.cubicInterpolationMode?sn:en}(n);let l,c;for(l=0,c=o.length;l<c;++l){const{start:c,end:d}=o[l],h=s[c],u=s[d];if(h===u){r.push(h);continue}const p=a(h,u,Math.abs((i-h[e])/(u[e]-h[e])),n.stepped);p[e]=t[e],r.push(p)}return 1===r.length?r[0]:r}pathSegment(t,e,n){return Rs(this)(t,this,e,n)}path(t,e,n){const i=this.segments,s=Rs(this);let o=this._loop;e=e||0,n=n||this.points.length-e;for(const r of i)o&=s(t,this,r,{start:e,end:e+n-1});return!!o}draw(t,e,n,i){const s=this.options||{};(this.points||[]).length&&s.borderWidth&&(t.save(),Ns(t,this,n,i),t.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}function Bs(t,e,n,i){const s=t.options,{[n]:o}=t.getProps([n],i);return Math.abs(e-o)<s.radius+s.hitRadius}js.id="line",js.defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0},js.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"},js.descriptors={_scriptable:!0,_indexable:t=>"borderDash"!==t&&"fill"!==t};class $s extends ji{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 i=this.options,{x:s,y:o}=this.getProps(["x","y"],n);return Math.pow(t-s,2)+Math.pow(e-o,2)<Math.pow(i.hitRadius+i.radius,2)}inXRange(t,e){return Bs(this,t,"x",e)}inYRange(t,e){return Bs(this,t,"y",e)}getCenterPoint(t){const{x:e,y:n}=this.getProps(["x","y"],t);return{x:e,y:n}}size(t){let e=(t=t||this.options||{}).radius||0;e=Math.max(e,e&&t.hoverRadius||0);return 2*(e+(e&&t.borderWidth||0))}draw(t,e){const n=this.options;this.skip||n.radius<.1||!Zt(this,e,this.size(n)/2)||(t.strokeStyle=n.borderColor,t.lineWidth=n.borderWidth,t.fillStyle=n.backgroundColor,Xt(t,n,this.x,this.y))}getRange(){const t=this.options||{};return t.radius+t.hitRadius}}function zs(t,e){const{x:n,y:i,base:s,width:o,height:r}=t.getProps(["x","y","base","width","height"],e);let a,l,c,d,h;return t.horizontal?(h=r/2,a=Math.min(n,s),l=Math.max(n,s),c=i-h,d=i+h):(h=o/2,a=n-h,l=n+h,c=Math.min(i,s),d=Math.max(i,s)),{left:a,top:c,right:l,bottom:d}}function Vs(t,e,n,i){return t?0:tt(e,n,i)}function Hs(t){const e=zs(t),n=e.right-e.left,i=e.bottom-e.top,s=function(t,e,n){const i=t.options.borderWidth,s=t.borderSkipped,o=de(i);return{t:Vs(s.top,o.top,0,n),r:Vs(s.right,o.right,0,e),b:Vs(s.bottom,o.bottom,0,n),l:Vs(s.left,o.left,0,e)}}(t,n/2,i/2),o=function(t,e,n){const{enableBorderRadius:i}=t.getProps(["enableBorderRadius"]),s=t.options.borderRadius,o=he(s),r=Math.min(e,n),a=t.borderSkipped,l=i||h(s);return{topLeft:Vs(!l||a.top||a.left,o.topLeft,0,r),topRight:Vs(!l||a.top||a.right,o.topRight,0,r),bottomLeft:Vs(!l||a.bottom||a.left,o.bottomLeft,0,r),bottomRight:Vs(!l||a.bottom||a.right,o.bottomRight,0,r)}}(t,n/2,i/2);return{outer:{x:e.left,y:e.top,w:n,h:i,radius:o},inner:{x:e.left+s.l,y:e.top+s.t,w:n-s.l-s.r,h:i-s.t-s.b,radius:{topLeft:Math.max(0,o.topLeft-Math.max(s.t,s.l)),topRight:Math.max(0,o.topRight-Math.max(s.t,s.r)),bottomLeft:Math.max(0,o.bottomLeft-Math.max(s.b,s.l)),bottomRight:Math.max(0,o.bottomRight-Math.max(s.b,s.r))}}}}function Ws(t,e,n,i){const s=null===e,o=null===n,r=t&&!(s&&o)&&zs(t,i);return r&&(s||et(e,r.left,r.right))&&(o||et(n,r.top,r.bottom))}function Ys(t,e){t.rect(e.x,e.y,e.w,e.h)}function Us(t,e,n={}){const i=t.x!==n.x?-e:0,s=t.y!==n.y?-e:0,o=(t.x+t.w!==n.x+n.w?e:0)-i,r=(t.y+t.h!==n.y+n.h?e:0)-s;return{x:t.x+i,y:t.y+s,w:t.w+o,h:t.h+r,radius:t.radius}}$s.id="point",$s.defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0},$s.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};class Gs extends ji{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:s,outer:o}=Hs(this),r=(a=o.radius).topLeft||a.topRight||a.bottomLeft||a.bottomRight?se:Ys;var a;t.save(),o.w===s.w&&o.h===s.h||(t.beginPath(),r(t,Us(o,e,s)),t.clip(),r(t,Us(s,-e,o)),t.fillStyle=n,t.fill("evenodd")),t.beginPath(),r(t,Us(s,e)),t.fillStyle=i,t.fill(),t.restore()}inRange(t,e,n){return Ws(this,t,e,n)}inXRange(t,e){return Ws(this,t,null,e)}inYRange(t,e){return Ws(this,null,t,e)}getCenterPoint(t){const{x:e,y:n,base:i,horizontal:s}=this.getProps(["x","y","base","horizontal"],t);return{x:s?(e+i)/2:e,y:s?n:(n+i)/2}}getRange(t){return"x"===t?this.width/2:this.height/2}}Gs.id="bar",Gs.defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmou
vendor: 5,039 bytes, line 2
2nt:"auto",pointStyle:void 0},Gs.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};const qs=(t,e)=>{let{boxHeight:n=e,boxWidth:i=e}=t;return t.usePointStyle&&(n=Math.min(n,e),i=Math.min(i,e)),{boxWidth:i,boxHeight:n,itemHeight:Math.max(e,n)}};class Ks extends ji{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=m(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=pe(n.font),s=i.size,o=this._computeTitleHeight(),{boxWidth:r,itemHeight:a}=qs(n,s);let l,c;e.font=i.string,this.isHorizontal()?(l=this.maxWidth,c=this._fitRows(o,s,r,a)+10):(c=this.maxHeight,l=this._fitCols(o,s,r,a)+10),this.width=Math.min(l,t.maxWidth||this.maxWidth),this.height=Math.min(c,t.maxHeight||this.maxHeight)}_fitRows(t,e,n,i){const{ctx:s,maxWidth:o,options:{labels:{padding:r}}}=this,a=this.legendHitBoxes=[],l=this.lineWidths=[0],c=i+r;let d=t;s.textAlign="left",s.textBaseline="middle";let h=-1,u=-c;return this.legendItems.forEach(((t,p)=>{const f=n+e/2+s.measureText(t.text).width;(0===p||l[l.length-1]+f+2*r>o)&&(d+=c,l[l.length-(p>0?0:1)]=0,u+=c,h++),a[p]={left:0,top:u,row:h,width:f,height:i},l[l.length-1]+=f+r})),d}_fitCols(t,e,n,i){const{ctx:s,maxHeight:o,options:{labels:{padding:r}}}=this,a=this.legendHitBoxes=[],l=this.columnSizes=[],c=o-t;let d=r,h=0,u=0,p=0,f=0;return this.legendItems.forEach(((t,o)=>{const g=n+e/2+s.measureText(t.text).width;o>0&&u+i+2*r>c&&(d+=h+r,l.push({width:h,height:u}),p+=h+r,f++,h=u=0),a[o]={left:p,top:u,col:f,width:g,height:i},h=Math.max(h,g),u+=i+r})),d+=h,l.push({width:h,height:u}),d}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:n,labels:{padding:i},rtl:s}}=this,o=an(s,this.left,this.width);if(this.isHorizontal()){let s=0,a=r(n,this.left+i,this.right-this.lineWidths[s]);for(const l of e)s!==l.row&&(s=l.row,a=r(n,this.left+i,this.right-this.lineWidths[s])),l.top+=this.top+t+i,l.left=o.leftForLtr(o.x(a),l.width),a+=l.width+i}else{let s=0,a=r(n,this.top+t+i,this.bottom-this.columnSizes[s].height);for(const l of e)l.col!==s&&(s=l.col,a=r(n,this.top+t+i,this.bottom-this.columnSizes[s].height)),l.top=a,l.left+=this.left+i,l.left=o.leftForLtr(o.x(l.left),l.width),a+=l.height+i}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const t=this.ctx;Jt(t,this),this._draw(),Qt(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:n,ctx:i}=this,{align:s,labels:o}=t,a=Yt.color,l=an(t.rtl,this.left,this.width),c=pe(o.font),{color:d,padding:h}=o,u=c.size,p=u/2;let g;this.drawTitle(),i.textAlign=l.textAlign("left"),i.textBaseline="middle",i.lineWidth=.5,i.font=c.string;const{boxWidth:m,boxHeight:b,itemHeight:v}=qs(o,u),y=this.isHorizontal(),x=this._computeTitleHeight();g=y?{x:r(s,this.left+h,this.right-n[0]),y:this.top+h+x,line:0}:{x:this.left+h,y:r(s,this.top+x+h,this.bottom-e[0].height),line:0},ln(this.ctx,t.textDirection);const _=v+h;this.legendItems.forEach(((w,S)=>{i.strokeStyle=w.fontColor||d,i.fillStyle=w.fontColor||d;const C=i.measureText(w.text).width,k=l.textAlign(w.textAlign||(w.textAlign=o.textAlign)),A=m+p+C;let M=g.x,E=g.y;l.setWidth(this.width),y?S>0&&M+A+h>this.right&&(E=g.y+=_,g.line++,M=g.x=r(s,this.left+h,this.right-n[g.line])):S>0&&E+_>this.bottom&&(M=g.x=M+e[g.line].width+h,g.line++,E=g.y=r(s,this.top+x+h,this.bottom-e[g.line].height));!function(t,e,n){if(isNaN(m)||m<=0||isNaN(b)||b<0)return;i.save();const s=f(n.lineWidth,1);if(i.fillStyle=f(n.fillStyle,a),i.lineCap=f(n.lineCap,"butt"),i.lineDashOffset=f(n.lineDashOffset,0),i.lineJoin=f(n.lineJoin,"miter"),i.lineWidth=s,i.strokeStyle=f(n.strokeStyle,a),i.setLineDash(f(n.lineDash,[])),o.usePointStyle){const o={radius:m*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:s},r=l.xPlus(t,m/2);Xt(i,o,r,e+p)}else{const o=e+Math.max((u-b)/2,0),r=l.leftForLtr(t,m),a=he(n.borderRadius);i.beginPath(),Object.values(a).some((t=>0!==t))?se(i,{x:r,y:o,w:m,h:b,radius:a}):i.rect(r,o,m,b),i.fill(),0!==s&&i.stroke()}
vendor: 4,962 bytes, line 2
2i.restore()}(l.x(M),E,w),M=((t,e,n,i)=>t===(i?"left":"right")?n:"center"===t?(e+n)/2:e)(k,M+m+p,y?M+A:this.right,t.rtl),function(t,e,n){ne(i,n.text,t,e+v/2,c,{strikethrough:n.hidden,textAlign:l.textAlign(n.textAlign)})}(l.x(M),E,w),y?g.x+=A+h:g.y+=_})),cn(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,n=pe(e.font),i=ue(e.padding);if(!e.display)return;const s=an(t.rtl,this.left,this.width),a=this.ctx,l=e.position,c=n.size/2,d=i.top+c;let h,u=this.left,p=this.width;if(this.isHorizontal())p=Math.max(...this.lineWidths),h=this.top+d,u=r(t.align,u,this.right-p);else{const e=this.columnSizes.reduce(((t,e)=>Math.max(t,e.height)),0);h=d+r(t.align,this.top,this.bottom-e-t.labels.padding-this._computeTitleHeight())}const f=r(l,u,u+p);a.textAlign=s.textAlign(o(l)),a.textBaseline="middle",a.strokeStyle=e.color,a.fillStyle=e.color,a.font=n.string,ne(a,e.text,f,h,n)}_computeTitleHeight(){const t=this.options.title,e=pe(t.font),n=ue(t.padding);return t.display?e.lineHeight+n.height:0}_getLegendItemAt(t,e){let n,i,s;if(et(t,this.left,this.right)&&et(e,this.top,this.bottom))for(s=this.legendHitBoxes,n=0;n<s.length;++n)if(i=s[n],et(t,i.left,i.left+i.width)&&et(e,i.top,i.top+i.height))return this.legendItems[n];return null}handleEvent(t){const e=this.options;if(!function(t,e){if("mousemove"===t&&(e.onHover||e.onLeave))return!0;if(e.onClick&&("click"===t||"mouseup"===t))return!0;return!1}(t.type,e))return;const n=this._getLegendItemAt(t.x,t.y);if("mousemove"===t.type){const o=this._hoveredItem,r=(s=n,null!==(i=o)&&null!==s&&i.datasetIndex===s.datasetIndex&&i.index===s.index);o&&!r&&m(e.onLeave,[t,o,this],this),this._hoveredItem=n,n&&!r&&m(e.onHover,[t,n,this],this)}else n&&m(e.onClick,[t,n,this],this);var i,s}}var Xs={id:"legend",_element:Ks,start(t,e,n){const i=t.legend=new Ks({ctx:t.ctx,options:n,chart:t});xi.configure(t,i,n),xi.addBox(t,i)},stop(t){xi.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,n){const i=t.legend;xi.configure(t,i,n),i.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 i=e.datasetIndex,s=n.chart;s.isDatasetVisible(i)?(s.hide(i),e.hidden=!0):(s.show(i),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:s,color:o}}=t.legend.options;return t._getSortedDatasetMetas().map((t=>{const r=t.controller.getStyle(n?0:void 0),a=ue(r.borderWidth);return{text:e[t.index].label,fillStyle:r.backgroundColor,fontColor:o,hidden:!t.visible,lineCap:r.borderCapStyle,lineDash:r.borderDash,lineDashOffset:r.borderDashOffset,lineJoin:r.borderJoinStyle,lineWidth:(a.width+a.height)/4,strokeStyle:r.borderColor,pointStyle:i||r.pointStyle,rotation:r.rotation,textAlign:s||r.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)}}};new WeakMap;const Zs={average(t){if(!t.length)return!1;let e,n,i=0,s=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();i+=t.x,s+=t.y,++o}}return{x:i/o,y:s/o}},nearest(t,e){if(!t.length)return!1;let n,i,s,o=e.x,r=e.y,a=Number.POSITIVE_INFINITY;for(n=0,i=t.length;n<i;++n){const i=t[n].element;if(i&&i.hasValue()){const t=X(e,i.getCenterPoint());t<a&&(a=t,s=i)}}if(s){const t=s.tooltipPosition();o=t.x,r=t.y}return{x:o,y:r}}};function Js(t,e){return e&&(d(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function Qs(t){return("string"==typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function to(t,e){const{element:n,datasetIndex:i,index:s}=e,o=t.getDatasetMeta(i).controller,{label:r,value:a}=o.getLabelAndValue(s);return{chart:t,label:r,parsed:o.getParsed(s),raw:t.data.datasets[i].data[s],formattedValue:a,dataset:o.getDataset(),dataIndex:s,datasetIndex:i,element:n}}function eo(t,e){const n=t.chart.ctx,{body:i,footer:s,title:o}=t,{boxWidth:r,boxHeight:a}=e,l=pe(e.bodyFont),c=pe(e.titleFont),d=pe(e.footerFont),h=o.length,u=s.length,p=i.length,f=ue(e.padding);let g=f.height,m=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,h&&(g+=h*c.lineHeight+(h-1)*e.titleSpacing+e.titleMarginBottom),v){g+=p*(e.displayColors?Math.max(a,l.lineHeight):l.lineHeight)+(v-p)*l.lineHeight+(v-1)*e.bodySpacing}u&&(g+=e.footerMarginTop+u*d.lineHeight+(u-1)*e.footerSpacing);let y=0;const x=function(t){m=Math.max(m,n.measureText(t).width+y)};return n.save(),n.font=c.string,b(t.title,x),n.font=l.string,b(t.beforeBody.concat(t.afterBody),x),y=e.displayColors?r+2+e.boxPadding:0,b(i,(t=>{b(t.before,x),b(t.lines,x),b(t.after,x)}
vendor: 9,203 bytes, line 2
2)),y=0,n.font=d.string,b(t.footer,x),n.restore(),m+=f.width,{width:m,height:g}}function no(t,e,n,i){const{x:s,width:o}=n,{width:r,chartArea:{left:a,right:l}}=t;let c="center";return"center"===i?c=s<=(a+l)/2?"left":"right":s<=o/2?c="left":s>=r-o/2&&(c="right"),function(t,e,n,i){const{x:s,width:o}=i,r=n.caretSize+n.caretPadding;return"left"===t&&s+o+r>e.width||"right"===t&&s-o-r<0||void 0}(c,t,e,n)&&(c="center"),c}function io(t,e,n){const i=n.yAlign||e.yAlign||function(t,e){const{y:n,height:i}=e;return n<i/2?"top":n>t.height-i/2?"bottom":"center"}(t,n);return{xAlign:n.xAlign||e.xAlign||no(t,e,n,i),yAlign:i}}function so(t,e,n,i){const{caretSize:s,caretPadding:o,cornerRadius:r}=t,{xAlign:a,yAlign:l}=n,c=s+o,{topLeft:d,topRight:h,bottomLeft:u,bottomRight:p}=he(r);let f=function(t,e){let{x:n,width:i}=t;return"right"===e?n-=i:"center"===e&&(n-=i/2),n}(e,a);const g=function(t,e,n){let{y:i,height:s}=t;return"top"===e?i+=n:i-="bottom"===e?s+n:s/2,i}(e,l,c);return"center"===l?"left"===a?f+=c:"right"===a&&(f-=c):"left"===a?f-=Math.max(d,u)+s:"right"===a&&(f+=Math.max(h,p)+s),{x:tt(f,0,i.width-e.width),y:tt(g,0,i.height-e.height)}}function oo(t,e,n){const i=ue(n.padding);return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-i.right:t.x+i.left}function ro(t){return Js([],Qs(t))}function ao(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}class lo extends ji{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()),i=n.enabled&&e.options.animation&&n.animations,s=new wn(this.chart,i);return i._cacheable&&(this._cachedAnimations=Object.freeze(s)),s}getContext(){return this.$context||(this.$context=(t=this.chart.getContext(),e=this,n=this._tooltipItems,ge(t,{tooltip:e,tooltipItems:n,type:"tooltip"})));var t,e,n}getTitle(t,e){const{callbacks:n}=e,i=n.beforeTitle.apply(this,[t]),s=n.title.apply(this,[t]),o=n.afterTitle.apply(this,[t]);let r=[];return r=Js(r,Qs(i)),r=Js(r,Qs(s)),r=Js(r,Qs(o)),r}getBeforeBody(t,e){return ro(e.callbacks.beforeBody.apply(this,[t]))}getBody(t,e){const{callbacks:n}=e,i=[];return b(t,(t=>{const e={before:[],lines:[],after:[]},s=ao(n,t);Js(e.before,Qs(s.beforeLabel.call(this,t))),Js(e.lines,s.label.call(this,t)),Js(e.after,Qs(s.afterLabel.call(this,t))),i.push(e)})),i}getAfterBody(t,e){return ro(e.callbacks.afterBody.apply(this,[t]))}getFooter(t,e){const{callbacks:n}=e,i=n.beforeFooter.apply(this,[t]),s=n.footer.apply(this,[t]),o=n.afterFooter.apply(this,[t]);let r=[];return r=Js(r,Qs(i)),r=Js(r,Qs(s)),r=Js(r,Qs(o)),r}_createItems(t){const e=this._active,n=this.chart.data,i=[],s=[],o=[];let r,a,l=[];for(r=0,a=e.length;r<a;++r)l.push(to(this.chart,e[r]));return t.filter&&(l=l.filter(((e,i,s)=>t.filter(e,i,s,n)))),t.itemSort&&(l=l.sort(((e,i)=>t.itemSort(e,i,n)))),b(l,(e=>{const n=ao(t.callbacks,e);i.push(n.labelColor.call(this,e)),s.push(n.labelPointStyle.call(this,e)),o.push(n.labelTextColor.call(this,e))})),this.labelColors=i,this.labelPointStyles=s,this.labelTextColors=o,this.dataPoints=l,l}update(t,e){const n=this.options.setContext(this.getContext()),i=this._active;let s,o=[];if(i.length){const t=Zs[n.position].call(this,i,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=eo(this,n),r=Object.assign({},t,e),a=io(this.chart,n,r),l=so(n,r,a,this.chart);this.xAlign=a.xAlign,this.yAlign=a.yAlign,s={opacity:1,x:l.x,y:l.y,width:e.width,height:e.height,caretX:t.x,caretY:t.y}}else 0!==this.opacity&&(s={opacity:0});this._tooltipItems=o,this.$context=void 0,s&&this._resolveAnimations().update(this,s),t&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:e})}drawCaret(t,e,n,i){const s=this.getCaretPosition(t,n,i);e.lineTo(s.x1,s.y1),e.lineTo(s.x2,s.y2),e.lineTo(s.x3,s.y3)}getCaretPosition(t,e,n){const{xAlign:i,yAlign:s}=this,{caretSize:o,cornerRadius:r}=n,{topLeft:a,topRight:l,bottomLeft:c,bottomRight:d}=he(r),{x:h,y:u}=t,{width:p,height:f}=e;let g,m,b,v,y,x;return"center"===s?(y=u+f/2,"left"===i?(g=h,m=g-o,v=y+o,x=y-o):(g=h+p,m=g+o,v=y-o,x=y+o),b=g):(m="left"===i?h+Math.max(a,c)+o:"right"===i?h+p-Math.max(l,d)-o:this.caretX,"top"===s?(v=u,y=v-o,g=m-o,b=m+o):(v=u+f,y=v+o,g=m+o,b=m-o),x=v),{x1:g,x2:m,x3:b,y1:v,y2:y,y3:x}}drawTitle(t,e,n){const i=this.title,s=i.length;let o,r,a;if(s){const l=an(n.rtl,this.x,this.width);for(t.x=oo(this,n.titleAlign,n),e.textAlign=l.textAlign(n.titleAlign),e.textBaseline="middle",o=pe(n.titleFont),r=n.titleSpacing,e.fillStyle=n.titleColor,e.font=o.string,a=0;a<s;++a)e.fillText(i[a],l.x(t.x),t.y+o.lineHeight/2),t.y+=o.lineHeight+r,a+1===s&&(t.y+=n.titleMarginBottom-r)}}_drawColorBox(t,e,n,i,s){const o=this.labelColors[n],r=this.labelPointStyles[n],{boxHeight:a,boxWidth:l,boxPadding:c}=s,d=pe(s.bodyFont),h=oo(this,"left",s),u=i.x(h),p=a<d.lineHeight?(d.lineHeight-a)/2:0,f=e.y+p;if(s.usePointStyle){const e={radius:Math.min(l,a)/2,pointStyle:r.pointStyle,rotation:r.rotation,borderWidth:1},n=i.leftForLtr(u,l)+l/2,c=f+a/2;t.strokeStyle=s.multiKeyBackground,t.fillStyle=s.multiKeyBackground,Xt(t,e,n,c),t.strokeStyle=o.borderColor,t.fillStyle=o.backgroundColor,Xt(t,e,n,c)}else{t.lineWidth=o.borderWidth||1,t.strokeStyle=o.borderColor,t.setLineDash(o.borderDash||[]),t.lineDashOffset=o.borderDashOffset||0;const e=i.leftForLtr(u,l-c),n=i.leftForLtr(i.xPlus(u,1),l-c-2),r=he(o.borderRadius);Object.values(r).some((t=>0!==t))?(t.beginPath(),t.fillStyle=s.multiKeyBackground,se(t,{x:e,y:f,w:l,h:a,radius:r}),t.fill(),t.stroke(),t.fillStyle=o.backgroundColor,t.beginPath(),se(t,{x:n,y:f+1,w:l-2,h:a-2,radius:r}),t.fill()):(t.fillStyle=s.multiKeyBackground,t.fillRect(e,f,l,a),t.strokeRect(e,f,l,a),t.fillStyle=o.backgroundColor,t.fillRect(n,f+1,l-2,a-2))}t.fillStyle=this.labelTextColors[n]}drawBody(t,e,n){const{body:i}=this,{bodySpacing:s,bodyAlign:o,displayColors:r,boxHeight:a,boxWidth:l,boxPadding:c}=n,d=pe(n.bodyFont);let h=d.lineHeight,u=0;const p=an(n.rtl,this.x,this.width),f=function(n){e.fillText(n,p.x(t.x+u),t.y+h/2),t.y+=h+s},g=p.textAlign(o);let m,v,y,x,_,w,S;for(e.textAlign=o,e.textBaseline="middle",e.font=d.string,t.x=oo(this,g,n),e.fillStyle=n.bodyColor,b(this.beforeBody,f),u=r&&"right"!==g?"center"===o?l/2+c:l+2+c:0,x=0,w=i.length;x<w;++x){for(m=i[x],v=this.labelTextColors[x],e.fillStyle=v,b(m.before,f),y=m.lines,r&&y.length&&(this._drawColorBox(e,t,x,p,n),h=Math.max(d.lineHeight,a)),_=0,S=y.length;_<S;++_)f(y[_]),h=d.lineHeight;b(m.after,f)}u=0,h=d.lineHeight,b(this.afterBody,f),t.y-=s}drawFooter(t,e,n){const i=this.footer,s=i.length;let o,r;if(s){const a=an(n.rtl,this.x,this.width);for(t.x=oo(this,n.footerAlign,n),t.y+=n.footerMarginTop,e.textAlign=a.textAlign(n.footerAlign),e.textBaseline="middle",o=pe(n.footerFont),e.fillStyle=n.footerColor,e.font=o.string,r=0;r<s;++r)e.fillText(i[r],a.x(t.x),t.y+o.lineHeight/2),t.y+=o.lineHeight+n.footerSpacing}}drawBackground(t,e,n,i){const{xAlign:s,yAlign:o}=this,{x:r,y:a}=t,{width:l,height:c}=n,{topLeft:d,topRight:h,bottomLeft:u,bottomRight:p}=he(i.cornerRadius);e.fillStyle=i.backgroundColor,e.strokeStyle=i.borderColor,e.lineWidth=i.borderWidth,e.beginPath(),e.moveTo(r+d,a),"top"===o&&this.drawCaret(t,e,n,i),e.lineTo(r+l-h,a),e.quadraticCurveTo(r+l,a,r+l,a+h),"center"===o&&"right"===s&&this.drawCaret(t,e,n,i),e.lineTo(r+l,a+c-p),e.quadraticCurveTo(r+l,a+c,r+l-p,a+c),"bottom"===o&&this.drawCaret(t,e,n,i),e.lineTo(r+u,a+c),e.quadraticCurveTo(r,a+c,r,a+c-u),"center"===o&&"left"===s&&this.drawCaret(t,e,n,i),e.lineTo(r,a+d),e.quadraticCurveTo(r,a,r+d,a),e.closePath(),e.fill(),i.borderWidth>0&&e.stroke()}_updateAnimationTarget(t){const e=this.chart,n=this.$animations,i=n&&n.x,s=n&&n.y;if(i||s){const n=Zs[t.position].call(this,this._active,this._eventPosition);if(!n)return;const o=this._size=eo(this,t),r=Object.assign({},n,this._size),a=io(e,t,r),l=so(t,r,a,e);i._to===l.x&&s._to===l.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,l))}}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},s={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;const o=ue(e.padding),r=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;
vendor: 7,774 bytes, line 2
2e.enabled&&r&&(t.save(),t.globalAlpha=n,this.drawBackground(s,t,i,e),ln(t,e.textDirection),s.y+=o.top,this.drawTitle(s,t,e),this.drawBody(s,t,e),this.drawFooter(s,t,e),cn(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}})),s=!v(n,i),o=this._positionChanged(i,e);(s||o)&&(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,s=this._active||[],o=this._getActiveElements(t,s,e,n),r=this._positionChanged(o,t),a=e||!v(o,s)||r;return a&&(this._active=o,(i.enabled||i.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),a}_getActiveElements(t,e,n,i){const s=this.options;if("mouseout"===t.type)return[];if(!i)return e;const o=this.chart.getElementsAtEventForMode(t,s.mode,s,n);return s.reverse&&o.reverse(),o}_positionChanged(t,e){const{caretX:n,caretY:i,options:s}=this,o=Zs[s.position].call(this,t,e);return!1!==o&&(n!==o.x||i!==o.y)}}lo.positioners=Zs;var co={id:"tooltip",_element:lo,positioners:Zs,afterInit(t,e,n){n&&(t.tooltip=new lo({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,n={tooltip:e};!1!==t.notifyPlugins("beforeTooltipDraw",n)&&(e&&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:a,title(t){if(t.length>0){const e=t[0],n=e.chart.data.labels,i=n?n.length:0;if(this&&this.options&&"dataset"===this.options.mode)return e.dataset.label||"";if(e.label)return e.label;if(i>0&&e.dataIndex<i)return n[e.dataIndex]}return""},afterTitle:a,beforeBody:a,beforeLabel:a,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 c(n)||(e+=n),e},labelColor(t){const e=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{borderColor:e.borderColor,backgroundColor:e.backgroundColor,borderWidth:e.borderWidth,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(t){const e=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{pointStyle:e.pointStyle,rotation:e.rotation}},afterLabel:a,afterBody:a,beforeFooter:a,footer:a,afterFooter:a}},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"]};function ho(t,e,n,i){const s=t.indexOf(e);if(-1===s)return((t,e,n,i)=>("string"==typeof e?(n=t.push(e)-1,i.unshift({index:n,label:e})):isNaN(e)&&(n=null),n))(t,e,n,i);return s!==t.lastIndexOf(e)?n:s}class uo extends Ki{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:i}of e)t[n]===i&&t.splice(n,1);this._addedLabels=[]}super.init(t)}parse(t,e){if(c(t))return null;const n=this.getLabels();return((t,e)=>null===t?null:tt(Math.round(t),0,e))(e=isFinite(e)&&n[e]===t?e:ho(n,t,f(e,t),this._addedLabels),n.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let{min:n,max:i}=this.getMinMax(!0);"ticks"===this.options.bounds&&(t||(n=0),e||(i=this.getLabels().length-1)),this.min=n,this.max=i}buildTicks(){const t=this.min,e=this.max,n=this.options.offset,i=[];let s=this.getLabels();s=0===t&&e===s.length-1?s:s.slice(t,e+1),this._valueRange=Math.max(s.length-(n?0:1),1),this._startValue=this.min-(n?.5:0);for(let n=t;n<=e;n++)i.push({value:n});return i}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 po(t,e){const n=[],{bounds:i,step:s,min:o,max:r,precision:a,count:l,maxTicks:d,maxDigits:h,includeBounds:u}=t,p=s||1,f=d-1,{min:g,max:m}=e,b=!c(o),v=!c(r),y=!c(l),x=(m-g)/(h+1);let _,w,S,C,k=V((m-g)/f/p)*p;if(k<1e-14&&!b&&!v)return[{value:g},{value:m}];C=Math.ceil(m/k)-Math.floor(g/k),C>f&&(k=V(C*k/f/p)*p),c(a)||(_=Math.pow(10,a),k=Math.ceil(k*_)/_),"ticks"===i?(w=Math.floor(g/k)*k,S=Math.ceil(m/k)*k):(w=g,S=m),b&&v&&s&&function(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}((r-o)/s,k/1e3)?(C=Math.round(Math.min((r-o)/k,d)),k=(r-o)/C,w=o,S=r):y?(w=b?o:w,S=v?r:S,C=l-1,k=(S-w)/C):(C=(S-w)/k,C=W(C,Math.round(C),k/1e3)?Math.round(C):Math.ceil(C));const A=Math.max(q(k),q(w));_=Math.pow(10,c(a)?A:a),w=Math.round(w*_)/_,S=Math.round(S*_)/_;let M=0;for(b&&(u&&w!==o?(n.push({value:o}),w<o&&M++,W(Math.round((w+M*k)*_)/_,o,fo(o,x,t))&&M++):w<o&&M++);M<C;++M)n.push({value:Math.round((w+M*k)*_)/_});return v&&u&&S!==r?n.length&&W(n[n.length-1].value,r,fo(r,x,t))?n[n.length-1].value=r:n.push({value:r}):v&&S!==r||n.push({value:S}),n}function fo(t,e,{horizontal:n,minRotation:i}){const s=U(i),o=(n?Math.sin(s):Math.cos(s))||.001,r=.75*e*(""+t).length;return Math.min(e/o,r)}uo.id="category",uo.defaults={ticks:{callback:uo.prototype.getLabelForValue}};class go extends Ki{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 c(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:s}=this;const o=t=>i=e?i:t,r=t=>s=n?s:t;if(t){const t=z(i),e=z(s);t<0&&e<0?r(0):t>0&&e>0&&o(0)}if(i===s){let e=1;(s>=Number.MAX_SAFE_INTEGER||i<=Number.MIN_SAFE_INTEGER)&&(e=Math.abs(.05*s)),r(s+e),t||o(i-e)}this.min=i,this.max=s}getTickLimit(){const t=this.options.ticks;let e,{maxTicksLimit:n,stepSize:i}=t;return i?(e=Math.ceil(this.max/i)-Math.floor(this.min/i)+1,e>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${i} 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);
vendor: 2,927 bytes, line 2
2const i=po({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},this._range||this);return"ticks"===t.bounds&&Y(i,this,"value"),t.reverse?(i.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),i}configure(){const t=this.ticks;let e=this.min,n=this.max;if(super.configure(),this.options.offset&&t.length){const i=(n-e)/Math.max(t.length-1,1)/2;e-=i,n+=i}this._startValue=e,this._endValue=n,this._valueRange=n-e}getLabelForValue(t){return rn(t,this.chart.options.locale,this.options.ticks.format)}}class mo extends go{determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=u(t)?t:0,this.max=u(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),e=t?this.width:this.height,n=U(this.options.ticks.minRotation),i=(t?Math.sin(n):Math.cos(n))||.001,s=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,s.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 bo(t){return 1===t/Math.pow(10,Math.floor($(t)))}mo.id="linear",mo.defaults={ticks:{callback:$i.formatters.numeric}};class vo extends Ki{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,e){const n=go.prototype.parse.apply(this,[t,e]);if(0!==n)return u(n)&&n>0?n:null;this._zero=!0}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=u(t)?Math.max(0,t):null,this.max=u(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 s=e=>n=t?n:e,o=t=>i=e?i:t,r=(t,e)=>Math.pow(10,Math.floor($(t))+e);n===i&&(n<=0?(s(1),o(10)):(s(r(n,-1)),o(r(i,1)))),n<=0&&s(r(i,-1)),i<=0&&o(r(n,1)),this._zero&&this.min!==this._suggestedMin&&n===r(this.min,0)&&s(r(n,-1)),this.min=n,this.max=i}buildTicks(){const t=this.options,e=function(t,e){const n=Math.floor($(e.max)),i=Math.ceil(e.max/Math.pow(10,n)),s=[];let o=p(t.min,Math.pow(10,Math.floor($(e.min)))),r=Math.floor($(o)),a=Math.floor(o/Math.pow(10,r)),l=r<0?Math.pow(10,Math.abs(r)):1;do{s.push({value:o,major:bo(o)}),++a,10===a&&(a=1,++r,l=r>=0?1:l),o=Math.round(a*Math.pow(10,r)*l)/l}while(r<n||r===n&&a<i);const c=p(t.max,o);return s.push({value:c,major:bo(o)}),s}({min:this._userMin,max:this._userMax},this);return"ticks"===t.bounds&&Y(e,this,"value"),t.reverse?(e.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),e}getLabelForValue(t){return void 0===t?"0":rn(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;
vendor: 4,596 bytes, line 2
2super.configure(),this._startValue=$(t),this._valueRange=$(this.max)-$(t)}getPixelForValue(t){return void 0!==t&&0!==t||(t=this.min),null===t||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:($(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const e=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+e*this._valueRange)}}function yo(t){const e=t.ticks;if(e.display&&t.display){const t=ue(e.backdropPadding);return f(e.font&&e.font.size,Yt.font.size)+t.height}return 0}function xo(t,e,n,i,s){return t===i||t===s?{start:e-n/2,end:e+n/2}:t<i||t>s?{start:e-n,end:e}:{start:e,end:e+n}}function _o(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=[],s=[],o=t._pointLabels.length,r=t.options.pointLabels,a=r.centerPointLabels?L/o:0;for(let u=0;u<o;u++){const o=r.setContext(t.getPointLabelContext(u));s[u]=o.padding;const p=t.getPointPosition(u,t.drawingArea+s[u],a),f=pe(o.font),g=(l=t.ctx,c=f,h=d(h=t._pointLabels[u])?h:[h],{w:Gt(l,c.string,h),h:h.length*c.lineHeight});i[u]=g;const m=J(t.getIndexAngle(u)+a),b=Math.round(G(m));wo(n,e,m,xo(b,p.x,g.w,0,180),xo(b,p.y,g.h,90,270))}var l,c,h;t.setCenterPoint(e.l-n.l,n.r-e.r,e.t-n.t,n.b-e.b),t._pointLabelItems=function(t,e,n){const i=[],s=t._pointLabels.length,o=t.options,r=yo(o)/2,a=t.drawingArea,l=o.pointLabels.centerPointLabels?L/s:0;for(let o=0;o<s;o++){const s=t.getPointPosition(o,a+r+n[o],l),c=Math.round(G(J(s.angle+N))),d=e[o],h=ko(s.y,d.h,c),u=So(c),p=Co(s.x,d.w,u);i.push({x:s.x,y:h,textAlign:u,left:p,top:h,right:p+d.w,bottom:h+d.h})}return i}(t,i,s)}function wo(t,e,n,i,s){const o=Math.abs(Math.sin(n)),r=Math.abs(Math.cos(n));let a=0,l=0;i.start<e.l?(a=(e.l-i.start)/o,t.l=Math.min(t.l,e.l-a)):i.end>e.r&&(a=(i.end-e.r)/o,t.r=Math.max(t.r,e.r+a)),s.start<e.t?(l=(e.t-s.start)/r,t.t=Math.min(t.t,e.t-l)):s.end>e.b&&(l=(s.end-e.b)/r,t.b=Math.max(t.b,e.b+l))}function So(t){return 0===t||180===t?"center":t<180?"left":"right"}function Co(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function ko(t,e,n){return 90===n||270===n?t-=e/2:(n>270||n<90)&&(t-=e),t}function Ao(t,e,n,i){const{ctx:s}=t;if(n)s.arc(t.xCenter,t.yCenter,e,0,D);else{let n=t.getPointPosition(0,e);s.moveTo(n.x,n.y);for(let o=1;o<i;o++)n=t.getPointPosition(o,e),s.lineTo(n.x,n.y)}}vo.id="logarithmic",vo.defaults={ticks:{callback:$i.formatters.logarithmic,major:{enabled:!0}}};class Mo extends go{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=ue(yo(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=u(t)&&!isNaN(t)?t:0,this.max=u(e)&&!isNaN(e)?e:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/yo(this.options))}generateTickLabels(t){go.prototype.generateTickLabels.call(this,t),this._pointLabels=this.getLabels().map(((t,e)=>{const n=m(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?_o(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,e,n,i){this.xCenter+=Math.floor((t-e)/2),this.yCenter+=Math.floor((n-i)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,e,n,i))}getIndexAngle(t){return J(t*(D/(this._pointLabels.length||1))+U(this.options.startAngle||0))}getDistanceFromCenterForValue(t){if(c(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(c(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 function(t,e,n){return ge(t,{label:n,index:e,type:"pointLabel"})}(this.getContext(),t,n)}}getPointPosition(t,e,n=0){const i=this.getIndexAngle(t)-N+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:i,bottom:s}=this._pointLabelItems[t];return{left:e,top:n,right:i,bottom:s}}
vendor: 7,559 bytes, line 2
2drawBackground(){const{backgroundColor:t,grid:{circular:e}}=this.options;if(t){const n=this.ctx;n.save(),n.beginPath(),Ao(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:i}=e,s=this._pointLabels.length;let o,r,a;if(e.pointLabels.display&&function(t,e){const{ctx:n,options:{pointLabels:i}}=t;for(let s=e-1;s>=0;s--){const e=i.setContext(t.getPointLabelContext(s)),o=pe(e.font),{x:r,y:a,textAlign:l,left:d,top:h,right:u,bottom:p}=t._pointLabelItems[s],{backdropColor:f}=e;if(!c(f)){const t=ue(e.backdropPadding);n.fillStyle=f,n.fillRect(d-t.left,h-t.top,u-d+t.width,p-h+t.height)}ne(n,t._pointLabels[s],r,a+o.lineHeight/2,o,{color:e.color,textAlign:l,textBaseline:"middle"})}}(this,s),i.display&&this.ticks.forEach(((t,e)=>{if(0!==e){r=this.getDistanceFromCenterForValue(t.value);!function(t,e,n,i){const s=t.ctx,o=e.circular,{color:r,lineWidth:a}=e;!o&&!i||!r||!a||n<0||(s.save(),s.strokeStyle=r,s.lineWidth=a,s.setLineDash(e.borderDash),s.lineDashOffset=e.borderDashOffset,s.beginPath(),Ao(t,n,o,i),s.closePath(),s.stroke(),s.restore())}(this,i.setContext(this.getContext(e-1)),r,s)}})),n.display){for(t.save(),o=s-1;o>=0;o--){const i=n.setContext(this.getPointLabelContext(o)),{color:s,lineWidth:l}=i;l&&s&&(t.lineWidth=l,t.strokeStyle=s,t.setLineDash(i.borderDash),t.lineDashOffset=i.borderDashOffset,r=this.getDistanceFromCenterForValue(e.ticks.reverse?this.min:this.max),a=this.getPointPosition(o,r),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 s,o;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(i),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach(((i,r)=>{if(0===r&&!e.reverse)return;const a=n.setContext(this.getContext(r)),l=pe(a.font);if(s=this.getDistanceFromCenterForValue(this.ticks[r].value),a.showLabelBackdrop){t.font=l.string,o=t.measureText(i.label).width,t.fillStyle=a.backdropColor;const e=ue(a.backdropPadding);t.fillRect(-o/2-e.left,-s-l.size/2-e.top,o+e.width,l.size+e.height)}ne(t,i.label,0,-s,l,{color:a.color})})),t.restore()}drawTitle(){}}Mo.id="radialLinear",Mo.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:$i.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:t=>t,padding:5,centerPointLabels:!1}},Mo.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"},Mo.descriptors={angleLines:{_fallback:"grid"}};const Eo={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}},Oo=Object.keys(Eo);function To(t,e){return t-e}function Po(t,e){if(c(e))return null;const n=t._adapter,{parser:i,round:s,isoWeekday:o}=t._parseOpts;let r=e;return"function"==typeof i&&(r=i(r)),u(r)||(r="string"==typeof i?n.parse(r,i):n.parse(r)),null===r?null:(s&&(r="week"!==s||!H(o)&&!0!==o?n.startOf(r,s):n.startOf(r,"isoWeek",o)),+r)}function Lo(t,e,n,i){const s=Oo.length;for(let o=Oo.indexOf(t);o<s-1;++o){const t=Eo[Oo[o]],s=t.steps?t.steps:Number.MAX_SAFE_INTEGER;if(t.common&&Math.ceil((n-e)/(s*t.size))<=i)return Oo[o]}return Oo[s-1]}function Do(t,e,n){if(n){if(n.length){const{lo:i,hi:s}=me(n,e);t[n[i]>=e?n[i]:n[s]]=!0}}else t[e]=!0}function Io(t,e,n){const i=[],s={},o=e.length;let r,a;for(r=0;r<o;++r)a=e[r],s[a]=r,i.push({value:a,major:!1});return 0!==o&&n?function(t,e,n,i){const s=t._adapter,o=+s.startOf(e[0].value,i),r=e[e.length-1].value;let a,l;for(a=o;a<=r;a=+s.add(a,1,i))l=n[a],l>=0&&(e[l].major=!0);return e}(t,i,s,n):i}class Ro extends Ki{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 Qn._date(t.adapters.date);S(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:Po(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:s,minDefined:o,maxDefined:r}=this.getUserBounds();function a(t){o||isNaN(t.min)||(i=Math.min(i,t.min)),r||isNaN(t.max)||(s=Math.max(s,t.max))}o&&r||(a(this._getLabelBounds()),"ticks"===t.bounds&&"labels"===t.ticks.source||a(this.getMinMax(!1))),i=u(i)&&!isNaN(i)?i:+e.startOf(Date.now(),n),s=u(s)&&!isNaN(s)?s:+e.endOf(Date.now(),n)+1,this.min=Math.min(i,s-1),this.max=Math.max(i+1,s)}_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 s=this.min,o=function(t,e,n){let i=0,s=t.length;for(;i<s&&t[i]<e;)i++;for(;s>i&&t[s-1]>n;)s--;return i>0||s<t.length?t.slice(i,s):t}(i,s,this.max);return this._unit=e.unit||(n.autoSkip?Lo(e.minUnit,this.min,this.max,this._getLabelCapacity(s)):function(t,e,n,i,s){for(let o=Oo.length-1;o>=Oo.indexOf(n);o--){const n=Oo[o];if(Eo[n].common&&t._adapter.diff(s,i,n)>=e-1)return n}return Oo[n?Oo.indexOf(n):0]}(this,o.length,e.minUnit,this.min,this.max)),this._majorUnit=n.major.enabled&&"year"!==this._unit?function(t){for(let e=Oo.indexOf(t)+1,n=Oo.length;e<n;++e)if(Eo[Oo[e]].common)return Oo[e]}(this._unit):void 0,this.initOffsets(i),t.reverse&&o.reverse(),Io(this,o,this._majorUnit)}initOffsets(t){let e,n,i=0,s=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]),s=1===t.length?n:(n-this.getDecimalForValue(t[t.length-2]))/2);const o=t.length<3?.5:.25;i=tt(i,0,o),s=tt(s,0,o),this._offsets={start:i,end:s,factor:1/(i+1+s)}}_generate(){const t=this._adapter,e=this.min,n=this.max,i=this.options,s=i.time,o=s.unit||Lo(s.minUnit,e,n,this._getLabelCapacity(e)),r=f(s.stepSize,1),a="week"===o&&s.isoWeekday,l=H(a)||!0===a,c={};let d,h,u=e;if(l&&(u=+t.startOf(u,"isoWeek",a)),u=+t.startOf(u,l?"day":o),t.diff(n,e,o)>1e5*r)throw new Error(e+" and "+n+" are too far apart with stepSize of "+r+" "+o);const p="data"===i.ticks.source&&this.getDataTimestamps();for(d=u,h=0;d<n;d=+t.add(d,r,o),h++)Do(c,d,p);return d!==n&&"ticks"!==i.bounds&&1!==h||Do(c,d,p),Object.keys(c).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 s=this.options,o=s.time.displayFormats,r=this._unit,a=this._majorUnit,l=r&&o[r],c=a&&o[a],d=n[e],h=a&&c&&d&&d.major,u=this._adapter.format(t,i||(h?c:l)),p=s.ticks.callback;return p?m(p,[u,e,n],this):u}generateTickLabels(t){let e,n,i;for(e=0,n=t.length;e<n;
vendor: 4,859 bytes, line 2
2++e)i=t[e],i.label=this._tickFormatFunction(i.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=U(this.isHorizontal()?e.maxRotation:e.minRotation),s=Math.cos(i),o=Math.sin(i),r=this._resolveTickFontOptions(0).size;return{w:n*s+r*o,h:n*o+r*s}}_getLabelCapacity(t){const e=this.options.time,n=e.displayFormats,i=n[e.unit]||n.millisecond,s=this._tickFormatFunction(t,0,Io(this,[t],this._majorUnit),i),o=this._getLabelSize(s),r=Math.floor(this.isHorizontal()?this.width/o.w:this.height/o.h)-1;return r>0?r:1}getDataTimestamps(){let t,e,n=this._cache.data||[];if(n.length)return n;const i=this.getMatchingVisibleMetas();if(this._normalized&&i.length)return this._cache.data=i[0].controller.getAllParsedValues(this);for(t=0,e=i.length;t<e;++t)n=n.concat(i[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 i=this.getLabels();for(e=0,n=i.length;e<n;++e)t.push(Po(this,i[e]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return _e(t.sort(To))}}function Fo(t,e,n){let i,s,o,r,a=0,l=t.length-1;n?(e>=t[a].pos&&e<=t[l].pos&&({lo:a,hi:l}=be(t,"pos",e)),({pos:i,time:o}=t[a]),({pos:s,time:r}=t[l])):(e>=t[a].time&&e<=t[l].time&&({lo:a,hi:l}=be(t,"time",e)),({time:i,pos:o}=t[a]),({time:s,pos:r}=t[l]));const c=s-i;return c?o+(r-o)*(e-i)/c:o}Ro.id="time",Ro.defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",major:{enabled:!1}}};class No extends Ro{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=Fo(e,this.min),this._tableRange=Fo(e,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:e,max:n}=this,i=[],s=[];let o,r,a,l,c;for(o=0,r=t.length;o<r;++o)l=t[o],l>=e&&l<=n&&i.push(l);if(i.length<2)return[{time:e,pos:0},{time:n,pos:1}];for(o=0,r=i.length;o<r;++o)c=i[o+1],a=i[o-1],l=i[o],Math.round((c+a)/2)!==l&&s.push({time:l,pos:o/(r-1)});return s}_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(Fo(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const e=this._offsets,n=this.getDecimalForPixel(t)/e.factor-e.end;return Fo(this._table,n*this._tableRange+this._minPos,!0)}}No.id="timeseries",No.defaults=Ro.defaults},678:(t,e,n)=>{n.d(e,{Z:()=>o});var i=n(645),s=n.n(i)()((function(t){return t[1]}));s.push([t.id,'@font-face{font-family:swiper-icons;font-style:normal;font-weight:400;src:url("data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMk
2pFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA")}:root{--swiper-theme-color:#007aff}.swiper{list-style:none;margin-left:auto;margin-right:auto;overflow:hidden;padding:0;position:relative;z-index:1}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{box-sizing:content-box;display:flex;height:100%;position:relative;transition-property:transform;width:100%;z-index:1}.swiper-android .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-pointer-events{touch-action:pan-y}.swiper-pointer-events.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;height:100%;position:relative;transition-property:transform;width:100%}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{backface-visibility:hidden;transform:translateZ(0)}.swiper-3d,.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(270deg,rgba(0,0,0,.5),transparent)}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(90deg,rgba(0,0,0,.5),transparent)}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(0deg,rgba(0,0,0,.5),transparent)}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(180deg,rgba(0,0,0,.5),transparent)}.swiper-css-mode>.swiper-wrapper{-ms-overflow-style:none;overflow:auto;scrollbar-width:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical>.swiper-wrapper:before{height:var(--swiper-centered-offset-after);min-width:1px;width:100%}.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center}',""]);const o=s},645:t=>{t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=t(e);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,i){"string"==typeof t&&(t=[[null,t,""]]);var s={};if(i)for(var o=0;o<this.length;o++){var r=this[o][0];null!=r&&(s[r]=!0)}for(var a=0;a<t.length;a++){var l=[].concat(t[a]);i&&s[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),e.push(l))}},e}},446:(t,e,n)=>{var i=n(379),s=n.n(i),o=n(678),r={insert:"head",singleton:!1};s()(o.Z,r),o.Z.locals},379:(t,e,n)=>{var i,s=function(){return void 0===i&&(i=Boolean(window&&document&&document.all&&!window.atob)),i},o=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);
vendor: 5,966 bytes, line 2
2if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),r=[];function a(t){for(var e=-1,n=0;n<r.length;n++)if(r[n].identifier===t){e=n;break}return e}function l(t,e){for(var n={},i=[],s=0;s<t.length;s++){var o=t[s],l=e.base?o[0]+e.base:o[0],c=n[l]||0,d="".concat(l," ").concat(c);n[l]=c+1;var h=a(d),u={css:o[1],media:o[2],sourceMap:o[3]};-1!==h?(r[h].references++,r[h].updater(u)):r.push({identifier:d,updater:m(u,e),references:1}),i.push(d)}return i}function c(t){var e=document.createElement("style"),i=t.attributes||{};if(void 0===i.nonce){var s=n.nc;s&&(i.nonce=s)}if(Object.keys(i).forEach((function(t){e.setAttribute(t,i[t])})),"function"==typeof t.insert)t.insert(e);else{var r=o(t.insert||"head");if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(e)}return e}var d,h=(d=[],function(t,e){return d[t]=e,d.filter(Boolean).join("\n")});function u(t,e,n,i){var s=n?"":i.media?"@media ".concat(i.media," {").concat(i.css,"}"):i.css;if(t.styleSheet)t.styleSheet.cssText=h(e,s);else{var o=document.createTextNode(s),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(o,r[e]):t.appendChild(o)}}function p(t,e,n){var i=n.css,s=n.media,o=n.sourceMap;if(s?t.setAttribute("media",s):t.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleSheet)t.styleSheet.cssText=i;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}var f=null,g=0;function m(t,e){var n,i,s;if(e.singleton){var o=g++;n=f||(f=c(e)),i=u.bind(null,n,o,!1),s=u.bind(null,n,o,!0)}else n=c(e),i=p.bind(null,n,e),s=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(n)};return i(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;i(t=e)}else s()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=s());var n=l(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var i=0;i<n.length;i++){var s=a(n[i]);r[s].references--}for(var o=l(t,e),c=0;c<n.length;c++){var d=a(n[c]);0===r[d].references&&(r[d].updater(),r.splice(d,1))}n=o}}}},821:(t,e,n)=>{n.d(e,{Ho:()=>bo,Fl:()=>sr,ri:()=>qa,iD:()=>so,RC:()=>Si,aZ:()=>_i,nZ:()=>pt,h:()=>gr,f3:()=>ni,bv:()=>Ni,EB:()=>ft,SK:()=>zi,wg:()=>Js,JJ:()=>ei,iH:()=>Be,WI:()=>Eo,SU:()=>We,YP:()=>ai,m0:()=>ii});var i={};function s(t,e){const n=Object.create(null),i=t.split(",");for(let t=0;t<i.length;t++)n[i[t]]=!0;return e?t=>!!n[t.toLowerCase()]:t=>!!n[t]}n.r(i),n.d(i,{BaseTransition:()=>fi,Comment:()=>qs,EffectScope:()=>dt,Fragment:()=>Us,KeepAlive:()=>Ai,ReactiveEffect:()=>kt,Static:()=>Ks,Suspense:()=>Kn,Teleport:()=>Ns,Text:()=>Gs,Transition:()=>Qr,TransitionGroup:()=>ba,VueElement:()=>Ur,callWithAsyncErrorHandling:()=>on,callWithErrorHandling:()=>sn,camelize:()=>J,capitalize:()=>et,cloneVNode:()=>bo,compatUtils:()=>Cr,computed:()=>sr,createApp:()=>qa,createBlock:()=>oo,createCommentVNode:()=>xo,createElementBlock:()=>so,createElementVNode:()=>po,createHydrationRenderer:()=>Os,createPropsRestProxy:()=>pr,createRenderer:()=>Es,createSSRApp:()=>Ka,createSlots:()=>Mo,createStaticVNode:()=>yo,createTextVNode:()=>vo,createVNode:()=>fo,customRef:()=>qe,defineAsyncComponent:()=>Si,defineComponent:()=>_i,defineCustomElement:()=>Hr,defineEmits:()=>rr,defineExpose:()=>ar,defineProps:()=>or,defineSSRCustomElement:()=>Wr,devtools:()=>On,effect:()=>Mt,effectScope:()=>ht,getCurrentInstance:()=>Bo,getCurrentScope:()=>pt,getTransitionRawChildren:()=>xi,guardReactiveProps:()=>mo,h:()=>gr,handleError:()=>rn,hydrate:()=>Ga,initCustomFormatter:()=>vr,initDirectivesForSSR:()=>Ja,inject:()=>ni,isMemoSame:()=>xr,isProxy:()=>Pe,isReactive:()=>Ee,isReadonly:()=>Oe,isRef:()=>je,isRuntimeOnly:()=>Ko,isShallow:()=>Te,isVNode:()=>ro,markRaw:()=>De,mergeDefaults:()=>ur,mergeProps:()=>Co,nextTick:()=>xn,normalizeClass:()=>f,normalizeProps:()=>g,normalizeStyle:()=>d,onActivated:()=>Ei,onBeforeMount:()=>Fi,onBeforeUnmount:()=>$i,onBeforeUpdate:()=>ji,onDeactivated:()=>Oi,onErrorCaptured:()=>Yi,onMounted:()=>Ni,onRenderTracked:()=>Wi,onRenderTriggered:()=>Hi,onScopeDispose:()=>ft,onServerPrefetch:()=>Vi,onUnmounted:()=>zi,onUpdated:()=>Bi,openBlock:()=>Js,popScopeId:()=>$n,provide:()=>ei,proxyRefs:()=>Ue,pushScopeId:()=>Bn,queuePostFlushCb:()=>Cn,reactive:()=>Se,readonly:()=>ke,ref:()=>Be,registerRuntimeCompiler:()=>qo,render:()=>Ua,renderList:()=>Ao,renderSlot:()=>Eo,resolveComponent:()=>$s,resolveDirective:()=>Hs,resolveDynamicComponent:()=>Vs,resolveFilter:()=>Sr,resolveTransitionHooks:()=>mi,setBlockTracking:()=>no,setDevtoolsHook:()=>Ln,setTransitionHooks:()=>yi,shallowReactive:()=>Ce,shallowReadonly:()=>Ae,shallowRef:()=>$e,ssrContextKey:()=>mr,ssrUtils:()=>wr,stop:()=>Et,toDisplayString:()=>_,toHandlerKey:()=>nt,toHandlers:()=>To,toRaw:()=>Le,toRef:()=>Ze,toRefs:()=>Ke,transformVNodeArgs:()=>lo,triggerRef:()=>He,unref:()=>We,useAttrs:()=>dr,useCssModule:()=>Gr,useCssVars:()=>qr,useSSRContext:()=>br,useSlots:()=>cr,useTransitionState:()=>ui,vModelCheckbox:()=>ka,vModelDynamic:()=>La,vModelRadio:()=>Ma,vModelSelect:()=>Ea,vModelText:()=>Ca,vShow:()=>Ba,version:()=>_r,warn:()=>tn,watch:()=>ai,watchEffect:()=>ii,watchPostEffect:()=>si,watchSyncEffect:()=>oi,withAsyncContext:()=>fr,withCtx:()=>Vn,withDefaults:()=>lr,withDirectives:()=>bs,withKeys:()=>ja,withMemo:()=>yr,withModifiers:()=>Fa,withScopeId:()=>zn});const o={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},r=s("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decode
2URI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt");const a="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",l=s(a);function c(t){return!!t||""===t}function d(t){if(I(t)){const e={};for(let n=0;n<t.length;n++){const i=t[n],s=B(i)?p(i):d(i);if(s)for(const t in s)e[t]=s[t]}return e}return B(t)||z(t)?t:void 0}const h=/;(?![^(]*\))/g,u=/:(.+)/;function p(t){const e={};return t.split(h).forEach((t=>{if(t){const n=t.split(u);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}function f(t){let e="";if(B(t))e=t;else if(I(t))for(let n=0;n<t.length;n++){const i=f(t[n]);i&&(e+=i+" ")}else if(z(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}function g(t){if(!t)return null;let{class:e,style:n}=t;return e&&!B(e)&&(t.class=f(e)),n&&(t.style=d(n)),t}const m=s("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),b=s("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),v=s("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr");function y(t,e){if(t===e)return!0;let n=N(t),i=N(e);if(n||i)return!(!n||!i)&&t.getTime()===e.getTime();if(n=I(t),i=I(e),n||i)return!(!n||!i)&&function(t,e){if(t.length!==e.length)return!1;let n=!0;for(let i=0;n&&i<t.length;i++)n=y(t[i],e[i]);return n}(t,e);if(n=z(t),i=z(e),n||i){if(!n||!i)return!1;if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t){const i=t.hasOwnProperty(n),s=e.hasOwnProperty(n);if(i&&!s||!i&&s||!y(t[n],e[n]))return!1}}return String(t)===String(e)}function x(t,e){return t.findIndex((t=>y(t,e)))}const _=t=>B(t)?t:null==t?"":I(t)||z(t)&&(t.toString===H||!j(t.toString))?JSON.stringify(t,w,2):String(t),w=(t,e)=>e&&e.__v_isRef?w(t,e.value):R(e)?{[`Map(${e.size})`]:[...e.entries()].reduce(((t,[e,n])=>(t[`${e} =>`]=n,t)),{})}:F(e)?{[`Set(${e.size})`]:[...e.values()]}:!z(e)||I(e)||U(e)?e:String(e),S={},C=[],k=()=>{},A=()=>!1,M=/^on[^a-z]/,E=t=>M.test(t),O=t=>t.startsWith("onUpdate:"),T=Object.assign,P=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},L=Object.prototype.hasOwnProperty,D=(t,e)=>L.call(t,e),I=Array.isArray,R=t=>"[object Map]"===W(t),F=t=>"[object Set]"===W(t),N=t=>t instanceof Date,j=t=>"function"==typeof t,B=t=>"string"==typeof t,$=t=>"symbol"==typeof t,z=t=>null!==t&&"object"==typeof t,V=t=>z(t)&&j(t.then)&&j(t.catch),H=Object.prototype.toString,W=t=>H.call(t),Y=t=>W(t).slice(8,-1),U=t=>"[object Object]"===W(t),G=t=>B(t)&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,q=s(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),K=s("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),X=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},Z=/-(\w)/g,J=X((t=>t.replace(Z,((t,e)=>e?e.toUpperCase():"")))),Q=/\B([A-Z])/g,tt=X((t=>t.replace(Q,"-$1").toLowerCase())),et=X((t=>t.charAt(0).toUpperCase()+t.slice(1))),nt=X((t=>t?`on${et(t)}`:"")),it=(t,e)=>!Object.is(t,e),st=(t,e)=>{for(let n=0;n<t.length;n++)t[n](e)},ot=(t,e,n)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},rt=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let at;const lt=()=>at||(at="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{});let ct;class dt{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&ct&&(this.parent=ct,this.index=(ct.scopes||(ct.scopes=[])).push(this)-1)}run(t){if(this.active)try{return ct=this,t()}finally{ct=this.parent}else 0}on(){ct=this}off(){ct=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 ht(t){return new dt(t)}function ut(t,e=ct){e&&e.active&&e.effects.push(t)}function pt(){return ct}function ft(t){ct&&ct.cleanups.push(t)}const gt=t=>{const e=new Set(t);return e.w=0,e.n=0,e},mt=t=>(t.w&xt)>0,bt=t=>(t.n&xt)>0,vt=new WeakMap;let yt=0,xt=1;const _t=30;let wt;const St=Symbol(""),Ct=Symbol("");
2class kt{constructor(t,e=null,n){this.fn=t,this.scheduler=e,this.active=!0,this.deps=[],this.parent=void 0,ut(this,n)}run(){if(!this.active)return this.fn();let t=wt,e=Ot;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=wt,wt=this,Ot=!0,xt=1<<++yt,yt<=_t?(({deps:t})=>{if(t.length)for(let e=0;e<t.length;e++)t[e].w|=xt})(this):At(this),this.fn()}finally{yt<=_t&&(t=>{const{deps:e}=t;if(e.length){let n=0;for(let i=0;i<e.length;i++){const s=e[i];mt(s)&&!bt(s)?s.delete(t):e[n++]=s,s.w&=~xt,s.n&=~xt}e.length=n}})(this),xt=1<<--yt,wt=this.parent,Ot=e,this.parent=void 0}}stop(){this.active&&(At(this),this.onStop&&this.onStop(),this.active=!1)}}function At(t){const{deps:e}=t;if(e.length){for(let n=0;n<e.length;n++)e[n].delete(t);e.length=0}}function Mt(t,e){t.effect&&(t=t.effect.fn);const n=new kt(t);e&&(T(n,e),e.scope&&ut(n,e.scope)),e&&e.lazy||n.run();const i=n.run.bind(n);return i.effect=n,i}function Et(t){t.effect.stop()}let Ot=!0;const Tt=[];function Pt(){Tt.push(Ot),Ot=!1}function Lt(){const t=Tt.pop();Ot=void 0===t||t}function Dt(t,e,n){if(Ot&&wt){let e=vt.get(t);e||vt.set(t,e=new Map);let i=e.get(n);i||e.set(n,i=gt());It(i,void 0)}}function It(t,e){let n=!1;yt<=_t?bt(t)||(t.n|=xt,n=!mt(t)):n=!t.has(wt),n&&(t.add(wt),wt.deps.push(t))}function Rt(t,e,n,i,s,o){const r=vt.get(t);if(!r)return;let a=[];if("clear"===e)a=[...r.values()];else if("length"===n&&I(t))r.forEach(((t,e)=>{("length"===e||e>=i)&&a.push(t)}));else switch(void 0!==n&&a.push(r.get(n)),e){case"add":I(t)?G(n)&&a.push(r.get("length")):(a.push(r.get(St)),R(t)&&a.push(r.get(Ct)));break;case"delete":I(t)||(a.push(r.get(St)),R(t)&&a.push(r.get(Ct)));break;case"set":R(t)&&a.push(r.get(St))}if(1===a.length)a[0]&&Ft(a[0]);else{const t=[];for(const e of a)e&&t.push(...e);Ft(gt(t))}}function Ft(t,e){for(const e of I(t)?t:[...t])(e!==wt||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Nt=s("__proto__,__v_isRef,__isVue"),jt=new Set(Object.getOwnPropertyNames(Symbol).map((t=>Symbol[t])).filter($)),Bt=Yt(),$t=Yt(!1,!0),zt=Yt(!0),Vt=Yt(!0,!0),Ht=Wt();function Wt(){const t={};return["includes","indexOf","lastIndexOf"].forEach((e=>{t[e]=function(...t){const n=Le(this);for(let t=0,e=this.length;t<e;t++)Dt(n,0,t+"");const i=n[e](...t);return-1===i||!1===i?n[e](...t.map(Le)):i}})),["push","pop","shift","unshift","splice"].forEach((e=>{t[e]=function(...t){Pt();const n=Le(this)[e].apply(this,t);return Lt(),n}})),t}function Yt(t=!1,e=!1){return function(n,i,s){if("__v_isReactive"===i)return!t;if("__v_isReadonly"===i)return t;if("__v_isShallow"===i)return e;if("__v_raw"===i&&s===(t?e?we:_e:e?xe:ye).get(n))return n;const o=I(n);if(!t&&o&&D(Ht,i))return Reflect.get(Ht,i,s);const r=Reflect.get(n,i,s);if($(i)?jt.has(i):Nt(i))return r;if(t||Dt(n,0,i),e)return r;if(je(r)){return!o||!G(i)?r.value:r}return z(r)?t?ke(r):Se(r):r}}function Ut(t=!1){return function(e,n,i,s){let o=e[n];if(Oe(o)&&je(o)&&!je(i))return!1;if(!t&&!Oe(i)&&(Te(i)||(i=Le(i),o=Le(o)),!I(e)&&je(o)&&!je(i)))return o.value=i,!0;const r=I(e)&&G(n)?Number(n)<e.length:D(e,n),a=Reflect.set(e,n,i,s);return e===Le(s)&&(r?it(i,o)&&Rt(e,"set",n,i):Rt(e,"add",n,i)),a}}const Gt={get:Bt,set:Ut(),deleteProperty:function(t,e){const n=D(t,e),i=(t[e],Reflect.deleteProperty(t,e));return i&&n&&Rt(t,"delete",e,void 0),i},has:function(t,e){const n=Reflect.has(t,e);return $(e)&&jt.has(e)||Dt(t,0,e),n},ownKeys:function(t){return Dt(t,0,I(t)?"length":St),Reflect.ownKeys(t)}},qt={get:zt,set:(t,e)=>!0,deleteProperty:(t,e)=>!0},Kt=T({},Gt,{get:$t,set:Ut(!0)}),Xt=T({},qt,{get:Vt}),Zt=t=>t,Jt=t=>Reflect.getPrototypeOf(t);function Qt(t,e,n=!1,i=!1){const s=Le(t=t.__v_raw),o=Le(e);e!==o&&!n&&Dt(s,0,e),!n&&Dt(s,0,o);const{has:r}=Jt(s),a=i?Zt:n?Re:Ie;return r.call(s,e)?a(t.get(e)):r.call(s,o)?a(t.get(o)):void(t!==s&&t.get(e))}function te(t,e=!1){const n=this.__v_raw,i=Le(n),s=Le(t);return t!==s&&!e&&Dt(i,0,t),!e&&Dt(i,0,s),t===s?n.has(t):n.has(t)||n.has(s)}function ee(t,e=!1){return t=t.__v_raw,!e&&Dt(Le(t),0,St),Reflect.get(t,"size",t)}function ne(t){t=Le(t);const e=Le(this);return Jt(e).has.call(e,t)||(e.add(t),Rt(e,"add",t,t)),this}function ie(t,e){e=Le(e);const n=Le(this),{has:i,get:s}=Jt(n);let o=i.call(n,t);o||(t=Le(t),o=i.call(n,t));const r=s.call(n,t);return n.set(t,e),o?it(e,r)&&Rt(n,"set",t,e):Rt(n,"add",t,e),this}function se(t){const e=Le(this),{has:n,get:i}=Jt(e);let s=n.call(e,t);s||(t=Le(t),s=n.call(e,t));i&&i.call(e,t);const o=e.delete(t);return s&&Rt(e,"delete",t,void 0),o}function oe(){const t=Le(this),e=0!==t.size,n=t.clear();return e&&Rt(t,"clear",void 0,void 0),n}function re(t,e){return function(n,i){const s=this,o=s.__v_raw,r=Le(o),a=e?Zt:t?Re:Ie;return!t&&Dt(r,0,St),o.forEach(((t,e)=>n.call(i,a(t),a(e),s)))}}function ae(t,e,n){return function(...i){const s=this.__v_raw,o=Le(s),r=R(o),a="entries"===t||t===Symbol.iterator&&r,l="keys"===t&&r,c=s[t](...i),d=n?Zt:e?Re:Ie;return!e&&Dt(o,0,l?Ct:St),{next(){const{value:t,done:e}=c.next();return e?{value:t,done:e}:{value:a?[d(t[0]),d(t[1])]:d(t),done:e}},[Symbol.iterator](){return this}}}}function le(t){return function(...e){return"delete"!==t&&this}}function ce(){const t={get(t){return Qt(this,t)},get size(){return ee(this)},has:te,add:ne,set:ie,delete:se,clear:oe,forEach:re(!1,!1)},e={get(t){return Qt(this,t,!1,!0)},get size(){return ee(this)},has:te,add:ne,set:ie,delete:se,clear:oe,forEach:re(!1,!0)},n={get(t){return Qt(this,t,!0)},get size(){return ee(this,!0)},has(t){return te.call(this,t,!0)},add:le("add"),set:le("set"),delete:le("delete"),clear:le("clear"),forEach:re(!0,!1)},i={get(t){return Qt(this,t,!0,!0)},get size(){return ee(this,!0)},has(t){return te.call(this,t,!0)},add:le("add"),set:le("set"),delete:le("delete"),clear:le("clear"),forEach:re(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((s=>{t[s]=ae(s,!1,!1),n[s]=ae(s,!0,!1),e[s]=ae(s,!1,!0),i[s]=ae(s,!0,!0)})),[t,n,e,i]}const[de,he,ue,pe]=ce();function fe(t,e){const n=e?t?pe:ue:t?he:de;return(e,i,s)=>"__v_isReactive"===i?!t:"__v_isReadonly"===i?t:"__v_raw"===i?e:Reflect.get(D(n,i)&&i in e?n:e,i,s)}const ge={get:fe(!1,!1)},me={get:fe(!1,!0)},be={get:fe(!0,!1)},ve={get:fe(!0,!0)};const ye=new WeakMap,xe=new WeakMap,_e=new WeakMap,we=new WeakMap;function Se(t){return Oe(t)?t:Me(t,!1,Gt,ge,ye)}function Ce(t){return Me(t,!1,Kt,me,xe)}function ke(t){return Me(t,!0,qt,be,_e)}function Ae(t){return Me(t,!0,Xt,ve,we)}function Me(t,e,n,i,s){if(!z(t))return t;if(t.__v_raw&&(!e||!t.__v_isReactive))return t;const o=s.get(t);if(o)return o;const r=(a=t).__v_skip||!Object.isExtensible(a)?0:function(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(Y(a));var a;if(0===r)return t;const l=new Proxy(t,2===r?i:n);return s.set(t,l),l}function Ee(t){return Oe(t)?Ee(t.__v_raw):!(!t||!t.__v_isReactive)}function Oe(t){return!(!t||!t.__v_isReadonly)}function Te(t){return!(!t||!t.__v_isShallow)}function Pe(t){return Ee(t)||Oe(t)}function Le(t){const e=t&&t.__v_raw;return e?Le(e):t}function De(t){return ot(t,"__v_skip",!0),t}const Ie=t=>z(t)?Se(t):t,Re=t=>z(t)?ke(t):t;function Fe(t){Ot&&wt&&It((t=Le(t)).dep||(t.dep=gt()))}function Ne(t,e){(t=Le(t)).dep&&Ft(t.dep)}function je(t){return!(!t||!0!==t.__v_isRef)}function Be(t){return ze(t,!1)}function $e(t){return ze(t,!0)}function ze(t,e){return je(t)?t:new Ve(t,e)}class Ve{constructor(t,e){this.__v_isShallow=e,this.dep=void 0,this.__v_isRef=!0,this._rawValue=e?t:Le(t),this._value=e?t:Ie(t)}get value(){return Fe(this),this._value}set value(t){t=this.__v_isShallow?t:Le(t),it(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Ie(t),Ne(this))}}function He(t){Ne(t)}function We(t){return je(t)?t.value:t}const Ye={get:(t,e,n)=>We(Reflect.get(t,e,n)),set:(t,e,n,i)=>{const s=t[e];return je(s)&&!je(n)?(s.value=n,!0):Reflect.set(t,e,n,i)}};function Ue(t){return Ee(t)?t:new Proxy(t,Ye)}class Ge{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:e,set:n}=t((()=>Fe(this)),(()=>Ne(this)));this._get=e,this._set=n}get value(){return this._get()}set value(t){this._set(t)}}function qe(t){return new Ge(t)}function Ke(t){const e=I(t)?new Array(t.length):{};for(const n in t)e[n]=Ze(t,n);return e}class Xe{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 Ze(t,e,n){const i=t[e];return je(i)?i:new Xe(t,e,n)}class Je{constructor(t,e,n,i){this._setter=e,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new kt(t,(()=>{this._dirty||(this._dirty=!0,Ne(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=n}get value(){const t=Le(this);return Fe(t),!t._dirty&&t._cacheable||(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}Promise.resolve();const Qe=[];function tn(t,...e){Pt();const n=Qe.length?Qe[Qe.length-1].component:null,i=n&&n.appContext.config.warnHandler,s=function(){let t=Qe[Qe.length-1];if(!t)return[];const e=[];for(;t;){const n=e[0];n&&n.vnode===t?n.recurseCount++:e.push({vnode:t,recurseCount:0});const i=t.component&&t.component.parent;t=i&&i.vnode}return e}();if(i)sn(i,n,11,[t+e.join(""),n&&n.proxy,s.map((({vnode:t})=>`at <${nr(n,t.type)}>`)).join("\n"),s]);else{const n=[`[Vue warn]: ${t}`,...e];s.length&&n.push("\n",...function(t){const e=[];return t.forEach(((t,n)=>{e.push(...0===n?[]:["\n"],...function({vnode:t,recurseCount:e}){const n=e>0?`... (${e} recursive calls)`:"",i=!!t.component&&null==t.component.parent,s=` at <${nr(t.component,t.type,i)}`,o=">"+n;return t.props?[s,...en(t.props),o]:[s+o]}(t))})),e}
2(s)),console.warn(...n)}Lt()}function en(t){const e=[],n=Object.keys(t);return n.slice(0,3).forEach((n=>{e.push(...nn(n,t[n]))})),n.length>3&&e.push(" ..."),e}function nn(t,e,n){return B(e)?(e=JSON.stringify(e),n?e:[`${t}=${e}`]):"number"==typeof e||"boolean"==typeof e||null==e?n?e:[`${t}=${e}`]:je(e)?(e=nn(t,Le(e.value),!0),n?e:[`${t}=Ref<`,e,">"]):j(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=Le(e),n?e:[`${t}=`,e])}function sn(t,e,n,i){let s;try{s=i?t(...i):t()}catch(t){rn(t,e,n)}return s}function on(t,e,n,i){if(j(t)){const s=sn(t,e,n,i);return s&&V(s)&&s.catch((t=>{rn(t,e,n)})),s}const s=[];for(let o=0;o<t.length;o++)s.push(on(t[o],e,n,i));return s}function rn(t,e,n,i=!0){e&&e.vnode;if(e){let i=e.parent;const s=e.proxy,o=n;for(;i;){const e=i.ec;if(e)for(let n=0;n<e.length;n++)if(!1===e[n](t,s,o))return;i=i.parent}const r=e.appContext.config.errorHandler;if(r)return void sn(r,null,10,[t,s,o])}!function(t,e,n,i=!0){console.error(t)}(t,0,0,i)}let an=!1,ln=!1;const cn=[];let dn=0;const hn=[];let un=null,pn=0;const fn=[];let gn=null,mn=0;const bn=Promise.resolve();let vn=null,yn=null;function xn(t){const e=vn||bn;return t?e.then(this?t.bind(this):t):e}function _n(t){cn.length&&cn.includes(t,an&&t.allowRecurse?dn+1:dn)||t===yn||(null==t.id?cn.push(t):cn.splice(function(t){let e=dn+1,n=cn.length;for(;e<n;){const i=e+n>>>1;Mn(cn[i])<t?e=i+1:n=i}return e}(t.id),0,t),wn())}function wn(){an||ln||(ln=!0,vn=bn.then(En))}function Sn(t,e,n,i){I(t)?n.push(...t):e&&e.includes(t,t.allowRecurse?i+1:i)||n.push(t),wn()}function Cn(t){Sn(t,gn,fn,mn)}function kn(t,e=null){if(hn.length){for(yn=e,un=[...new Set(hn)],hn.length=0,pn=0;pn<un.length;pn++)un[pn]();un=null,pn=0,yn=null,kn(t,e)}}function An(t){if(fn.length){const t=[...new Set(fn)];if(fn.length=0,gn)return void gn.push(...t);for(gn=t,gn.sort(((t,e)=>Mn(t)-Mn(e))),mn=0;mn<gn.length;mn++)gn[mn]();gn=null,mn=0}}const Mn=t=>null==t.id?1/0:t.id;function En(t){ln=!1,an=!0,kn(t),cn.sort(((t,e)=>Mn(t)-Mn(e)));try{for(dn=0;dn<cn.length;dn++){const t=cn[dn];t&&!1!==t.active&&sn(t,null,14)}}finally{dn=0,cn.length=0,An(),an=!1,vn=null,(cn.length||hn.length||fn.length)&&En(t)}}new Set;new Map;let On,Tn=[],Pn=!1;function Ln(t,e){var n,i;if(On=t,On)On.enabled=!0,Tn.forEach((({event:t,args:e})=>On.emit(t,...e))),Tn=[];else if("undefined"!=typeof window&&window.HTMLElement&&!(null===(i=null===(n=window.navigator)||void 0===n?void 0:n.userAgent)||void 0===i?void 0:i.includes("jsdom"))){(e.__VUE_DEVTOOLS_HOOK_REPLAY__=e.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push((t=>{Ln(t,e)})),setTimeout((()=>{On||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Pn=!0,Tn=[])}),3e3)}else Pn=!0,Tn=[]}function Dn(t,e,...n){const i=t.vnode.props||S;let s=n;const o=e.startsWith("update:"),r=o&&e.slice(7);if(r&&r in i){const t=`${"modelValue"===r?"model":r}Modifiers`,{number:e,trim:o}=i[t]||S;o?s=n.map((t=>t.trim())):e&&(s=n.map(rt))}let a;let l=i[a=nt(e)]||i[a=nt(J(e))];!l&&o&&(l=i[a=nt(tt(e))]),l&&on(l,t,6,s);const c=i[a+"Once"];if(c){if(t.emitted){if(t.emitted[a])return}else t.emitted={};t.emitted[a]=!0,on(c,t,6,s)}}function In(t,e,n=!1){const i=e.emitsCache,s=i.get(t);if(void 0!==s)return s;const o=t.emits;let r={},a=!1;if(!j(t)){const i=t=>{const n=In(t,e,!0);n&&(a=!0,T(r,n))};!n&&e.mixins.length&&e.mixins.forEach(i),t.extends&&i(t.extends),t.mixins&&t.mixins.forEach(i)}return o||a?(I(o)?o.forEach((t=>r[t]=null)):T(r,o),i.set(t,r),r):(i.set(t,null),null)}function Rn(t,e){return!(!t||!E(e))&&(e=e.slice(2).replace(/Once$/,""),D(t,e[0].toLowerCase()+e.slice(1))||D(t,tt(e))||D(t,e))}let Fn=null,Nn=null;function jn(t){const e=Fn;return Fn=t,Nn=t&&t.type.__scopeId||null,e}function Bn(t){Nn=t}function $n(){Nn=null}const zn=t=>Vn;function Vn(t,e=Fn,n){if(!e)return t;if(t._n)return t;const i=(...n)=>{i._d&&no(-1);const s=jn(e),o=t(...n);return jn(s),i._d&&no(1),o};return i._n=!0,i._c=!0,i._d=!0,i}function Hn(t){const{type:e,vnode:n,proxy:i,withProxy:s,props:o,propsOptions:[r],slots:a,attrs:l,emit:c,render:d,renderCache:h,data:u,setupState:p,ctx:f,inheritAttrs:g}=t;let m,b;const v=jn(t);try{if(4&n.shapeFlag){const t=s||i;m=_o(d.call(t,t,h,o,p,u,f)),b=l}else{const t=e;0,m=_o(t.length>1?t(o,{attrs:l,slots:a,emit:c}):t(o,null)),b=e.props?l:Yn(l)}}catch(e){Xs.length=0,rn(e,t,1),m=fo(qs)}let y=m;if(b&&!1!==g){const t=Object.keys(b),{shapeFlag:e}=y;t.length&&7&e&&(r&&t.some(O)&&(b=Un(b,r)),y=bo(y,b))}return n.dirs&&(y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),m=y,jn(v),m}function Wn(t){let e;for(let n=0;n<t.length;n++){const i=t[n];if(!ro(i))return;if(i.type!==qs||"v-if"===i.children){if(e)return;e=i}}return e}const Yn=t=>{let e;for(const n in t)("class"===n||"style"===n||E(n))&&((e||(e={}))[n]=t[n]);return e},Un=(t,e)=>{const n={};for(const i in t)O(i)&&i.slice(9)in e||(n[i]=t[i]);return n};function Gn(t,e,n){const i=Object.keys(e);if(i.length!==Object.keys(t).length)return!0;for(let s=0;s<i.length;s++){const o=i[s];if(e[o]!==t[o]&&!Rn(n,o))return!0}return!1}function qn({vnode:t,parent:e},n){for(;e&&e.subTree===t;)(t=e.vnode).el=n,e=e.parent}const Kn={name:"Suspense",__isSuspense:!0,process(t,e,n,i,s,o,r,a,l,c){null==t?function(t,e,n,i,s,o,r,a,l){const{p:c,o:{createElement:d}}=l,h=d("div"),u=t.suspense=Zn(t,s,i,e,h,n,o,r,a,l);c(null,u.pendingBranch=t.ssContent,h,null,i,u,o,r),u.deps>
20?(Xn(t,"onPending"),Xn(t,"onFallback"),c(null,t.ssFallback,e,n,i,null,o,r),ti(u,t.ssFallback)):u.resolve()}(e,n,i,s,o,r,a,l,c):function(t,e,n,i,s,o,r,a,{p:l,um:c,o:{createElement:d}}){const h=e.suspense=t.suspense;h.vnode=e,e.el=t.el;const u=e.ssContent,p=e.ssFallback,{activeBranch:f,pendingBranch:g,isInFallback:m,isHydrating:b}=h;if(g)h.pendingBranch=u,ao(u,g)?(l(g,u,h.hiddenContainer,null,s,h,o,r,a),h.deps<=0?h.resolve():m&&(l(f,p,n,i,s,null,o,r,a),ti(h,p))):(h.pendingId++,b?(h.isHydrating=!1,h.activeBranch=g):c(g,s,h),h.deps=0,h.effects.length=0,h.hiddenContainer=d("div"),m?(l(null,u,h.hiddenContainer,null,s,h,o,r,a),h.deps<=0?h.resolve():(l(f,p,n,i,s,null,o,r,a),ti(h,p))):f&&ao(u,f)?(l(f,u,n,i,s,h,o,r,a),h.resolve(!0)):(l(null,u,h.hiddenContainer,null,s,h,o,r,a),h.deps<=0&&h.resolve()));else if(f&&ao(u,f))l(f,u,n,i,s,h,o,r,a),ti(h,u);else if(Xn(e,"onPending"),h.pendingBranch=u,h.pendingId++,l(null,u,h.hiddenContainer,null,s,h,o,r,a),h.deps<=0)h.resolve();else{const{timeout:t,pendingId:e}=h;t>0?setTimeout((()=>{h.pendingId===e&&h.fallback(p)}),t):0===t&&h.fallback(p)}}(t,e,n,i,s,r,a,l,c)},hydrate:function(t,e,n,i,s,o,r,a,l){const c=e.suspense=Zn(e,i,n,t.parentNode,document.createElement("div"),null,s,o,r,a,!0),d=l(t,c.pendingBranch=e.ssContent,n,c,o,r);0===c.deps&&c.resolve();return d},create:Zn,normalize:function(t){const{shapeFlag:e,children:n}=t,i=32&e;t.ssContent=Jn(i?n.default:n),t.ssFallback=i?Jn(n.fallback):fo(qs)}};function Xn(t,e){const n=t.props&&t.props[e];j(n)&&n()}function Zn(t,e,n,i,s,o,r,a,l,c,d=!1){const{p:h,m:u,um:p,n:f,o:{parentNode:g,remove:m}}=c,b=rt(t.props&&t.props.timeout),v={vnode:t,parent:e,parentComponent:n,isSVG:r,container:i,hiddenContainer:s,anchor:o,deps:0,pendingId:0,timeout:"number"==typeof b?b:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:d,isUnmounted:!1,effects:[],resolve(t=!1){const{vnode:e,activeBranch:n,pendingBranch:i,pendingId:s,effects:o,parentComponent:r,container:a}=v;if(v.isHydrating)v.isHydrating=!1;else if(!t){const t=n&&i.transition&&"out-in"===i.transition.mode;t&&(n.transition.afterLeave=()=>{s===v.pendingId&&u(i,a,e,0)});let{anchor:e}=v;n&&(e=f(n),p(n,r,v,!0)),t||u(i,a,e,0)}ti(v,i),v.pendingBranch=null,v.isInFallback=!1;let l=v.parent,c=!1;for(;l;){if(l.pendingBranch){l.effects.push(...o),c=!0;break}l=l.parent}c||Cn(o),v.effects=[],Xn(e,"onResolve")},fallback(t){if(!v.pendingBranch)return;const{vnode:e,activeBranch:n,parentComponent:i,container:s,isSVG:o}=v;Xn(e,"onFallback");const r=f(n),c=()=>{v.isInFallback&&(h(null,t,s,r,i,null,o,a,l),ti(v,t))},d=t.transition&&"out-in"===t.transition.mode;d&&(n.transition.afterLeave=c),v.isInFallback=!0,p(n,i,null,!0),d||c()},move(t,e,n){v.activeBranch&&u(v.activeBranch,t,e,n),v.container=t},next:()=>v.activeBranch&&f(v.activeBranch),registerDep(t,e){const n=!!v.pendingBranch;n&&v.deps++;const i=t.vnode.el;t.asyncDep.catch((e=>{rn(e,t,0)})).then((s=>{if(t.isUnmounted||v.isUnmounted||v.pendingId!==t.suspenseId)return;t.asyncResolved=!0;const{vnode:o}=t;Go(t,s,!1),i&&(o.el=i);const a=!i&&t.subTree.el;e(t,o,g(i||t.subTree.el),i?null:f(t.subTree),v,r,l),a&&m(a),qn(t,o.el),n&&0==--v.deps&&v.resolve()}))},unmount(t,e){v.isUnmounted=!0,v.activeBranch&&p(v.activeBranch,n,t,e),v.pendingBranch&&p(v.pendingBranch,n,t,e)}};return v}function Jn(t){let e;if(j(t)){const n=eo&&t._c;n&&(t._d=!1,Js()),t=t(),n&&(t._d=!0,e=Zs,Qs())}if(I(t)){const e=Wn(t);0,t=e}return t=_o(t),e&&!t.dynamicChildren&&(t.dynamicChildren=e.filter((e=>e!==t))),t}function Qn(t,e){e&&e.pendingBranch?I(t)?e.effects.push(...t):e.effects.push(t):Cn(t)}function ti(t,e){t.activeBranch=e;const{vnode:n,parentComponent:i}=t,s=n.el=e.el;i&&i.subTree===n&&(i.vnode.el=s,qn(i,s))}function ei(t,e){if(jo){let n=jo.provides;const i=jo.parent&&jo.parent.provides;i===n&&(n=jo.provides=Object.create(i)),n[t]=e}else 0}function ni(t,e,n=!1){const i=jo||Fn;if(i){const s=null==i.parent?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides;if(s&&t in s)return s[t];if(arguments.length>1)return n&&j(e)?e.call(i.proxy):e}else 0}function ii(t,e){return li(t,null,e)}function si(t,e){return li(t,null,{flush:"post"})}function oi(t,e){return li(t,null,{flush:"sync"})}const ri={};function ai(t,e,n){return li(t,e,n)}function li(t,e,{immediate:n,deep:i,flush:s,onTrack:o,onTrigger:r}=S){const a=jo;let l,c,d=!1,h=!1;if(je(t)?(l=()=>t.value,d=Te(t)):Ee(t)?(l=()=>t,i=!0):I(t)?(h=!0,d=t.some(Ee),l=()=>t.map((t=>je(t)?t.value:Ee(t)?hi(t):j(t)?sn(t,a,2):void 0))):l=j(t)?e?()=>sn(t,a,2):()=>
2{if(!a||!a.isUnmounted)return c&&c(),on(t,a,3,[u])}:k,e&&i){const t=l;l=()=>hi(t())}let u=t=>{c=m.onStop=()=>{sn(t,a,4)}};if(Yo)return u=k,e?n&&on(e,a,3,[l(),h?[]:void 0,u]):l(),k;let p=h?[]:ri;const f=()=>{if(m.active)if(e){const t=m.run();(i||d||(h?t.some(((t,e)=>it(t,p[e]))):it(t,p)))&&(c&&c(),on(e,a,3,[t,p===ri?void 0:p,u]),p=t)}else m.run()};let g;f.allowRecurse=!!e,g="sync"===s?f:"post"===s?()=>Ms(f,a&&a.suspense):()=>{!a||a.isMounted?function(t){Sn(t,un,hn,pn)}(f):f()};const m=new kt(l,g);return e?n?f():p=m.run():"post"===s?Ms(m.run.bind(m),a&&a.suspense):m.run(),()=>{m.stop(),a&&a.scope&&P(a.scope.effects,m)}}function ci(t,e,n){const i=this.proxy,s=B(t)?t.includes(".")?di(i,t):()=>i[t]:t.bind(i,i);let o;j(e)?o=e:(o=e.handler,n=e);const r=jo;$o(this);const a=li(s,o.bind(i),n);return r?$o(r):zo(),a}function di(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 hi(t,e){if(!z(t)||t.__v_skip)return t;if((e=e||new Set).has(t))return t;if(e.add(t),je(t))hi(t.value,e);else if(I(t))for(let n=0;n<t.length;n++)hi(t[n],e);else if(F(t)||R(t))t.forEach((t=>{hi(t,e)}));else if(U(t))for(const n in t)hi(t[n],e);return t}function ui(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ni((()=>{t.isMounted=!0})),$i((()=>{t.isUnmounting=!0})),t}const pi=[Function,Array],fi={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:pi,onEnter:pi,onAfterEnter:pi,onEnterCancelled:pi,onBeforeLeave:pi,onLeave:pi,onAfterLeave:pi,onLeaveCancelled:pi,onBeforeAppear:pi,onAppear:pi,onAfterAppear:pi,onAppearCancelled:pi},setup(t,{slots:e}){const n=Bo(),i=ui();let s;return()=>{const o=e.default&&xi(e.default(),!0);if(!o||!o.length)return;const r=Le(t),{mode:a}=r;const l=o[0];if(i.isLeaving)return bi(l);const c=vi(l);if(!c)return bi(l);const d=mi(c,r,i,n);yi(c,d);const h=n.subTree,u=h&&vi(h);let p=!1;const{getTransitionKey:f}=c.type;if(f){const t=f();void 0===s?s=t:t!==s&&(s=t,p=!0)}if(u&&u.type!==qs&&(!ao(c,u)||p)){const t=mi(u,r,i,n);if(yi(u,t),"out-in"===a)return i.isLeaving=!0,t.afterLeave=()=>{i.isLeaving=!1,n.update()},bi(l);"in-out"===a&&c.type!==qs&&(t.delayLeave=(t,e,n)=>{gi(i,u)[String(u.key)]=u,t._leaveCb=()=>{e(),t._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=n})}return l}}};function gi(t,e){const{leavingVNodes:n}=t;let i=n.get(e.type);return i||(i=Object.create(null),n.set(e.type,i)),i}function mi(t,e,n,i){const{appear:s,mode:o,persisted:r=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:h,onLeave:u,onAfterLeave:p,onLeaveCancelled:f,onBeforeAppear:g,onAppear:m,onAfterAppear:b,onAppearCancelled:v}=e,y=String(t.key),x=gi(n,t),_=(t,e)=>{t&&on(t,i,9,e)},w={mode:o,persisted:r,beforeEnter(e){let i=a;if(!n.isMounted){if(!s)return;i=g||a}e._leaveCb&&e._leaveCb(!0);const o=x[y];o&&ao(t,o)&&o.el._leaveCb&&o.el._leaveCb(),_(i,[e])},enter(t){let e=l,i=c,o=d;if(!n.isMounted){if(!s)return;e=m||l,i=b||c,o=v||d}let r=!1;const a=t._enterCb=e=>{r||(r=!0,_(e?o:i,[t]),w.delayedLeave&&w.delayedLeave(),t._enterCb=void 0)};e?(e(t,a),e.length<=1&&a()):a()},leave(e,i){const s=String(t.key);if(e._enterCb&&e._enterCb(!0),n.isUnmounting)return i();_(h,[e]);let o=!1;const r=e._leaveCb=n=>{o||(o=!0,i(),_(n?f:p,[e]),e._leaveCb=void 0,x[s]===t&&delete x[s])};x[s]=t,u?(u(e,r),u.length<=1&&r()):r()},clone:t=>mi(t,e,n,i)};return w}function bi(t){if(ki(t))return(t=bo(t)).children=null,t}function vi(t){return ki(t)?t.children?t.children[0]:void 0:t}function yi(t,e){6&t.shapeFlag&&t.component?yi(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 xi(t,e=!1){let n=[],i=0;for(let s=0;s<t.length;s++){const o=t[s];o.type===Us?(128&o.patchFlag&&i++,n=n.concat(xi(o.children,e))):(e||o.type!==qs)&&n.push(o)}if(i>1)for(let t=0;t<n.length;t++)n[t].patchFlag=-2;return n}function _i(t){return j(t)?{setup:t,name:t.name}:t}const wi=t=>!!t.type.__asyncLoader;function Si(t){j(t)&&(t={loader:t});const{loader:e,loadingComponent:n,errorComponent:i,delay:s=200,timeout:o,suspensible:r=!0,onError:a}=t;let l,c=null,d=0;const h=()=>{let t;return c||(t=c=e().catch((t=>{if(t=t instanceof Error?t:new Error(String(t)),a)return new Promise(((e,n)=>{a(t,(()=>e((d++,c=null,h()))),(()=>n(t)),d+1)}));throw t})).then((e=>t!==c&&c?c:(e&&(e.__esModule||"Module"===e[Symbol.toStringTag])&&(e=e.default),l=e,e))))};return _i({name:"AsyncComponentWrapper",__asyncLoader:h,get __asyncResolved(){return l},setup(){const t=jo;if(l)return()=>Ci(l,t);const e=e=>{c=null,rn(e,t,13,!i)};if(r&&t.suspense||Yo)return h().then((e=>()=>Ci(e,t))).catch((t=>(e(t),()=>i?fo(i,{error:t}):null)));const a=Be(!1),d=Be(),u=Be(!!s);return s&&setTimeout((()=>{u.value=!1}),s),null!=o&&setTimeout((()=>
2{if(!a.value&&!d.value){const t=new Error(`Async component timed out after ${o}ms.`);e(t),d.value=t}}),o),h().then((()=>{a.value=!0,t.parent&&ki(t.parent.vnode)&&_n(t.parent.update)})).catch((t=>{e(t),d.value=t})),()=>a.value&&l?Ci(l,t):d.value&&i?fo(i,{error:d.value}):n&&!u.value?fo(n):void 0}})}function Ci(t,{vnode:{ref:e,props:n,children:i}}){const s=fo(t,n,i);return s.ref=e,s}const ki=t=>t.type.__isKeepAlive,Ai={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const n=Bo(),i=n.ctx;if(!i.renderer)return e.default;const s=new Map,o=new Set;let r=null;const a=n.suspense,{renderer:{p:l,m:c,um:d,o:{createElement:h}}}=i,u=h("div");function p(t){Li(t),d(t,n,a,!0)}function f(t){s.forEach(((e,n)=>{const i=er(e.type);!i||t&&t(i)||g(n)}))}function g(t){const e=s.get(t);r&&e.type===r.type?r&&Li(r):p(e),s.delete(t),o.delete(t)}i.activate=(t,e,n,i,s)=>{const o=t.component;c(t,e,n,0,a),l(o.vnode,t,e,n,o,a,i,t.slotScopeIds,s),Ms((()=>{o.isDeactivated=!1,o.a&&st(o.a);const e=t.props&&t.props.onVnodeMounted;e&&ko(e,o.parent,t)}),a)},i.deactivate=t=>{const e=t.component;c(t,u,null,1,a),Ms((()=>{e.da&&st(e.da);const n=t.props&&t.props.onVnodeUnmounted;n&&ko(n,e.parent,t),e.isDeactivated=!0}),a)},ai((()=>[t.include,t.exclude]),(([t,e])=>{t&&f((e=>Mi(t,e))),e&&f((t=>!Mi(e,t)))}),{flush:"post",deep:!0});let m=null;const b=()=>{null!=m&&s.set(m,Di(n.subTree))};return Ni(b),Bi(b),$i((()=>{s.forEach((t=>{const{subTree:e,suspense:i}=n,s=Di(e);if(t.type!==s.type)p(t);else{Li(s);const t=s.component.da;t&&Ms(t,i)}}))})),()=>{if(m=null,!e.default)return null;const n=e.default(),i=n[0];if(n.length>1)return r=null,n;if(!(ro(i)&&(4&i.shapeFlag||128&i.shapeFlag)))return r=null,i;let a=Di(i);const l=a.type,c=er(wi(a)?a.type.__asyncResolved||{}:l),{include:d,exclude:h,max:u}=t;if(d&&(!c||!Mi(d,c))||h&&c&&Mi(h,c))return r=a,i;const p=null==a.key?l:a.key,f=s.get(p);return a.el&&(a=bo(a),128&i.shapeFlag&&(i.ssContent=a)),m=p,f?(a.el=f.el,a.component=f.component,a.transition&&yi(a,a.transition),a.shapeFlag|=512,o.delete(p),o.add(p)):(o.add(p),u&&o.size>parseInt(u,10)&&g(o.values().next().value)),a.shapeFlag|=256,r=a,i}}};function Mi(t,e){return I(t)?t.some((t=>Mi(t,e))):B(t)?t.split(",").includes(e):!!t.test&&t.test(e)}function Ei(t,e){Ti(t,"a",e)}function Oi(t,e){Ti(t,"da",e)}function Ti(t,e,n=jo){const i=t.__wdc||(t.__wdc=()=>{let e=n;for(;e;){if(e.isDeactivated)return;e=e.parent}return t()});if(Ii(e,i,n),n){let t=n.parent;for(;t&&t.parent;)ki(t.parent.vnode)&&Pi(i,e,n,t),t=t.parent}}function Pi(t,e,n,i){const s=Ii(e,t,i,!0);zi((()=>{P(i[e],s)}),n)}function Li(t){let e=t.shapeFlag;256&e&&(e-=256),512&e&&(e-=512),t.shapeFlag=e}function Di(t){return 128&t.shapeFlag?t.ssContent:t}function Ii(t,e,n=jo,i=!1){if(n){const s=n[t]||(n[t]=[]),o=e.__weh||(e.__weh=(...i)=>{if(n.isUnmounted)return;Pt(),$o(n);const s=on(e,n,t,i);return zo(),Lt(),s});return i?s.unshift(o):s.push(o),o}}const Ri=t=>(e,n=jo)=>(!Yo||"sp"===t)&&Ii(t,e,n),Fi=Ri("bm"),Ni=Ri("m"),ji=Ri("bu"),Bi=Ri("u"),$i=Ri("bum"),zi=Ri("um"),Vi=Ri("sp"),Hi=Ri("rtg"),Wi=Ri("rtc");function Yi(t,e=jo){Ii("ec",t,e)}let Ui=!0;function Gi(t){const e=Xi(t),n=t.proxy,i=t.ctx;Ui=!1,e.beforeCreate&&qi(e.beforeCreate,t,"bc");const{data:s,computed:o,methods:r,watch:a,provide:l,inject:c,created:d,beforeMount:h,mounted:u,beforeUpdate:p,updated:f,activated:g,deactivated:m,beforeDestroy:b,beforeUnmount:v,destroyed:y,unmounted:x,render:_,renderTracked:w,renderTriggered:S,errorCaptured:C,serverPrefetch:A,expose:M,inheritAttrs:E,components:O,directives:T,filters:P}=e;if(c&&function(t,e,n=k,i=!1){I(t)&&(t=ts(t));for(const n in t){const s=t[n];let o;o=z(s)?"default"in s?ni(s.from||n,s.default,!0):ni(s.from||n):ni(s),je(o)&&i?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:t=>o.value=t}):e[n]=o}}(c,i,null,t.appContext.config.unwrapInjectedRef),r)for(const t in r){const e=r[t];j(e)&&(i[t]=e.bind(n))}if(s){0;const e=s.call(n,n);0,z(e)&&(t.data=Se(e))}if(Ui=!0,o)for(const t in o){const e=o[t],s=j(e)?e.bind(n,n):j(e.get)?e.get.bind(n,n):k;0;const r=!j(e)&&j(e.set)?e.set.bind(n):k,a=sr({get:s,set:r});Object.defineProperty(i,t,{enumerable:!0,configurable:!0,get:()=>a.value,set:t=>a.value=t})}
vendor: 1,224 bytes, line 2
2if(a)for(const t in a)Ki(a[t],i,n,t);if(l){const t=j(l)?l.call(n):l;Reflect.ownKeys(t).forEach((e=>{ei(e,t[e])}))}function L(t,e){I(e)?e.forEach((e=>t(e.bind(n)))):e&&t(e.bind(n))}if(d&&qi(d,t,"c"),L(Fi,h),L(Ni,u),L(ji,p),L(Bi,f),L(Ei,g),L(Oi,m),L(Yi,C),L(Wi,w),L(Hi,S),L($i,v),L(zi,x),L(Vi,A),I(M))if(M.length){const e=t.exposed||(t.exposed={});M.forEach((t=>{Object.defineProperty(e,t,{get:()=>n[t],set:e=>n[t]=e})}))}else t.exposed||(t.exposed={});_&&t.render===k&&(t.render=_),null!=E&&(t.inheritAttrs=E),O&&(t.components=O),T&&(t.directives=T)}function qi(t,e,n){on(I(t)?t.map((t=>t.bind(e.proxy))):t.bind(e.proxy),e,n)}function Ki(t,e,n,i){const s=i.includes(".")?di(n,i):()=>n[i];if(B(t)){const n=e[t];j(n)&&ai(s,n)}else if(j(t))ai(s,t.bind(n));else if(z(t))if(I(t))t.forEach((t=>Ki(t,e,n,i)));else{const i=j(t.handler)?t.handler.bind(n):e[t.handler];j(i)&&ai(s,i,t)}else 0}function Xi(t){const e=t.type,{mixins:n,extends:i}=e,{mixins:s,optionsCache:o,config:{optionMergeStrategies:r}}=t.appContext,a=o.get(e);let l;return a?l=a:s.length||n||i?(l={},s.length&&s.forEach((t=>Zi(l,t,r,!0))),Zi(l,e,r)):l=e,o.set(e,l),l}function Zi(t,e,n,i=!1){const{mixins:s,extends:o}=e;o&&Zi(t,o,n,!0),s&&s.forEach((e=>Zi(t,e,n,!0)));
vendor: 4,995 bytes, line 2
2for(const s in e)if(i&&"expose"===s);else{const i=Ji[s]||n&&n[s];t[s]=i?i(t[s],e[s]):e[s]}return t}const Ji={data:Qi,props:ns,emits:ns,methods:ns,computed:ns,beforeCreate:es,created:es,beforeMount:es,mounted:es,beforeUpdate:es,updated:es,beforeDestroy:es,beforeUnmount:es,destroyed:es,unmounted:es,activated:es,deactivated:es,errorCaptured:es,serverPrefetch:es,components:ns,directives:ns,watch:function(t,e){if(!t)return e;if(!e)return t;const n=T(Object.create(null),t);for(const i in e)n[i]=es(t[i],e[i]);return n},provide:Qi,inject:function(t,e){return ns(ts(t),ts(e))}};function Qi(t,e){return e?t?function(){return T(j(t)?t.call(this,this):t,j(e)?e.call(this,this):e)}:e:t}function ts(t){if(I(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function es(t,e){return t?[...new Set([].concat(t,e))]:e}function ns(t,e){return t?T(T(Object.create(null),t),e):e}function is(t,e,n,i){const[s,o]=t.propsOptions;let r,a=!1;if(e)for(let l in e){if(q(l))continue;const c=e[l];let d;s&&D(s,d=J(l))?o&&o.includes(d)?(r||(r={}))[d]=c:n[d]=c:Rn(t.emitsOptions,l)||l in i&&c===i[l]||(i[l]=c,a=!0)}if(o){const e=Le(n),i=r||S;for(let r=0;r<o.length;r++){const a=o[r];n[a]=ss(s,e,a,i[a],t,!D(i,a))}}return a}function ss(t,e,n,i,s,o){const r=t[n];if(null!=r){const t=D(r,"default");if(t&&void 0===i){const t=r.default;if(r.type!==Function&&j(t)){const{propsDefaults:o}=s;n in o?i=o[n]:($o(s),i=o[n]=t.call(null,e),zo())}else i=t}r[0]&&(o&&!t?i=!1:!r[1]||""!==i&&i!==tt(n)||(i=!0))}return i}function os(t,e,n=!1){const i=e.propsCache,s=i.get(t);if(s)return s;const o=t.props,r={},a=[];let l=!1;if(!j(t)){const i=t=>{l=!0;const[n,i]=os(t,e,!0);T(r,n),i&&a.push(...i)};!n&&e.mixins.length&&e.mixins.forEach(i),t.extends&&i(t.extends),t.mixins&&t.mixins.forEach(i)}if(!o&&!l)return i.set(t,C),C;if(I(o))for(let t=0;t<o.length;t++){0;const e=J(o[t]);rs(e)&&(r[e]=S)}else if(o){0;for(const t in o){const e=J(t);if(rs(e)){const n=o[t],i=r[e]=I(n)||j(n)?{type:n}:n;if(i){const t=cs(Boolean,i.type),n=cs(String,i.type);i[0]=t>-1,i[1]=n<0||t<n,(t>-1||D(i,"default"))&&a.push(e)}}}}const c=[r,a];return i.set(t,c),c}function rs(t){return"$"!==t[0]}function as(t){const e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:null===t?"null":""}function ls(t,e){return as(t)===as(e)}function cs(t,e){return I(e)?e.findIndex((e=>ls(e,t))):j(e)&&ls(e,t)?0:-1}const ds=t=>"_"===t[0]||"$stable"===t,hs=t=>I(t)?t.map(_o):[_o(t)],us=(t,e,n)=>{const i=Vn(((...t)=>hs(e(...t))),n);return i._c=!1,i},ps=(t,e,n)=>{const i=t._ctx;for(const n in t){if(ds(n))continue;const s=t[n];if(j(s))e[n]=us(0,s,i);else if(null!=s){0;const t=hs(s);e[n]=()=>t}}},fs=(t,e)=>{const n=hs(e);t.slots.default=()=>n},gs=(t,e)=>{if(32&t.vnode.shapeFlag){const n=e._;n?(t.slots=Le(e),ot(e,"_",n)):ps(e,t.slots={})}else t.slots={},e&&fs(t,e);ot(t.slots,co,1)},ms=(t,e,n)=>{const{vnode:i,slots:s}=t;let o=!0,r=S;if(32&i.shapeFlag){const t=e._;t?n&&1===t?o=!1:(T(s,e),n||1!==t||delete s._):(o=!e.$stable,ps(e,s)),r=e}else e&&(fs(t,e),r={default:1});if(o)for(const t in s)ds(t)||t in r||delete s[t]};function bs(t,e){if(null===Fn)return t;const n=Fn.proxy,i=t.dirs||(t.dirs=[]);for(let t=0;t<e.length;t++){let[s,o,r,a=S]=e[t];j(s)&&(s={mounted:s,updated:s}),s.deep&&hi(o),i.push({dir:s,instance:n,value:o,oldValue:void 0,arg:r,modifiers:a})}return t}function vs(t,e,n,i){const s=t.dirs,o=e&&e.dirs;for(let r=0;r<s.length;r++){const a=s[r];o&&(a.oldValue=o[r].value);let l=a.dir[i];l&&(Pt(),on(l,n,8,[t.el,a,t,e]),Lt())}}function ys(){return{app:null,config:{isNativeTag:A,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 xs=0;function _s(t,e){return function(n,i=null){null==i||z(i)||(i=null);const s=ys(),o=new Set;let r=!1;const a=s.app={_uid:xs++,_component:n,_props:i,_container:null,_context:s,_instance:null,version:_r,get config(){return s.config},set config(t){0},use:(t,...e)=>(o.has(t)||(t&&j(t.install)?(o.add(t),t.install(a,...e)):j(t)&&(o.add(t),t(a,...e))),a),mixin:t=>(s.mixins.includes(t)||s.mixins.push(t),a),component:(t,e)=>e?(s.components[t]=e,a):s.components[t],directive:(t,e)=>e?(s.directives[t]=e,a):s.directives[t],mount(o,l,c){if(!r){const d=fo(n,i);return d.appContext=s,l&&e?e(d,o):t(d,o,c),r=!0,a._container=o,o.__vue_app__=a,Jo(d.component)||d.component.proxy}},unmount(){r&&(t(null,a._container),delete a._container.__vue_app__)},provide:(t,e)=>(s.provides[t]=e,a)};return a}}function ws(t,e,n,i,s=!1){if(I(t))return void t.forEach(((t,o)=>ws(t,e&&(I(e)?e[o]:e),n,i,s)));if(wi(i)&&!s)return;const o=4&i.shapeFlag?Jo(i.component)||i.component.proxy:i.el,r=s?null:o,{i:a,r:l}=t;const c=e&&e.r,d=a.refs===S?a.refs={}:a.refs,h=a.setupState;if(null!=c&&c!==l&&(B(c)?(d[c]=null,D(h,c)&&(h[c]=null)):je(c)&&(c.value=null)),j(l))sn(l,a,12,[r,d]);else{const e=B(l),i=je(l);if(e||i){const i=()=>
2{if(t.f){const n=e?d[l]:l.value;s?I(n)&&P(n,o):I(n)?n.includes(o)||n.push(o):e?d[l]=[o]:(l.value=[o],t.k&&(d[t.k]=l.value))}else e?(d[l]=r,D(h,l)&&(h[l]=r)):je(l)&&(l.value=r,t.k&&(d[t.k]=r))};r?(i.id=-1,Ms(i,n)):i()}else 0}}let Ss=!1;const Cs=t=>/svg/.test(t.namespaceURI)&&"foreignObject"!==t.tagName,ks=t=>8===t.nodeType;function As(t){const{mt:e,p:n,o:{patchProp:i,nextSibling:s,parentNode:o,remove:r,insert:a,createComment:l}}=t,c=(n,i,r,a,l,g=!1)=>{const m=ks(n)&&"["===n.data,b=()=>p(n,i,r,a,l,m),{type:v,ref:y,shapeFlag:x}=i,_=n.nodeType;i.el=n;let w=null;switch(v){case Gs:3!==_?w=b():(n.data!==i.children&&(Ss=!0,n.data=i.children),w=s(n));break;case qs:w=8!==_||m?b():s(n);break;case Ks:if(1===_){w=n;const t=!i.children.length;for(let e=0;e<i.staticCount;e++)t&&(i.children+=w.outerHTML),e===i.staticCount-1&&(i.anchor=w),w=s(w);return w}w=b();break;case Us:w=m?u(n,i,r,a,l,g):b();break;default:if(1&x)w=1!==_||i.type.toLowerCase()!==n.tagName.toLowerCase()?b():d(n,i,r,a,l,g);else if(6&x){i.slotScopeIds=l;const t=o(n);if(e(i,t,null,r,a,Cs(t),g),w=m?f(n):s(n),wi(i)){let e;m?(e=fo(Us),e.anchor=w?w.previousSibling:t.lastChild):e=3===n.nodeType?vo(""):fo("div"),e.el=n,i.component.subTree=e}}else 64&x?w=8!==_?b():i.type.hydrate(n,i,r,a,l,g,t,h):128&x&&(w=i.type.hydrate(n,i,r,a,Cs(o(n)),l,g,t,c))}return null!=y&&ws(y,null,a,i),w},d=(t,e,n,s,o,a)=>{a=a||!!e.dynamicChildren;const{type:l,props:c,patchFlag:d,shapeFlag:u,dirs:p}=e,f="input"===l&&p||"option"===l;if(f||-1!==d){if(p&&vs(e,null,n,"created"),c)if(f||!a||48&d)for(const e in c)(f&&e.endsWith("value")||E(e)&&!q(e))&&i(t,e,null,c[e],!1,void 0,n);else c.onClick&&i(t,"onClick",null,c.onClick,!1,void 0,n);let l;if((l=c&&c.onVnodeBeforeMount)&&ko(l,n,e),p&&vs(e,null,n,"beforeMount"),((l=c&&c.onVnodeMounted)||p)&&Qn((()=>{l&&ko(l,n,e),p&&vs(e,null,n,"mounted")}),s),16&u&&(!c||!c.innerHTML&&!c.textContent)){let i=h(t.firstChild,e,t,n,s,o,a);for(;i;){Ss=!0;const t=i;i=i.nextSibling,r(t)}}else 8&u&&t.textContent!==e.children&&(Ss=!0,t.textContent=e.children)}return t.nextSibling},h=(t,e,i,s,o,r,a)=>{a=a||!!e.dynamicChildren;const l=e.children,d=l.length;for(let e=0;e<d;e++){const d=a?l[e]:l[e]=_o(l[e]);if(t)t=c(t,d,s,o,r,a);else{if(d.type===Gs&&!d.children)continue;Ss=!0,n(null,d,i,null,s,o,Cs(i),r)}}return t},u=(t,e,n,i,r,c)=>{const{slotScopeIds:d}=e;d&&(r=r?r.concat(d):d);const u=o(t),p=h(s(t),e,u,n,i,r,c);return p&&ks(p)&&"]"===p.data?s(e.anchor=p):(Ss=!0,a(e.anchor=l("]"),u,p),p)},p=(t,e,i,a,l,c)=>{if(Ss=!0,e.el=null,c){const e=f(t);for(;;){const n=s(t);if(!n||n===e)break;r(n)}}const d=s(t),h=o(t);return r(t),n(null,e,h,d,i,a,Cs(h),l),d},f=t=>{let e=0;for(;t;)if((t=s(t))&&ks(t)&&("["===t.data&&e++,"]"===t.data)){if(0===e)return s(t);e--}return t};return[(t,e)=>{if(!e.hasChildNodes())return n(null,t,e),void An();Ss=!1,c(e.firstChild,t,null,null,null),An(),Ss&&console.error("Hydration completed but contains mismatches.")},c]}const Ms=Qn;function Es(t){return Ts(t)}function Os(t){return Ts(t,As)}function Ts(t,e){lt().__VUE__=!0;const{insert:n,remove:i,patchProp:s,createElement:o,createText:r,createComment:a,setText:l,setElementText:c,parentNode:d,nextSibling:h,setScopeId:u=k,cloneNode:p,insertStaticContent:f}=t,g=(t,e,n,i=null,s=null,o=null,r=!1,a=null,l=!!e.dynamicChildren)=>{if(t===e)return;t&&!ao(t,e)&&(i=U(t),z(t,s,o,!0),t=null),-2===e.patchFlag&&(l=!1,e.dynamicChildren=null);const{type:c,ref:d,shapeFlag:h}=e;switch(c){case Gs:m(t,e,n,i);break;case qs:b(t,e,n,i);break;case Ks:null==t&&v(e,n,i,r);break;case Us:T(t,e,n,i,s,o,r,a,l);break;default:1&h?x(t,e,n,i,s,o,r,a,l):6&h?P(t,e,n,i,s,o,r,a,l):(64&h||128&h)&&c.process(t,e,n,i,s,o,r,a,l,K)}null!=d&&s&&ws(d,t&&t.ref,o,e||t,!e)},m=(t,e,i,s)=>{if(null==t)n(e.el=r(e.children),i,s);else{const n=e.el=t.el;e.children!==t.children&&l(n,e.children)}},b=(t,e,i,s)=>{null==t?n(e.el=a(e.children||""),i,s):e.el=t.el},v=(t,e,n,i)=>{[t.el,t.anchor]=f(t.children,e,n,i,t.el,t.anchor)},y=({el:t,anchor:e})=>{let n;for(;t&&t!==e;)n=h(t),i(t),t=n;i(e)},x=(t,e,n,i,s,o,r,a,l)=>{r=r||"svg"===e.type,null==t?_(e,n,i,s,o,r,a,l):M(t,e,s,o,r,a,l)},_=(t,e,i,r,a,l,d,h)=>{let u,f;const{type:g,props:m,shapeFlag:b,transition:v,patchFlag:y,dirs:x}=t;if(t.el&&void 0!==p&&-1===y)u=t.el=p(t.el);else{if(u=t.el=o(t.type,l,m&&m.is,m),8&b?c(u,t.children):16&b&&A(t.children,u,null,r,a,l&&"foreignObject"!==g,d,h),x&&vs(t,
vendor: 16,164 bytes, line 2
2null,r,"created"),m){for(const e in m)"value"===e||q(e)||s(u,e,null,m[e],l,t.children,r,a,Y);"value"in m&&s(u,"value",null,m.value),(f=m.onVnodeBeforeMount)&&ko(f,r,t)}w(u,t,t.scopeId,d,r)}x&&vs(t,null,r,"beforeMount");const _=(!a||a&&!a.pendingBranch)&&v&&!v.persisted;_&&v.beforeEnter(u),n(u,e,i),((f=m&&m.onVnodeMounted)||_||x)&&Ms((()=>{f&&ko(f,r,t),_&&v.enter(u),x&&vs(t,null,r,"mounted")}),a)},w=(t,e,n,i,s)=>{if(n&&u(t,n),i)for(let e=0;e<i.length;e++)u(t,i[e]);if(s){if(e===s.subTree){const e=s.vnode;w(t,e,e.scopeId,e.slotScopeIds,s.parent)}}},A=(t,e,n,i,s,o,r,a,l=0)=>{for(let c=l;c<t.length;c++){const l=t[c]=a?wo(t[c]):_o(t[c]);g(null,l,e,n,i,s,o,r,a)}},M=(t,e,n,i,o,r,a)=>{const l=e.el=t.el;let{patchFlag:d,dynamicChildren:h,dirs:u}=e;d|=16&t.patchFlag;const p=t.props||S,f=e.props||S;let g;n&&Ps(n,!1),(g=f.onVnodeBeforeUpdate)&&ko(g,n,e,t),u&&vs(e,t,n,"beforeUpdate"),n&&Ps(n,!0);const m=o&&"foreignObject"!==e.type;if(h?E(t.dynamicChildren,h,l,n,i,m,r):a||N(t,e,l,null,n,i,m,r,!1),d>0){if(16&d)O(l,e,p,f,n,i,o);else if(2&d&&p.class!==f.class&&s(l,"class",null,f.class,o),4&d&&s(l,"style",p.style,f.style,o),8&d){const r=e.dynamicProps;for(let e=0;e<r.length;e++){const a=r[e],c=p[a],d=f[a];d===c&&"value"!==a||s(l,a,c,d,o,t.children,n,i,Y)}}1&d&&t.children!==e.children&&c(l,e.children)}else a||null!=h||O(l,e,p,f,n,i,o);((g=f.onVnodeUpdated)||u)&&Ms((()=>{g&&ko(g,n,e,t),u&&vs(e,t,n,"updated")}),i)},E=(t,e,n,i,s,o,r)=>{for(let a=0;a<e.length;a++){const l=t[a],c=e[a],h=l.el&&(l.type===Us||!ao(l,c)||70&l.shapeFlag)?d(l.el):n;g(l,c,h,null,i,s,o,r,!0)}},O=(t,e,n,i,o,r,a)=>{if(n!==i){for(const l in i){if(q(l))continue;const c=i[l],d=n[l];c!==d&&"value"!==l&&s(t,l,d,c,a,e.children,o,r,Y)}if(n!==S)for(const l in n)q(l)||l in i||s(t,l,n[l],null,a,e.children,o,r,Y);"value"in i&&s(t,"value",n.value,i.value)}},T=(t,e,i,s,o,a,l,c,d)=>{const h=e.el=t?t.el:r(""),u=e.anchor=t?t.anchor:r("");let{patchFlag:p,dynamicChildren:f,slotScopeIds:g}=e;g&&(c=c?c.concat(g):g),null==t?(n(h,i,s),n(u,i,s),A(e.children,i,u,o,a,l,c,d)):p>0&&64&p&&f&&t.dynamicChildren?(E(t.dynamicChildren,f,i,o,a,l,c),(null!=e.key||o&&e===o.subTree)&&Ls(t,e,!0)):N(t,e,i,u,o,a,l,c,d)},P=(t,e,n,i,s,o,r,a,l)=>{e.slotScopeIds=a,null==t?512&e.shapeFlag?s.ctx.activate(e,n,i,r,l):L(e,n,i,s,o,r,l):I(t,e,l)},L=(t,e,n,i,s,o,r)=>{const a=t.component=No(t,i,s);if(ki(t)&&(a.ctx.renderer=K),Uo(a),a.asyncDep){if(s&&s.registerDep(a,R),!t.el){const t=a.subTree=fo(qs);b(null,t,e,n)}}else R(a,t,e,n,s,o,r)},I=(t,e,n)=>{const i=e.component=t.component;if(function(t,e,n){const{props:i,children:s,component:o}=t,{props:r,children:a,patchFlag:l}=e,c=o.emitsOptions;if(e.dirs||e.transition)return!0;if(!(n&&l>=0))return!(!s&&!a||a&&a.$stable)||i!==r&&(i?!r||Gn(i,r,c):!!r);if(1024&l)return!0;if(16&l)return i?Gn(i,r,c):!!r;if(8&l){const t=e.dynamicProps;for(let e=0;e<t.length;e++){const n=t[e];if(r[n]!==i[n]&&!Rn(c,n))return!0}}return!1}(t,e,n)){if(i.asyncDep&&!i.asyncResolved)return void F(i,e,n);i.next=e,function(t){const e=cn.indexOf(t);e>dn&&cn.splice(e,1)}(i.update),i.update()}else e.component=t.component,e.el=t.el,i.vnode=e},R=(t,e,n,i,s,o,r)=>{const a=t.effect=new kt((()=>{if(t.isMounted){let e,{next:n,bu:i,u:a,parent:l,vnode:c}=t,h=n;0,Ps(t,!1),n?(n.el=c.el,F(t,n,r)):n=c,i&&st(i),(e=n.props&&n.props.onVnodeBeforeUpdate)&&ko(e,l,n,c),Ps(t,!0);const u=Hn(t);0;const p=t.subTree;t.subTree=u,g(p,u,d(p.el),U(p),t,s,o),n.el=u.el,null===h&&qn(t,u.el),a&&Ms(a,s),(e=n.props&&n.props.onVnodeUpdated)&&Ms((()=>ko(e,l,n,c)),s)}else{let r;const{el:a,props:l}=e,{bm:c,m:d,parent:h}=t,u=wi(e);if(Ps(t,!1),c&&st(c),!u&&(r=l&&l.onVnodeBeforeMount)&&ko(r,h,e),Ps(t,!0),a&&Z){const n=()=>{t.subTree=Hn(t),Z(a,t.subTree,t,s,null)};u?e.type.__asyncLoader().then((()=>!t.isUnmounted&&n())):n()}else{0;const r=t.subTree=Hn(t);0,g(null,r,n,i,t,s,o),e.el=r.el}if(d&&Ms(d,s),!u&&(r=l&&l.onVnodeMounted)){const t=e;Ms((()=>ko(r,h,t)),s)}256&e.shapeFlag&&t.a&&Ms(t.a,s),t.isMounted=!0,e=n=i=null}}),(()=>_n(t.update)),t.scope),l=t.update=a.run.bind(a);l.id=t.uid,Ps(t,!0),l()},F=(t,e,n)=>{e.component=t;const i=t.vnode.props;t.vnode=e,t.next=null,function(t,e,n,i){const{props:s,attrs:o,vnode:{patchFlag:r}}=t,a=Le(s),[l]=t.propsOptions;let c=!1;if(!(i||r>0)||16&r){let i;is(t,e,s,o)&&(c=!0);for(const o in a)e&&(D(e,o)||(i=tt(o))!==o&&D(e,i))||(l?!n||void 0===n[o]&&void 0===n[i]||(s[o]=ss(l,a,o,void 0,t,!0)):delete s[o]);if(o!==a)for(const t in o)e&&D(e,t)||(delete o[t],c=!0)}else if(8&r){const n=t.vnode.dynamicProps;for(let i=0;i<n.length;i++){let r=n[i];const d=e[r];if(l)if(D(o,r))d!==o[r]&&(o[r]=d,c=!0);else{const e=J(r);s[e]=ss(l,a,e,d,t,!1)}else d!==o[r]&&(o[r]=d,c=!0)}}c&&Rt(t,"set","$attrs")}(t,e.props,i,n),ms(t,e.children,n),Pt(),kn(void 0,t.update),Lt()},N=(t,e,n,i,s,o,r,a,l=!1)=>{const d=t&&t.children,h=t?t.shapeFlag:0,u=e.children,{patchFlag:p,shapeFlag:f}=e;if(p>0){if(128&p)return void B(d,u,n,i,s,o,r,a,l);if(256&p)return void j(d,u,n,i,s,o,r,a,l)}8&f?(16&h&&Y(d,s,o),u!==d&&c(n,u)):16&h?16&f?B(d,u,n,i,s,o,r,a,l):Y(d,s,o,!0):(8&h&&c(n,""),16&f&&A(u,n,i,s,o,r,a,l))},j=(t,e,n,i,s,o,r,a,l)=>{e=e||C;const c=(t=t||C).length,d=e.length,h=Math.min(c,d);let u;for(u=0;u<h;u++){const i=e[u]=l?wo(e[u]):_o(e[u]);g(t[u],i,n,null,s,o,r,a,l)}c>d?Y(t,s,o,!0,!1,h):A(e,n,i,s,o,r,a,l,h)},B=(t,e,n,i,s,o,r,a,l)=>{let c=0;const d=e.length;let h=t.length-1,u=d-1;for(;c<=h&&c<=u;){const i=t[c],d=e[c]=l?wo(e[c]):_o(e[c]);if(!ao(i,d))break;g(i,d,n,null,s,o,r,a,l),c++}for(;c<=h&&c<=u;){const i=t[h],c=e[u]=l?wo(e[u]):_o(e[u]);if(!ao(i,c))break;g(i,c,n,null,s,o,r,a,l),h--,u--}if(c>h){if(c<=u){const t=u+1,h=t<d?e[t].el:i;for(;c<=u;)g(null,e[c]=l?wo(e[c]):_o(e[c]),n,h,s,o,r,a,l),c++}}else if(c>u)for(;c<=h;)z(t[c],s,o,!0),c++;else{const p=c,f=c,m=new Map;for(c=f;c<=u;c++){const t=e[c]=l?wo(e[c]):_o(e[c]);null!=t.key&&m.set(t.key,c)}let b,v=0;const y=u-f+1;let x=!1,_=0;const w=new Array(y);for(c=0;c<y;c++)w[c]=0;for(c=p;c<=h;c++){const i=t[c];if(v>=y){z(i,s,o,!0);continue}let d;if(null!=i.key)d=m.get(i.key);else for(b=f;b<=u;b++)if(0===w[b-f]&&ao(i,e[b])){d=b;break}void 0===d?z(i,s,o,!0):(w[d-f]=c+1,d>=_?_=d:x=!0,g(i,e[d],n,null,s,o,r,a,l),v++)}const S=x?function(t){const e=t.slice(),n=[0];let i,s,o,r,a;const l=t.length;for(i=0;i<l;i++){const l=t[i];if(0!==l){if(s=n[n.length-1],t[s]<l){e[i]=s,n.push(i);continue}for(o=0,r=n.length-1;o<r;)a=o+r>>1,t[n[a]]<l?o=a+1:r=a;l<t[n[o]]&&(o>0&&(e[i]=n[o-1]),n[o]=i)}}o=n.length,r=n[o-1];for(;o-- >0;)n[o]=r,r=e[r];return n}(w):C;for(b=S.length-1,c=y-1;c>=0;c--){const t=f+c,h=e[t],u=t+1<d?e[t+1].el:i;0===w[c]?g(null,h,n,u,s,o,r,a,l):x&&(b<0||c!==S[b]?$(h,n,u,2):b--)}}},$=(t,e,i,s,o=null)=>{const{el:r,type:a,transition:l,children:c,shapeFlag:d}=t;if(6&d)return void $(t.component.subTree,e,i,s);if(128&d)return void t.suspense.move(e,i,s);if(64&d)return void a.move(t,e,i,K);if(a===Us){n(r,e,i);for(let t=0;t<c.length;t++)$(c[t],e,i,s);return void n(t.anchor,e,i)}if(a===Ks)return void(({el:t,anchor:e},i,s)=>{let o;for(;t&&t!==e;)o=h(t),n(t,i,s),t=o;n(e,i,s)})(t,e,i);if(2!==s&&1&d&&l)if(0===s)l.beforeEnter(r),n(r,e,i),Ms((()=>l.enter(r)),o);else{const{leave:t,delayLeave:s,afterLeave:o}=l,a=()=>n(r,e,i),c=()=>{t(r,(()=>{a(),o&&o()}))};s?s(r,a,c):c()}else n(r,e,i)},z=(t,e,n,i=!1,s=!1)=>{const{type:o,props:r,ref:a,children:l,dynamicChildren:c,shapeFlag:d,patchFlag:h,dirs:u}=t;if(null!=a&&ws(a,null,n,t,!0),256&d)return void e.ctx.deactivate(t);const p=1&d&&u,f=!wi(t);let g;if(f&&(g=r&&r.onVnodeBeforeUnmount)&&ko(g,e,t),6&d)W(t.component,n,i);else{if(128&d)return void t.suspense.unmount(n,i);p&&vs(t,null,e,"beforeUnmount"),64&d?t.type.remove(t,e,n,s,K,i):c&&(o!==Us||h>0&&64&h)?Y(c,e,n,!1,!0):(o===Us&&384&h||!s&&16&d)&&Y(l,e,n),i&&V(t)}(f&&(g=r&&r.onVnodeUnmounted)||p)&&Ms((()=>{g&&ko(g,e,t),p&&vs(t,null,e,"unmounted")}),n)},V=t=>{const{type:e,el:n,anchor:s,transition:o}=t;if(e===Us)return void H(n,s);if(e===Ks)return void y(t);const r=()=>{i(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&t.shapeFlag&&o&&!o.persisted){const{leave:e,delayLeave:i}=o,s=()=>e(n,r);i?i(t.el,r,s):s()}else r()},H=(t,e)=>{let n;for(;t!==e;)n=h(t),i(t),t=n;i(e)},W=(t,e,n)=>{const{bum:i,scope:s,update:o,subTree:r,um:a}=t;i&&st(i),s.stop(),o&&(o.active=!1,z(r,t,e,n)),a&&Ms(a,e),Ms((()=>{t.isUnmounted=!0}),e),e&&e.pendingBranch&&!e.isUnmounted&&t.asyncDep&&!t.asyncResolved&&t.suspenseId===e.pendingId&&(e.deps--,0===e.deps&&e.resolve())},Y=(t,e,n,i=!1,s=!1,o=0)=>{for(let r=o;r<t.length;r++)z(t[r],e,n,i,s)},U=t=>6&t.shapeFlag?U(t.component.subTree):128&t.shapeFlag?t.suspense.next():h(t.anchor||t.el),G=(t,e,n)=>{null==t?e._vnode&&z(e._vnode,null,null,!0):g(e._vnode||null,t,e,null,null,null,n),An(),e._vnode=t},K={p:g,um:z,m:$,r:V,mt:L,mc:A,pc:N,pbc:E,n:U,o:t};let X,Z;return e&&([X,Z]=e(K)),{render:G,hydrate:X,createApp:_s(G,X)}}function Ps({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Ls(t,e,n=!1){const i=t.children,s=e.children;if(I(i)&&I(s))for(let t=0;t<i.length;t++){const e=i[t];let o=s[t];1&o.shapeFlag&&!o.dynamicChildren&&((o.patchFlag<=0||32===o.patchFlag)&&(o=s[t]=wo(s[t]),o.el=e.el),n||Ls(e,o))}}const Ds=t=>t&&(t.disabled||""===t.disabled),Is=t=>"undefined"!=typeof SVGElement&&t instanceof SVGElement,Rs=(t,e)=>{const n=t&&t.to;if(B(n)){if(e){const t=e(n);return t}return null}return n};function Fs(t,e,n,{o:{insert:i},m:s},o=2){0===o&&i(t.targetAnchor,e,n);const{el:r,anchor:a,shapeFlag:l,children:c,props:d}=t,h=2===o;if(h&&i(r,e,n),(!h||Ds(d))&&16&l)for(let t=0;t<c.length;t++)s(c[t],e,n,2);h&&i(a,e,n)}const Ns={__isTeleport:!0,process(t,e,n,i,s,o,r,a,l,c){const{mc:d,pc:h,pbc:u,o:{insert:p,querySelector:f,createText:g,createComment:m}}=c,b=Ds(e.props);let{shapeFlag:v,children:y,dynamicChildren:x}=e;if(null==t){const t=e.el=g(""),c=e.anchor=g("");p(t,n,i),p(c,n,i);const h=e.target=Rs(e.props,f),u=e.targetAnchor=g("");h&&(p(u,h),r=r||Is(h));const m=(t,e)=>{16&v&&d(y,t,e,s,o,r,a,l)};b?m(n,c):h&&m(h,u)}else{e.el=t.el;const i=e.anchor=t.anchor,d=e.target=t.target,p=e.targetAnchor=t.targetAnchor,g=Ds(t.props),m=g?n:d,v=g?i:p;if(r=r||Is(d),x?(u(t.dynamicChildren,x,m,s,o,r,a),Ls(t,e,!0)):l||h(t,e,m,v,s,o,r,a,!1),b)g||Fs(e,n,i,c,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const t=e.target=Rs(e.props,f);t&&Fs(e,t,null,c,0)}else g&&Fs(e,d,p,c,1)}},remove(t,e,n,i,{um:s,o:{remove:o}},r){const{shapeFlag:a,children:l,anchor:c,targetAnchor:d,target:h,props:u}=t;if(h&&o(d),(r||!Ds(u))&&(o(c),16&a))for(let t=0;t<l.length;t++){const i=l[t];s(i,e,n,!0,!!i.dynamicChildren)}},move:Fs,hydrate:function(t,e,n,i,s,o,{o:{nextSibling:r,parentNode:a,querySelector:l}},c){const d=e.target=Rs(e.props,l);if(d){const l=d._lpa||d.firstChild;16&e.shapeFlag&&(Ds(e.props)?(e.anchor=c(r(t),e,a(t),n,i,s,o),e.targetAnchor=l):(e.anchor=r(t),e.targetAnchor=c(l,e,d,n,i,s,o)),d._lpa=e.targetAnchor&&r(e.targetAnchor))}return e.anchor&&r(e.anchor)}},js="components",Bs="directives";function $s(t,e){return Ws(js,t,!0,e)||t}const zs=Symbol();function Vs(t){return B(t)?Ws(js,t,!1)||t:t||zs}function Hs(t){return Ws(Bs,t)}function Ws(t,e,n=!0,i=!1){const s=Fn||jo;if(s){const n=s.type;if(t===js){const t=er(n);if(t&&(t===e||t===J(e)||t===et(J(e))))return n}const o=Ys(s[t]||n[t],e)||Ys(s.appContext[t],e);return!o&&i?n:o}}function Ys(t,e){return t&&(t[e]||t[J(e)]||t[et(J(e))])}const Us=Symbol(void 0),Gs=Symbol(void 0),qs=Symbol(void 0),Ks=Symbol(void 0),Xs=[];let Zs=null;function Js(t=!1){Xs.push(Zs=t?null:[])}function Qs(){Xs.pop(),Zs=Xs[Xs.length-1]||null}let to,eo=1;function no(t){eo+=t}function io(t){return t.dynamicChildren=eo>0?Zs||C:null,Qs(),eo>0&&Zs&&Zs.push(t),t}function so(t,e,n,i,s,o){return io(po(t,e,n,i,s,o,!0))}function oo(t,e,n,i,s){return io(fo(t,e,n,i,s,!0))}function ro(t){return!!t&&!0===t.__v_isVNode}function ao(t,e){return t.type===e.type&&t.key===e.key}function lo(t){to=t}const co="__vInternal",ho=({key:t})=>null!=t?t:null,uo=({ref:t,ref_key:e,ref_for:n})=>null!=t?B(t)||je(t)||j(t)?{i:Fn,r:t,k:e,f:!!n}:t:null;function po(t,e=null,n=null,i=0,s=null,o=(t===Us?0:1),r=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&ho(e),ref:e&&uo(e),scopeId:Nn,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:o,patchFlag:i,dynamicProps:s,dynamicChildren:null,appContext:null};return a?(So(l,n),128&o&&t.normalize(l)):n&&(l.shapeFlag|=B(n)?8:16),eo>0&&!r&&Zs&&(l.patchFlag>0||6&o)&&32!==l.patchFlag&&Zs.push(l),l}const fo=go;function go(t,e=null,n=null,i=0,s=null,o=!1){if(t&&t!==zs||(t=qs),ro(t)){const i=bo(t,e,!0);return n&&So(i,n),i}if(ir(t)&&(t=t.__vccOpts),e){e=mo(e);let{class:t,style:n}=e;t&&!B(t)&&(e.class=f(t)),z(n)&&(Pe(n)&&!I(n)&&(n=T({},n)),e.style=d(n))}return po(t,e,n,i,s,B(t)?1:(t=>t.__isSuspense)(t)?128:(t=>t.__isTeleport)(t)?64:z(t)?4:j(t)?2:0,o,!0)}function mo(t){return t?Pe(t)||co in t?T({},t):t:null}function bo(t,e,n=!1){const{props:i,ref:s,patchFlag:o,children:r}=t,a=e?Co(i||{},e):i;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&ho(a),ref:e&&e.ref?n&&s?I(s)?s.concat(uo(e)):[s,uo(e)]:uo(e):s,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:r,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Us?-1===o?16:16|o:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&bo(t.ssContent),ssFallback:t.ssFallback&&bo(t.ssFallback),el:t.el,anchor:t.anchor}}function vo(t=" ",e=0){return fo(Gs,null,t,e)}function yo(t,e){const n=fo(Ks,null,t);return n.staticCount=e,n}function xo(t="",e=!1){return e?(Js(),oo(qs,null,t)):fo(qs,null,t)}function _o(t){return null==t||"boolean"==typeof t?fo(qs):I(t)?fo(Us,null,t.slice()):"object"==typeof t?wo(t):fo(Gs,null,String(t))}function wo(t){return null===t.el||t.memo?t:bo(t)}function So(t,e){let n=0;const{shapeFlag:i}=t;if(null==e)e=null;else if(I(e))n=16;else if("object"==typeof e){if(65&i){const n=e.default;return void(n&&(n._c&&(n._d=!1),So(t,n()),n._c&&(n._d=!0)))}{n=32;const i=e._;i||co in e?3===i&&Fn&&(1===Fn.slots._?e._=1:(e._=2,t.patchFlag|=1024)):e._ctx=Fn}}else j(e)?(e={default:e,_ctx:Fn},n=32):(e=String(e),64&i?(n=16,e=[vo(e)]):n=8);t.children=e,t.shapeFlag|=n}function Co(...t){const e={};for(let n=0;n<t.length;n++){const i=t[n];for(const t in i)if("class"===t)e.class!==i.class&&(e.class=f([e.class,i.class]));else if("style"===t)e.style=d([e.style,i.style]);else if(E(t)){const n=e[t],s=i[t];!s||n===s||I(n)&&n.includes(s)||(e[t]=n?[].concat(n,s):s)}else""!==t&&(e[t]=i[t])}return e}function ko(t,e,n,i=null){on(t,e,7,[n,i])}function Ao(t,e,n,i){let s;const o=n&&n[i];if(I(t)||B(t)){s=new Array(t.length);for(let n=0,i=t.length;n<i;n++)s[n]=e(t[n],n,void 0,o&&o[n])}else if("number"==typeof t){0,s=new Array(t);for(let n=0;n<t;n++)s[n]=e(n+1,n,void 0,o&&o[n])}else if(z(t))if(t[Symbol.iterator])s=Array.from(t,((t,n)=>e(t,n,void 0,o&&o[n])));else{const n=Object.keys(t);s=new Array(n.length);for(let i=0,r=n.length;i<r;i++){const r=n[i];s[i]=e(t[r],r,i,o&&o[i])}}else s=[];return n&&(n[i]=s),s}function Mo(t,e){for(let n=0;n<e.length;n++){const i=e[n];if(I(i))for(let e=0;e<i.length;e++)t[i[e].name]=i[e].fn;else i&&(t[i.name]=i.fn)}return t}function Eo(t,e,n={},i,s){if(Fn.isCE)return fo("slot","default"===e?null:{name:e},i&&i());let o=t[e];o&&o._c&&(o._d=!1),Js();const r=o&&Oo(o(n)),a=oo(Us,{key:n.key||`_${e}`},r||(i?i():[]),r&&1===t._?64:-2);return!s&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),o&&o._c&&(o._d=!0),a}function Oo(t){return t.some((t=>!ro(t)||t.type!==qs&&!(t.type===Us&&!Oo(t.children))))?t:null}function To(t){const e={};for(const n in t)e[nt(n)]=t[n];return e}const Po=t=>t?Vo(t)?Jo(t)||t.proxy:Po(t.parent):null,Lo=T(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=>Po(t.parent),$root:t=>Po(t.root),$emit:t=>t.emit,$options:t=>Xi(t),$forceUpdate:t=>()=>_n(t.update),$nextTick:t=>xn.bind(t.proxy),$watch:t=>ci.bind(t)}),Do={get({_:t},e){const{ctx:n,setupState:i,data:s,props:o,accessCache:r,type:a,appContext:l}=t;
2let c;if("$"!==e[0]){const a=r[e];if(void 0!==a)switch(a){case 1:return i[e];case 2:return s[e];case 4:return n[e];case 3:return o[e]}else{if(i!==S&&D(i,e))return r[e]=1,i[e];if(s!==S&&D(s,e))return r[e]=2,s[e];if((c=t.propsOptions[0])&&D(c,e))return r[e]=3,o[e];if(n!==S&&D(n,e))return r[e]=4,n[e];Ui&&(r[e]=0)}}const d=Lo[e];let h,u;return d?("$attrs"===e&&Dt(t,0,e),d(t)):(h=a.__cssModules)&&(h=h[e])?h:n!==S&&D(n,e)?(r[e]=4,n[e]):(u=l.config.globalProperties,D(u,e)?u[e]:void 0)},set({_:t},e,n){const{data:i,setupState:s,ctx:o}=t;return s!==S&&D(s,e)?(s[e]=n,!0):i!==S&&D(i,e)?(i[e]=n,!0):!D(t.props,e)&&(("$"!==e[0]||!(e.slice(1)in t))&&(o[e]=n,!0))},has({_:{data:t,setupState:e,accessCache:n,ctx:i,appContext:s,propsOptions:o}},r){let a;return!!n[r]||t!==S&&D(t,r)||e!==S&&D(e,r)||(a=o[0])&&D(a,r)||D(i,r)||D(Lo,r)||D(s.config.globalProperties,r)},defineProperty(t,e,n){return null!=n.get?this.set(t,e,n.get(),null):null!=n.value&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};const Io=T({},Do,{get(t,e){if(e!==Symbol.unscopables)return Do.get(t,e,t)},has:(t,e)=>"_"!==e[0]&&!r(e)});const Ro=ys();let Fo=0;function No(t,e,n){const i=t.type,s=(e?e.appContext:t.appContext)||Ro,o={uid:Fo++,vnode:t,type:i,parent:e,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new dt(!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:os(i,s),emitsOptions:In(i,s),emit:null,emitted:null,propsDefaults:S,inheritAttrs:i.inheritAttrs,ctx:S,data:S,props:S,attrs:S,slots:S,refs:S,setupState:S,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 o.ctx={_:o},o.root=e?e.root:o,o.emit=Dn.bind(null,o),t.ce&&t.ce(o),o}let jo=null;const Bo=()=>jo||Fn,$o=t=>{jo=t,t.scope.on()},zo=()=>{jo&&jo.scope.off(),jo=null};function Vo(t){return 4&t.vnode.shapeFlag}let Ho,Wo,Yo=!1;function Uo(t,e=!1){Yo=e;const{props:n,children:i}=t.vnode,s=Vo(t);!function(t,e,n,i=!1){const s={},o={};ot(o,co,1),t.propsDefaults=Object.create(null),is(t,e,s,o);for(const e in t.propsOptions[0])e in s||(s[e]=void 0);n?t.props=i?s:Ce(s):t.type.props?t.props=s:t.props=o,t.attrs=o}(t,n,s,e),gs(t,i);const o=s?function(t,e){const n=t.type;0;t.accessCache=Object.create(null),t.proxy=De(new Proxy(t.ctx,Do)),!1;const{setup:i}=n;if(i){const n=t.setupContext=i.length>1?Zo(t):null;$o(t),Pt();const s=sn(i,t,0,[t.props,n]);if(Lt(),zo(),V(s)){if(s.then(zo,zo),e)return s.then((n=>{Go(t,n,e)})).catch((e=>{rn(e,t,0)}));t.asyncDep=s}else Go(t,s,e)}else Xo(t,e)}(t,e):void 0;return Yo=!1,o}function Go(t,e,n){j(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:z(e)&&(t.setupState=Ue(e)),Xo(t,n)}function qo(t){Ho=t,Wo=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Io))}}const Ko=()=>!Ho;function Xo(t,e,n){const i=t.type;if(!t.render){if(!e&&Ho&&!i.render){const e=i.template;if(e){0;const{isCustomElement:n,compilerOptions:s}=t.appContext.config,{delimiters:o,compilerOptions:r}=i,a=T(T({isCustomElement:n,delimiters:o},s),r);i.render=Ho(e,a)}}t.render=i.render||k,Wo&&Wo(t)}$o(t),Pt(),Gi(t),Lt(),zo()}function Zo(t){const e=e=>{t.exposed=e||{}};let n;return{get attrs(){return n||(n=function(t){return new Proxy(t.attrs,{get:(e,n)=>(Dt(t,0,"$attrs"),e[n])})}(t))},slots:t.slots,emit:t.emit,expose:e}}function Jo(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(Ue(De(t.exposed)),{get:(e,n)=>n in e?e[n]:n in Lo?Lo[n](t):void 0}))}const Qo=/(?:^|[-_])(\w)/g,tr=t=>t.replace(Qo,(t=>t.toUpperCase())).replace(/[-_]/g,"");function er(t){return j(t)&&t.displayName||t.name}function nr(t,e,n=!1){let i=er(e);if(!i&&e.__file){const t=e.__file.match(/([^/\\]+)\.\w+$/);t&&(i=t[1])}if(!i&&t&&t.parent){const n=t=>{for(const n in t)if(t[n]===e)return n};i=n(t.components||t.parent.type.components)||n(t.appContext.components)}return i?tr(i):n?"App":"Anonymous"}function ir(t){return j(t)&&"__vccOpts"in t}const sr=(t,e)=>function(t,e,n=!1){let i,s;const o=j(t);return o?(i=t,s=k):(i=t.get,s=t.set),new Je(i,s,o||!s,n)}(t,0,Yo);function or(){return null}function rr(){return null}function ar(t){0}function lr(t,e){return null}function cr(){return hr().slots}function dr(){return hr().attrs}function hr(){const t=Bo();return t.setupContext||(t.setupContext=Zo(t))}function ur(t,e){const n=I(t)?t.reduce(((t,e)=>(t[e]={},t)),{}):t;for(const t in e){const i=n[t];i?I(i)||j(i)?n[t]={type:i,default:e[t]}:i.default=e[t]:null===i&&(n[t]={default:e[t]})}return n}function pr(t,e){const n={};for(const i in t)e.includes(i)||Object.defineProperty(n,i,{enumerable:!0,get:()=>t[i]});return n}function fr(t){const e=Bo();let n=t();return zo(),V(n)&&(n=n.catch((t=>{throw $o(e),t}))),[n,()=>$o(e)]}function gr(t,e,n){const i=arguments.length;return 2===i?z(e)&&!I(e)?ro(e)?fo(t,null,[e]):fo(t,e):fo(t,null,e):(i>3?n=Array.prototype.slice.call(arguments,2):3===i&&ro(n)&&(n=[n]),fo(t,e,n))}const mr=Symbol(""),br=()=>{{const t=ni(mr);return t||tn("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),t}};function vr(){return void 0}function yr(t,e,n,i){const s=n[i];if(s&&xr(s,t))return s;const o=e();return o.memo=t.slice(),n[i]=o}function xr(t,e){const n=t.memo;if(n.length!=e.length)return!1;for(let t=0;t<n.length;t++)if(n[t]!==e[t])return!1;return eo>0&&Zs&&Zs.push(t),!0}const _r="3.2.31",wr={createComponentInstance:No,setupComponent:Uo,renderComponentRoot:Hn,setCurrentRenderingInstance:jn,isVNode:ro,normalizeVNode:_o},Sr=null,Cr=null,kr="undefined"!=typeof document?document:null,Ar=kr&&kr.createElement("template"),Mr={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,i)=>{const s=e?kr.createElementNS("http://www.w3.org/2000/svg",t):kr.createElement(t,n?{is:n}:void 0);return"select"===t&&i&&null!=i.multiple&&s.setAttribute("multiple",i.multiple),s},createText:t=>kr.createTextNode(t),createComment:t=>kr.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>kr.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,i,s,o){const r=n?n.previousSibling:e.lastChild;if(s&&(s===o||s.nextSibling))for(;e.insertBefore(s.cloneNode(!0),n),s!==o&&(s=s.nextSibling););else{Ar.innerHTML=i?`<svg>${t}</svg>`:t;const s=Ar.content;if(i){const t=s.firstChild;for(;t.firstChild;)s.appendChild(t.firstChild);s.removeChild(t)}e.insertBefore(s,n)}return[r?r.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}};const Er=/\s*!important$/;function Or(t,e,n){if(I(n))n.forEach((n=>Or(t,e,n)));else if(e.startsWith("--"))t.setProperty(e,n);else{const i=function(t,e){const n=Pr[e];
2if(n)return n;let i=J(e);if("filter"!==i&&i in t)return Pr[e]=i;i=et(i);for(let n=0;n<Tr.length;n++){const s=Tr[n]+i;if(s in t)return Pr[e]=s}return e}(t,e);Er.test(n)?t.setProperty(tt(i),n.replace(Er,""),"important"):t[i]=n}}const Tr=["Webkit","Moz","ms"],Pr={};const Lr="http://www.w3.org/1999/xlink";let Dr=Date.now,Ir=!1;if("undefined"!=typeof window){Dr()>document.createEvent("Event").timeStamp&&(Dr=()=>performance.now());const t=navigator.userAgent.match(/firefox\/(\d+)/i);Ir=!!(t&&Number(t[1])<=53)}let Rr=0;const Fr=Promise.resolve(),Nr=()=>{Rr=0},jr=()=>Rr||(Fr.then(Nr),Rr=Dr());function Br(t,e,n,i){t.addEventListener(e,n,i)}function $r(t,e,n,i,s=null){const o=t._vei||(t._vei={}),r=o[e];if(i&&r)r.value=i;else{const[n,a]=function(t){let e;if(zr.test(t)){let n;for(e={};n=t.match(zr);)t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[tt(t.slice(2)),e]}(e);if(i){const r=o[e]=function(t,e){const n=t=>{const i=t.timeStamp||Dr();(Ir||i>=n.attached-1)&&on(function(t,e){if(I(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}(t,n.value),e,5,[t])};return n.value=t,n.attached=jr(),n}(i,s);Br(t,n,r,a)}else r&&(!function(t,e,n,i){t.removeEventListener(e,n,i)}(t,n,r,a),o[e]=void 0)}}const zr=/(?:Once|Passive|Capture)$/;const Vr=/^on[a-z]/;function Hr(t,e){const n=_i(t);class i extends Ur{constructor(t){super(n,t,e)}}return i.def=n,i}const Wr=t=>Hr(t,Ga),Yr="undefined"!=typeof HTMLElement?HTMLElement:class{};class Ur extends Yr{constructor(t,e={},n){super(),this._def=t,this._props=e,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&n?n(this._createVNode(),this.shadowRoot):this.attachShadow({mode:"open"})}connectedCallback(){this._connected=!0,this._instance||this._resolveDef()}disconnectedCallback(){this._connected=!1,xn((()=>{this._connected||(Ua(null,this.shadowRoot),this._instance=null)}))}_resolveDef(){if(this._resolved)return;this._resolved=!0;for(let t=0;t<this.attributes.length;t++)this._setAttr(this.attributes[t].name);new MutationObserver((t=>{for(const e of t)this._setAttr(e.attributeName)})).observe(this,{attributes:!0});const t=t=>{const{props:e,styles:n}=t,i=!I(e),s=e?i?Object.keys(e):e:[];let o;if(i)for(const t in this._props){const n=e[t];(n===Number||n&&n.type===Number)&&(this._props[t]=rt(this._props[t]),(o||(o=Object.create(null)))[t]=!0)}this._numberProps=o;for(const t of Object.keys(this))"_"!==t[0]&&this._setProp(t,this[t],!0,!1);for(const t of s.map(J))Object.defineProperty(this,t,{get(){return this._getProp(t)},set(e){this._setProp(t,e)}});this._applyStyles(n),this._update()},e=this._def.__asyncLoader;e?e().then(t):t(this._def)}_setAttr(t){let e=this.getAttribute(t);this._numberProps&&this._numberProps[t]&&(e=rt(e)),this._setProp(J(t),e,!1)}_getProp(t){return this._props[t]}_setProp(t,e,n=!0,i=!0){e!==this._props[t]&&(this._props[t]=e,i&&this._instance&&this._update(),n&&(!0===e?this.setAttribute(tt(t),""):"string"==typeof e||"number"==typeof e?this.setAttribute(tt(t),e+""):e||this.removeAttribute(tt(t))))}_update(){Ua(this._createVNode(),this.shadowRoot)}_createVNode(){const t=fo(this._def,T({},this._props));return this._instance||(t.ce=t=>{this._instance=t,t.isCE=!0,t.emit=(t,...e)=>{this.dispatchEvent(new CustomEvent(t,{detail:e}))};let e=this;for(;e=e&&(e.parentNode||e.host);)if(e instanceof Ur){t.parent=e._instance;break}}),t}_applyStyles(t){t&&t.forEach((t=>{const e=document.createElement("style");e.textContent=t,this.shadowRoot.appendChild(e)}))}}function Gr(t="$style"){{const e=Bo();if(!e)return S;const n=e.type.__cssModules;if(!n)return S;const i=n[t];return i||S}}function qr(t){const e=Bo();if(!e)return;const n=()=>Kr(e.subTree,t(e.proxy));si(n),Ni((()=>{const t=new MutationObserver(n);t.observe(e.subTree.el.parentNode,{childList:!0}),zi((()=>t.disconnect()))}))}function Kr(t,e){if(128&t.shapeFlag){const n=t.suspense;t=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{Kr(n.activeBranch,e)}))}for(;t.component;)t=t.component.subTree;if(1&t.shapeFlag&&t.el)Xr(t.el,e);
vendor: 3,855 bytes, line 2
2else if(t.type===Us)t.children.forEach((t=>Kr(t,e)));else if(t.type===Ks){let{el:n,anchor:i}=t;for(;n&&(Xr(n,e),n!==i);)n=n.nextSibling}}function Xr(t,e){if(1===t.nodeType){const n=t.style;for(const t in e)n.setProperty(`--${t}`,e[t])}}const Zr="transition",Jr="animation",Qr=(t,{slots:e})=>gr(fi,sa(t),e);Qr.displayName="Transition";const ta={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},ea=Qr.props=T({},fi.props,ta),na=(t,e=[])=>{I(t)?t.forEach((t=>t(...e))):t&&t(...e)},ia=t=>!!t&&(I(t)?t.some((t=>t.length>1)):t.length>1);function sa(t){const e={};for(const n in t)n in ta||(e[n]=t[n]);if(!1===t.css)return e;const{name:n="v",type:i,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:r=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=r,appearToClass:d=a,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:u=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=t,f=function(t){if(null==t)return null;if(z(t))return[oa(t.enter),oa(t.leave)];{const e=oa(t);return[e,e]}}(s),g=f&&f[0],m=f&&f[1],{onBeforeEnter:b,onEnter:v,onEnterCancelled:y,onLeave:x,onLeaveCancelled:_,onBeforeAppear:w=b,onAppear:S=v,onAppearCancelled:C=y}=e,k=(t,e,n)=>{aa(t,e?d:a),aa(t,e?c:r),n&&n()},A=(t,e)=>{aa(t,p),aa(t,u),e&&e()},M=t=>(e,n)=>{const s=t?S:v,r=()=>k(e,t,n);na(s,[e,r]),la((()=>{aa(e,t?l:o),ra(e,t?d:a),ia(s)||da(e,i,g,r)}))};return T(e,{onBeforeEnter(t){na(b,[t]),ra(t,o),ra(t,r)},onBeforeAppear(t){na(w,[t]),ra(t,l),ra(t,c)},onEnter:M(!1),onAppear:M(!0),onLeave(t,e){const n=()=>A(t,e);ra(t,h),fa(),ra(t,u),la((()=>{aa(t,h),ra(t,p),ia(x)||da(t,i,m,n)})),na(x,[t,n])},onEnterCancelled(t){k(t,!1),na(y,[t])},onAppearCancelled(t){k(t,!0),na(C,[t])},onLeaveCancelled(t){A(t),na(_,[t])}})}function oa(t){return rt(t)}function ra(t,e){e.split(/\s+/).forEach((e=>e&&t.classList.add(e))),(t._vtc||(t._vtc=new Set)).add(e)}function aa(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 la(t){requestAnimationFrame((()=>{requestAnimationFrame(t)}))}let ca=0;function da(t,e,n,i){const s=t._endId=++ca,o=()=>{s===t._endId&&i()};if(n)return setTimeout(o,n);const{type:r,timeout:a,propCount:l}=ha(t,e);if(!r)return i();const c=r+"end";let d=0;const h=()=>{t.removeEventListener(c,u),o()},u=e=>{e.target===t&&++d>=l&&h()};setTimeout((()=>{d<l&&h()}),a+1),t.addEventListener(c,u)}function ha(t,e){const n=window.getComputedStyle(t),i=t=>(n[t]||"").split(", "),s=i(Zr+"Delay"),o=i(Zr+"Duration"),r=ua(s,o),a=i(Jr+"Delay"),l=i(Jr+"Duration"),c=ua(a,l);let d=null,h=0,u=0;e===Zr?r>0&&(d=Zr,h=r,u=o.length):e===Jr?c>0&&(d=Jr,h=c,u=l.length):(h=Math.max(r,c),d=h>0?r>c?Zr:Jr:null,u=d?d===Zr?o.length:l.length:0);return{type:d,timeout:h,propCount:u,hasTransform:d===Zr&&/\b(transform|all)(,|$)/.test(n[Zr+"Property"])}}function ua(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map(((e,n)=>pa(e)+pa(t[n]))))}function pa(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function fa(){return document.body.offsetHeight}const ga=new WeakMap,ma=new WeakMap,ba={name:"TransitionGroup",props:T({},ea,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=Bo(),i=ui();let s,o;return Bi((()=>{if(!s.length)return;const e=t.moveClass||`${t.name||"v"}-move`;if(!function(t,e,n){const i=t.cloneNode();t._vtc&&t._vtc.forEach((t=>{t.split(/\s+/).forEach((t=>t&&i.classList.remove(t)))}));n.split(/\s+/).forEach((t=>t&&i.classList.add(t))),i.style.display="none";const s=1===e.nodeType?e:e.parentNode;s.appendChild(i);const{hasTransform:o}=ha(i);return s.removeChild(i),o}(s[0].el,n.vnode.el,e))return;
2s.forEach(va),s.forEach(ya);const i=s.filter(xa);fa(),i.forEach((t=>{const n=t.el,i=n.style;ra(n,e),i.transform=i.webkitTransform=i.transitionDuration="";const s=n._moveCb=t=>{t&&t.target!==n||t&&!/transform$/.test(t.propertyName)||(n.removeEventListener("transitionend",s),n._moveCb=null,aa(n,e))};n.addEventListener("transitionend",s)}))})),()=>{const r=Le(t),a=sa(r);let l=r.tag||Us;s=o,o=e.default?xi(e.default()):[];for(let t=0;t<o.length;t++){const e=o[t];null!=e.key&&yi(e,mi(e,a,i,n))}if(s)for(let t=0;t<s.length;t++){const e=s[t];yi(e,mi(e,a,i,n)),ga.set(e,e.el.getBoundingClientRect())}return fo(l,null,o)}}};function va(t){const e=t.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function ya(t){ma.set(t,t.el.getBoundingClientRect())}function xa(t){const e=ga.get(t),n=ma.get(t),i=e.left-n.left,s=e.top-n.top;if(i||s){const e=t.el.style;return e.transform=e.webkitTransform=`translate(${i}px,${s}px)`,e.transitionDuration="0s",t}}const _a=t=>{const e=t.props["onUpdate:modelValue"];return I(e)?t=>st(e,t):e};function wa(t){t.target.composing=!0}function Sa(t){const e=t.target;e.composing&&(e.composing=!1,function(t,e){const n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}(e,"input"))}const Ca={created(t,{modifiers:{lazy:e,trim:n,number:i}},s){t._assign=_a(s);const o=i||s.props&&"number"===s.props.type;Br(t,e?"change":"input",(e=>{if(e.target.composing)return;let i=t.value;n?i=i.trim():o&&(i=rt(i)),t._assign(i)})),n&&Br(t,"change",(()=>{t.value=t.value.trim()})),e||(Br(t,"compositionstart",wa),Br(t,"compositionend",Sa),Br(t,"change",Sa))},mounted(t,{value:e}){t.value=null==e?"":e},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:i,number:s}},o){if(t._assign=_a(o),t.composing)return;if(document.activeElement===t){if(n)return;if(i&&t.value.trim()===e)return;if((s||"number"===t.type)&&rt(t.value)===e)return}const r=null==e?"":e;t.value!==r&&(t.value=r)}},ka={deep:!0,created(t,e,n){t._assign=_a(n),Br(t,"change",(()=>{const e=t._modelValue,n=Ta(t),i=t.checked,s=t._assign;if(I(e)){const t=x(e,n),o=-1!==t;if(i&&!o)s(e.concat(n));else if(!i&&o){const n=[...e];n.splice(t,1),s(n)}}else if(F(e)){const t=new Set(e);i?t.add(n):t.delete(n),s(t)}else s(Pa(t,i))}))},mounted:Aa,beforeUpdate(t,e,n){t._assign=_a(n),Aa(t,e,n)}};function Aa(t,{value:e,oldValue:n},i){t._modelValue=e,I(e)?t.checked=x(e,i.props.value)>-1:F(e)?t.checked=e.has(i.props.value):e!==n&&(t.checked=y(e,Pa(t,!0)))}const Ma={created(t,{value:e},n){t.checked=y(e,n.props.value),t._assign=_a(n),Br(t,"change",(()=>{t._assign(Ta(t))}))},beforeUpdate(t,{value:e,oldValue:n},i){t._assign=_a(i),e!==n&&(t.checked=y(e,i.props.value))}},Ea={deep:!0,created(t,{value:e,modifiers:{number:n}},i){const s=F(e);Br(t,"change",(()=>{const e=Array.prototype.filter.call(t.options,(t=>t.selected)).map((t=>n?rt(Ta(t)):Ta(t)));t._assign(t.multiple?s?new Set(e):e:e[0])})),t._assign=_a(i)},mounted(t,{value:e}){Oa(t,e)},beforeUpdate(t,e,n){t._assign=_a(n)},updated(t,{value:e}){Oa(t,e)}};function Oa(t,e){const n=t.multiple;if(!n||I(e)||F(e)){for(let i=0,s=t.options.length;i<s;i++){const s=t.options[i],o=Ta(s);if(n)I(e)?s.selected=x(e,o)>-1:s.selected=e.has(o);else if(y(Ta(s),e))return void(t.selectedIndex!==i&&(t.selectedIndex=i))}n||-1===t.selectedIndex||(t.selectedIndex=-1)}}function Ta(t){return"_value"in t?t._value:t.value}function Pa(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const La={created(t,e,n){Da(t,e,n,null,"created")},mounted(t,e,n){Da(t,e,n,null,"mounted")},beforeUpdate(t,e,n,i){Da(t,e,n,i,"beforeUpdate")},updated(t,e,n,i){Da(t,e,n,i,"updated")}};function Da(t,e,n,i,s){let o;switch(t.tagName){case"SELECT":o=Ea;break;case"TEXTAREA":o=Ca;break;default:switch(n.props&&n.props.type){case"checkbox":o=ka;break;case"radio":o=Ma;break;default:o=Ca}}const r=o[s];r&&r(t,e,n,i)}const Ia=["ctrl","shift","alt","meta"],Ra={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)=>Ia.some((n=>t[`${n}Key`]&&!e.includes(n)))},Fa=(t,e)=>(n,...i)=>{for(let t=0;t<e.length;t++){const i=Ra[e[t]];if(i&&i(n,e))return}return t(n,...i)},Na={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},ja=(t,e)=>n=>{if(!("key"in n))return;const i=tt(n.key);return e.some((t=>t===i||Na[t]===i))?t(n):void 0},Ba={beforeMount(t,{value:e},{transition:n}){t._vod="none"===t.style.display?"":t.style.display,n&&e?n.beforeEnter(t):$a(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:i}){!e!=!n&&(i?e?(i.beforeEnter(t),$a(t,!0),i.enter(t)):i.leave(t,(()=>{$a(t,!1)})):$a(t,e))},beforeUnmount(t,{value:e}){$a(t,e)}};function $a(t,e){t.style.display=e?t._vod:"none"}const za=T({patchProp:(t,e,n,i,s=!1,o,r,a,d)=>{"class"===e?function(t,e,n){const i=t._vtc;i&&(e=(e?[e,...i]:[...i]).join(" ")),null==e?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}(t,i,s):"style"===e?function(t,e,n){const i=t.style,s=B(n);if(n&&!s){for(const t in n)Or(i,t,n[t]);if(e&&!B(e))for(const t in e)null==n[t]&&Or(i,t,"")}else{const o=i.display;s?e!==n&&(i.cssText=n):e&&t.removeAttribute("style"),"_vod"in t&&(i.display=o)}}(t,n,i):E(e)?O(e)||$r(t,e,0,i,r):("."===e[0]?(e=e.slice(1),1):"^"===e[0]?(e=e.slice(1),0):function(t,e,n,i){if(i)return"innerHTML"===e||"textContent"===e||!!(e in t&&Vr.test(e)&&j(n));if("spellcheck"===e||"draggable"===e)return!1;if("form"===e)return!1;if("list"===e&&"INPUT"===t.tagName)return!1;if("type"===e&&"TEXTAREA"===t.tagName)return!1;if(Vr.test(e)&&B(n))return!1;return e in t}(t,e,i,s))?function(t,e,n,i,s,o,r){if("innerHTML"===e||"textContent"===e)return i&&r(i,s,o),void(t[e]=null==n?"":n);if("value"===e&&"PROGRESS"!==t.tagName&&!t.tagName.includes("-")){t._value=n;const i=null==n?"":n;return t.value===i&&"OPTION"!==t.tagName||(t.value=i),void(null==n&&t.removeAttribute(e))}if(""===n||null==n){const i=typeof t[e];if("boolean"===i)return void(t[e]=c(n));if(null==n&&"string"===i)return t[e]="",void t.removeAttribute(e);
2if("number"===i){try{t[e]=0}catch(t){}return void t.removeAttribute(e)}}try{t[e]=n}catch(t){}}(t,e,i,o,r,a,d):("true-value"===e?t._trueValue=i:"false-value"===e&&(t._falseValue=i),function(t,e,n,i,s){if(i&&e.startsWith("xlink:"))null==n?t.removeAttributeNS(Lr,e.slice(6,e.length)):t.setAttributeNS(Lr,e,n);else{const i=l(e);null==n||i&&!c(n)?t.removeAttribute(e):t.setAttribute(e,i?"":n)}}(t,e,i,s))}},Mr);let Va,Ha=!1;function Wa(){return Va||(Va=Es(za))}function Ya(){return Va=Ha?Va:Os(za),Ha=!0,Va}const Ua=(...t)=>{Wa().render(...t)},Ga=(...t)=>{Ya().hydrate(...t)},qa=(...t)=>{const e=Wa().createApp(...t);const{mount:n}=e;return e.mount=t=>{const i=Xa(t);if(!i)return;const s=e._component;j(s)||s.render||s.template||(s.template=i.innerHTML),i.innerHTML="";const o=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e},Ka=(...t)=>{const e=Ya().createApp(...t);const{mount:n}=e;return e.mount=t=>{const e=Xa(t);if(e)return n(e,!0,e instanceof SVGElement)},e};function Xa(t){if(B(t)){return document.querySelector(t)}return t}let Za=!1;const Ja=()=>{Za||(Za=!0,Ca.getSSRProps=({value:t})=>({value:t}),Ma.getSSRProps=({value:t},e)=>{if(e.props&&y(e.props.value,t))return{checked:!0}},ka.getSSRProps=({value:t},e)=>{if(I(t)){if(e.props&&x(t,e.props.value)>-1)return{checked:!0}}else if(F(t)){if(e.props&&t.has(e.props.value))return{checked:!0}}else if(t)return{checked:!0}},Ba.getSSRProps=({value:t})=>{if(!t)return{style:{display:"none"}}})};function Qa(t){throw t}function tl(t){}function el(t,e,n,i){const s=new SyntaxError(String(t));return s.code=t,s.loc=e,s}const nl=Symbol(""),il=Symbol(""),sl=Symbol(""),ol=Symbol(""),rl=Symbol(""),al=Symbol(""),ll=Symbol(""),cl=Symbol(""),dl=Symbol(""),hl=Symbol(""),ul=Symbol(""),pl=Symbol(""),fl=Symbol(""),gl=Symbol(""),ml=Symbol(""),bl=Symbol(""),vl=Symbol(""),yl=Symbol(""),xl=Symbol(""),_l=Symbol(""),wl=Symbol(""),Sl=Symbol(""),Cl=Symbol(""),kl=Symbol(""),Al=Symbol(""),Ml=Symbol(""),El=Symbol(""),Ol=Symbol(""),Tl=Symbol(""),Pl=Symbol(""),Ll=Symbol(""),Dl=Symbol(""),Il=Symbol(""),Rl=Symbol(""),Fl=Symbol(""),Nl=Symbol(""),jl=Symbol(""),Bl=Symbol(""),$l=Symbol(""),zl={[nl]:"Fragment",[il]:"Teleport",[sl]:"Suspense",[ol]:"KeepAlive",[rl]:"BaseTransition",[al]:"openBlock",[ll]:"createBlock",[cl]:"createElementBlock",[dl]:"createVNode",[hl]:"createElementVNode",[ul]:"createCommentVNode",[pl]:"createTextVNode",[fl]:"createStaticVNode",[gl]:"resolveComponent",[ml]:"resolveDynamicComponent",[bl]:"resolveDirective",[vl]:"resolveFilter",[yl]:"withDirectives",[xl]:"renderList",[_l]:"renderSlot",[wl]:"createSlots",[Sl]:"toDisplayString",[Cl]:"mergeProps",[kl]:"normalizeClass",[Al]:"normalizeStyle",[Ml]:"normalizeProps",[El]:"guardReactiveProps",[Ol]:"toHandlers",[Tl]:"camelize",[Pl]:"capitalize",[Ll]:"toHandlerKey",[Dl]:"setBlockTracking",[Il]:"pushScopeId",[Rl]:"popScopeId",[Fl]:"withCtx",[Nl]:"unref",[jl]:"isRef",[Bl]:"withMemo",[$l]:"isMemoSame"};const Vl={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Hl(t,e,n,i,s,o,r,a=!1,l=!1,c=!1,d=Vl){return t&&(a?(t.helper(al),t.helper(vc(t.inSSR,c))):t.helper(bc(t.inSSR,c)),r&&t.helper(yl)),{type:13,tag:e,props:n,children:i,patchFlag:s,dynamicProps:o,directives:r,isBlock:a,disableTracking:l,isComponent:c,loc:d}}function Wl(t,e=Vl){return{type:17,loc:e,elements:t}}function Yl(t,e=Vl){return{type:15,loc:e,properties:t}}function Ul(t,e){return{type:16,loc:Vl,key:B(t)?Gl(t,!0):t,value:e}}function Gl(t,e=!1,n=Vl,i=0){return{type:4,loc:n,content:t,isStatic:e,constType:e?3:i}}function ql(t,e=Vl){return{type:8,loc:e,children:t}}function Kl(t,e=[],n=Vl){return{type:14,loc:n,callee:t,arguments:e}}function Xl(t,e=void 0,n=!1,i=!1,s=Vl){return{type:18,params:t,returns:e,newline:n,isSlot:i,loc:s}}function Zl(t,e,n,i=!0){return{type:19,test:t,consequent:e,alternate:n,newline:i,loc:Vl}}const Jl=t=>4===t.type&&t.isStatic,Ql=(t,e)=>t===e||t===tt(e);function tc(t){return Ql(t,"Teleport")?il:Ql(t,"Suspense")?sl:Ql(t,"KeepAlive")?ol:Ql(t,"BaseTransition")?rl:void 0}const ec=/^\d|[^\$\w]/,nc=t=>!ec.test(t),ic=/[A-Za-z_$\xA0-\uFFFF]/,sc=/[\.\?\w$\xA0-\uFFFF]/,oc=/\s+[.[]\s*|\s*[.[]\s+/g,rc=t=>{t=t.trim().replace(oc,(t=>t.trim()));let e=0,n=[],i=0,s=0,o=null;for(let r=0;r<t.length;r++){const a=t.charAt(r);switch(e){case 0:if("["===a)n.push(e),e=1,i++;else if("("===a)n.push(e),e=2,s++;else if(!(0===r?ic:sc).test(a))return!1;break;case 1:"'"===a||'"'===a||"`"===a?(n.push(e),e=3,o=a):"["===a?i++:"]"===a&&(--i||(e=n.pop()));break;case 2:if("'"===a||'"'===a||"`"===a)n.push(e),e=3,o=a;else if("("===a)s++;else if(")"===a){if(r===t.length-1)return!1;--s||(e=n.pop())}break;case 3:a===o&&(e=n.pop(),o=null)}}return!i&&!s};function ac(t,e,n){const i={source:t.source.slice(e,e+n),start:lc(t.start,t.source,e),end:t.end};return null!=n&&(i.end=lc(t.start,t.source,e+n)),i}function lc(t,e,n=e.length){return cc(T({},t),e,n)}function cc(t,e,n=e.length){let i=0,s=-1;for(let t=0;t<n;t++)10===e.charCodeAt(t)&&(i++,s=t);return t.offset+=n,t.line+=i,t.column=-1===s?t.column+n:n-s,t}function dc(t,e,n=!1){for(let i=0;i<t.props.length;i++){const s=t.props[i];if(7===s.type&&(n||s.exp)&&(B(e)?s.name===e:e.test(s.name)))return s}}function hc(t,e,n=!1,i=!1){for(let s=0;s<t.props.length;s++){const o=t.props[s];if(6===o.type){if(n)continue;if(o.name===e&&(o.value||i))return o}else if("bind"===o.name&&(o.exp||i)&&uc(o.arg,e))return o}}function uc(t,e){return!(!t||!Jl(t)||t.content!==e)}function pc(t){return 5===t.type||2===t.type}function fc(t){return 7===t.type&&"slot"===t.name}function gc(t){return 1===t.type&&3===t.tagType}function mc(t){return 1===t.type&&2===t.tagType}function bc(t,e){return t||e?dl:hl}function vc(t,e){return t||e?ll:cl}const yc=new Set([Ml,El]);function xc(t,e=[]){if(t&&!B(t)&&14===t.type){const n=t.callee;if(!B(n)&&yc.has(n))return xc(t.arguments[0],e.concat(t))}return[t,e]}function _c(t,e,n){let i,s,o=13===t.type?t.props:t.arguments[2],r=[];if(o&&!B(o)&&14===o.type){const t=xc(o);o=t[0],r=t[1],s=r[r.length-1]}if(null==o||B(o))i=Yl([e]);else if(14===o.type){const t=o.arguments[0];
2B(t)||15!==t.type?o.callee===Ol?i=Kl(n.helper(Cl),[Yl([e]),o]):o.arguments.unshift(Yl([e])):t.properties.unshift(e),!i&&(i=o)}else if(15===o.type){let t=!1;if(4===e.key.type){const n=e.key.content;t=o.properties.some((t=>4===t.key.type&&t.key.content===n))}t||o.properties.unshift(e),i=o}else i=Kl(n.helper(Cl),[Yl([e]),o]),s&&s.callee===El&&(s=r[r.length-2]);13===t.type?s?s.arguments[0]=i:t.props=i:s?s.arguments[0]=i:t.arguments[2]=i}function wc(t,e){return`_${e}_${t.replace(/[^\w]/g,((e,n)=>"-"===e?"_":t.charCodeAt(n).toString()))}`}function Sc(t,{helper:e,removeHelper:n,inSSR:i}){t.isBlock||(t.isBlock=!0,n(bc(i,t.isComponent)),e(al),e(vc(i,t.isComponent)))}function Cc(t,e){const n=e.options?e.options.compatConfig:e.compatConfig,i=n&&n[t];return"MODE"===t?i||3:i}function kc(t,e){const n=Cc("MODE",e),i=Cc(t,e);return 3===n?!0===i:!1!==i}function Ac(t,e,n,...i){return kc(t,e)}const Mc=/&(gt|lt|amp|apos|quot);/g,Ec={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},Oc={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:A,isPreTag:A,isCustomElement:A,decodeEntities:t=>t.replace(Mc,((t,e)=>Ec[e])),onError:Qa,onWarn:tl,comments:!1};function Tc(t,e={}){const n=function(t,e){const n=T({},Oc);let i;for(i in e)n[i]=void 0===e[i]?Oc[i]:e[i];return{options:n,column:1,line:1,offset:0,originalSource:t,source:t,inPre:!1,inVPre:!1,onWarn:n.onWarn}}(t,e),i=Wc(n);return function(t,e=Vl){return{type:0,children:t,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:e}}(Pc(n,0,[]),Yc(n,i))}function Pc(t,e,n){const i=Uc(n),s=i?i.ns:0,o=[];for(;!Jc(t,e,n);){const r=t.source;let a;if(0===e||1===e)if(!t.inVPre&&Gc(r,t.options.delimiters[0]))a=zc(t,e);else if(0===e&&"<"===r[0])if(1===r.length)Zc(t,5,1);else if("!"===r[1])Gc(r,"\x3c!--")?a=Ic(t):Gc(r,"<!DOCTYPE")?a=Rc(t):Gc(r,"<![CDATA[")?0!==s?a=Dc(t,n):(Zc(t,1),a=Rc(t)):(Zc(t,11),a=Rc(t));else if("/"===r[1])if(2===r.length)Zc(t,5,2);else{if(">"===r[2]){Zc(t,14,2),qc(t,3);continue}if(/[a-z]/i.test(r[2])){Zc(t,23),jc(t,1,i);continue}Zc(t,12,2),a=Rc(t)}else/[a-z]/i.test(r[1])?(a=Fc(t,n),kc("COMPILER_NATIVE_TEMPLATE",t)&&a&&"template"===a.tag&&!a.props.some((t=>7===t.type&&Nc(t.name)))&&(a=a.children)):"?"===r[1]?(Zc(t,21,1),a=Rc(t)):Zc(t,12,1);if(a||(a=Vc(t,e)),I(a))for(let t=0;t<a.length;t++)Lc(o,a[t]);else Lc(o,a)}let r=!1;if(2!==e&&1!==e){const e="preserve"!==t.options.whitespace;for(let n=0;n<o.length;n++){const i=o[n];if(t.inPre||2!==i.type)3!==i.type||t.options.comments||(r=!0,o[n]=null);else if(/[^\t\r\n\f ]/.test(i.content))e&&(i.content=i.content.replace(/[\t\r\n\f ]+/g," "));else{const t=o[n-1],s=o[n+1];!t||!s||e&&(3===t.type||3===s.type||1===t.type&&1===s.type&&/[\r\n]/.test(i.content))?(r=!0,o[n]=null):i.content=" "}}if(t.inPre&&i&&t.options.isPreTag(i.tag)){const t=o[0];t&&2===t.type&&(t.content=t.content.replace(/^\r?\n/,""))}}return r?o.filter(Boolean):o}function Lc(t,e){if(2===e.type){const n=Uc(t);if(n&&2===n.type&&n.loc.end.offset===e.loc.start.offset)return n.content+=e.content,n.loc.end=e.loc.end,void(n.loc.source+=e.loc.source)}t.push(e)}function Dc(t,e){qc(t,9);const n=Pc(t,3,e);return 0===t.source.length?Zc(t,6):qc(t,3),n}function Ic(t){const e=Wc(t);let n;const i=/--(\!)?>/.exec(t.source);if(i){i.index<=3&&Zc(t,0),i[1]&&Zc(t,10),n=t.source.slice(4,i.index);const e=t.source.slice(0,i.index);let s=1,o=0;for(;-1!==(o=e.indexOf("\x3c!--",s));)qc(t,o-s+1),o+4<e.length&&Zc(t,16),s=o+1;qc(t,i.index+i[0].length-s+1)}else n=t.source.slice(4),qc(t,t.source.length),Zc(t,7);return{type:3,content:n,loc:Yc(t,e)}}function Rc(t){const e=Wc(t),n="?"===t.source[1]?1:2;let i;const s=t.source.indexOf(">");return-1===s?(i=t.source.slice(n),qc(t,t.source.length)):(i=t.source.slice(n,s),qc(t,s+1)),{type:3,content:i,loc:Yc(t,e)}}function Fc(t,e){const n=t.inPre,i=t.inVPre,s=Uc(e),o=jc(t,0,s),r=t.inPre&&!n,a=t.inVPre&&!i;if(o.isSelfClosing||t.options.isVoidTag(o.tag))return r&&(t.inPre=!1),a&&(t.inVPre=!1),o;e.push(o);const l=t.options.getTextMode(o,s),c=Pc(t,l,e);e.pop();{const e=o.props.find((t=>6===t.type&&"inline-template"===t.name));if(e&&Ac("COMPILER_INLINE_TEMPLATE",t,e.loc)){const n=Yc(t,o.loc.end);e.value={type:2,content:n.source,loc:n}}}if(o.children=c,Qc(t.source,o.tag))jc(t,1,s);else if(Zc(t,24,0,o.loc.start),0===t.source.length&&"script"===o.tag.toLowerCase()){const e=c[0];e&&Gc(e.loc.source,"\x3c!--")&&Zc(t,8)}return o.loc=Yc(t,o.loc.start),r&&(t.inPre=!1),a&&(t.inVPre=!1),o}const Nc=s("if,else,else-if,for,slot");function jc(t,e,n){const i=Wc(t),s=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(t.source),o=s[1],r=t.options.getNamespace(o,n);qc(t,s[0].length),Kc(t);const a=Wc(t),l=t.source;t.options.isPreTag(o)&&(t.inPre=!0);let c=Bc(t,e);0===e&&!t.inVPre&&c.some((t=>7===t.type&&"pre"===t.name))&&(t.inVPre=!0,T(t,a),t.source=l,c=Bc(t,e).filter((t=>"v-pre"!==t.name)));let d=!1;if(0===t.source.length?Zc(t,9):(d=Gc(t.source,"/>"),1===e&&d&&Zc(t,4),qc(t,d?2:1)),1===e)return;let h=0;return t.inVPre||("slot"===o?h=2:"template"===o?c.some((t=>7===t.type&&Nc(t.name)))&&(h=3):function(t,e,n){const i=n.options;if(i.isCustomElement(t))return!1;if("component"===t||/^[A-Z]/.test(t)||tc(t)||i.isBuiltInComponent&&i.isBuiltInComponent(t)||i.isNativeTag&&!i.isNativeTag(t))return!0;for(let t=0;t<e.length;t++){const i=e[t];if(6===i.type){if("is"===i.name&&i.value){if(i.value.content.startsWith("vue:"))return!0;
2if(Ac("COMPILER_IS_ON_ELEMENT",n,i.loc))return!0}}else{if("is"===i.name)return!0;if("bind"===i.name&&uc(i.arg,"is")&&Ac("COMPILER_IS_ON_ELEMENT",n,i.loc))return!0}}}(o,c,t)&&(h=1)),{type:1,ns:r,tag:o,tagType:h,props:c,isSelfClosing:d,children:[],loc:Yc(t,i),codegenNode:void 0}}function Bc(t,e){const n=[],i=new Set;for(;t.source.length>0&&!Gc(t.source,">")&&!Gc(t.source,"/>");){if(Gc(t.source,"/")){Zc(t,22),qc(t,1),Kc(t);continue}1===e&&Zc(t,3);const s=$c(t,i);6===s.type&&s.value&&"class"===s.name&&(s.value.content=s.value.content.replace(/\s+/g," ").trim()),0===e&&n.push(s),/^[^\t\r\n\f />]/.test(t.source)&&Zc(t,15),Kc(t)}return n}function $c(t,e){const n=Wc(t),i=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(t.source)[0];e.has(i)&&Zc(t,2),e.add(i),"="===i[0]&&Zc(t,19);{const e=/["'<]/g;let n;for(;n=e.exec(i);)Zc(t,17,n.index)}let s;qc(t,i.length),/^[\t\r\n\f ]*=/.test(t.source)&&(Kc(t),qc(t,1),Kc(t),s=function(t){const e=Wc(t);let n;const i=t.source[0],s='"'===i||"'"===i;if(s){qc(t,1);const e=t.source.indexOf(i);-1===e?n=Hc(t,t.source.length,4):(n=Hc(t,e,4),qc(t,1))}else{const e=/^[^\t\r\n\f >]+/.exec(t.source);if(!e)return;const i=/["'<=`]/g;let s;for(;s=i.exec(e[0]);)Zc(t,18,s.index);n=Hc(t,e[0].length,4)}return{content:n,isQuoted:s,loc:Yc(t,e)}}(t),s||Zc(t,13));const o=Yc(t,n);if(!t.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(i)){const e=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(i);let r,a=Gc(i,"."),l=e[1]||(a||Gc(i,":")?"bind":Gc(i,"@")?"on":"slot");if(e[2]){const s="slot"===l,o=i.lastIndexOf(e[2]),a=Yc(t,Xc(t,n,o),Xc(t,n,o+e[2].length+(s&&e[3]||"").length));let c=e[2],d=!0;c.startsWith("[")?(d=!1,c.endsWith("]")?c=c.slice(1,c.length-1):(Zc(t,27),c=c.slice(1))):s&&(c+=e[3]||""),r={type:4,content:c,isStatic:d,constType:d?3:0,loc:a}}if(s&&s.isQuoted){const t=s.loc;t.start.offset++,t.start.column++,t.end=lc(t.start,s.content),t.source=t.source.slice(1,-1)}const c=e[3]?e[3].slice(1).split("."):[];return a&&c.push("prop"),"bind"===l&&r&&c.includes("sync")&&Ac("COMPILER_V_BIND_SYNC",t,0,r.loc.source)&&(l="model",c.splice(c.indexOf("sync"),1)),{type:7,name:l,exp:s&&{type:4,content:s.content,isStatic:!1,constType:0,loc:s.loc},arg:r,modifiers:c,loc:o}}return!t.inVPre&&Gc(i,"v-")&&Zc(t,26),{type:6,name:i,value:s&&{type:2,content:s.content,loc:s.loc},loc:o}}function zc(t,e){const[n,i]=t.options.delimiters,s=t.source.indexOf(i,n.length);if(-1===s)return void Zc(t,25);const o=Wc(t);qc(t,n.length);const r=Wc(t),a=Wc(t),l=s-n.length,c=t.source.slice(0,l),d=Hc(t,l,e),h=d.trim(),u=d.indexOf(h);u>0&&cc(r,c,u);return cc(a,c,l-(d.length-h.length-u)),qc(t,i.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:h,loc:Yc(t,r,a)},loc:Yc(t,o)}}function Vc(t,e){const n=3===e?["]]>"]:["<",t.options.delimiters[0]];let i=t.source.length;for(let e=0;e<n.length;e++){const s=t.source.indexOf(n[e],1);-1!==s&&i>s&&(i=s)}const s=Wc(t);return{type:2,content:Hc(t,i,e),loc:Yc(t,s)}}function Hc(t,e,n){const i=t.source.slice(0,e);return qc(t,e),2!==n&&3!==n&&i.includes("&")?t.options.decodeEntities(i,4===n):i}function Wc(t){const{column:e,line:n,offset:i}=t;return{column:e,line:n,offset:i}}function Yc(t,e,n){return{start:e,end:n=n||Wc(t),source:t.originalSource.slice(e.offset,n.offset)}}function Uc(t){return t[t.length-1]}function Gc(t,e){return t.startsWith(e)}function qc(t,e){const{source:n}=t;cc(t,n,e),t.source=n.slice(e)}function Kc(t){const e=/^[\t\r\n\f ]+/.exec(t.source);e&&qc(t,e[0].length)}function Xc(t,e,n){return lc(e,t.originalSource.slice(e.offset,n),n)}function Zc(t,e,n,i=Wc(t)){n&&(i.offset+=n,i.column+=n),t.options.onError(el(e,{start:i,end:i,source:""}))}function Jc(t,e,n){const i=t.source;switch(e){case 0:if(Gc(i,"</"))for(let t=n.length-1;t>=0;--t)if(Qc(i,n[t].tag))return!0;break;case 1:case 2:{const t=Uc(n);if(t&&Qc(i,t.tag))return!0;break}case 3:if(Gc(i,"]]>"))return!0}return!i}function Qc(t,e){return Gc(t,"</")&&t.slice(2,2+e.length).toLowerCase()===e.toLowerCase()&&/[\t\r\n\f />]/.test(t[2+e.length]||">")}function td(t,e){nd(t,e,ed(t,t.children[0]))}function ed(t,e){const{children:n}=t;return 1===n.length&&1===e.type&&!mc(e)}
vendor: 8,630 bytes, line 2
2function nd(t,e,n=!1){const{children:i}=t,s=i.length;let o=0;for(let t=0;t<i.length;t++){const s=i[t];if(1===s.type&&0===s.tagType){const t=n?0:id(s,e);if(t>0){if(t>=2){s.codegenNode.patchFlag="-1",s.codegenNode=e.hoist(s.codegenNode),o++;continue}}else{const t=s.codegenNode;if(13===t.type){const n=ld(t);if((!n||512===n||1===n)&&rd(s,e)>=2){const n=ad(s);n&&(t.props=e.hoist(n))}t.dynamicProps&&(t.dynamicProps=e.hoist(t.dynamicProps))}}}else 12===s.type&&id(s.content,e)>=2&&(s.codegenNode=e.hoist(s.codegenNode),o++);if(1===s.type){const t=1===s.tagType;t&&e.scopes.vSlot++,nd(s,e),t&&e.scopes.vSlot--}else if(11===s.type)nd(s,e,1===s.children.length);else if(9===s.type)for(let t=0;t<s.branches.length;t++)nd(s.branches[t],e,1===s.branches[t].children.length)}o&&e.transformHoist&&e.transformHoist(i,e,t),o&&o===s&&1===t.type&&0===t.tagType&&t.codegenNode&&13===t.codegenNode.type&&I(t.codegenNode.children)&&(t.codegenNode.children=e.hoist(Wl(t.codegenNode.children)))}function id(t,e){const{constantCache:n}=e;switch(t.type){case 1:if(0!==t.tagType)return 0;const i=n.get(t);if(void 0!==i)return i;const s=t.codegenNode;if(13!==s.type)return 0;if(s.isBlock&&"svg"!==t.tag&&"foreignObject"!==t.tag)return 0;if(ld(s))return n.set(t,0),0;{let i=3;const o=rd(t,e);if(0===o)return n.set(t,0),0;o<i&&(i=o);for(let s=0;s<t.children.length;s++){const o=id(t.children[s],e);if(0===o)return n.set(t,0),0;o<i&&(i=o)}if(i>1)for(let s=0;s<t.props.length;s++){const o=t.props[s];if(7===o.type&&"bind"===o.name&&o.exp){const s=id(o.exp,e);if(0===s)return n.set(t,0),0;s<i&&(i=s)}}return s.isBlock&&(e.removeHelper(al),e.removeHelper(vc(e.inSSR,s.isComponent)),s.isBlock=!1,e.helper(bc(e.inSSR,s.isComponent))),n.set(t,i),i}case 2:case 3:return 3;case 9:case 11:case 10:default:return 0;case 5:case 12:return id(t.content,e);case 4:return t.constType;case 8:let o=3;for(let n=0;n<t.children.length;n++){const i=t.children[n];if(B(i)||$(i))continue;const s=id(i,e);if(0===s)return 0;s<o&&(o=s)}return o}}const sd=new Set([kl,Al,Ml,El]);function od(t,e){if(14===t.type&&!B(t.callee)&&sd.has(t.callee)){const n=t.arguments[0];if(4===n.type)return id(n,e);if(14===n.type)return od(n,e)}return 0}function rd(t,e){let n=3;const i=ad(t);if(i&&15===i.type){const{properties:t}=i;for(let i=0;i<t.length;i++){const{key:s,value:o}=t[i],r=id(s,e);if(0===r)return r;let a;if(r<n&&(n=r),a=4===o.type?id(o,e):14===o.type?od(o,e):0,0===a)return a;a<n&&(n=a)}}return n}function ad(t){const e=t.codegenNode;if(13===e.type)return e.props}function ld(t){const e=t.patchFlag;return e?parseInt(e,10):void 0}function cd(t,{filename:e="",prefixIdentifiers:n=!1,hoistStatic:i=!1,cacheHandlers:s=!1,nodeTransforms:o=[],directiveTransforms:r={},transformHoist:a=null,isBuiltInComponent:l=k,isCustomElement:c=k,expressionPlugins:d=[],scopeId:h=null,slotted:u=!0,ssr:p=!1,inSSR:f=!1,ssrCssVars:g="",bindingMetadata:m=S,inline:b=!1,isTS:v=!1,onError:y=Qa,onWarn:x=tl,compatConfig:_}){const w=e.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),C={selfName:w&&et(J(w[1])),prefixIdentifiers:n,hoistStatic:i,cacheHandlers:s,nodeTransforms:o,directiveTransforms:r,transformHoist:a,isBuiltInComponent:l,isCustomElement:c,expressionPlugins:d,scopeId:h,slotted:u,ssr:p,inSSR:f,ssrCssVars:g,bindingMetadata:m,inline:b,isTS:v,onError:y,onWarn:x,compatConfig:_,root:t,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:t,childIndex:0,inVOnce:!1,helper(t){const e=C.helpers.get(t)||0;return C.helpers.set(t,e+1),t},removeHelper(t){const e=C.helpers.get(t);if(e){const n=e-1;n?C.helpers.set(t,n):C.helpers.delete(t)}},helperString:t=>`_${zl[C.helper(t)]}`,replaceNode(t){C.parent.children[C.childIndex]=C.currentNode=t},removeNode(t){const e=C.parent.children,n=t?e.indexOf(t):C.currentNode?C.childIndex:-1;t&&t!==C.currentNode?C.childIndex>n&&(C.childIndex--,C.onNodeRemoved()):(C.currentNode=null,C.onNodeRemoved()),C.parent.children.splice(n,1)},onNodeRemoved:()=>{},addIdentifiers(t){},removeIdentifiers(t){},hoist(t){B(t)&&(t=Gl(t)),C.hoists.push(t);const e=Gl(`_hoisted_${C.hoists.length}`,!1,t.loc,2);return e.hoisted=t,e},cache:(t,e=!1)=>function(t,e,n=!1){return{type:20,index:t,value:e,isVNode:n,loc:Vl}}(C.cached++,t,e)};return C.filters=new Set,C}function dd(t,e){const n=cd(t,e);hd(t,n),e.hoistStatic&&td(t,n),e.ssr||function(t,e){const{helper:n}=e,{children:i}=t;if(1===i.length){const n=i[0];if(ed(t,n)&&n.codegenNode){const i=n.codegenNode;13===i.type&&Sc(i,e),t.codegenNode=i}else t.codegenNode=n}else if(i.length>1){let i=64;o[64];0,t.codegenNode=Hl(e,n(nl),void 0,t.children,i+"",void 0,void 0,!0,void 0,!1)}}(t,n),t.helpers=[...n.helpers.keys()],t.components=[...n.components],t.directives=[...n.directives],t.imports=n.imports,t.hoists=n.hoists,t.temps=n.temps,t.cached=n.cached,t.filters=[...n.filters]}function hd(t,e){e.currentNode=t;const{nodeTransforms:n}=e,i=[];for(let s=0;s<n.length;s++){const o=n[s](t,e);if(o&&(I(o)?i.push(...o):i.push(o)),!e.currentNode)return;t=e.currentNode}switch(t.type){case 3:e.ssr||e.helper(ul);break;case 5:e.ssr||e.helper(Sl);break;case 9:for(let n=0;n<t.branches.length;n++)hd(t.branches[n],e);break;case 10:case 11:case 1:case 0:!function(t,e){let n=0;const i=()=>{n--};for(;n<t.children.length;n++){const s=t.children[n];B(s)||(e.parent=t,e.childIndex=n,e.onNodeRemoved=i,hd(s,e))}}(t,e)}e.currentNode=t;let s=i.length;for(;s--;)i[s]()}function ud(t,e){const n=B(t)?e=>e===t:e=>t.test(e);return(t,i)=>{if(1===t.type){const{props:s}=t;if(3===t.tagType&&s.some(fc))return;const o=[];for(let r=0;r<s.length;r++){const a=s[r];if(7===a.type&&n(a.name)){s.splice(r,1),r--;const n=e(t,a,i);n&&o.push(n)}}return o}}}const pd="/*#__PURE__*/";function fd(t,e={}){const n=function(t,{mode:e="function",prefixIdentifiers:n="module"===e,sourceMap:i=!1,filename:s="template.vue.html",scopeId:o=null,optimizeImports:r=!1,runtimeGlobalName:a="Vue",runtimeModuleName:l="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:d=!1,isTS:h=!1,inSSR:u=!1}){const p={mode:e,prefixIdentifiers:n,sourceMap:i,filename:s,scopeId:o,optimizeImports:r,runtimeGlobalName:a,runtimeModuleName:l,ssrRuntimeModuleName:c,ssr:d,isTS:h,inSSR:u,source:t.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:t=>`_${zl[t]}`,push(t,e){p.code+=t},indent(){f(++p.indentLevel)},deindent(t=!1){t?--p.indentLevel:f(--p.indentLevel)},newline(){f(p.indentLevel)}};function f(t){p.push("\n"+"  ".repeat(t))}return p}(t,e);e.onContextCreated&&e.onContextCreated(n);const{mode:i,push:s,prefixIdentifiers:o,indent:r,deindent:a,newline:l,scopeId:c,ssr:d}=n,h=t.helpers.length>0,u=!o&&"module"!==i;!function(t,e){const{ssr:n,prefixIdentifiers:i,push:s,newline:o,runtimeModuleName:r,runtimeGlobalName:a,ssrRuntimeModuleName:l}=e,c=a,d=t=>`${zl[t]}: _${zl[t]}`;if(t.helpers.length>0&&(s(`const _Vue = ${c}\n`),t.hoists.length)){s(`const { ${[dl,hl,ul,pl,fl].filter((e=>t.helpers.includes(e))).map(d).join(", ")} } = _Vue\n`)}(function(t,e){if(!t.length)return;e.pure=!0;const{push:n,newline:i,helper:s,scopeId:o,mode:r}=e;i();for(let s=0;s<t.length;s++){const o=t[s];o&&(n(`const _hoisted_${s+1} = `),vd(o,e),i())}e.pure=!1})(t.hoists,e),o(),s("return ")}(t,n);if(s(`function ${d?"ssrRender":"render"}(${(d?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),r(),u&&(s("with (_ctx) {"),r(),h&&(s(`const { ${t.helpers.map((t=>`${zl[t]}: _${zl[t]}`)).join(", ")} } = _Vue`),s("\n"),l())),t.components.length&&(gd(t.components,"component",n),(t.directives.length||t.temps>0)&&l()),t.directives.length&&(gd(t.directives,"directive",n),t.temps>0&&l()),t.filters&&t.filters.length&&(l(),gd(t.filters,"filter",n),l()),t.temps>0){s("let ");for(let e=0;e<t.temps;e++)s(`${e>0?", ":""}_temp${e}`)}return(t.components.length||t.directives.length||t.temps)&&(s("\n"),l()),d||s("return "),t.codegenNode?vd(t.codegenNode,n):s("null"),u&&(a(),s("}")),a(),s("}"),{ast:t,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function gd(t,e,{helper:n,push:i,newline:s,isTS:o}){const r=n("filter"===e?vl:"component"===e?gl:bl);for(let n=0;n<t.length;n++){let a=t[n];const l=a.endsWith("__self");l&&(a=a.slice(0,-6)),i(`const ${wc(a,e)} = ${r}(${JSON.stringify(a)}${l?", true":""})${o?"!":""}`),n<t.length-1&&s()}}function md(t,e){const n=t.length>3||!1;e.push("["),n&&e.indent(),bd(t,e,n),n&&e.deindent(),e.push("]")}function bd(t,e,n=!1,i=!0){const{push:s,newline:o}=e;for(let r=0;r<t.length;r++){const a=t[r];B(a)?s(a):I(a)?md(a,e):vd(a,e),r<t.length-1&&(n?(i&&s(","),o()):i&&s(", "))}}
2function vd(t,e){if(B(t))e.push(t);else if($(t))e.push(e.helper(t));else switch(t.type){case 1:case 9:case 11:case 12:vd(t.codegenNode,e);break;case 2:!function(t,e){e.push(JSON.stringify(t.content),t)}(t,e);break;case 4:yd(t,e);break;case 5:!function(t,e){const{push:n,helper:i,pure:s}=e;s&&n(pd);n(`${i(Sl)}(`),vd(t.content,e),n(")")}(t,e);break;case 8:xd(t,e);break;case 3:!function(t,e){const{push:n,helper:i,pure:s}=e;s&&n(pd);n(`${i(ul)}(${JSON.stringify(t.content)})`,t)}(t,e);break;case 13:!function(t,e){const{push:n,helper:i,pure:s}=e,{tag:o,props:r,children:a,patchFlag:l,dynamicProps:c,directives:d,isBlock:h,disableTracking:u,isComponent:p}=t;d&&n(i(yl)+"(");h&&n(`(${i(al)}(${u?"true":""}), `);s&&n(pd);const f=h?vc(e.inSSR,p):bc(e.inSSR,p);n(i(f)+"(",t),bd(function(t){let e=t.length;for(;e--&&null==t[e];);return t.slice(0,e+1).map((t=>t||"null"))}([o,r,a,l,c]),e),n(")"),h&&n(")");d&&(n(", "),vd(d,e),n(")"))}(t,e);break;case 14:!function(t,e){const{push:n,helper:i,pure:s}=e,o=B(t.callee)?t.callee:i(t.callee);s&&n(pd);n(o+"(",t),bd(t.arguments,e),n(")")}(t,e);break;case 15:!function(t,e){const{push:n,indent:i,deindent:s,newline:o}=e,{properties:r}=t;if(!r.length)return void n("{}",t);const a=r.length>1||!1;n(a?"{":"{ "),a&&i();for(let t=0;t<r.length;t++){const{key:i,value:s}=r[t];_d(i,e),n(": "),vd(s,e),t<r.length-1&&(n(","),o())}a&&s(),n(a?"}":" }")}(t,e);break;case 17:!function(t,e){md(t.elements,e)}(t,e);break;case 18:!function(t,e){const{push:n,indent:i,deindent:s}=e,{params:o,returns:r,body:a,newline:l,isSlot:c}=t;c&&n(`_${zl[Fl]}(`);n("(",t),I(o)?bd(o,e):o&&vd(o,e);n(") => "),(l||a)&&(n("{"),i());r?(l&&n("return "),I(r)?md(r,e):vd(r,e)):a&&vd(a,e);(l||a)&&(s(),n("}"));c&&(t.isNonScopedSlot&&n(", undefined, true"),n(")"))}(t,e);break;case 19:!function(t,e){const{test:n,consequent:i,alternate:s,newline:o}=t,{push:r,indent:a,deindent:l,newline:c}=e;if(4===n.type){const t=!nc(n.content);t&&r("("),yd(n,e),t&&r(")")}else r("("),vd(n,e),r(")");o&&a(),e.indentLevel++,o||r(" "),r("? "),vd(i,e),e.indentLevel--,o&&c(),o||r(" "),r(": ");const d=19===s.type;d||e.indentLevel++;vd(s,e),d||e.indentLevel--;o&&l(!0)}(t,e);break;case 20:!function(t,e){const{push:n,helper:i,indent:s,deindent:o,newline:r}=e;n(`_cache[${t.index}] || (`),t.isVNode&&(s(),n(`${i(Dl)}(-1),`),r());n(`_cache[${t.index}] = `),vd(t.value,e),t.isVNode&&(n(","),r(),n(`${i(Dl)}(1),`),r(),n(`_cache[${t.index}]`),o());n(")")}(t,e);break;case 21:bd(t.body,e,!0,!1)}}function yd(t,e){const{content:n,isStatic:i}=t;e.push(i?JSON.stringify(n):n,t)}function xd(t,e){for(let n=0;n<t.children.length;n++){const i=t.children[n];B(i)?e.push(i):vd(i,e)}}function _d(t,e){const{push:n}=e;if(8===t.type)n("["),xd(t,e),n("]");else if(t.isStatic){n(nc(t.content)?t.content:JSON.stringify(t.content),t)}else n(`[${t.content}]`,t)}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments,typeof,void".split(",").join("\\b|\\b")+"\\b");const wd=ud(/^(if|else|else-if)$/,((t,e,n)=>function(t,e,n,i){if(!("else"===e.name||e.exp&&e.exp.content.trim())){const i=e.exp?e.exp.loc:t.loc;n.onError(el(28,e.loc)),e.exp=Gl("true",!1,i)}0;if("if"===e.name){const s=Sd(t,e),o={type:9,loc:t.loc,branches:[s]};if(n.replaceNode(o),i)return i(o,s,!0)}else{const s=n.parent.children;let o=s.indexOf(t);for(;o-- >=-1;){const r=s[o];if(!r||2!==r.type||r.content.trim().length){if(r&&9===r.type){"else-if"===e.name&&void 0===r.branches[r.branches.length-1].condition&&n.onError(el(30,t.loc)),n.removeNode();const s=Sd(t,e);0,r.branches.push(s);const o=i&&i(r,s,!1);hd(s,n),o&&o(),n.currentNode=null}else n.onError(el(30,t.loc));break}n.removeNode(r)}}}(t,e,n,((t,e,i)=>{const s=n.parent.children;let o=s.indexOf(t),r=0;for(;o-- >=0;){const t=s[o];t&&9===t.type&&(r+=t.branches.length)}return()=>{if(i)t.codegenNode=Cd(e,r,n);else{const i=function(t){for(;;)if(19===t.type){if(19!==t.alternate.type)return t;t=t.alternate}else 20===t.type&&(t=t.value)}(t.codegenNode);i.alternate=Cd(e,r+t.branches.length-1,n)}}}))));function Sd(t,e){return{type:10,loc:t.loc,condition:"else"===e.name?void 0:e.exp,children:3!==t.tagType||dc(t,"for")?[t]:t.children,userKey:hc(t,"key")}}function Cd(t,e,n){return t.condition?Zl(t.condition,kd(t,e,n),Kl(n.helper(ul),['""',"true"])):kd(t,e,n)}function kd(t,e,n){const{helper:i}=n,s=Ul("key",Gl(`${e}`,!1,Vl,2)),{children:r}=t,a=r[0];if(1!==r.length||1!==a.type){if(1===r.length&&11===a.type){const t=a.codegenNode;return _c(t,s,n),t}{let e=64;o[64];
2return Hl(n,i(nl),Yl([s]),r,e+"",void 0,void 0,!0,!1,!1,t.loc)}}{const t=a.codegenNode,e=14===(l=t).type&&l.callee===Bl?l.arguments[1].returns:l;return 13===e.type&&Sc(e,n),_c(e,s,n),t}var l}const Ad=ud("for",((t,e,n)=>{const{helper:i,removeHelper:s}=n;return function(t,e,n,i){if(!e.exp)return void n.onError(el(31,e.loc));const s=Td(e.exp,n);if(!s)return void n.onError(el(32,e.loc));const{addIdentifiers:o,removeIdentifiers:r,scopes:a}=n,{source:l,value:c,key:d,index:h}=s,u={type:11,loc:e.loc,source:l,valueAlias:c,keyAlias:d,objectIndexAlias:h,parseResult:s,children:gc(t)?t.children:[t]};n.replaceNode(u),a.vFor++;const p=i&&i(u);return()=>{a.vFor--,p&&p()}}(t,e,n,(e=>{const o=Kl(i(xl),[e.source]),r=gc(t),a=dc(t,"memo"),l=hc(t,"key"),c=l&&(6===l.type?Gl(l.value.content,!0):l.exp),d=l?Ul("key",c):null,h=4===e.source.type&&e.source.constType>0,u=h?64:l?128:256;return e.codegenNode=Hl(n,i(nl),void 0,o,u+"",void 0,void 0,!0,!h,!1,t.loc),()=>{let l;const{children:u}=e;const p=1!==u.length||1!==u[0].type,f=mc(t)?t:r&&1===t.children.length&&mc(t.children[0])?t.children[0]:null;if(f?(l=f.codegenNode,r&&d&&_c(l,d,n)):p?l=Hl(n,i(nl),d?Yl([d]):void 0,t.children,"64",void 0,void 0,!0,void 0,!1):(l=u[0].codegenNode,r&&d&&_c(l,d,n),l.isBlock!==!h&&(l.isBlock?(s(al),s(vc(n.inSSR,l.isComponent))):s(bc(n.inSSR,l.isComponent))),l.isBlock=!h,l.isBlock?(i(al),i(vc(n.inSSR,l.isComponent))):i(bc(n.inSSR,l.isComponent))),a){const t=Xl(Ld(e.parseResult,[Gl("_cached")]));t.body={type:21,body:[ql(["const _memo = (",a.exp,")"]),ql(["if (_cached",...c?[" && _cached.key === ",c]:[],` && ${n.helperString($l)}(_cached, _memo)) return _cached`]),ql(["const _item = ",l]),Gl("_item.memo = _memo"),Gl("return _item")],loc:Vl},o.arguments.push(t,Gl("_cache"),Gl(String(n.cached++)))}else o.arguments.push(Xl(Ld(e.parseResult),l,!0))}}))}));const Md=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Ed=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Od=/^\(|\)$/g;function Td(t,e){const n=t.loc,i=t.content,s=i.match(Md);if(!s)return;const[,o,r]=s,a={source:Pd(n,r.trim(),i.indexOf(r,o.length)),value:void 0,key:void 0,index:void 0};let l=o.trim().replace(Od,"").trim();const c=o.indexOf(l),d=l.match(Ed);if(d){l=l.replace(Ed,"").trim();const t=d[1].trim();let e;if(t&&(e=i.indexOf(t,c+l.length),a.key=Pd(n,t,e)),d[2]){const s=d[2].trim();s&&(a.index=Pd(n,s,i.indexOf(s,a.key?e+t.length:c+l.length)))}}return l&&(a.value=Pd(n,l,c)),a}
2function Pd(t,e,n){return Gl(e,!1,ac(t,n,e.length))}function Ld({value:t,key:e,index:n},i=[]){return function(t){let e=t.length;for(;e--&&!t[e];);return t.slice(0,e+1).map(((t,e)=>t||Gl("_".repeat(e+1),!1)))}([t,e,n,...i])}const Dd=Gl("undefined",!1),Id=(t,e)=>{if(1===t.type&&(1===t.tagType||3===t.tagType)){const n=dc(t,"slot");if(n)return n.exp,e.scopes.vSlot++,()=>{e.scopes.vSlot--}}},Rd=(t,e,n)=>Xl(t,e,!1,!0,e.length?e[0].loc:n);function Fd(t,e,n=Rd){e.helper(Fl);const{children:i,loc:s}=t,o=[],r=[];let a=e.scopes.vSlot>0||e.scopes.vFor>0;const l=dc(t,"slot",!0);if(l){const{arg:t,exp:e}=l;t&&!Jl(t)&&(a=!0),o.push(Ul(t||Gl("default",!0),n(e,i,s)))}let c=!1,d=!1;const h=[],u=new Set;for(let t=0;t<i.length;t++){const s=i[t];let p;if(!gc(s)||!(p=dc(s,"slot",!0))){3!==s.type&&h.push(s);continue}if(l){e.onError(el(37,p.loc));break}c=!0;const{children:f,loc:g}=s,{arg:m=Gl("default",!0),exp:b,loc:v}=p;let y;Jl(m)?y=m?m.content:"default":a=!0;const x=n(b,f,g);let _,w,S;if(_=dc(s,"if"))a=!0,r.push(Zl(_.exp,Nd(m,x),Dd));else if(w=dc(s,/^else(-if)?$/,!0)){let n,s=t;for(;s--&&(n=i[s],3===n.type););if(n&&gc(n)&&dc(n,"if")){i.splice(t,1),t--;let e=r[r.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=w.exp?Zl(w.exp,Nd(m,x),Dd):Nd(m,x)}else e.onError(el(30,w.loc))}else if(S=dc(s,"for")){a=!0;const t=S.parseResult||Td(S.exp);t?r.push(Kl(e.helper(xl),[t.source,Xl(Ld(t),Nd(m,x),!0)])):e.onError(el(32,S.loc))}else{if(y){if(u.has(y)){e.onError(el(38,v));continue}u.add(y),"default"===y&&(d=!0)}o.push(Ul(m,x))}}if(!l){const t=(t,i)=>{const o=n(t,i,s);return e.compatConfig&&(o.isNonScopedSlot=!0),Ul("default",o)};c?h.length&&h.some((t=>Bd(t)))&&(d?e.onError(el(39,h[0].loc)):o.push(t(void 0,h))):o.push(t(void 0,i))}const p=a?2:jd(t.children)?3:1;let f=Yl(o.concat(Ul("_",Gl(p+"",!1))),s);return r.length&&(f=Kl(e.helper(wl),[f,Wl(r)])),{slots:f,hasDynamicSlots:a}}function Nd(t,e){return Yl([Ul("name",t),Ul("fn",e)])}function jd(t){for(let e=0;e<t.length;e++){const n=t[e];switch(n.type){case 1:if(2===n.tagType||jd(n.children))return!0;break;case 9:if(jd(n.branches))return!0;break;case 10:case 11:if(jd(n.children))return!0}}return!1}function Bd(t){return 2!==t.type&&12!==t.type||(2===t.type?!!t.content.trim():Bd(t.content))}const $d=new WeakMap,zd=(t,e)=>function(){if(1!==(t=e.currentNode).type||0!==t.tagType&&1!==t.tagType)return;const{tag:n,props:i}=t,s=1===t.tagType;let o=s?function(t,e,n=!1){let{tag:i}=t;const s=Yd(i),o=hc(t,"is");if(o)if(s||kc("COMPILER_IS_ON_ELEMENT",e)){const t=6===o.type?o.value&&Gl(o.value.content,!0):o.exp;if(t)return Kl(e.helper(ml),[t])}else 6===o.type&&o.value.content.startsWith("vue:")&&(i=o.value.content.slice(4));const r=!s&&dc(t,"is");if(r&&r.exp)return Kl(e.helper(ml),[r.exp]);const a=tc(i)||e.isBuiltInComponent(i);if(a)return n||e.helper(a),a;return e.helper(gl),e.components.add(i),wc(i,"component")}(t,e):`"${n}"`;let r,a,l,c,d,h,u=0,p=z(o)&&o.callee===ml||o===il||o===sl||!s&&("svg"===n||"foreignObject"===n);if(i.length>0){const n=Vd(t,e);r=n.props,u=n.patchFlag,d=n.dynamicPropNames;const i=n.directives;h=i&&i.length?Wl(i.map((t=>function(t,e){const n=[],i=$d.get(t);i?n.push(e.helperString(i)):(e.helper(bl),e.directives.add(t.name),n.push(wc(t.name,"directive")));const{loc:s}=t;t.exp&&n.push(t.exp);t.arg&&(t.exp||n.push("void 0"),n.push(t.arg));if(Object.keys(t.modifiers).length){t.arg||(t.exp||n.push("void 0"),n.push("void 0"));const e=Gl("true",!1,s);n.push(Yl(t.modifiers.map((t=>Ul(t,e))),s))}return Wl(n,t.loc)}(t,e)))):void 0,n.shouldUseBlock&&(p=!0)}if(t.children.length>0){o===ol&&(p=!0,u|=1024);if(s&&o!==il&&o!==ol){const{slots:n,hasDynamicSlots:i}=Fd(t,e);a=n,i&&(u|=1024)}else if(1===t.children.length&&o!==il){const n=t.children[0],i=n.type,s=5===i||8===i;s&&0===id(n,e)&&(u|=1),a=s||2===i?n:t.children}else a=t.children}0!==u&&(l=String(u),d&&d.length&&(c=function(t){let e="[";for(let n=0,i=t.length;n<i;n++)e+=JSON.stringify(t[n]),n<i-1&&(e+=", ");return e+"]"}(d))),t.codegenNode=Hl(e,o,r,a,l,c,h,!!p,!1,s,t.loc)};function Vd(t,e,n=t.props,i=!1){const{tag:s,loc:o,children:r}=t,a=1===t.tagType;let l=[];const c=[],d=[],h=r.length>0;let u=!1,p=0,f=!1,g=!1,m=!1,b=!1,v=!1,y=!1;const x=[],_=({key:t,value:n})=>{if(Jl(t)){const i=t.content,s=E(i);if(a||!s||"onclick"===i.toLowerCase()||"onUpdate:modelValue"===i||q(i)||(b=!0),s&&q(i)&&(y=!0),20===n.type||(4===n.type||8===n.type)&&id(n,e)>0)return;"ref"===i?f=!0:"class"===i?g=!0:"style"===i?m=!0:"key"===i||x.includes(i)||x.push(i),!a||"class"!==i&&"style"!==i||x.includes(i)||x.push(i)}else v=!0};for(let r=0;r<n.length;r++){const p=n[r];if(6===p.type){const{loc:t,name:n,value:i}=p;let o=!0;if("ref"===n&&(f=!0,e.scopes.vFor>0&&l.push(Ul(Gl("ref_for",!0),Gl("true")))),"is"===n&&(Yd(s)||i&&i.content.startsWith("vue:")||kc("COMPILER_IS_ON_ELEMENT",e)))continue;l.push(Ul(Gl(n,!0,ac(t,0,n.length)),Gl(i?i.content:"",o,i?i.loc:t)))}else{const{name:n,arg:r,exp:f,loc:g}=p,m="bind"===n,b="on"===n;if("slot"===n){a||e.onError(el(40,g));continue}if("once"===n||"memo"===n)continue;if("is"===n||m&&uc(r,"is")&&(Yd(s)||kc("COMPILER_IS_ON_ELEMENT",e)))continue;if(b&&i)continue;if((m&&uc(r,"key")||b&&h&&uc(r,"vue:before-update"))&&(u=!0),m&&uc(r,"ref")&&e.scopes.vFor>0&&l.push(Ul(Gl("ref_for",!0),Gl("true"))),!r&&(m||b)){if(v=!0,f)if(l.length&&(c.push(Yl(Hd(l),o)),l=[]),m){if(kc("COMPILER_V_BIND_OBJECT_ORDER",e)){c.unshift(f);continue}c.push(f)}else c.push({type:14,loc:g,callee:e.helper(Ol),arguments:[f]});else e.onError(el(m?34:35,g));continue}const y=e.directiveTransforms[n];if(y){const{props:n,needRuntime:s}=y(p,t,e);
vendor: 3,828 bytes, line 2
2!i&&n.forEach(_),l.push(...n),s&&(d.push(p),$(s)&&$d.set(p,s))}else K(n)||(d.push(p),h&&(u=!0))}}let w;if(c.length?(l.length&&c.push(Yl(Hd(l),o)),w=c.length>1?Kl(e.helper(Cl),c,o):c[0]):l.length&&(w=Yl(Hd(l),o)),v?p|=16:(g&&!a&&(p|=2),m&&!a&&(p|=4),x.length&&(p|=8),b&&(p|=32)),u||0!==p&&32!==p||!(f||y||d.length>0)||(p|=512),!e.inSSR&&w)switch(w.type){case 15:let t=-1,n=-1,i=!1;for(let e=0;e<w.properties.length;e++){const s=w.properties[e].key;Jl(s)?"class"===s.content?t=e:"style"===s.content&&(n=e):s.isHandlerKey||(i=!0)}const s=w.properties[t],o=w.properties[n];i?w=Kl(e.helper(Ml),[w]):(s&&!Jl(s.value)&&(s.value=Kl(e.helper(kl),[s.value])),!o||Jl(o.value)||!m&&17!==o.value.type||(o.value=Kl(e.helper(Al),[o.value])));break;case 14:break;default:w=Kl(e.helper(Ml),[Kl(e.helper(El),[w])])}return{props:w,directives:d,patchFlag:p,dynamicPropNames:x,shouldUseBlock:u}}function Hd(t){const e=new Map,n=[];for(let i=0;i<t.length;i++){const s=t[i];if(8===s.key.type||!s.key.isStatic){n.push(s);continue}const o=s.key.content,r=e.get(o);r?("style"===o||"class"===o||E(o))&&Wd(r,s):(e.set(o,s),n.push(s))}return n}function Wd(t,e){17===t.value.type?t.value.elements.push(e.value):t.value=Wl([t.value,e.value],t.loc)}function Yd(t){return"component"===t||"Component"===t}const Ud=/-(\w)/g,Gd=(t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))})((t=>t.replace(Ud,((t,e)=>e?e.toUpperCase():"")))),qd=(t,e)=>{if(mc(t)){const{children:n,loc:i}=t,{slotName:s,slotProps:o}=function(t,e){let n,i='"default"';const s=[];for(let e=0;e<t.props.length;e++){const n=t.props[e];6===n.type?n.value&&("name"===n.name?i=JSON.stringify(n.value.content):(n.name=Gd(n.name),s.push(n))):"bind"===n.name&&uc(n.arg,"name")?n.exp&&(i=n.exp):("bind"===n.name&&n.arg&&Jl(n.arg)&&(n.arg.content=Gd(n.arg.content)),s.push(n))}if(s.length>0){const{props:i,directives:o}=Vd(t,e,s);n=i,o.length&&e.onError(el(36,o[0].loc))}return{slotName:i,slotProps:n}}(t,e),r=[e.prefixIdentifiers?"_ctx.$slots":"$slots",s,"{}","undefined","true"];let a=2;o&&(r[2]=o,a=3),n.length&&(r[3]=Xl([],n,!1,!1,i),a=4),e.scopeId&&!e.slotted&&(a=5),r.splice(a),t.codegenNode=Kl(e.helper(_l),r,i)}};const Kd=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Xd=(t,e,n,i)=>{const{loc:s,modifiers:o,arg:r}=t;let a;if(t.exp||o.length||n.onError(el(35,s)),4===r.type)if(r.isStatic){let t=r.content;t.startsWith("vue:")&&(t=`vnode-${t.slice(4)}`),a=Gl(nt(J(t)),!0,r.loc)}else a=ql([`${n.helperString(Ll)}(`,r,")"]);else a=r,a.children.unshift(`${n.helperString(Ll)}(`),a.children.push(")");let l=t.exp;l&&!l.content.trim()&&(l=void 0);let c=n.cacheHandlers&&!l&&!n.inVOnce;if(l){const t=rc(l.content),e=!(t||Kd.test(l.content)),n=l.content.includes(";");0,(e||c&&t)&&(l=ql([`${e?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let d={props:[Ul(a,l||Gl("() => {}",!1,s))]};return i&&(d=i(d)),c&&(d.props[0].value=n.cache(d.props[0].value)),d.props.forEach((t=>t.key.isHandlerKey=!0)),d},Zd=(t,e,n)=>{const{exp:i,modifiers:s,loc:o}=t,r=t.arg;return 4!==r.type?(r.children.unshift("("),r.children.push(') || ""')):r.isStatic||(r.content=`${r.content} || ""`),s.includes("camel")&&(4===r.type?r.isStatic?r.content=J(r.content):r.content=`${n.helperString(Tl)}(${r.content})`:(r.children.unshift(`${n.helperString(Tl)}(`),r.children.push(")"))),n.inSSR||(s.includes("prop")&&Jd(r,"."),s.includes("attr")&&Jd(r,"^")),!i||4===i.type&&!i.content.trim()?(n.onError(el(34,o)),{props:[Ul(r,Gl("",!0,o))]}):{props:[Ul(r,i)]}},Jd=(t,e)=>{4===t.type?t.isStatic?t.content=e+t.content:t.content=`\`${e}\${${t.content}}\``:(t.children.unshift(`'${e}' + (`),t.children.push(")"))},Qd=(t,e)=>{if(0===t.type||1===t.type||11===t.type||10===t.type)return()=>{const n=t.children;let i,s=!1;for(let t=0;t<n.length;t++){const e=n[t];if(pc(e)){s=!0;for(let s=t+1;
2s<n.length;s++){const o=n[s];if(!pc(o)){i=void 0;break}i||(i=n[t]={type:8,loc:e.loc,children:[e]}),i.children.push(" + ",o),n.splice(s,1),s--}}}if(s&&(1!==n.length||0!==t.type&&(1!==t.type||0!==t.tagType||t.props.find((t=>7===t.type&&!e.directiveTransforms[t.name]))||"template"===t.tag)))for(let t=0;t<n.length;t++){const i=n[t];if(pc(i)||8===i.type){const s=[];2===i.type&&" "===i.content||s.push(i),e.ssr||0!==id(i,e)||s.push("1"),n[t]={type:12,content:i,loc:i.loc,codegenNode:Kl(e.helper(pl),s)}}}}},th=new WeakSet,eh=(t,e)=>{if(1===t.type&&dc(t,"once",!0)){if(th.has(t)||e.inVOnce)return;return th.add(t),e.inVOnce=!0,e.helper(Dl),()=>{e.inVOnce=!1;const t=e.currentNode;t.codegenNode&&(t.codegenNode=e.cache(t.codegenNode,!0))}}},nh=(t,e,n)=>{const{exp:i,arg:s}=t;if(!i)return n.onError(el(41,t.loc)),ih();const o=i.loc.source,r=4===i.type?i.content:o;n.bindingMetadata[o];if(!r.trim()||!rc(r))return n.onError(el(42,i.loc)),ih();const a=s||Gl("modelValue",!0),l=s?Jl(s)?`onUpdate:${s.content}`:ql(['"onUpdate:" + ',s]):"onUpdate:modelValue";let c;c=ql([`${n.isTS?"($event: any)":"$event"} => ((`,i,") = $event)"]);const d=[Ul(a,t.exp),Ul(l,c)];if(t.modifiers.length&&1===e.tagType){const e=t.modifiers.map((t=>(nc(t)?t:JSON.stringify(t))+": true")).join(", "),n=s?Jl(s)?`${s.content}Modifiers`:ql([s,' + "Modifiers"']):"modelModifiers";d.push(Ul(n,Gl(`{ ${e} }`,!1,t.loc,2)))}return ih(d)};function ih(t=[]){return{props:t}}const sh=/[\w).+\-_$\]]/,oh=(t,e)=>{kc("COMPILER_FILTER",e)&&(5===t.type&&rh(t.content,e),1===t.type&&t.props.forEach((t=>{7===t.type&&"for"!==t.name&&t.exp&&rh(t.exp,e)})))};function rh(t,e){if(4===t.type)ah(t,e);else for(let n=0;n<t.children.length;n++){const i=t.children[n];"object"==typeof i&&(4===i.type?ah(i,e):8===i.type?rh(t,e):5===i.type&&rh(i.content,e))}}function ah(t,e){const n=t.content;let i,s,o,r,a=!1,l=!1,c=!1,d=!1,h=0,u=0,p=0,f=0,g=[];for(o=0;o<n.length;o++)if(s=i,i=n.charCodeAt(o),a)39===i&&92!==s&&(a=!1);else if(l)34===i&&92!==s&&(l=!1);else if(c)96===i&&92!==s&&(c=!1);else if(d)47===i&&92!==s&&(d=!1);else if(124!==i||124===n.charCodeAt(o+1)||124===n.charCodeAt(o-1)||h||u||p){switch(i){case 34:l=!0;break;case 39:a=!0;break;case 96:c=!0;break;case 40:p++;break;case 41:p--;break;case 91:u++;break;case 93:u--;break;case 123:h++;break;case 125:h--}if(47===i){let t,e=o-1;for(;e>=0&&(t=n.charAt(e)," "===t);e--);t&&sh.test(t)||(d=!0)}}else void 0===r?(f=o+1,r=n.slice(0,o).trim()):m();function m(){g.push(n.slice(f,o).trim()),f=o+1}if(void 0===r?r=n.slice(0,o).trim():0!==f&&m(),g.length){for(o=0;o<g.length;o++)r=lh(r,g[o],e);t.content=r}}function lh(t,e,n){n.helper(vl);const i=e.indexOf("(");if(i<0)return n.filters.add(e),`${wc(e,"filter")}(${t})`;{const s=e.slice(0,i),o=e.slice(i+1);return n.filters.add(s),`${wc(s,"filter")}(${t}${")"!==o?","+o:o}`}}const ch=new WeakSet,dh=(t,e)=>{if(1===t.type){const n=dc(t,"memo");if(!n||ch.has(t))return;return ch.add(t),()=>{const i=t.codegenNode||e.currentNode.codegenNode;i&&13===i.type&&(1!==t.tagType&&Sc(i,e),t.codegenNode=Kl(e.helper(Bl),[n.exp,Xl(void 0,i),"_cache",String(e.cached++)]))}}};function hh(t,e={}){const n=e.onError||Qa,i="module"===e.mode;!0===e.prefixIdentifiers?n(el(46)):i&&n(el(47));e.cacheHandlers&&n(el(48)),e.scopeId&&!i&&n(el(49));const s=B(t)?Tc(t,e):t,[o,r]=[[eh,wd,dh,Ad,oh,qd,zd,Id,Qd],{on:Xd,bind:Zd,model:nh}];return dd(s,T({},e,{prefixIdentifiers:false,nodeTransforms:[...o,...e.nodeTransforms||[]],directiveTransforms:T({},r,e.directiveTransforms||{})})),fd(s,T({},e,{prefixIdentifiers:false}))}const uh=Symbol(""),ph=Symbol(""),fh=Symbol(""),gh=Symbol(""),mh=Symbol(""),bh=Symbol(""),vh=Symbol(""),yh=Symbol(""),xh=Symbol(""),_h=Symbol("");var wh;let Sh;wh={[uh]:"vModelRadio",[ph]:"vModelCheckbox",[fh]:"vModelText",[gh]:"vModelSelect",[mh]:"vModelDynamic",[bh]:"withModifiers",[vh]:"withKeys",[yh]:"vShow",[xh]:"Transition",[_h]:"TransitionGroup"},Object.getOwnPropertySymbols(wh).forEach((t=>{zl[t]=wh[t]}));const Ch=s("style,iframe,script,noscript",!0),kh={isVoidTag:v,isNativeTag:t=>m(t)||b(t),isPreTag:t=>"pre"===t,decodeEntities:function(t,e=!1){return Sh||(Sh=document.createElement("div")),e?(Sh.innerHTML=`<div foo="${t.replace(/"/g,"&quot;")}">`,Sh.children[0].getAttribute("foo")):(Sh.innerHTML=t,Sh.textContent)},isBuiltInComponent:t=>Ql(t,"Transition")?xh:Ql(t,"TransitionGroup")?_h:void 0,getNamespace(t,e){let n=e?e.ns:0;if(e&&2===n)if("annotation-xml"===e.tag){if("svg"===t)return 1;e.props.some((t=>6===t.type&&"encoding"===t.name&&null!=t.value&&("text/html"===t.value.content||"application/xhtml+xml"===t.value.content)))&&(n=0)}else/^m(?:[ions]|text)$/.test(e.tag)&&"mglyph"!==t&&"malignmark"!==t&&(n=0);else e&&1===n&&("foreignObject"!==e.tag&&"desc"!==e.tag&&"title"!==e.tag||(n=0));if(0===n){if("svg"===t)return 1;if("math"===t)return 2}return n},getTextMode({tag:t,ns:e}){if(0===e){if("textarea"===t||"title"===t)return 1;if(Ch(t))return 2}return 0}},Ah=(t,e)=>{const n=p(t);
2return Gl(JSON.stringify(n),!1,e,3)};function Mh(t,e){return el(t,e)}const Eh=s("passive,once,capture"),Oh=s("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Th=s("left,right"),Ph=s("onkeyup,onkeydown,onkeypress",!0),Lh=(t,e)=>Jl(t)&&"onclick"===t.content.toLowerCase()?Gl(e,!0):4!==t.type?ql(["(",t,`) === "onClick" ? "${e}" : (`,t,")"]):t;const Dh=(t,e)=>{1!==t.type||0!==t.tagType||"script"!==t.tag&&"style"!==t.tag||(e.onError(Mh(60,t.loc)),e.removeNode())},Ih=[t=>{1===t.type&&t.props.forEach(((e,n)=>{6===e.type&&"style"===e.name&&e.value&&(t.props[n]={type:7,name:"bind",arg:Gl("style",!0,e.loc),exp:Ah(e.value.content,e.loc),modifiers:[],loc:e.loc})}))}],Rh={cloak:()=>({props:[]}),html:(t,e,n)=>{const{exp:i,loc:s}=t;return i||n.onError(Mh(50,s)),e.children.length&&(n.onError(Mh(51,s)),e.children.length=0),{props:[Ul(Gl("innerHTML",!0,s),i||Gl("",!0))]}},text:(t,e,n)=>{const{exp:i,loc:s}=t;return i||n.onError(Mh(52,s)),e.children.length&&(n.onError(Mh(53,s)),e.children.length=0),{props:[Ul(Gl("textContent",!0),i?Kl(n.helperString(Sl),[i],s):Gl("",!0))]}},model:(t,e,n)=>{const i=nh(t,e,n);if(!i.props.length||1===e.tagType)return i;t.arg&&n.onError(Mh(55,t.arg.loc));const{tag:s}
2=e,o=n.isCustomElement(s);if("input"===s||"textarea"===s||"select"===s||o){let r=fh,a=!1;if("input"===s||o){const i=hc(e,"type");if(i){if(7===i.type)r=mh;else if(i.value)switch(i.value.content){case"radio":r=uh;break;case"checkbox":r=ph;break;case"file":a=!0,n.onError(Mh(56,t.loc))}}else(function(t){return t.props.some((t=>!(7!==t.type||"bind"!==t.name||t.arg&&4===t.arg.type&&t.arg.isStatic)))})(e)&&(r=mh)}else"select"===s&&(r=gh);a||(i.needRuntime=n.helper(r))}else n.onError(Mh(54,t.loc));return i.props=i.props.filter((t=>!(4===t.key.type&&"modelValue"===t.key.content))),i},on:(t,e,n)=>Xd(t,e,n,(e=>{const{modifiers:i}=t;if(!i.length)return e;let{key:s,value:o}=e.props[0];const{keyModifiers:r,nonKeyModifiers:a,eventOptionModifiers:l}=((t,e,n,i)=>{const s=[],o=[],r=[];for(let i=0;i<e.length;i++){const a=e[i];"native"===a&&Ac("COMPILER_V_ON_NATIVE",n)||Eh(a)?r.push(a):Th(a)?Jl(t)?Ph(t.content)?s.push(a):o.push(a):(s.push(a),o.push(a)):Oh(a)?o.push(a):s.push(a)}return{keyModifiers:s,nonKeyModifiers:o,eventOptionModifiers:r}})(s,i,n,t.loc);if(a.includes("right")&&(s=Lh(s,"onContextmenu")),a.includes("middle")&&(s=Lh(s,"onMouseup")),a.length&&(o=Kl(n.helper(bh),[o,JSON.stringify(a)])),!r.length||Jl(s)&&!Ph(s.content)||(o=Kl(n.helper(vh),[o,JSON.stringify(r)])),l.length){const t=l.map(et).join("");s=Jl(s)?Gl(`${s.content}${t}`,!0):ql(["(",s,`) + "${t}"`])}return{props:[Ul(s,o)]}})),show:(t,e,n)=>{const{exp:i,loc:s}=t;return i||n.onError(Mh(58,s)),{props:[],needRuntime:n.helper(yh)}}};const Fh=Object.create(null);qo((function(t,e){if(!B(t)){if(!t.nodeType)return k;t=t.innerHTML}const n=t,s=Fh[n];if(s)return s;if("#"===t[0]){const e=document.querySelector(t);0,t=e?e.innerHTML:""}const{code:o}=function(t,e={}){return hh(t,T({},kh,e,{nodeTransforms:[Dh,...Ih,...e.nodeTransforms||[]],directiveTransforms:T({},Rh,e.directiveTransforms||{}),transformHoist:null}))}(t,T({hoistStatic:!0,onError:void 0,onWarn:k},e)),r=new Function("Vue",o)(i);return r._rc=!0,Fh[n]=r}))},120:(t,e,n)=>{n.d(e,{baj:()=>_});var i=n(821);function s(t){return!!(0,i.nZ)()&&((0,i.EB)(t),!0)}const o="undefined"!=typeof window,r=(Object.prototype.toString,t=>"string"==typeof t),a=()=>{};Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;const l=o?window:void 0;o&&window.document,o&&window.navigator,o&&window.location;function c(...t){let e,n,o,c;if(r(t[0])?([n,o,c]=t,e=l):[e,n,o,c]=t,!e)return a;let d=a;const h=(0,i.YP)((()=>(0,i.SU)(e)),(t=>{d(),t&&(t.addEventListener(n,o,c),d=()=>{t.removeEventListener(n,o,c),d=a})}),{immediate:!0,flush:"post"}),u=()=>{h(),d()};return s(u),u}Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;const d="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},h="__vueuse_ssr_handlers__";d[h]=d[h]||{};d[h];Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var u,p;o&&(null==window?void 0:window.navigator)&&(null==(u=null==window?void 0:window.navigator)?void 0:u.platform)&&/iP(ad|hone|od)/.test(null==(p=null==window?void 0:window.navigator)?void 0:p.platform);Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var f=Object.defineProperty,g=(Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols),m=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,v=(t,e,n)=>e in t?f(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,y=(t,e)=>{for(var n in e||(e={}))m.call(e,n)&&v(t,n,e[n]);if(g)for(var n of g(e))b.call(e,n)&&v(t,n,e[n]);return t};const x={top:0,left:0,bottom:0,right:0,height:0,width:0};y({text:""},x);Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;function _({window:t=l}={}){if(!t)return{x:(0,i.iH)(0),y:(0,i.iH)(0)};const e=(0,i.iH)(t.pageXOffset),n=(0,i.iH)(t.pageYOffset);return c("scroll",(()=>{e.value=t.pageXOffset,n.value=t.pageYOffset}),{capture:!1,passive:!0}),{x:e,y:n}}},911:(t,e,n)=>{function i(t){return null!==t&&"object"==typeof t&&"constructor"in t&&t.constructor===Object}function s(t={},e={}){Object.keys(e).forEach((n=>{void 0===t[n]?t[n]=e[n]:i(e[n])&&i(t[n])&&Object.keys(e[n]).length>0&&s(t[n],e[n])}))}n.d(e,{pt:()=>
vendor: 10,822 bytes, line 2
2ot,W_:()=>nt,tl:()=>st,ZP:()=>tt});const o={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function r(){const t="undefined"!=typeof document?document:{};return s(t,o),t}const a={document:o,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:t=>"undefined"==typeof setTimeout?(t(),null):setTimeout(t,0),cancelAnimationFrame(t){"undefined"!=typeof setTimeout&&clearTimeout(t)}};function l(){const t="undefined"!=typeof window?window:{};return s(t,a),t}class c extends Array{constructor(t){"number"==typeof t?super(t):(super(...t||[]),function(t){const e=t.__proto__;Object.defineProperty(t,"__proto__",{get:()=>e,set(t){e.__proto__=t}})}(this))}}function d(t=[]){const e=[];return t.forEach((t=>{Array.isArray(t)?e.push(...d(t)):e.push(t)})),e}function h(t,e){return Array.prototype.filter.call(t,e)}function u(t,e){const n=l(),i=r();let s=[];if(!e&&t instanceof c)return t;if(!t)return new c(s);if("string"==typeof t){const n=t.trim();if(n.indexOf("<")>=0&&n.indexOf(">")>=0){let t="div";0===n.indexOf("<li")&&(t="ul"),0===n.indexOf("<tr")&&(t="tbody"),0!==n.indexOf("<td")&&0!==n.indexOf("<th")||(t="tr"),0===n.indexOf("<tbody")&&(t="table"),0===n.indexOf("<option")&&(t="select");const e=i.createElement(t);e.innerHTML=n;for(let t=0;t<e.childNodes.length;t+=1)s.push(e.childNodes[t])}else s=function(t,e){if("string"!=typeof t)return[t];const n=[],i=e.querySelectorAll(t);for(let t=0;t<i.length;t+=1)n.push(i[t]);return n}(t.trim(),e||i)}else if(t.nodeType||t===n||t===i)s.push(t);else if(Array.isArray(t)){if(t instanceof c)return t;s=t}return new c(function(t){const e=[];for(let n=0;n<t.length;n+=1)-1===e.indexOf(t[n])&&e.push(t[n]);return e}(s))}u.fn=c.prototype;const p="resize scroll".split(" ");function f(t){return function(...e){if(void 0===e[0]){for(let e=0;e<this.length;e+=1)p.indexOf(t)<0&&(t in this[e]?this[e][t]():u(this[e]).trigger(t));return this}return this.on(t,...e)}}f("click"),f("blur"),f("focus"),f("focusin"),f("focusout"),f("keyup"),f("keydown"),f("keypress"),f("submit"),f("change"),f("mousedown"),f("mousemove"),f("mouseup"),f("mouseenter"),f("mouseleave"),f("mouseout"),f("mouseover"),f("touchstart"),f("touchend"),f("touchmove"),f("resize"),f("scroll");const g={addClass:function(...t){const e=d(t.map((t=>t.split(" "))));return this.forEach((t=>{t.classList.add(...e)})),this},removeClass:function(...t){const e=d(t.map((t=>t.split(" "))));return this.forEach((t=>{t.classList.remove(...e)})),this},hasClass:function(...t){const e=d(t.map((t=>t.split(" "))));return h(this,(t=>e.filter((e=>t.classList.contains(e))).length>0)).length>0},toggleClass:function(...t){const e=d(t.map((t=>t.split(" "))));this.forEach((t=>{e.forEach((e=>{t.classList.toggle(e)}))}))},attr:function(t,e){if(1===arguments.length&&"string"==typeof t)return this[0]?this[0].getAttribute(t):void 0;for(let n=0;n<this.length;n+=1)if(2===arguments.length)this[n].setAttribute(t,e);else for(const e in t)this[n][e]=t[e],this[n].setAttribute(e,t[e]);return this},removeAttr:function(t){for(let e=0;e<this.length;e+=1)this[e].removeAttribute(t);return this},transform:function(t){for(let e=0;e<this.length;e+=1)this[e].style.transform=t;return this},transition:function(t){for(let e=0;e<this.length;e+=1)this[e].style.transitionDuration="string"!=typeof t?`${t}ms`:t;return this},on:function(...t){let[e,n,i,s]=t;function o(t){const e=t.target;if(!e)return;const s=t.target.dom7EventData||[];if(s.indexOf(t)<0&&s.unshift(t),u(e).is(n))i.apply(e,s);else{const t=u(e).parents();for(let e=0;e<t.length;e+=1)u(t[e]).is(n)&&i.apply(t[e],s)}}function r(t){const e=t&&t.target&&t.target.dom7EventData||[];e.indexOf(t)<0&&e.unshift(t),i.apply(this,e)}"function"==typeof t[1]&&([e,i,s]=t,n=void 0),s||(s=!1);const a=e.split(" ");let l;for(let t=0;t<this.length;t+=1){const e=this[t];if(n)for(l=0;l<a.length;l+=1){const t=a[l];e.dom7LiveListeners||(e.dom7LiveListeners={}),e.dom7LiveListeners[t]||(e.dom7LiveListeners[t]=[]),e.dom7LiveListeners[t].push({listener:i,proxyListener:o}),e.addEventListener(t,o,s)}else for(l=0;l<a.length;l+=1){const t=a[l];e.dom7Listeners||(e.dom7Listeners={}),e.dom7Listeners[t]||(e.dom7Listeners[t]=[]),e.dom7Listeners[t].push({listener:i,proxyListener:r}),e.addEventListener(t,r,s)}}return this},off:function(...t){let[e,n,i,s]=t;"function"==typeof t[1]&&([e,i,s]=t,n=void 0),s||(s=!1);const o=e.split(" ");for(let t=0;t<o.length;t+=1){const e=o[t];for(let t=0;t<this.length;t+=1){const o=this[t];let r;if(!n&&o.dom7Listeners?r=o.dom7Listeners[e]:n&&o.dom7LiveListeners&&(r=o.dom7LiveListeners[e]),r&&r.length)for(let t=r.length-1;t>=0;t-=1){const n=r[t];i&&n.listener===i||i&&n.listener&&n.listener.dom7proxy&&n.listener.dom7proxy===i?(o.removeEventListener(e,n.proxyListener,s),r.splice(t,1)):i||(o.removeEventListener(e,n.proxyListener,s),r.splice(t,1))}}}return this},trigger:function(...t){const e=l(),n=t[0].split(" "),i=t[1];for(let s=0;s<n.length;s+=1){const o=n[s];for(let n=0;n<this.length;n+=1){const s=this[n];if(e.CustomEvent){const n=new e.CustomEvent(o,{detail:i,bubbles:!0,cancelable:!0});s.dom7EventData=t.filter(((t,e)=>e>0)),s.dispatchEvent(n),s.dom7EventData=[],delete s.dom7EventData}}}return this},transitionEnd:function(t){const e=this;return t&&e.on("transitionend",(function n(i){i.target===this&&(t.call(this,i),e.off("transitionend",n))})),this},outerWidth:function(t){if(this.length>0){if(t){const t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(t){if(this.length>0){if(t){const t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){const t=l();return this[0]?t.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){const t=l(),e=r(),n=this[0],i=n.getBoundingClientRect(),s=e.body,o=n.clientTop||s.clientTop||0,a=n.clientLeft||s.clientLeft||0,c=n===t?t.scrollY:n.scrollTop,d=n===t?t.scrollX:n.scrollLeft;return{top:i.top+c-o,left:i.left+d-a}}return null},css:function(t,e){const n=l();let i;if(1===arguments.length){if("string"!=typeof t){for(i=0;i<this.length;i+=1)for(const e in t)this[i].style[e]=t[e];return this}if(this[0])return n.getComputedStyle(this[0],null).getPropertyValue(t)}if(2===arguments.length&&"string"==typeof t){for(i=0;i<this.length;i+=1)this[i].style[t]=e;return this}return this},each:function(t){return t?(this.forEach(((e,n)=>{t.apply(e,[e,n])})),this):this},html:function(t){if(void 0===t)return this[0]?this[0].innerHTML:null;for(let e=0;e<this.length;e+=1)this[e].innerHTML=t;return this},text:function(t){if(void 0===t)return this[0]?this[0].textContent.trim():null;for(let e=0;e<this.length;e+=1)this[e].textContent=t;return this},is:function(t){const e=l(),n=r(),i=this[0];let s,o;if(!i||void 0===t)return!1;if("string"==typeof t){if(i.matches)return i.matches(t);if(i.webkitMatchesSelector)return i.webkitMatchesSelector(t);if(i.msMatchesSelector)return i.msMatchesSelector(t);for(s=u(t),o=0;o<s.length;o+=1)if(s[o]===i)return!0;return!1}if(t===n)return i===n;if(t===e)return i===e;if(t.nodeType||t instanceof c){for(s=t.nodeType?[t]:t,o=0;o<s.length;o+=1)if(s[o]===i)return!0;return!1}return!1},index:function(){let t,e=this[0];if(e){for(t=0;null!==(e=e.previousSibling);)1===e.nodeType&&(t+=1);return t}},eq:function(t){if(void 0===t)return this;const e=this.length;if(t>e-1)return u([]);if(t<0){const n=e+t;return u(n<0?[]:[this[n]])}return u([this[t]])},append:function(...t){let e;const n=r();for(let i=0;i<t.length;i+=1){e=t[i];for(let t=0;t<this.length;t+=1)if("string"==typeof e){const i=n.createElement("div");for(i.innerHTML=e;i.firstChild;)this[t].appendChild(i.firstChild)}else if(e instanceof c)for(let n=0;n<e.length;n+=1)this[t].appendChild(e[n]);else this[t].appendChild(e)}return this},prepend:function(t){const e=r();let n,i;for(n=0;n<this.length;n+=1)if("string"==typeof t){const s=e.createElement("div");for(s.innerHTML=t,i=s.childNodes.length-1;i>=0;i-=1)this[n].insertBefore(s.childNodes[i],this[n].childNodes[0])}else if(t instanceof c)for(i=0;i<t.length;i+=1)this[n].insertBefore(t[i],this[n].childNodes[0]);else this[n].insertBefore(t,this[n].childNodes[0]);return this},next:function(t){return this.length>0?t?this[0].nextElementSibling&&u(this[0].nextElementSibling).is(t)?u([this[0].nextElementSibling]):u([]):this[0].nextElementSibling?u([this[0].nextElementSibling]):u([]):u([])},nextAll:function(t){const e=[];let n=this[0];if(!n)return u([]);for(;n.nextElementSibling;){const i=n.nextElementSibling;t?u(i).is(t)&&e.push(i):e.push(i),n=i}return u(e)},prev:function(t){if(this.length>0){const e=this[0];return t?e.previousElementSibling&&u(e.previousElementSibling).is(t)?u([e.previousElementSibling]):u([]):e.previousElementSibling?u([e.previousElementSibling]):u([])}return u([])},prevAll:function(t){const e=[];let n=this[0];if(!n)return u([]);for(;n.previousElementSibling;){const i=n.previousElementSibling;t?u(i).is(t)&&e.push(i):e.push(i),n=i}return u(e)},parent:function(t){const e=[];for(let n=0;n<this.length;n+=1)null!==this[n].parentNode&&(t?u(this[n].parentNode).is(t)&&e.push(this[n].parentNode):e.push(this[n].parentNode));return u(e)},parents:function(t){const e=[];for(let n=0;n<this.length;n+=1){let i=this[n].parentNode;for(;i;)t?u(i).is(t)&&e.push(i):e.push(i),i=i.parentNode}return u(e)},closest:function(t){let e=this;return void 0===t?u([]):(e.is(t)||(e=e.parents(t).eq(0)),e)},find:function(t){const e=[];for(let n=0;n<this.length;n+=1){const i=this[n].querySelectorAll(t);for(let t=0;t<i.length;t+=1)e.push(i[t])}return u(e)},children:function(t){const e=[];for(let n=0;n<this.length;n+=1){const i=this[n].children;for(let n=0;n<i.length;n+=1)t&&!u(i[n]).is(t)||e.push(i[n])}return u(e)},filter:function(t){return u(h(this,t))},remove:function(){for(let t=0;t<this.length;t+=1)this[t].parentNode&&this[t].parentNode.removeChild(this[t]);return this}};Object.keys(g).forEach((t=>{Object.defineProperty(u.fn,t,{value:g[t],writable:!0})}
vendor: 16,359 bytes, line 2
2));const m=u;function b(t,e){return void 0===e&&(e=0),setTimeout(t,e)}function v(){return Date.now()}function y(t,e){void 0===e&&(e="x");const n=l();let i,s,o;const r=function(t){const e=l();let n;return e.getComputedStyle&&(n=e.getComputedStyle(t,null)),!n&&t.currentStyle&&(n=t.currentStyle),n||(n=t.style),n}(t);return n.WebKitCSSMatrix?(s=r.transform||r.webkitTransform,s.split(",").length>6&&(s=s.split(", ").map((t=>t.replace(",","."))).join(", ")),o=new n.WebKitCSSMatrix("none"===s?"":s)):(o=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=o.toString().split(",")),"x"===e&&(s=n.WebKitCSSMatrix?o.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===e&&(s=n.WebKitCSSMatrix?o.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),s||0}function x(t){return"object"==typeof t&&null!==t&&t.constructor&&"Object"===Object.prototype.toString.call(t).slice(8,-1)}function _(){const t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let i=1;i<arguments.length;i+=1){const s=i<0||arguments.length<=i?void 0:arguments[i];if(null!=s&&(n=s,!("undefined"!=typeof window&&void 0!==window.HTMLElement?n instanceof HTMLElement:n&&(1===n.nodeType||11===n.nodeType)))){const n=Object.keys(Object(s)).filter((t=>e.indexOf(t)<0));for(let e=0,i=n.length;e<i;e+=1){const i=n[e],o=Object.getOwnPropertyDescriptor(s,i);void 0!==o&&o.enumerable&&(x(t[i])&&x(s[i])?s[i].__swiper__?t[i]=s[i]:_(t[i],s[i]):!x(t[i])&&x(s[i])?(t[i]={},s[i].__swiper__?t[i]=s[i]:_(t[i],s[i])):t[i]=s[i])}}}var n;return t}function w(t,e,n){t.style.setProperty(e,n)}function S(t){let{swiper:e,targetPosition:n,side:i}=t;const s=l(),o=-e.translate;let r,a=null;const c=e.params.speed;e.wrapperEl.style.scrollSnapType="none",s.cancelAnimationFrame(e.cssModeFrameID);const d=n>o?"next":"prev",h=(t,e)=>"next"===d&&t>=e||"prev"===d&&t<=e,u=()=>{r=(new Date).getTime(),null===a&&(a=r);const t=Math.max(Math.min((r-a)/c,1),0),l=.5-Math.cos(t*Math.PI)/2;let d=o+l*(n-o);if(h(d,n)&&(d=n),e.wrapperEl.scrollTo({[i]:d}),h(d,n))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout((()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[i]:d})})),void s.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=s.requestAnimationFrame(u)};u()}let C,k,A;function M(){return C||(C=function(){const t=l(),e=r();return{smoothScroll:e.documentElement&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch),passiveListener:function(){let e=!1;try{const n=Object.defineProperty({},"passive",{get(){e=!0}});t.addEventListener("testPassiveListener",null,n)}catch(t){}return e}(),gestures:"ongesturestart"in t}}()),C}function E(t){return void 0===t&&(t={}),k||(k=function(t){let{userAgent:e}=void 0===t?{}:t;const n=M(),i=l(),s=i.navigator.platform,o=e||i.navigator.userAgent,r={ios:!1,android:!1},a=i.screen.width,c=i.screen.height,d=o.match(/(Android);?[\s\/]+([\d.]+)?/);let h=o.match(/(iPad).*OS\s([\d_]+)/);const u=o.match(/(iPod)(.*OS\s([\d_]+))?/),p=!h&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f="Win32"===s;let g="MacIntel"===s;return!h&&g&&n.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${a}x${c}`)>=0&&(h=o.match(/(Version)\/([\d.]+)/),h||(h=[0,1,"13_0_0"]),g=!1),d&&!f&&(r.os="android",r.android=!0),(h||p||u)&&(r.os="ios",r.ios=!0),r}(t)),k}function O(){return A||(A=function(){const t=l();return{isSafari:function(){const e=t.navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)}}()),A}const T={on(t,e,n){const i=this;if("function"!=typeof e)return i;const s=n?"unshift":"push";return t.split(" ").forEach((t=>{i.eventsListeners[t]||(i.eventsListeners[t]=[]),i.eventsListeners[t][s](e)})),i},once(t,e,n){const i=this;if("function"!=typeof e)return i;function s(){i.off(t,s),s.__emitterProxy&&delete s.__emitterProxy;for(var n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];e.apply(i,o)}return s.__emitterProxy=e,i.on(t,s,n)},onAny(t,e){const n=this;if("function"!=typeof t)return n;const i=e?"unshift":"push";return n.eventsAnyListeners.indexOf(t)<0&&n.eventsAnyListeners[i](t),n},offAny(t){const e=this;if(!e.eventsAnyListeners)return e;const n=e.eventsAnyListeners.indexOf(t);return n>=0&&e.eventsAnyListeners.splice(n,1),e},off(t,e){const n=this;return n.eventsListeners?(t.split(" ").forEach((t=>{void 0===e?n.eventsListeners[t]=[]:n.eventsListeners[t]&&n.eventsListeners[t].forEach(((i,s)=>{(i===e||i.__emitterProxy&&i.__emitterProxy===e)&&n.eventsListeners[t].splice(s,1)}))})),n):n},emit(){const t=this;if(!t.eventsListeners)return t;let e,n,i;for(var s=arguments.length,o=new Array(s),r=0;r<s;r++)o[r]=arguments[r];"string"==typeof o[0]||Array.isArray(o[0])?(e=o[0],n=o.slice(1,o.length),i=t):(e=o[0].events,n=o[0].data,i=o[0].context||t),n.unshift(i);return(Array.isArray(e)?e:e.split(" ")).forEach((e=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach((t=>{t.apply(i,[e,...n])})),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach((t=>{t.apply(i,n)}))})),t}};const P={updateSize:function(){const t=this;let e,n;const i=t.$el;e=void 0!==t.params.width&&null!==t.params.width?t.params.width:i[0].clientWidth,n=void 0!==t.params.height&&null!==t.params.height?t.params.height:i[0].clientHeight,0===e&&t.isHorizontal()||0===n&&t.isVertical()||(e=e-parseInt(i.css("padding-left")||0,10)-parseInt(i.css("padding-right")||0,10),n=n-parseInt(i.css("padding-top")||0,10)-parseInt(i.css("padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(n)&&(n=0),Object.assign(t,{width:e,height:n,size:t.isHorizontal()?e:n}))},updateSlides:function(){const t=this;function e(e){return t.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}function n(t,n){return parseFloat(t.getPropertyValue(e(n))||0)}const i=t.params,{$wrapperEl:s,size:o,rtlTranslate:r,wrongRTL:a}=t,l=t.virtual&&i.virtual.enabled,c=l?t.virtual.slides.length:t.slides.length,d=s.children(`.${t.params.slideClass}`),h=l?t.virtual.slides.length:d.length;let u=[];const p=[],f=[];let g=i.slidesOffsetBefore;"function"==typeof g&&(g=i.slidesOffsetBefore.call(t));let m=i.slidesOffsetAfter;"function"==typeof m&&(m=i.slidesOffsetAfter.call(t));const b=t.snapGrid.length,v=t.slidesGrid.length;let y=i.spaceBetween,x=-g,_=0,S=0;if(void 0===o)return;"string"==typeof y&&y.indexOf("%")>=0&&(y=parseFloat(y.replace("%",""))/100*o),t.virtualSize=-y,r?d.css({marginLeft:"",marginBottom:"",marginTop:""}):d.css({marginRight:"",marginBottom:"",marginTop:""}),i.centeredSlides&&i.cssMode&&(w(t.wrapperEl,"--swiper-centered-offset-before",""),w(t.wrapperEl,"--swiper-centered-offset-after",""));const C=i.grid&&i.grid.rows>1&&t.grid;let k;C&&t.grid.initSlides(h);const A="auto"===i.slidesPerView&&i.breakpoints&&Object.keys(i.breakpoints).filter((t=>void 0!==i.breakpoints[t].slidesPerView)).length>0;for(let s=0;s<h;s+=1){k=0;const r=d.eq(s);if(C&&t.grid.updateSlide(s,r,h,e),"none"!==r.css("display")){if("auto"===i.slidesPerView){A&&(d[s].style[e("width")]="");const o=getComputedStyle(r[0]),a=r[0].style.transform,l=r[0].style.webkitTransform;if(a&&(r[0].style.transform="none"),l&&(r[0].style.webkitTransform="none"),i.roundLengths)k=t.isHorizontal()?r.outerWidth(!0):r.outerHeight(!0);else{const t=n(o,"width"),e=n(o,"padding-left"),i=n(o,"padding-right"),s=n(o,"margin-left"),a=n(o,"margin-right"),l=o.getPropertyValue("box-sizing");if(l&&"border-box"===l)k=t+s+a;else{const{clientWidth:n,offsetWidth:o}=r[0];k=t+e+i+s+a+(o-n)}}a&&(r[0].style.transform=a),l&&(r[0].style.webkitTransform=l),i.roundLengths&&(k=Math.floor(k))}else k=(o-(i.slidesPerView-1)*y)/i.slidesPerView,i.roundLengths&&(k=Math.floor(k)),d[s]&&(d[s].style[e("width")]=`${k}px`);d[s]&&(d[s].swiperSlideSize=k),f.push(k),i.centeredSlides?(x=x+k/2+_/2+y,0===_&&0!==s&&(x=x-o/2-y),0===s&&(x=x-o/2-y),Math.abs(x)<.001&&(x=0),i.roundLengths&&(x=Math.floor(x)),S%i.slidesPerGroup==0&&u.push(x),p.push(x)):(i.roundLengths&&(x=Math.floor(x)),(S-Math.min(t.params.slidesPerGroupSkip,S))%t.params.slidesPerGroup==0&&u.push(x),p.push(x),x=x+k+y),t.virtualSize+=k+y,_=k,S+=1}}if(t.virtualSize=Math.max(t.virtualSize,o)+m,r&&a&&("slide"===i.effect||"coverflow"===i.effect)&&s.css({width:`${t.virtualSize+i.spaceBetween}px`}),i.setWrapperSize&&s.css({[e("width")]:`${t.virtualSize+i.spaceBetween}px`}),C&&t.grid.updateWrapperSize(k,u,e),!i.centeredSlides){const e=[];for(let n=0;n<u.length;n+=1){let s=u[n];i.roundLengths&&(s=Math.floor(s)),u[n]<=t.virtualSize-o&&e.push(s)}u=e,Math.floor(t.virtualSize-o)-Math.floor(u[u.length-1])>1&&u.push(t.virtualSize-o)}if(0===u.length&&(u=[0]),0!==i.spaceBetween){const n=t.isHorizontal()&&r?"marginLeft":e("marginRight");d.filter(((t,e)=>!i.cssMode||e!==d.length-1)).css({[n]:`${y}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let t=0;f.forEach((e=>{t+=e+(i.spaceBetween?i.spaceBetween:0)})),t-=i.spaceBetween;const e=t-o;u=u.map((t=>t<0?-g:t>e?e+m:t))}if(i.centerInsufficientSlides){let t=0;if(f.forEach((e=>{t+=e+(i.spaceBetween?i.spaceBetween:0)})),t-=i.spaceBetween,t<o){const e=(o-t)/2;u.forEach(((t,n)=>{u[n]=t-e})),p.forEach(((t,n)=>{p[n]=t+e}))}}if(Object.assign(t,{slides:d,snapGrid:u,slidesGrid:p,slidesSizesGrid:f}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){w(t.wrapperEl,"--swiper-centered-offset-before",-u[0]+"px"),w(t.wrapperEl,"--swiper-centered-offset-after",t.size/2-f[f.length-1]/2+"px");const e=-t.snapGrid[0],n=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map((t=>t+e)),t.slidesGrid=t.slidesGrid.map((t=>t+n))}if(h!==c&&t.emit("slidesLengthChange"),u.length!==b&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),p.length!==v&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),!(l||i.cssMode||"slide"!==i.effect&&"fade"!==i.effect)){const e=`${i.containerModifierClass}backface-hidden`,n=t.$el.hasClass(e);h<=i.maxBackfaceHiddenSlides?n||t.$el.addClass(e):n&&t.$el.removeClass(e)}},updateAutoHeight:function(t){const e=this,n=[],i=e.virtual&&e.params.virtual.enabled;let s,o=0;"number"==typeof t?e.setTransition(t):!0===t&&e.setTransition(e.params.speed);const r=t=>i?e.slides.filter((e=>parseInt(e.getAttribute("data-swiper-slide-index"),10)===t))[0]:e.slides.eq(t)[0];if("auto"!==e.params.slidesPerView&&e.params.slidesPerView>1)if(e.params.centeredSlides)e.visibleSlides.each((t=>{n.push(t)}));else for(s=0;s<Math.ceil(e.params.slidesPerView);s+=1){const t=e.activeIndex+s;if(t>e.slides.length&&!i)break;n.push(r(t))}else n.push(r(e.activeIndex));for(s=0;s<n.length;s+=1)if(void 0!==n[s]){const t=n[s].offsetHeight;o=t>o?t:o}(o||0===o)&&e.$wrapperEl.css("height",`${o}px`)},updateSlidesOffset:function(){const t=this,e=t.slides;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=t.isHorizontal()?e[n].offsetLeft:e[n].offsetTop},updateSlidesProgress:function(t){void 0===t&&(t=this&&this.translate||0);const e=this,n=e.params,{slides:i,rtlTranslate:s,snapGrid:o}=e;if(0===i.length)return;void 0===i[0].swiperSlideOffset&&e.updateSlidesOffset();let r=-t;s&&(r=t),i.removeClass(n.slideVisibleClass),e.visibleSlidesIndexes=[],e.visibleSlides=[];for(let t=0;t<i.length;t+=1){const a=i[t];let l=a.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(l-=i[0].swiperSlideOffset);const c=(r+(n.centeredSlides?e.minTranslate():0)-l)/(a.swiperSlideSize+n.spaceBetween),d=(r-o[0]+(n.centeredSlides?e.minTranslate():0)-l)/(a.swiperSlideSize+n.spaceBetween),h=-(r-l),u=h+e.slidesSizesGrid[t];(h>=0&&h<e.size-1||u>1&&u<=e.size||h<=0&&u>=e.size)&&(e.visibleSlides.push(a),e.visibleSlidesIndexes.push(t),i.eq(t).addClass(n.slideVisibleClass)),a.progress=s?-c:c,a.originalProgress=s?-d:d}e.visibleSlides=m(e.visibleSlides)},updateProgress:function(t){const e=this;if(void 0===t){const n=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*n||0}const n=e.params,i=e.maxTranslate()-e.minTranslate();let{progress:s,isBeginning:o,isEnd:r}=e;const a=o,l=r;0===i?(s=0,o=!0,r=!0):(s=(t-e.minTranslate())/i,o=s<=0,r=s>=1),Object.assign(e,{progress:s,isBeginning:o,isEnd:r}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&e.updateSlidesProgress(t),o&&!a&&e.emit("reachBeginning toEdge"),r&&!l&&e.emit("reachEnd toEdge"),(a&&!o||l&&!r)&&e.emit("fromEdge"),e.emit("progress",s)},updateSlidesClasses:function(){const t=this,{slides:e,params:n,$wrapperEl:i,activeIndex:s,realIndex:o}=t,r=t.virtual&&n.virtual.enabled;let a;e.removeClass(`${n.slideActiveClass} ${n.slideNextClass} ${n.slidePrevClass} ${n.slideDuplicateActiveClass} ${n.slideDuplicateNextClass} ${n.slideDuplicatePrevClass}`),a=r?t.$wrapperEl.find(`.${n.slideClass}[data-swiper-slide-index="${s}"]`):e.eq(s),a.addClass(n.slideActiveClass),n.loop&&(a.hasClass(n.slideDuplicateClass)?i.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${o}"]`).addClass(n.slideDuplicateActiveClass):i.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${o}"]`).addClass(n.slideDuplicateActiveClass));let l=a.nextAll(`.${n.slideClass}`).eq(0).addClass(n.slideNextClass);n.loop&&0===l.length&&(l=e.eq(0),l.addClass(n.slideNextClass));let c=a.prevAll(`.${n.slideClass}`).eq(0).addClass(n.slidePrevClass);n.loop&&0===c.length&&(c=e.eq(-1),c.addClass(n.slidePrevClass)),n.loop&&(l.hasClass(n.slideDuplicateClass)?i.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass):i.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass),c.hasClass(n.slideDuplicateClass)?i.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass):i.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass)),t.emitSlidesClasses()},updateActiveIndex:function(t){const e=this,n=e.rtlTranslate?e.translate:-e.translate,{slidesGrid:i,snapGrid:s,params:o,activeIndex:r,realIndex:a,snapIndex:l}=e;let c,d=t;if(void 0===d){for(let t=0;t<i.length;t+=1)void 0!==i[t+1]?n>=i[t]&&n<i[t+1]-(i[t+1]-i[t])/2?d=t:n>=i[t]&&n<i[t+1]&&(d=t+1):n>=i[t]&&(d=t);o.normalizeSlideIndex&&(d<0||void 0===d)&&(d=0)}if(s.indexOf(n)>=0)c=s.indexOf(n);else{const t=Math.min(o.slidesPerGroupSkip,d);c=t+Math.floor((d-t)/o.slidesPerGroup)}if(c>=s.length&&(c=s.length-1),d===r)return void(c!==l&&(e.snapIndex=c,e.emit("snapIndexChange")));const h=parseInt(e.slides.eq(d).attr("data-swiper-slide-index")||d,10);Object.assign(e,{snapIndex:c,realIndex:h,previousIndex:r,activeIndex:d}),e.emit("activeIndexChange"),e.emit("snapIndexChange"),a!==h&&e.emit("realIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&e.emit("slideChange")},updateClickedSlide:function(t){const e=this,n=e.params,i=m(t).closest(`.${n.slideClass}`)[0];let s,o=!1;if(i)for(let t=0;t<e.slides.length;t+=1)if(e.slides[t]===i){o=!0,s=t;break}if(!i||!o)return e.clickedSlide=void 0,void(e.clickedIndex=void 0);e.clickedSlide=i,e.virtual&&e.params.virtual.enabled?e.clickedIndex=parseInt(m(i).attr("data-swiper-slide-index"),10):e.clickedIndex=s,n.slideToClickedSlide&&void 0!==e.clickedIndex&&e.clickedIndex!==e.activeIndex&&e.slideToClickedSlide()}};const L={getTranslate:function(t){void 0===t&&(t=this.isHorizontal()?"x":"y");const{params:e,rtlTranslate:n,translate:i,$wrapperEl:s}=this;if(e.virtualTranslate)return n?-i:i;if(e.cssMode)return i;let o=y(s[0],t);return n&&(o=-o),o||0},setTranslate:function(t,e){const n=this,{rtlTranslate:i,params:s,$wrapperEl:o,wrapperEl:r,progress:a}=n;let l,c=0,d=0;n.isHorizontal()?c=i?-t:t:d=t,s.roundLengths&&(c=Math.floor(c),d=Math.floor(d)),s.cssMode?r[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-c:-d:s.virtualTranslate||o.transform(`translate3d(${c}
2px, ${d}px, 0px)`),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?c:d;const h=n.maxTranslate()-n.minTranslate();l=0===h?0:(t-n.minTranslate())/h,l!==a&&n.updateProgress(t),n.emit("setTranslate",n.translate,e)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(t,e,n,i,s){void 0===t&&(t=0),void 0===e&&(e=this.params.speed),void 0===n&&(n=!0),void 0===i&&(i=!0);const o=this,{params:r,wrapperEl:a}=o;if(o.animating&&r.preventInteractionOnTransition)return!1;const l=o.minTranslate(),c=o.maxTranslate();let d;if(d=i&&t>l?l:i&&t<c?c:t,o.updateProgress(d),r.cssMode){const t=o.isHorizontal();if(0===e)a[t?"scrollLeft":"scrollTop"]=-d;else{if(!o.support.smoothScroll)return S({swiper:o,targetPosition:-d,side:t?"left":"top"}),!0;a.scrollTo({[t?"left":"top"]:-d,behavior:"smooth"})}return!0}return 0===e?(o.setTransition(0),o.setTranslate(d),n&&(o.emit("beforeTransitionStart",e,s),o.emit("transitionEnd"))):(o.setTransition(e),o.setTranslate(d),n&&(o.emit("beforeTransitionStart",e,s),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(t){o&&!o.destroyed&&t.target===this&&(o.$wrapperEl[0].removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].removeEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,n&&o.emit("transitionEnd"))}),o.$wrapperEl[0].addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].addEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd))),!0}};function D(t){let{swiper:e,runCallbacks:n,direction:i,step:s}=t;const{activeIndex:o,previousIndex:r}=e;let a=i;if(a||(a=o>r?"next":o<r?"prev":"reset"),e.emit(`transition${s}`),n&&o!==r){if("reset"===a)return void e.emit(`slideResetTransition${s}`);e.emit(`slideChangeTransition${s}`),"next"===a?e.emit(`slideNextTransition${s}`):e.emit(`slidePrevTransition${s}`)}}const I={slideTo:function(t,e,n,i,s){if(void 0===t&&(t=0),void 0===e&&(e=this.params.speed),void 0===n&&(n=!0),"number"!=typeof t&&"string"!=typeof t)throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof t}] given.`);if("string"==typeof t){const e=parseInt(t,10);if(!isFinite(e))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${t}] given.`);t=e}const o=this;let r=t;r<0&&(r=0);const{params:a,snapGrid:l,slidesGrid:c,previousIndex:d,activeIndex:h,rtlTranslate:u,wrapperEl:p,enabled:f}=o;if(o.animating&&a.preventInteractionOnTransition||!f&&!i&&!s)return!1;const g=Math.min(o.params.slidesPerGroupSkip,r);let m=g+Math.floor((r-g)/o.params.slidesPerGroup);m>=l.length&&(m=l.length-1),(h||a.initialSlide||0)===(d||0)&&n&&o.emit("beforeSlideChangeStart");const b=-l[m];if(o.updateProgress(b),a.normalizeSlideIndex)for(let t=0;t<c.length;t+=1){const e=-Math.floor(100*b),n=Math.floor(100*c[t]),i=Math.floor(100*c[t+1]);void 0!==c[t+1]?e>=n&&e<i-(i-n)/2?r=t:e>=n&&e<i&&(r=t+1):e>=n&&(r=t)}if(o.initialized&&r!==h){if(!o.allowSlideNext&&b<o.translate&&b<o.minTranslate())return!1;if(!o.allowSlidePrev&&b>o.translate&&b>o.maxTranslate()&&(h||0)!==r)return!1}let v;if(v=r>h?"next":r<h?"prev":"reset",u&&-b===o.translate||!u&&b===o.translate)return o.updateActiveIndex(r),a.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),"slide"!==a.effect&&o.setTranslate(b),"reset"!==v&&(o.transitionStart(n,v),o.transitionEnd(n,v)),!1;if(a.cssMode){const t=o.isHorizontal(),n=u?b:-b;if(0===e){const e=o.virtual&&o.params.virtual.enabled;e&&(o.wrapperEl.style.scrollSnapType="none",o._immediateVirtual=!0),p[t?"scrollLeft":"scrollTop"]=n,e&&requestAnimationFrame((()=>{o.wrapperEl.style.scrollSnapType="",o._swiperImmediateVirtual=!1}))}else{if(!o.support.smoothScroll)return S({swiper:o,targetPosition:n,side:t?"left":"top"}),!0;p.scrollTo({[t?"left":"top"]:n,behavior:"smooth"})}return!0}return o.setTransition(e),o.setTranslate(b),o.updateActiveIndex(r),o.updateSlidesClasses(),o.emit("beforeTransitionStart",e,i),o.transitionStart(n,v),0===e?o.transitionEnd(n,v):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(t){o&&!o.destroyed&&t.target===this&&(o.$wrapperEl[0].removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.$wrapperEl[0].removeEventListener("webkitTransitionEnd",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(n,v))}),o.$wrapperEl[0].addEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.$wrapperEl[0].addEventListener("webkitTransitionEnd",o.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(t,e,n,i){void 0===t&&(t=0),void 0===e&&(e=this.params.speed),void 0===n&&(n=!0);const s=this;let o=t;return s.params.loop&&(o+=s.loopedSlides),s.slideTo(o,e,n,i)},slideNext:function(t,e,n){void 0===t&&(t=this.params.speed),void 0===e&&(e=!0);const i=this,{animating:s,enabled:o,params:r}=i;if(!o)return i;let a=r.slidesPerGroup;"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(a=Math.max(i.slidesPerViewDynamic("current",!0),1));const l=i.activeIndex<r.slidesPerGroupSkip?1:a;if(r.loop){if(s&&r.loopPreventsSlide)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}return r.rewind&&i.isEnd?i.slideTo(0,t,e,n):i.slideTo(i.activeIndex+l,t,e,n)},slidePrev:function(t,e,n){void 0===t&&(t=this.params.speed),void 0===e&&(e=!0);const i=this,{params:s,animating:o,snapGrid:r,slidesGrid:a,rtlTranslate:l,enabled:c}=i;if(!c)return i;if(s.loop){if(o&&s.loopPreventsSlide)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}function d(t){return t<0?-Math.floor(Math.abs(t)):Math.floor(t)}const h=d(l?i.translate:-i.translate),u=r.map((t=>d(t)));let p=r[u.indexOf(h)-1];if(void 0===p&&s.cssMode){let t;r.forEach(((e,n)=>{h>=e&&(t=n)})),void 0!==t&&(p=r[t>0?t-1:t])}let f=0;if(void 0!==p&&(f=a.indexOf(p),f<0&&(f=i.activeIndex-1),"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(f=f-i.slidesPerViewDynamic("previous",!0)+1,f=Math.max(f,0))),s.rewind&&i.isBeginning){const s=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(s,t,e,n)}return i.slideTo(f,t,e,n)},slideReset:function(t,e,n){return void 0===t&&(t=this.params.speed),void 0===e&&(e=!0),this.slideTo(this.activeIndex,t,e,n)},slideToClosest:function(t,e,n,i){void 0===t&&(t=this.params.speed),void 0===e&&(e=!0),void 0===i&&(i=.5);const s=this;let o=s.activeIndex;const r=Math.min(s.params.slidesPerGroupSkip,o),a=r+Math.floor((o-r)/s.params.slidesPerGroup),l=s.rtlTranslate?s.translate:-s.translate;if(l>=s.snapGrid[a]){const t=s.snapGrid[a];l-t>(s.snapGrid[a+1]-t)*i&&(o+=s.params.slidesPerGroup)}else{const t=s.snapGrid[a-1];l-t<=(s.snapGrid[a]-t)*i&&(o-=s.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,s.slidesGrid.length-1),s.slideTo(o,t,e,n)},slideToClickedSlide:function(){const t=this,{params:e,$wrapperEl:n}=t,i="auto"===e.slidesPerView?t.slidesPerViewDynamic():e.slidesPerView;let s,o=t.clickedIndex;if(e.loop){if(t.animating)return;s=parseInt(m(t.clickedSlide).attr("data-swiper-slide-index"),10),e.centeredSlides?o<t.loopedSlides-i/2||o>t.slides.length-t.loopedSlides+i/2?(t.loopFix(),o=n.children(`.${e.slideClass}[data-swiper-slide-index="${s}"]:not(.${e.slideDuplicateClass})`).eq(0).index(),b((()=>{t.slideTo(o)}))):t.slideTo(o):o>t.slides.length-i?(t.loopFix(),o=n.children(`.${e.slideClass}[data-swiper-slide-index="${s}"]:not(.${e.slideDuplicateClass})`).eq(0).index(),b((()=>{t.slideTo(o)}))):t.slideTo(o)}else t.slideTo(o)}};const R={loopCreate:function(){const t=this,e=r(),{params:n,$wrapperEl:i}=t,s=i.children().length>0?m(i.children()[0].parentNode):i;s.children(`.${n.slideClass}.${n.slideDuplicateClass}`).remove();let o=s.children(`.${n.slideClass}`);
vendor: 41,051 bytes, line 2
2if(n.loopFillGroupWithBlank){const t=n.slidesPerGroup-o.length%n.slidesPerGroup;if(t!==n.slidesPerGroup){for(let i=0;i<t;i+=1){const t=m(e.createElement("div")).addClass(`${n.slideClass} ${n.slideBlankClass}`);s.append(t)}o=s.children(`.${n.slideClass}`)}}"auto"!==n.slidesPerView||n.loopedSlides||(n.loopedSlides=o.length),t.loopedSlides=Math.ceil(parseFloat(n.loopedSlides||n.slidesPerView,10)),t.loopedSlides+=n.loopAdditionalSlides,t.loopedSlides>o.length&&(t.loopedSlides=o.length);const a=[],l=[];o.each(((e,n)=>{const i=m(e);n<t.loopedSlides&&l.push(e),n<o.length&&n>=o.length-t.loopedSlides&&a.push(e),i.attr("data-swiper-slide-index",n)}));for(let t=0;t<l.length;t+=1)s.append(m(l[t].cloneNode(!0)).addClass(n.slideDuplicateClass));for(let t=a.length-1;t>=0;t-=1)s.prepend(m(a[t].cloneNode(!0)).addClass(n.slideDuplicateClass))},loopFix:function(){const t=this;t.emit("beforeLoopFix");const{activeIndex:e,slides:n,loopedSlides:i,allowSlidePrev:s,allowSlideNext:o,snapGrid:r,rtlTranslate:a}=t;let l;t.allowSlidePrev=!0,t.allowSlideNext=!0;const c=-r[e]-t.getTranslate();if(e<i){l=n.length-3*i+e,l+=i;t.slideTo(l,0,!1,!0)&&0!==c&&t.setTranslate((a?-t.translate:t.translate)-c)}else if(e>=n.length-i){l=-n.length+e+i,l+=i;t.slideTo(l,0,!1,!0)&&0!==c&&t.setTranslate((a?-t.translate:t.translate)-c)}t.allowSlidePrev=s,t.allowSlideNext=o,t.emit("loopFix")},loopDestroy:function(){const{$wrapperEl:t,params:e,slides:n}=this;t.children(`.${e.slideClass}.${e.slideDuplicateClass},.${e.slideClass}.${e.slideBlankClass}`).remove(),n.removeAttr("data-swiper-slide-index")}};function F(t){const e=this,n=r(),i=l(),s=e.touchEventsData,{params:o,touches:a,enabled:c}=e;if(!c)return;if(e.animating&&o.preventInteractionOnTransition)return;!e.animating&&o.cssMode&&o.loop&&e.loopFix();let d=t;d.originalEvent&&(d=d.originalEvent);let h=m(d.target);if("wrapper"===o.touchEventsTarget&&!h.closest(e.wrapperEl).length)return;if(s.isTouchEvent="touchstart"===d.type,!s.isTouchEvent&&"which"in d&&3===d.which)return;if(!s.isTouchEvent&&"button"in d&&d.button>0)return;if(s.isTouched&&s.isMoved)return;!!o.noSwipingClass&&""!==o.noSwipingClass&&d.target&&d.target.shadowRoot&&t.path&&t.path[0]&&(h=m(t.path[0]));const u=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,p=!(!d.target||!d.target.shadowRoot);if(o.noSwiping&&(p?function(t,e){return void 0===e&&(e=this),function e(n){return n&&n!==r()&&n!==l()?(n.assignedSlot&&(n=n.assignedSlot),n.closest(t)||e(n.getRootNode().host)):null}(e)}(u,d.target):h.closest(u)[0]))return void(e.allowClick=!0);if(o.swipeHandler&&!h.closest(o.swipeHandler)[0])return;a.currentX="touchstart"===d.type?d.targetTouches[0].pageX:d.pageX,a.currentY="touchstart"===d.type?d.targetTouches[0].pageY:d.pageY;const f=a.currentX,g=a.currentY,b=o.edgeSwipeDetection||o.iOSEdgeSwipeDetection,y=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(b&&(f<=y||f>=i.innerWidth-y)){if("prevent"!==b)return;t.preventDefault()}if(Object.assign(s,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=f,a.startY=g,s.touchStartTime=v(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,o.threshold>0&&(s.allowThresholdMove=!1),"touchstart"!==d.type){let t=!0;h.is(s.focusableElements)&&(t=!1,"SELECT"===h[0].nodeName&&(s.isTouched=!1)),n.activeElement&&m(n.activeElement).is(s.focusableElements)&&n.activeElement!==h[0]&&n.activeElement.blur();const i=t&&e.allowTouchMove&&o.touchStartPreventDefault;!o.touchStartForcePreventDefault&&!i||h[0].isContentEditable||d.preventDefault()}e.params.freeMode&&e.params.freeMode.enabled&&e.freeMode&&e.animating&&!o.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",d)}function N(t){const e=r(),n=this,i=n.touchEventsData,{params:s,touches:o,rtlTranslate:a,enabled:l}=n;if(!l)return;let c=t;if(c.originalEvent&&(c=c.originalEvent),!i.isTouched)return void(i.startMoving&&i.isScrolling&&n.emit("touchMoveOpposite",c));if(i.isTouchEvent&&"touchmove"!==c.type)return;const d="touchmove"===c.type&&c.targetTouches&&(c.targetTouches[0]||c.changedTouches[0]),h="touchmove"===c.type?d.pageX:c.pageX,u="touchmove"===c.type?d.pageY:c.pageY;if(c.preventedByNestedSwiper)return o.startX=h,void(o.startY=u);if(!n.allowTouchMove)return m(c.target).is(i.focusableElements)||(n.allowClick=!1),void(i.isTouched&&(Object.assign(o,{startX:h,startY:u,currentX:h,currentY:u}),i.touchStartTime=v()));if(i.isTouchEvent&&s.touchReleaseOnEdges&&!s.loop)if(n.isVertical()){if(u<o.startY&&n.translate<=n.maxTranslate()||u>o.startY&&n.translate>=n.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(h<o.startX&&n.translate<=n.maxTranslate()||h>o.startX&&n.translate>=n.minTranslate())return;if(i.isTouchEvent&&e.activeElement&&c.target===e.activeElement&&m(c.target).is(i.focusableElements))return i.isMoved=!0,void(n.allowClick=!1);if(i.allowTouchCallbacks&&n.emit("touchMove",c),c.targetTouches&&c.targetTouches.length>1)return;o.currentX=h,o.currentY=u;const p=o.currentX-o.startX,f=o.currentY-o.startY;if(n.params.threshold&&Math.sqrt(p**2+f**2)<n.params.threshold)return;if(void 0===i.isScrolling){let t;n.isHorizontal()&&o.currentY===o.startY||n.isVertical()&&o.currentX===o.startX?i.isScrolling=!1:p*p+f*f>=25&&(t=180*Math.atan2(Math.abs(f),Math.abs(p))/Math.PI,i.isScrolling=n.isHorizontal()?t>s.touchAngle:90-t>s.touchAngle)}if(i.isScrolling&&n.emit("touchMoveOpposite",c),void 0===i.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(i.startMoving=!0)),i.isScrolling)return void(i.isTouched=!1);if(!i.startMoving)return;n.allowClick=!1,!s.cssMode&&c.cancelable&&c.preventDefault(),s.touchMoveStopPropagation&&!s.nested&&c.stopPropagation(),i.isMoved||(s.loop&&!s.cssMode&&n.loopFix(),i.startTranslate=n.getTranslate(),n.setTransition(0),n.animating&&n.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce=!1,!s.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",c)),n.emit("sliderMove",c),i.isMoved=!0;let g=n.isHorizontal()?p:f;o.diff=g,g*=s.touchRatio,a&&(g=-g),n.swipeDirection=g>0?"prev":"next",i.currentTranslate=g+i.startTranslate;let b=!0,y=s.resistanceRatio;if(s.touchReleaseOnEdges&&(y=0),g>0&&i.currentTranslate>n.minTranslate()?(b=!1,s.resistance&&(i.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+i.startTranslate+g)**y)):g<0&&i.currentTranslate<n.maxTranslate()&&(b=!1,s.resistance&&(i.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-i.startTranslate-g)**y)),b&&(c.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),n.allowSlidePrev||n.allowSlideNext||(i.currentTranslate=i.startTranslate),s.threshold>0){if(!(Math.abs(g)>s.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,i.currentTranslate=i.startTranslate,void(o.diff=n.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}s.followFinger&&!s.cssMode&&((s.freeMode&&s.freeMode.enabled&&n.freeMode||s.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),n.params.freeMode&&s.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(i.currentTranslate),n.setTranslate(i.currentTranslate))}function j(t){const e=this,n=e.touchEventsData,{params:i,touches:s,rtlTranslate:o,slidesGrid:r,enabled:a}=e;if(!a)return;let l=t;if(l.originalEvent&&(l=l.originalEvent),n.allowTouchCallbacks&&e.emit("touchEnd",l),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&i.grabCursor&&e.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);i.grabCursor&&n.isMoved&&n.isTouched&&(!0===e.allowSlideNext||!0===e.allowSlidePrev)&&e.setGrabCursor(!1);const c=v(),d=c-n.touchStartTime;if(e.allowClick){const t=l.path||l.composedPath&&l.composedPath();e.updateClickedSlide(t&&t[0]||l.target),e.emit("tap click",l),d<300&&c-n.lastClickTime<300&&e.emit("doubleTap doubleClick",l)}if(n.lastClickTime=v(),b((()=>{e.destroyed||(e.allowClick=!0)})),!n.isTouched||!n.isMoved||!e.swipeDirection||0===s.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let h;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,h=i.followFinger?o?e.translate:-e.translate:-n.currentTranslate,i.cssMode)return;if(e.params.freeMode&&i.freeMode.enabled)return void e.freeMode.onTouchEnd({currentPos:h});let u=0,p=e.slidesSizesGrid[0];for(let t=0;t<r.length;t+=t<i.slidesPerGroupSkip?1:i.slidesPerGroup){const e=t<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;void 0!==r[t+e]?h>=r[t]&&h<r[t+e]&&(u=t,p=r[t+e]-r[t]):h>=r[t]&&(u=t,p=r[r.length-1]-r[r.length-2])}let f=null,g=null;i.rewind&&(e.isBeginning?g=e.params.virtual&&e.params.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(f=0));const m=(h-r[u])/p,y=u<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;if(d>i.longSwipesMs){if(!i.longSwipes)return void e.slideTo(e.activeIndex);"next"===e.swipeDirection&&(m>=i.longSwipesRatio?e.slideTo(i.rewind&&e.isEnd?f:u+y):e.slideTo(u)),"prev"===e.swipeDirection&&(m>1-i.longSwipesRatio?e.slideTo(u+y):null!==g&&m<0&&Math.abs(m)>i.longSwipesRatio?e.slideTo(g):e.slideTo(u))}else{if(!i.shortSwipes)return void e.slideTo(e.activeIndex);e.navigation&&(l.target===e.navigation.nextEl||l.target===e.navigation.prevEl)?l.target===e.navigation.nextEl?e.slideTo(u+y):e.slideTo(u):("next"===e.swipeDirection&&e.slideTo(null!==f?f:u+y),"prev"===e.swipeDirection&&e.slideTo(null!==g?g:u))}}function B(){const t=this,{params:e,el:n}=t;if(n&&0===n.offsetWidth)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:s,snapGrid:o}=t;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses(),("auto"===e.slidesPerView||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides?t.slideTo(t.slides.length-1,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.run(),t.allowSlidePrev=s,t.allowSlideNext=i,t.params.watchOverflow&&o!==t.snapGrid&&t.checkOverflow()}function $(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function z(){const t=this,{wrapperEl:e,rtlTranslate:n,enabled:i}=t;if(!i)return;let s;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,-0===t.translate&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();const o=t.maxTranslate()-t.minTranslate();s=0===o?0:(t.translate-t.minTranslate())/o,s!==t.progress&&t.updateProgress(n?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}let V=!1;function H(){}const W=(t,e)=>{const n=r(),{params:i,touchEvents:s,el:o,wrapperEl:a,device:l,support:c}=t,d=!!i.nested,h="on"===e?"addEventListener":"removeEventListener",u=e;if(c.touch){const e=!("touchstart"!==s.start||!c.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};o[h](s.start,t.onTouchStart,e),o[h](s.move,t.onTouchMove,c.passiveListener?{passive:!1,capture:d}:d),o[h](s.end,t.onTouchEnd,e),s.cancel&&o[h](s.cancel,t.onTouchEnd,e)}else o[h](s.start,t.onTouchStart,!1),n[h](s.move,t.onTouchMove,d),n[h](s.end,t.onTouchEnd,!1);(i.preventClicks||i.preventClicksPropagation)&&o[h]("click",t.onClick,!0),i.cssMode&&a[h]("scroll",t.onScroll),i.updateOnWindowResize?t[u](l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",B,!0):t[u]("observerUpdate",B,!0)};const Y={attachEvents:function(){const t=this,e=r(),{params:n,support:i}=t;t.onTouchStart=F.bind(t),t.onTouchMove=N.bind(t),t.onTouchEnd=j.bind(t),n.cssMode&&(t.onScroll=z.bind(t)),t.onClick=$.bind(t),i.touch&&!V&&(e.addEventListener("touchstart",H),V=!0),W(t,"on")},detachEvents:function(){W(this,"off")}},U=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;const G={setBreakpoint:function(){const t=this,{activeIndex:e,initialized:n,loopedSlides:i=0,params:s,$el:o}=t,r=s.breakpoints;if(!r||r&&0===Object.keys(r).length)return;const a=t.getBreakpoint(r,t.params.breakpointsBase,t.el);if(!a||t.currentBreakpoint===a)return;const l=(a in r?r[a]:void 0)||t.originalParams,c=U(t,s),d=U(t,l),h=s.enabled;c&&!d?(o.removeClass(`${s.containerModifierClass}grid ${s.containerModifierClass}grid-column`),t.emitContainerClasses()):!c&&d&&(o.addClass(`${s.containerModifierClass}grid`),(l.grid.fill&&"column"===l.grid.fill||!l.grid.fill&&"column"===s.grid.fill)&&o.addClass(`${s.containerModifierClass}grid-column`),t.emitContainerClasses());const u=l.direction&&l.direction!==s.direction,p=s.loop&&(l.slidesPerView!==s.slidesPerView||u);u&&n&&t.changeDirection(),_(t.params,l);const f=t.params.enabled;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),h&&!f?t.disable():!h&&f&&t.enable(),t.currentBreakpoint=a,t.emit("_beforeBreakpoint",l),p&&n&&(t.loopDestroy(),t.loopCreate(),t.updateSlides(),t.slideTo(e-i+t.loopedSlides,0,!1)),t.emit("breakpoint",l)},getBreakpoint:function(t,e,n){if(void 0===e&&(e="window"),!t||"container"===e&&!n)return;let i=!1;const s=l(),o="window"===e?s.innerHeight:n.clientHeight,r=Object.keys(t).map((t=>{if("string"==typeof t&&0===t.indexOf("@")){const e=parseFloat(t.substr(1));return{value:o*e,point:t}}return{value:t,point:t}}));r.sort(((t,e)=>parseInt(t.value,10)-parseInt(e.value,10)));for(let t=0;t<r.length;t+=1){const{point:o,value:a}=r[t];"window"===e?s.matchMedia(`(min-width: ${a}px)`).matches&&(i=o):a<=n.clientWidth&&(i=o)}return i||"max"}};const q={addClasses:function(){const t=this,{classNames:e,params:n,rtl:i,$el:s,device:o,support:r}=t,a=function(t,e){const n=[];return t.forEach((t=>{"object"==typeof t?Object.keys(t).forEach((i=>{t[i]&&n.push(e+i)})):"string"==typeof t&&n.push(e+t)})),n}(["initialized",n.direction,{"pointer-events":!r.touch},{"free-mode":t.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:i},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&"column"===n.grid.fill},{android:o.android},{ios:o.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides}],n.containerModifierClass);e.push(...a),s.addClass([...e].join(" ")),t.emitContainerClasses()},removeClasses:function(){const{$el:t,classNames:e}=this;t.removeClass(e.join(" ")),this.emitContainerClasses()}};const K={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function X(t,e){return function(n){void 0===n&&(n={});const i=Object.keys(n)[0],s=n[i];"object"==typeof s&&null!==s?(["navigation","pagination","scrollbar"].indexOf(i)>=0&&!0===t[i]&&(t[i]={auto:!0}),i in t&&"enabled"in s?(!0===t[i]&&(t[i]={enabled:!0}),"object"!=typeof t[i]||"enabled"in t[i]||(t[i].enabled=!0),t[i]||(t[i]={enabled:!1}),_(e,n)):_(e,n)):_(e,n)}}const Z={eventsEmitter:T,update:P,translate:L,transition:{setTransition:function(t,e){const n=this;n.params.cssMode||n.$wrapperEl.transition(t),n.emit("setTransition",t,e)},transitionStart:function(t,e){void 0===t&&(t=!0);const n=this,{params:i}=n;i.cssMode||(i.autoHeight&&n.updateAutoHeight(),D({swiper:n,runCallbacks:t,direction:e,step:"Start"}))},transitionEnd:function(t,e){void 0===t&&(t=!0);const n=this,{params:i}=n;n.animating=!1,i.cssMode||(n.setTransition(0),D({swiper:n,runCallbacks:t,direction:e,step:"End"}))}},slide:I,loop:R,grabCursor:{setGrabCursor:function(t){const e=this;if(e.support.touch||!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const n="container"===e.params.touchEventsTarget?e.el:e.wrapperEl;n.style.cursor="move",n.style.cursor=t?"-webkit-grabbing":"-webkit-grab",n.style.cursor=t?"-moz-grabbin":"-moz-grab",n.style.cursor=t?"grabbing":"grab"},unsetGrabCursor:function(){const t=this;t.support.touch||t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t["container"===t.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}},events:Y,breakpoints:G,checkOverflow:{checkOverflow:function(){const t=this,{isLocked:e,params:n}=t,{slidesOffsetBefore:i}=n;if(i){const e=t.slides.length-1,n=t.slidesGrid[e]+t.slidesSizesGrid[e]+2*i;t.isLocked=t.size>n}else t.isLocked=1===t.snapGrid.length;!0===n.allowSlideNext&&(t.allowSlideNext=!t.isLocked),!0===n.allowSlidePrev&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}},classes:q,images:{loadImage:function(t,e,n,i,s,o){const r=l();let a;function c(){o&&o()}m(t).parent("picture")[0]||t.complete&&s?c():e?(a=new r.Image,a.onload=c,a.onerror=c,i&&(a.sizes=i),n&&(a.srcset=n),e&&(a.src=e)):c()},preloadImages:function(){const t=this;function e(){null!=t&&t&&!t.destroyed&&(void 0!==t.imagesLoaded&&(t.imagesLoaded+=1),t.imagesLoaded===t.imagesToLoad.length&&(t.params.updateOnImagesReady&&t.update(),t.emit("imagesReady")))}t.imagesToLoad=t.$el.find("img");for(let n=0;n<t.imagesToLoad.length;n+=1){const i=t.imagesToLoad[n];t.loadImage(i,i.currentSrc||i.getAttribute("src"),i.srcset||i.getAttribute("srcset"),i.sizes||i.getAttribute("sizes"),!0,e)}}}},J={};class Q{constructor(){let t,e;for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];if(1===i.length&&i[0].constructor&&"Object"===Object.prototype.toString.call(i[0]).slice(8,-1)?e=i[0]:[t,e]=i,e||(e={}),e=_({},e),t&&!e.el&&(e.el=t),e.el&&m(e.el).length>1){const t=[];return m(e.el).each((n=>{const i=_({},e,{el:n});t.push(new Q(i))})),t}const o=this;o.__swiper__=!0,o.support=M(),o.device=E({userAgent:e.userAgent}),o.browser=O(),o.eventsListeners={},o.eventsAnyListeners=[],o.modules=[...o.__modules__],e.modules&&Array.isArray(e.modules)&&o.modules.push(...e.modules);const r={};o.modules.forEach((t=>{t({swiper:o,extendParams:X(e,r),on:o.on.bind(o),once:o.once.bind(o),off:o.off.bind(o),emit:o.emit.bind(o)})}));const a=_({},K,r);return o.params=_({},a,J,e),o.originalParams=_({},o.params),o.passedParams=_({},e),o.params&&o.params.on&&Object.keys(o.params.on).forEach((t=>{o.on(t,o.params.on[t])})),o.params&&o.params.onAny&&o.onAny(o.params.onAny),o.$=m,Object.assign(o,{enabled:o.params.enabled,el:t,classNames:[],slides:m(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===o.params.direction,isVertical:()=>"vertical"===o.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev,touchEvents:function(){const t=["touchstart","touchmove","touchend","touchcancel"],e=["pointerdown","pointermove","pointerup"];return o.touchEventsTouch={start:t[0],move:t[1],end:t[2],cancel:t[3]},o.touchEventsDesktop={start:e[0],move:e[1],end:e[2]},o.support.touch||!o.params.simulateTouch?o.touchEventsTouch:o.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:o.params.focusableElements,lastClickTime:v(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.emit("_swiper"),o.params.init&&o.init(),o}enable(){const t=this;t.enabled||(t.enabled=!0,t.params.grabCursor&&t.setGrabCursor(),t.emit("enable"))}disable(){const t=this;t.enabled&&(t.enabled=!1,t.params.grabCursor&&t.unsetGrabCursor(),t.emit("disable"))}setProgress(t,e){const n=this;t=Math.min(Math.max(t,0),1);const i=n.minTranslate(),s=(n.maxTranslate()-i)*t+i;n.translateTo(s,void 0===e?0:e),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const e=t.el.className.split(" ").filter((e=>0===e.indexOf("swiper")||0===e.indexOf(t.params.containerModifierClass)));t.emit("_containerClasses",e.join(" "))}getSlideClasses(t){const e=this;return t.className.split(" ").filter((t=>0===t.indexOf("swiper-slide")||0===t.indexOf(e.params.slideClass))).join(" ")}emitSlidesClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const e=[];t.slides.each((n=>{const i=t.getSlideClasses(n);e.push({slideEl:n,classNames:i}),t.emit("_slideClass",n,i)})),t.emit("_slideClasses",e)}slidesPerViewDynamic(t,e){void 0===t&&(t="current"),void 0===e&&(e=!1);const{params:n,slides:i,slidesGrid:s,slidesSizesGrid:o,size:r,activeIndex:a}=this;let l=1;if(n.centeredSlides){let t,e=i[a].swiperSlideSize;for(let n=a+1;n<i.length;n+=1)i[n]&&!t&&(e+=i[n].swiperSlideSize,l+=1,e>r&&(t=!0));for(let n=a-1;n>=0;n-=1)i[n]&&!t&&(e+=i[n].swiperSlideSize,l+=1,e>r&&(t=!0))}else if("current"===t)for(let t=a+1;t<i.length;t+=1){(e?s[t]+o[t]-s[a]<r:s[t]-s[a]<r)&&(l+=1)}else for(let t=a-1;t>=0;t-=1){s[a]-s[t]<r&&(l+=1)}return l}update(){const t=this;if(!t||t.destroyed)return;const{snapGrid:e,params:n}=t;function i(){const e=t.rtlTranslate?-1*t.translate:t.translate,n=Math.min(Math.max(e,t.maxTranslate()),t.minTranslate());t.setTranslate(n),t.updateActiveIndex(),t.updateSlidesClasses()}let s;n.breakpoints&&t.setBreakpoint(),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.params.freeMode&&t.params.freeMode.enabled?(i(),t.params.autoHeight&&t.updateAutoHeight()):(s=("auto"===t.params.slidesPerView||t.params.slidesPerView>1)&&t.isEnd&&!t.params.centeredSlides?t.slideTo(t.slides.length-1,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),s||i()),n.watchOverflow&&e!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(t,e){void 0===e&&(e=!0);const n=this,i=n.params.direction;return t||(t="horizontal"===i?"vertical":"horizontal"),t===i||"horizontal"!==t&&"vertical"!==t||(n.$el.removeClass(`${n.params.containerModifierClass}${i}`).addClass(`${n.params.containerModifierClass}${t}`),n.emitContainerClasses(),n.params.direction=t,n.slides.each((e=>{"vertical"===t?e.style.width="":e.style.height=""})),n.emit("changeDirection"),e&&n.update()),n}mount(t){const e=this;if(e.mounted)return!0;const n=m(t||e.params.el);if(!(t=n[0]))return!1;t.swiper=e;const i=()=>`.${(e.params.wrapperClass||"").trim().split(" ").join(".")}`;let s=(()=>{if(t&&t.shadowRoot&&t.shadowRoot.querySelector){const e=m(t.shadowRoot.querySelector(i()));return e.children=t=>n.children(t),e}return n.children(i())})();if(0===s.length&&e.params.createElements){const t=r().createElement("div");s=m(t),t.className=e.params.wrapperClass,n.append(t),n.children(`.${e.params.slideClass}`).each((t=>{s.append(t)}))}return Object.assign(e,{$el:n,el:t,$wrapperEl:s,wrapperEl:s[0],mounted:!0,rtl:"rtl"===t.dir.toLowerCase()||"rtl"===n.css("direction"),rtlTranslate:"horizontal"===e.params.direction&&("rtl"===t.dir.toLowerCase()||"rtl"===n.css("direction")),wrongRTL:"-webkit-box"===s.css("display")}),!0}init(t){const e=this;if(e.initialized)return e;return!1===e.mount(t)||(e.emit("beforeInit"),e.params.breakpoints&&e.setBreakpoint(),e.addClasses(),e.params.loop&&e.loopCreate(),e.updateSize(),e.updateSlides(),e.params.watchOverflow&&e.checkOverflow(),e.params.grabCursor&&e.enabled&&e.setGrabCursor(),e.params.preloadImages&&e.preloadImages(),e.params.loop?e.slideTo(e.params.initialSlide+e.loopedSlides,0,e.params.runCallbacksOnInit,!1,!0):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit,!1,!0),e.attachEvents(),e.initialized=!0,e.emit("init"),e.emit("afterInit")),e}destroy(t,e){void 0===t&&(t=!0),void 0===e&&(e=!0);const n=this,{params:i,$el:s,$wrapperEl:o,slides:r}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),i.loop&&n.loopDestroy(),e&&(n.removeClasses(),s.removeAttr("style"),o.removeAttr("style"),r&&r.length&&r.removeClass([i.slideVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((t=>{n.off(t)})),!1!==t&&(n.$el[0].swiper=null,function(t){const e=t;Object.keys(e).forEach((t=>{try{e[t]=null}catch(t){}try{delete e[t]}catch(t){}}))}(n)),n.destroyed=!0),null}static extendDefaults(t){_(J,t)}static get extendedDefaults(){return J}static get defaults(){return K}static installModule(t){Q.prototype.__modules__||(Q.prototype.__modules__=[]);const e=Q.prototype.__modules__;"function"==typeof t&&e.indexOf(t)<0&&e.push(t)}static use(t){return Array.isArray(t)?(t.forEach((t=>Q.installModule(t))),Q):(Q.installModule(t),Q)}}Object.keys(Z).forEach((t=>{Object.keys(Z[t]).forEach((e=>{Q.prototype[e]=Z[t][e]}))})),Q.use([function(t){let{swiper:e,on:n,emit:i}=t;const s=l();let o=null,r=null;const a=()=>{e&&!e.destroyed&&e.initialized&&(i("beforeResize"),i("resize"))},c=()=>{e&&!e.destroyed&&e.initialized&&i("orientationchange")};n("init",(()=>{e.params.resizeObserver&&void 0!==s.ResizeObserver?e&&!e.destroyed&&e.initialized&&(o=new ResizeObserver((t=>{r=s.requestAnimationFrame((()=>{const{width:n,height:i}=e;let s=n,o=i;t.forEach((t=>{let{contentBoxSize:n,contentRect:i,target:r}=t;r&&r!==e.el||(s=i?i.width:(n[0]||n).inlineSize,o=i?i.height:(n[0]||n).blockSize)})),s===n&&o===i||a()}))})),o.observe(e.el)):(s.addEventListener("resize",a),s.addEventListener("orientationchange",c))})),n("destroy",(()=>{r&&s.cancelAnimationFrame(r),o&&o.unobserve&&e.el&&(o.unobserve(e.el),o=null),s.removeEventListener("resize",a),s.removeEventListener("orientationchange",c)}))},function(t){let{swiper:e,extendParams:n,on:i,emit:s}=t;const o=[],r=l(),a=function(t,e){void 0===e&&(e={});const n=new(r.MutationObserver||r.WebkitMutationObserver)((t=>{if(1===t.length)return void s("observerUpdate",t[0]);const e=function(){s("observerUpdate",t[0])};r.requestAnimationFrame?r.requestAnimationFrame(e):r.setTimeout(e,0)}));n.observe(t,{attributes:void 0===e.attributes||e.attributes,childList:void 0===e.childList||e.childList,characterData:void 0===e.characterData||e.characterData}),o.push(n)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",(()=>{if(e.params.observer){if(e.params.observeParents){const t=e.$el.parents();for(let e=0;e<t.length;e+=1)a(t[e])}a(e.$el[0],{childList:e.params.observeSlideChildren}),a(e.$wrapperEl[0],{attributes:!1})}})),i("destroy",(()=>{o.forEach((t=>{t.disconnect()})),o.splice(0,o.length)}))}]);const tt=Q;function et(t,e,n,i){const s=r();return t.params.createElements&&Object.keys(i).forEach((o=>{if(!n[o]&&!0===n.auto){let r=t.$el.children(`.${i[o]}`)[0];r||(r=s.createElement("div"),r.className=i[o],t.$el.append(r)),n[o]=r,e[o]=r}})),n}function nt(t){let{swiper:e,extendParams:n,on:i,emit:s}=t;function o(t){let n;return t&&(n=m(t),e.params.uniqueNavElements&&"string"==typeof t&&n.length>1&&1===e.$el.find(t).length&&(n=e.$el.find(t))),n}function r(t,n){const i=e.params.navigation;t&&t.length>0&&(t[n?"addClass":"removeClass"](i.disabledClass),t[0]&&"BUTTON"===t[0].tagName&&(t[0].disabled=n),e.params.watchOverflow&&e.enabled&&t[e.isLocked?"addClass":"removeClass"](i.lockClass))}function a(){if(e.params.loop)return;const{$nextEl:t,$prevEl:n}=e.navigation;r(n,e.isBeginning&&!e.params.rewind),r(t,e.isEnd&&!e.params.rewind)}function l(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&e.slidePrev()}function c(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&e.slideNext()}function d(){const t=e.params.navigation;if(e.params.navigation=et(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!t.nextEl&&!t.prevEl)return;const n=o(t.nextEl),i=o(t.prevEl);n&&n.length>0&&n.on("click",c),i&&i.length>0&&i.on("click",l),Object.assign(e.navigation,{$nextEl:n,nextEl:n&&n[0],$prevEl:i,prevEl:i&&i[0]}),e.enabled||(n&&n.addClass(t.lockClass),i&&i.addClass(t.lockClass))}function h(){const{$nextEl:t,$prevEl:n}=e.navigation;t&&t.length&&(t.off("click",c),t.removeClass(e.params.navigation.disabledClass)),n&&n.length&&(n.off("click",l),n.removeClass(e.params.navigation.disabledClass))}n({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}}),e.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},i("init",(()=>{d(),a()})),i("toEdge fromEdge lock unlock",(()=>{a()})),i("destroy",(()=>{h()})),i("enable disable",(()=>{const{$nextEl:t,$prevEl:n}=e.navigation;t&&t[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),n&&n[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)})),i("click",((t,n)=>{const{$nextEl:i,$prevEl:o}=e.navigation,r=n.target;if(e.params.navigation.hideOnClick&&!m(r).is(o)&&!m(r).is(i)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===r||e.pagination.el.contains(r)))return;let t;i?t=i.hasClass(e.params.navigation.hiddenClass):o&&(t=o.hasClass(e.params.navigation.hiddenClass)),s(!0===t?"navigationShow":"navigationHide"),i&&i.toggleClass(e.params.navigation.hiddenClass),o&&o.toggleClass(e.params.navigation.hiddenClass)}})),Object.assign(e.navigation,{update:a,init:d,destroy:h})}function it(t){return void 0===t&&(t=""),`.${t.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}function st(t){let{swiper:e,extendParams:n,on:i,emit:s}=t;const o="swiper-pagination";let r;n({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:t=>t,formatFractionTotal:t=>t,bulletClass:`${o}-bullet`,bulletActiveClass:`${o}-bullet-active`,modifierClass:`${o}-`,currentClass:`${o}-current`,totalClass:`${o}-total`,hiddenClass:`${o}-hidden`,progressbarFillClass:`${o}-progressbar-fill`,progressbarOppositeClass:`${o}-progressbar-opposite`,clickableClass:`${o}-clickable`,lockClass:`${o}-lock`,horizontalClass:`${o}-horizontal`,verticalClass:`${o}-vertical`}}),e.pagination={el:null,$el:null,bullets:[]};let a=0;function l(){return!e.params.pagination.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length}function c(t,n){const{bulletActiveClass:i}=e.params.pagination;t[n]().addClass(`${i}-${n}`)[n]().addClass(`${i}-${n}-${n}`)}function d(){const t=e.rtl,n=e.params.pagination;if(l())return;const i=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,o=e.pagination.$el;let d;const h=e.params.loop?Math.ceil((i-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(d=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),d>i-1-2*e.loopedSlides&&(d-=i-2*e.loopedSlides),d>h-1&&(d-=h),d<0&&"bullets"!==e.params.paginationType&&(d=h+d)):d=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===n.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const i=e.pagination.bullets;let s,l,h;if(n.dynamicBullets&&(r=i.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),o.css(e.isHorizontal()?"width":"height",r*(n.dynamicMainBullets+4)+"px"),n.dynamicMainBullets>1&&void 0!==e.previousIndex&&(a+=d-(e.previousIndex-e.loopedSlides||0),a>n.dynamicMainBullets-1?a=n.dynamicMainBullets-1:a<0&&(a=0)),s=Math.max(d-a,0),l=s+(Math.min(i.length,n.dynamicMainBullets)-1),h=(l+s)/2),i.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map((t=>`${n.bulletActiveClass}${t}`)).join(" ")),o.length>1)i.each((t=>{const e=m(t),i=e.index();i===d&&e.addClass(n.bulletActiveClass),n.dynamicBullets&&(i>=s&&i<=l&&e.addClass(`${n.bulletActiveClass}-main`),i===s&&c(e,"prev"),i===l&&c(e,"next"))}));else{const t=i.eq(d),o=t.index();if(t.addClass(n.bulletActiveClass),n.dynamicBullets){const t=i.eq(s),r=i.eq(l);for(let t=s;t<=l;t+=1)i.eq(t).addClass(`${n.bulletActiveClass}-main`);if(e.params.loop)if(o>=i.length){for(let t=n.dynamicMainBullets;t>=0;t-=1)i.eq(i.length-t).addClass(`${n.bulletActiveClass}-main`);i.eq(i.length-n.dynamicMainBullets-1).addClass(`${n.bulletActiveClass}-prev`)}else c(t,"prev"),c(r,"next");else c(t,"prev"),c(r,"next")}}if(n.dynamicBullets){const s=Math.min(i.length,n.dynamicMainBullets+4),o=(r*s-r)/2-h*r,a=t?"right":"left";i.css(e.isHorizontal()?a:"top",`${o}px`)}}if("fraction"===n.type&&(o.find(it(n.currentClass)).text(n.formatFractionCurrent(d+1)),o.find(it(n.totalClass)).text(n.formatFractionTotal(h))),"progressbar"===n.type){let t;t=n.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const i=(d+1)/h;let s=1,r=1;"horizontal"===t?s=i:r=i,o.find(it(n.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${s}) scaleY(${r})`).transition(e.params.speed)}"custom"===n.type&&n.renderCustom?(o.html(n.renderCustom(e,d+1,h)),s("paginationRender",o[0])):s("paginationUpdate",o[0]),e.params.watchOverflow&&e.enabled&&o[e.isLocked?"addClass":"removeClass"](n.lockClass)}function h(){const t=e.params.pagination;if(l())return;const n=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,i=e.pagination.$el;let o="";if("bullets"===t.type){let s=e.params.loop?Math.ceil((n-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&!e.params.loop&&s>n&&(s=n);for(let n=0;n<s;n+=1)t.renderBullet?o+=t.renderBullet.call(e,n,t.bulletClass):o+=`<${t.bulletElement} class="${t.bulletClass}"></${t.bulletElement}>`;i.html(o),e.pagination.bullets=i.find(it(t.bulletClass))}"fraction"===t.type&&(o=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):`<span class="${t.currentClass}"></span> / <span class="${t.totalClass}"></span>`,i.html(o)),"progressbar"===t.type&&(o=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):`<span class="${t.progressbarFillClass}"></span>`,i.html(o)),"custom"!==t.type&&s("paginationRender",e.pagination.$el[0])}function u(){e.params.pagination=et(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const t=e.params.pagination;if(!t.el)return;let n=m(t.el);0!==n.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&n.length>1&&(n=e.$el.find(t.el),n.length>1&&(n=n.filter((t=>m(t).parents(".swiper")[0]===e.el)))),"bullets"===t.type&&t.clickable&&n.addClass(t.clickableClass),n.addClass(t.modifierClass+t.type),n.addClass(t.modifierClass+e.params.direction),"bullets"===t.type&&t.dynamicBullets&&(n.addClass(`${t.modifierClass}${t.type}-dynamic`),a=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&n.addClass(t.progressbarOppositeClass),t.clickable&&n.on("click",it(t.bulletClass),(function(t){t.preventDefault();let n=m(this).index()*e.params.slidesPerGroup;e.params.loop&&(n+=e.loopedSlides),e.slideTo(n)})),Object.assign(e.pagination,{$el:n,el:n[0]}),e.enabled||n.addClass(t.lockClass))}function p(){const t=e.params.pagination;if(l())return;const n=e.pagination.$el;n.removeClass(t.hiddenClass),n.removeClass(t.modifierClass+t.type),n.removeClass(t.modifierClass+e.params.direction),e.pagination.bullets&&e.pagination.bullets.removeClass&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&n.off("click",it(t.bulletClass))}i("init",(()=>{u(),h(),d()})),i("activeIndexChange",(()=>{(e.params.loop||void 0===e.snapIndex)&&d()})),i("snapIndexChange",(()=>{e.params.loop||d()})),i("slidesLengthChange",(()=>{e.params.loop&&(h(),d())})),i("snapGridLengthChange",(()=>{e.params.loop||(h(),d())})),i("destroy",(()=>{p()})),i("enable disable",(()=>{const{$el:t}=e.pagination;t&&t[e.enabled?"removeClass":"addClass"](e.params.pagination.lockClass)})),i("lock unlock",(()=>{d()})),i("click",((t,n)=>{const i=n.target,{$el:o}=e.pagination;if(e.params.pagination.el&&e.params.pagination.hideOnClick&&o.length>0&&!m(i).hasClass(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&i===e.navigation.nextEl||e.navigation.prevEl&&i===e.navigation.prevEl))return;const t=o.hasClass(e.params.pagination.hiddenClass);s(!0===t?"paginationShow":"paginationHide"),o.toggleClass(e.params.pagination.hiddenClass)}})),Object.assign(e.pagination,{render:h,update:d,init:u,destroy:p})}function ot(t){let e,{swiper:n,extendParams:i,on:s,emit:o}=t;function a(){const t=n.slides.eq(n.activeIndex);let i=n.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(i=t.attr("data-swiper-autoplay")||n.params.autoplay.delay),clearTimeout(e),e=b((()=>{let t;n.params.autoplay.reverseDirection?n.params.loop?(n.loopFix(),t=n.slidePrev(n.params.speed,!0,!0),o("autoplay")):n.isBeginning?n.params.autoplay.stopOnLastSlide?c():(t=n.slideTo(n.slides.length-1,n.params.speed,!0,!0),o("autoplay")):(t=n.slidePrev(n.params.speed,!0,!0),o("autoplay")):n.params.loop?(n.loopFix(),t=n.slideNext(n.params.speed,!0,!0),o("autoplay")):n.isEnd?n.params.autoplay.stopOnLastSlide?c():(t=n.slideTo(0,n.params.speed,!0,!0),o("autoplay")):(t=n.slideNext(n.params.speed,!0,!0),o("autoplay")),(n.params.cssMode&&n.autoplay.running||!1===t)&&a()}),i)}function l(){return void 0===e&&(!n.autoplay.running&&(n.autoplay.running=!0,o("autoplayStart"),a(),!0))}function c(){return!!n.autoplay.running&&(void 0!==e&&(e&&(clearTimeout(e),e=void 0),n.autoplay.running=!1,o("autoplayStop"),!0))}function d(t){n.autoplay.running&&(n.autoplay.paused||(e&&clearTimeout(e),n.autoplay.paused=!0,0!==t&&n.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach((t=>{n.$wrapperEl[0].addEventListener(t,u)})):(n.autoplay.paused=!1,a())))}function h(){const t=r();"hidden"===t.visibilityState&&n.autoplay.running&&d(),"visible"===t.visibilityState&&n.autoplay.paused&&(a(),n.autoplay.paused=!1)}function u(t){n&&!n.destroyed&&n.$wrapperEl&&t.target===n.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach((t=>{n.$wrapperEl[0].removeEventListener(t,u)})),n.autoplay.paused=!1,n.autoplay.running?a():c())}function p(){n.params.autoplay.disableOnInteraction?c():(o("autoplayPause"),d()),["transitionend","webkitTransitionEnd"].forEach((t=>{n.$wrapperEl[0].removeEventListener(t,u)}))}function f(){n.params.autoplay.disableOnInteraction||(n.autoplay.paused=!1,o("autoplayResume"),a())}n.autoplay={running:!1,paused:!1},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}}),s("init",(()=>{if(n.params.autoplay.enabled){l();r().addEventListener("visibilitychange",h),n.params.autoplay.pauseOnMouseEnter&&(n.$el.on("mouseenter",p),n.$el.on("mouseleave",f))}})),s("beforeTransitionStart",((t,e,i)=>{n.autoplay.running&&(i||!n.params.autoplay.disableOnInteraction?n.autoplay.pause(e):c())})),s("sliderFirstMove",(()=>{n.autoplay.running&&(n.params.autoplay.disableOnInteraction?c():d())})),s("touchEnd",(()=>{n.params.cssMode&&n.autoplay.paused&&!n.params.autoplay.disableOnInteraction&&a()})),s("destroy",(()=>{n.$el.off("mouseenter",p),n.$el.off("mouseleave",f),n.autoplay.running&&c();r().removeEventListener("visibilitychange",h)})),Object.assign(n.autoplay,{pause:d,run:a,start:l,stop:c})}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.