!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="ed2af3fb-6fb5-4482-95a6-5d89386bedd0",t._sentryDebugIdIdentifier="sentry-dbid-ed2af3fb-6fb5-4482-95a6-5d89386bedd0")}catch(t){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8434],{35265:function(t,e,n){let r,i;/*!
 * @kurkle/color v0.3.2
 * https://github.com/kurkle/color#readme
 * (c) 2023 Jukka Kurkela
 * Released under the MIT License
 */function o(t){return t+.5|0}n.d(e,{$:function(){return eh},A:function(){return tW},B:function(){return tA},C:function(){return ef},D:function(){return tO},E:function(){return ek},F:function(){return z},G:function(){return e$},H:function(){return ts},I:function(){return ez},J:function(){return e5},K:function(){return e1},L:function(){return tH},M:function(){return eq},N:function(){return tm},O:function(){return L},P:function(){return ta},Q:function(){return q},R:function(){return eT},S:function(){return tC},T:function(){return tl},U:function(){return tk},V:function(){return ei},W:function(){return tj},X:function(){return ea},Y:function(){return es},Z:function(){return ep},_:function(){return tL},a:function(){return eO},a0:function(){return e_},a1:function(){return tq},a2:function(){return tz},a3:function(){return t9},a4:function(){return U},a5:function(){return te},a6:function(){return t7},a7:function(){return tr},a8:function(){return function t(e,n,r,i){let o={_cacheable:!1,_proxy:e,_context:n,_subProxy:r,_stack:new Set,_descriptors:eR(e,i),setContext:n=>t(e,n,r,i),override:o=>t(e.override(o),n,r,i)};return new Proxy(o,{deleteProperty:(t,n)=>(delete t[n],delete e[n],!0),get:(e,n,r)=>eI(e,n,()=>(function(e,n,r){let{_proxy:i,_context:o,_subProxy:a,_descriptors:l}=e,u=i[n];return tr(u)&&l.isScriptable(n)&&(u=function(t,e,n,r){let{_proxy:i,_context:o,_subProxy:a,_stack:l}=n;if(l.has(t))throw Error("Recursion detected: "+Array.from(l).join("->")+"->"+t);l.add(t);let u=e(o,a||r);return l.delete(t),ej(t,u)&&(u=eA(i._scopes,i,t,u)),u}(n,u,e,r)),Y(u)&&u.length&&(u=function(e,n,r,i){let{_proxy:o,_context:a,_subProxy:l,_descriptors:u}=r;if(void 0!==a.index&&i(e))return n[a.index%n.length];if(N(n[0])){let r=n,i=o._scopes.filter(t=>t!==r);for(let c of(n=[],r)){let r=eA(i,o,e,c);n.push(t(r,a,l&&l[e],u))}}return n}(n,u,e,l.isIndexable)),ej(n,u)&&(u=t(u,o,a&&a[n],l)),u})(e,n,r)),getOwnPropertyDescriptor:(t,n)=>t._descriptors.allKeys?Reflect.has(e,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,n),getPrototypeOf:()=>Reflect.getPrototypeOf(e),has:(t,n)=>Reflect.has(e,n),ownKeys:()=>Reflect.ownKeys(e),set:(t,n,r)=>(e[n]=r,delete t[n],!0)})}},a9:function(){return eS},aA:function(){return e6},aB:function(){return tZ},aC:function(){return e9},aD:function(){return ec},aE:function(){return tT},aF:function(){return A},aG:function(){return tw},aH:function(){return ty},aI:function(){return tv},aJ:function(){return tb},aK:function(){return t_},aL:function(){return t6},aM:function(){return tg},aN:function(){return eo},aO:function(){return tF},aP:function(){return tE},aa:function(){return eR},ab:function(){return J},ac:function(){return W},ad:function(){return tX},ae:function(){return e0},af:function(){return el},ag:function(){return ti},ah:function(){return Z},ai:function(){return to},aj:function(){return tI},ak:function(){return ev},al:function(){return eX},am:function(){return nr},an:function(){return nn},ao:function(){return e8},ap:function(){return e3},aq:function(){return e2},ar:function(){return ed},as:function(){return eg},at:function(){return eu},au:function(){return eb},av:function(){return ew},aw:function(){return eM},ax:function(){return ne},ay:function(){return tS},az:function(){return e4},b:function(){return Y},c:function(){return t0},d:function(){return er},e:function(){return tG},f:function(){return tt},g:function(){return B},h:function(){return tn},i:function(){return N},j:function(){return eP},k:function(){return F},l:function(){return tN},m:function(){return H},n:function(){return X},o:function(){return t3},p:function(){return tR},q:function(){return tQ},r:function(){return tD},s:function(){return tp},t:function(){return tM},u:function(){return tB},v:function(){return D},w:function(){return tV},x:function(){return tx},y:function(){return eN},z:function(){return eJ}});let a=(t,e,n)=>Math.max(Math.min(t,n),e);function l(t){return a(o(2.55*t),0,255)}function u(t){return a(o(255*t),0,255)}function c(t){return a(o(t/2.55)/100,0,1)}function f(t){return a(o(100*t),0,100)}let s={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},h=[..."0123456789ABCDEF"],d=t=>h[15&t],g=t=>h[(240&t)>>4]+h[15&t],p=t=>(240&t)>>4==(15&t),b=t=>p(t.r)&&p(t.g)&&p(t.b)&&p(t.a),y=(t,e)=>t<255?e(t):"",m=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function x(t,e,n){let r=e*Math.min(n,1-n),i=function(e){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+t/30)%12;return n-r*Math.max(Math.min(i-3,9-i,1),-1)};return[i(0),i(8),i(4)]}function v(t,e,n){let r=function(r){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(r+t/60)%6;return n-n*e*Math.max(Math.min(i,4-i,1),0)};return[r(5),r(3),r(1)]}function w(t,e,n){let r;let i=x(t,1,.5);for(e+n>1&&(r=1/(e+n),e*=r,n*=r),r=0;r<3;r++)i[r]*=1-e-n,i[r]+=e;return i}function M(t){let e,n,r;let i=t.r/255,o=t.g/255,a=t.b/255,l=Math.max(i,o,a),u=Math.min(i,o,a),c=(l+u)/2;return l!==u&&(r=l-u,n=c>.5?r/(2-l-u):r/(l+u),e=60*(e=i===l?(o-a)/r+(o<a?6:0):o===l?(a-i)/r+2:(i-o)/r+4)+.5),[0|e,n||0,c]}function k(t,e,n,r){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,r)).map(u)}function _(t){return(t%360+360)%360}let O={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"},T={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"},P=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/,S=t=>t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055,R=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function C(t,e,n){if(t){let r=M(t);r[e]=Math.max(0,Math.min(r[e]+r[e]*n,0===e?360:1)),r=k(x,r,void 0,void 0),t.r=r[0],t.g=r[1],t.b=r[2]}}function j(t,e){return t?Object.assign(e||{},t):t}function I(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=u(t[3]))):(e=j(t,{r:0,g:0,b:0,a:1})).a=u(e.a),e}class E{get valid(){return this._valid}get rgb(){var t=j(this._rgb);return t&&(t.a=c(t.a)),t}set rgb(t){this._rgb=I(t)}rgbString(){var t;return this._valid?(t=this._rgb)&&(t.a<255?"rgba(".concat(t.r,", ").concat(t.g,", ").concat(t.b,", ").concat(c(t.a),")"):"rgb(".concat(t.r,", ").concat(t.g,", ").concat(t.b,")")):void 0}hexString(){var t,e;return this._valid?(e=b(t=this._rgb)?d:g,t?"#"+e(t.r)+e(t.g)+e(t.b)+y(t.a,e):void 0):void 0}hslString(){return this._valid?function(t){if(!t)return;let e=M(t),n=e[0],r=f(e[1]),i=f(e[2]);return t.a<255?"hsla(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(c(t.a),")"):"hsl(".concat(n,", ").concat(r,"%, ").concat(i,"%)")}(this._rgb):void 0}mix(t,e){if(t){let n;let r=this.rgb,i=t.rgb,o=e===n?.5:e,a=2*o-1,l=r.a-i.a,u=((a*l==-1?a:(a+l)/(1+a*l))+1)/2;n=1-u,r.r=255&u*r.r+n*i.r+.5,r.g=255&u*r.g+n*i.g+.5,r.b=255&u*r.b+n*i.b+.5,r.a=o*r.a+(1-o)*i.a,this.rgb=r}return this}interpolate(t,e){return t&&(this._rgb=function(t,e,n){let r=R(c(t.r)),i=R(c(t.g)),o=R(c(t.b));return{r:u(S(r+n*(R(c(e.r))-r))),g:u(S(i+n*(R(c(e.g))-i))),b:u(S(o+n*(R(c(e.b))-o))),a:t.a+n*(e.a-t.a)}}(this._rgb,t._rgb,e)),this}clone(){return new E(this.rgb)}alpha(t){return this._rgb.a=u(t),this}clearer(t){let e=this._rgb;return e.a*=1-t,this}greyscale(){let t=this._rgb,e=o(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}opaquer(t){let e=this._rgb;return e.a*=1+t,this}negate(){let t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return C(this._rgb,2,t),this}darken(t){return C(this._rgb,2,-t),this}saturate(t){return C(this._rgb,1,t),this}desaturate(t){return C(this._rgb,1,-t),this}rotate(t){var e,n;return(n=M(e=this._rgb))[0]=_(n[0]+t),n=k(x,n,void 0,void 0),e.r=n[0],e.g=n[1],e.b=n[2],this}constructor(t){let e;if(t instanceof E)return t;let n=typeof t;if("object"===n)e=I(t);else if("string"===n){var i,o;o=t.length,"#"===t[0]&&(4===o||5===o?i={r:255&17*s[t[1]],g:255&17*s[t[2]],b:255&17*s[t[3]],a:5===o?17*s[t[4]]:255}:(7===o||9===o)&&(i={r:s[t[1]]<<4|s[t[2]],g:s[t[3]]<<4|s[t[4]],b:s[t[5]]<<4|s[t[6]],a:9===o?s[t[7]]<<4|s[t[8]]:255})),e=i||function(t){r||((r=function(){let t,e,n,r,i;let o={},a=Object.keys(T),l=Object.keys(O);for(t=0;t<a.length;t++){for(e=0,r=i=a[t];e<l.length;e++)n=l[e],i=i.replace(n,O[n]);n=parseInt(T[r],16),o[i]=[n>>16&255,n>>8&255,255&n]}return o}()).transparent=[0,0,0,0]);let e=r[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}(t)||("r"===t.charAt(0)?function(t){let e,n,r;let i=P.exec(t),o=255;if(i){if(i[7]!==e){let t=+i[7];o=i[8]?l(t):a(255*t,0,255)}return e=+i[1],n=+i[3],r=+i[5],{r:e=255&(i[2]?l(e):a(e,0,255)),g:n=255&(i[4]?l(n):a(n,0,255)),b:r=255&(i[6]?l(r):a(r,0,255)),a:o}}}(t):function(t){let e;let n=m.exec(t),r=255;if(!n)return;n[5]!==e&&(r=n[6]?l(+n[5]):u(+n[5]));let i=_(+n[2]),o=+n[3]/100,a=+n[4]/100;return{r:(e="hwb"===n[1]?k(w,i,o,a):"hsv"===n[1]?k(v,i,o,a):k(x,i,o,a))[0],g:e[1],b:e[2],a:r}}(t))}this._rgb=e,this._valid=!!e}}/*!
 * Chart.js v4.4.2
 * https://www.chartjs.org
 * (c) 2024 Chart.js Contributors
 * Released under the MIT License
 */function A(){}let W=(i=0,()=>i++);function F(t){return null==t}function Y(t){if(Array.isArray&&Array.isArray(t))return!0;let e=Object.prototype.toString.call(t);return"[object"===e.slice(0,7)&&"Array]"===e.slice(-6)}function N(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}function B(t){return("number"==typeof t||t instanceof Number)&&isFinite(+t)}function L(t,e){return B(t)?t:e}function D(t,e){return void 0===t?e:t}let H=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100:+t/e,X=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function q(t,e,n){if(t&&"function"==typeof t.call)return t.apply(n,e)}function z(t,e,n,r){let i,o,a;if(Y(t)){if(o=t.length,r)for(i=o-1;i>=0;i--)e.call(n,t[i],i);else for(i=0;i<o;i++)e.call(n,t[i],i)}else if(N(t))for(i=0,o=(a=Object.keys(t)).length;i<o;i++)e.call(n,t[a[i]],a[i])}function Z(t,e){let n,r,i,o;if(!t||!e||t.length!==e.length)return!1;for(n=0,r=t.length;n<r;++n)if(i=t[n],o=e[n],i.datasetIndex!==o.datasetIndex||i.index!==o.index)return!1;return!0}function Q(t){if(Y(t))return t.map(Q);if(N(t)){let e=Object.create(null),n=Object.keys(t),r=n.length,i=0;for(;i<r;++i)e[n[i]]=Q(t[n[i]]);return e}return t}function V(t){return -1===["__proto__","prototype","constructor"].indexOf(t)}function K(t,e,n,r){if(!V(t))return;let i=e[t],o=n[t];N(i)&&N(o)?U(i,o,r):e[t]=Q(o)}function U(t,e,n){let r;let i=Y(e)?e:[e],o=i.length;if(!N(t))return t;let a=(n=n||{}).merger||K;for(let e=0;e<o;++e){if(!N(r=i[e]))continue;let o=Object.keys(r);for(let e=0,i=o.length;e<i;++e)a(o[e],t,r,n)}return t}function J(t,e){return U(t,e,{merger:G})}function G(t,e,n){if(!V(t))return;let r=e[t],i=n[t];N(r)&&N(i)?J(r,i):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=Q(i))}let $={"":t=>t,x:t=>t.x,y:t=>t.y};function tt(t,e){return($[e]||($[e]=function(t){let e=function(t){let e=t.split("."),n=[],r="";for(let t of e)(r+=t).endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}(t);return t=>{for(let n of e){if(""===n)break;t=t&&t[n]}return t}}(e)))(t)}function te(t){return t.charAt(0).toUpperCase()+t.slice(1)}let tn=t=>void 0!==t,tr=t=>"function"==typeof t,ti=(t,e)=>{if(t.size!==e.size)return!1;for(let n of t)if(!e.has(n))return!1;return!0};function to(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}let ta=Math.PI,tl=2*ta,tu=tl+ta,tc=Number.POSITIVE_INFINITY,tf=ta/180,ts=ta/2,th=ta/4,td=2*ta/3,tg=Math.log10,tp=Math.sign;function tb(t,e,n){return Math.abs(t-e)<n}function ty(t){let e=Math.round(t),n=Math.pow(10,Math.floor(tg(t=tb(t,e,t/1e3)?e:t))),r=t/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function tm(t){let e;let n=[],r=Math.sqrt(t);for(e=1;e<r;e++)t%e==0&&(n.push(e),n.push(t/e));return r===(0|r)&&n.push(r),n.sort((t,e)=>t-e).pop(),n}function tx(t){return!isNaN(parseFloat(t))&&isFinite(t)}function tv(t,e){let n=Math.round(t);return n-e<=t&&n+e>=t}function tw(t,e,n){let r,i,o;for(r=0,i=t.length;r<i;r++)isNaN(o=t[r][n])||(e.min=Math.min(e.min,o),e.max=Math.max(e.max,o))}function tM(t){return ta/180*t}function tk(t){return 180/ta*t}function t_(t){if(!B(t))return;let e=1,n=0;for(;Math.round(t*e)/e!==t;)e*=10,n++;return n}function tO(t,e){let n=e.x-t.x,r=e.y-t.y,i=Math.atan2(r,n);return i<-.5*ta&&(i+=tl),{angle:i,distance:Math.sqrt(n*n+r*r)}}function tT(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function tP(t,e){return(t-e+tu)%tl-ta}function tS(t){return(t%tl+tl)%tl}function tR(t,e,n,r){let i=tS(t),o=tS(e),a=tS(n),l=tS(o-i),u=tS(a-i),c=tS(i-o),f=tS(i-a);return i===o||i===a||r&&o===a||l>u&&c<f}function tC(t,e,n){return Math.max(e,Math.min(n,t))}function tj(t){return tC(t,-32768,32767)}function tI(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1e-6;return t>=Math.min(e,n)-r&&t<=Math.max(e,n)+r}function tE(t,e,n){let r;n=n||(n=>t[n]<e);let i=t.length-1,o=0;for(;i-o>1;)n(r=o+i>>1)?o=r:i=r;return{lo:o,hi:i}}let tA=(t,e,n,r)=>tE(t,n,r?r=>{let i=t[r][e];return i<n||i===n&&t[r+1][e]===n}:r=>t[r][e]<n),tW=(t,e,n)=>tE(t,n,r=>t[r][e]>=n);function tF(t,e,n){let r=0,i=t.length;for(;r<i&&t[r]<e;)r++;for(;i>r&&t[i-1]>n;)i--;return r>0||i<t.length?t.slice(r,i):t}let tY=["push","pop","shift","splice","unshift"];function tN(t,e){if(t._chartjs){t._chartjs.listeners.push(e);return}Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),tY.forEach(e=>{let n="_onData"+te(e),r=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value(){for(var e=arguments.length,i=Array(e),o=0;o<e;o++)i[o]=arguments[o];let a=r.apply(this,i);return t._chartjs.listeners.forEach(t=>{"function"==typeof t[n]&&t[n](...i)}),a}})})}function tB(t,e){let n=t._chartjs;if(!n)return;let r=n.listeners,i=r.indexOf(e);-1!==i&&r.splice(i,1),r.length>0||(tY.forEach(e=>{delete t[e]}),delete t._chartjs)}function tL(t){let e=new Set(t);return e.size===t.length?t:Array.from(e)}let tD="undefined"==typeof window?function(t){return t()}:window.requestAnimationFrame;function tH(t,e){let n=[],r=!1;return function(){for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];n=o,r||(r=!0,tD.call(window,()=>{r=!1,t.apply(e,n)}))}}function tX(t,e){let n;return function(){for(var r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return e?(clearTimeout(n),n=setTimeout(t,e,i)):t.apply(this,i),e}}let tq=t=>"start"===t?"left":"end"===t?"right":"center",tz=(t,e,n)=>"start"===t?e:"end"===t?n:(e+n)/2,tZ=(t,e,n,r)=>t===(r?"left":"right")?n:"center"===t?(e+n)/2:e;function tQ(t,e,n){let r=e.length,i=0,o=r;if(t._sorted){let{iScale:a,_parsed:l}=t,u=a.axis,{min:c,max:f,minDefined:s,maxDefined:h}=a.getUserBounds();s&&(i=tC(Math.min(tA(l,u,c).lo,n?r:tA(e,u,a.getPixelForValue(c)).lo),0,r-1)),o=h?tC(Math.max(tA(l,a.axis,f,!0).hi+1,n?0:tA(e,u,a.getPixelForValue(f),!0).hi+1),i,r)-i:r-i}return{start:i,count:o}}function tV(t){let{xScale:e,yScale:n,_scaleRanges:r}=t,i={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!r)return t._scaleRanges=i,!0;let o=r.xmin!==e.min||r.xmax!==e.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,i),o}let tK=t=>0===t||1===t,tU=(t,e,n)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*tl/n)),tJ=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*tl/n)+1,tG={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=>-Math.cos(t*ts)+1,easeOutSine:t=>Math.sin(t*ts),easeInOutSine:t=>-.5*(Math.cos(ta*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:-Math.pow(2,-10*t)+1,easeInOutExpo:t=>tK(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(-Math.pow(2,-10*(2*t-1))+2),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=>tK(t)?t:tU(t,.075,.3),easeOutElastic:t=>tK(t)?t:tJ(t,.075,.3),easeInOutElastic:t=>tK(t)?t:t<.5?.5*tU(2*t,.1125,.45):.5+.5*tJ(2*t-1,.1125,.45),easeInBack:t=>t*t*(2.70158*t-1.70158),easeOutBack:t=>(t-=1)*t*(2.70158*t+1.70158)+1,easeInOutBack(t){let e=1.70158;return(t/=.5)<1?t*t*(((e*=1.525)+1)*t-e)*.5:.5*((t-=2)*t*(((e*=1.525)+1)*t+e)+2)},easeInBounce:t=>1-tG.easeOutBounce(1-t),easeOutBounce:t=>t<.36363636363636365?7.5625*t*t:t<.7272727272727273?7.5625*(t-=.5454545454545454)*t+.75:t<.9090909090909091?7.5625*(t-=.8181818181818182)*t+.9375:7.5625*(t-=.9545454545454546)*t+.984375,easeInOutBounce:t=>t<.5?.5*tG.easeInBounce(2*t):.5*tG.easeOutBounce(2*t-1)+.5};function t$(t){if(t&&"object"==typeof t){let e=t.toString();return"[object CanvasPattern]"===e||"[object CanvasGradient]"===e}return!1}function t0(t){return t$(t)?t:new E(t)}function t1(t){return t$(t)?t:new E(t).saturate(.5).darken(.1).hexString()}let t5=["x","y","borderWidth","radius","tension"],t2=["color","borderColor","backgroundColor"],t8=new Map;function t3(t,e,n){return(function(t,e){let n=t+JSON.stringify(e=e||{}),r=t8.get(n);return r||(r=new Intl.NumberFormat(t,e),t8.set(n,r)),r})(e,n).format(t)}let t4={values:t=>Y(t)?t:""+t,numeric(t,e,n){let r;if(0===t)return"0";let i=this.chart.options.locale,o=t;if(n.length>1){let e;let i=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(i<1e-4||i>1e15)&&(r="scientific"),Math.abs(e=n.length>3?n[2].value-n[1].value:n[1].value-n[0].value)>=1&&t!==Math.floor(t)&&(e=t-Math.floor(t)),o=e}let a=tg(Math.abs(o)),l=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),u={notation:r,minimumFractionDigits:l,maximumFractionDigits:l};return Object.assign(u,this.options.ticks.format),t3(t,i,u)},logarithmic(t,e,n){return 0===t?"0":[1,2,3,5,10,15].includes(n[e].significand||t/Math.pow(10,Math.floor(tg(t))))||e>.8*n.length?t4.numeric.call(this,t,e,n):""}};var t6={formatters:t4};let t9=Object.create(null),t7=Object.create(null);function et(t,e){if(!e)return t;let n=e.split(".");for(let e=0,r=n.length;e<r;++e){let r=n[e];t=t[r]||(t[r]=Object.create(null))}return t}function ee(t,e,n){return"string"==typeof e?U(et(t,e),n):U(et(t,""),e)}class en{set(t,e){return ee(this,t,e)}get(t){return et(this,t)}describe(t,e){return ee(t7,t,e)}override(t,e){return ee(t9,t,e)}route(t,e,n,r){let i=et(this,t),o=et(this,n),a="_"+e;Object.defineProperties(i,{[a]:{value:i[e],writable:!0},[e]:{enumerable:!0,get(){let t=this[a],e=o[r];return N(t)?Object.assign({},e,t):D(t,e)},set(t){this[a]=t}}})}apply(t){t.forEach(t=>t(this))}constructor(t,e){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)=>t1(e.backgroundColor),this.hoverBorderColor=(t,e)=>t1(e.borderColor),this.hoverColor=(t,e)=>t1(e.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(e)}}var er=new en({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[function(t){t.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>"onProgress"!==t&&"onComplete"!==t&&"fn"!==t}),t.set("animations",{colors:{type:"color",properties:t2},numbers:{type:"number",properties:t5}}),t.describe("animations",{_fallback:"animation"}),t.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}}}})},function(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})},function(t){t.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width: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:t6.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&"callback"!==t&&"parser"!==t,_indexable:t=>"borderDash"!==t&&"tickBorderDash"!==t&&"dash"!==t}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:t=>"backdropPadding"!==t&&"callback"!==t,_indexable:t=>"backdropPadding"!==t})}]);function ei(t,e,n,r,i){let o=e[i];return o||(o=e[i]=t.measureText(i).width,n.push(i)),o>r&&(r=o),r}function eo(t,e,n,r){let i,o,a,l,u;let c=(r=r||{}).data=r.data||{},f=r.garbageCollect=r.garbageCollect||[];r.font!==e&&(c=r.data={},f=r.garbageCollect=[],r.font=e),t.save(),t.font=e;let s=0,h=n.length;for(i=0;i<h;i++)if(null==(l=n[i])||Y(l)){if(Y(l))for(o=0,a=l.length;o<a;o++)null==(u=l[o])||Y(u)||(s=ei(t,c,f,s,u))}else s=ei(t,c,f,s,l);t.restore();let d=f.length/2;if(d>n.length){for(i=0;i<d;i++)delete c[f[i]];f.splice(0,d)}return s}function ea(t,e,n){let r=t.currentDevicePixelRatio,i=0!==n?Math.max(n/2,.5):0;return Math.round((e-i)*r)/r+i}function el(t,e){(e=e||t.getContext("2d")).save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore()}function eu(t,e,n,r){ec(t,e,n,r,null)}function ec(t,e,n,r,i){let o,a,l,u,c,f,s,h;let d=e.pointStyle,g=e.rotation,p=e.radius,b=(g||0)*tf;if(d&&"object"==typeof d&&("[object HTMLImageElement]"===(o=d.toString())||"[object HTMLCanvasElement]"===o)){t.save(),t.translate(n,r),t.rotate(b),t.drawImage(d,-d.width/2,-d.height/2,d.width,d.height),t.restore();return}if(!isNaN(p)&&!(p<=0)){switch(t.beginPath(),d){default:i?t.ellipse(n,r,i/2,p,0,0,tl):t.arc(n,r,p,0,tl),t.closePath();break;case"triangle":f=i?i/2:p,t.moveTo(n+Math.sin(b)*f,r-Math.cos(b)*p),b+=td,t.lineTo(n+Math.sin(b)*f,r-Math.cos(b)*p),b+=td,t.lineTo(n+Math.sin(b)*f,r-Math.cos(b)*p),t.closePath();break;case"rectRounded":c=.516*p,a=Math.cos(b+th)*(u=p-c),s=Math.cos(b+th)*(i?i/2-c:u),l=Math.sin(b+th)*u,h=Math.sin(b+th)*(i?i/2-c:u),t.arc(n-s,r-l,c,b-ta,b-ts),t.arc(n+h,r-a,c,b-ts,b),t.arc(n+s,r+l,c,b,b+ts),t.arc(n-h,r+a,c,b+ts,b+ta),t.closePath();break;case"rect":if(!g){u=Math.SQRT1_2*p,f=i?i/2:u,t.rect(n-f,r-u,2*f,2*u);break}b+=th;case"rectRot":s=Math.cos(b)*(i?i/2:p),a=Math.cos(b)*p,l=Math.sin(b)*p,h=Math.sin(b)*(i?i/2:p),t.moveTo(n-s,r-l),t.lineTo(n+h,r-a),t.lineTo(n+s,r+l),t.lineTo(n-h,r+a),t.closePath();break;case"crossRot":b+=th;case"cross":s=Math.cos(b)*(i?i/2:p),a=Math.cos(b)*p,l=Math.sin(b)*p,h=Math.sin(b)*(i?i/2:p),t.moveTo(n-s,r-l),t.lineTo(n+s,r+l),t.moveTo(n+h,r-a),t.lineTo(n-h,r+a);break;case"star":s=Math.cos(b)*(i?i/2:p),a=Math.cos(b)*p,l=Math.sin(b)*p,h=Math.sin(b)*(i?i/2:p),t.moveTo(n-s,r-l),t.lineTo(n+s,r+l),t.moveTo(n+h,r-a),t.lineTo(n-h,r+a),b+=th,s=Math.cos(b)*(i?i/2:p),a=Math.cos(b)*p,l=Math.sin(b)*p,h=Math.sin(b)*(i?i/2:p),t.moveTo(n-s,r-l),t.lineTo(n+s,r+l),t.moveTo(n+h,r-a),t.lineTo(n-h,r+a);break;case"line":a=i?i/2:Math.cos(b)*p,l=Math.sin(b)*p,t.moveTo(n-a,r-l),t.lineTo(n+a,r+l);break;case"dash":t.moveTo(n,r),t.lineTo(n+Math.cos(b)*(i?i/2:p),r+Math.sin(b)*p);break;case!1:t.closePath()}t.fill(),e.borderWidth>0&&t.stroke()}}function ef(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 es(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function eh(t){t.restore()}function ed(t,e,n,r,i){if(!e)return t.lineTo(n.x,n.y);if("middle"===i){let r=(e.x+n.x)/2;t.lineTo(r,e.y),t.lineTo(r,n.y)}else"after"===i!=!!r?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y);t.lineTo(n.x,n.y)}function eg(t,e,n,r){if(!e)return t.lineTo(n.x,n.y);t.bezierCurveTo(r?e.cp1x:e.cp2x,r?e.cp1y:e.cp2y,r?n.cp2x:n.cp1x,r?n.cp2y:n.cp1y,n.x,n.y)}function ep(t,e,n,r,i){let o,a,l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},u=Y(e)?e:[e],c=l.strokeWidth>0&&""!==l.strokeColor;for(t.save(),t.font=i.string,l.translation&&t.translate(l.translation[0],l.translation[1]),F(l.rotation)||t.rotate(l.rotation),l.color&&(t.fillStyle=l.color),l.textAlign&&(t.textAlign=l.textAlign),l.textBaseline&&(t.textBaseline=l.textBaseline),o=0;o<u.length;++o)a=u[o],l.backdrop&&function(t,e){let n=t.fillStyle;t.fillStyle=e.color,t.fillRect(e.left,e.top,e.width,e.height),t.fillStyle=n}(t,l.backdrop),c&&(l.strokeColor&&(t.strokeStyle=l.strokeColor),F(l.strokeWidth)||(t.lineWidth=l.strokeWidth),t.strokeText(a,n,r,l.maxWidth)),t.fillText(a,n,r,l.maxWidth),function(t,e,n,r,i){if(i.strikethrough||i.underline){let o=t.measureText(r),a=e-o.actualBoundingBoxLeft,l=e+o.actualBoundingBoxRight,u=n-o.actualBoundingBoxAscent,c=n+o.actualBoundingBoxDescent,f=i.strikethrough?(u+c)/2:c;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=i.decorationWidth||2,t.moveTo(a,f),t.lineTo(l,f),t.stroke()}}(t,n,r,a,l),r+=Number(i.lineHeight);t.restore()}function eb(t,e){let{x:n,y:r,w:i,h:o,radius:a}=e;t.arc(n+a.topLeft,r+a.topLeft,a.topLeft,1.5*ta,ta,!0),t.lineTo(n,r+o-a.bottomLeft),t.arc(n+a.bottomLeft,r+o-a.bottomLeft,a.bottomLeft,ta,ts,!0),t.lineTo(n+i-a.bottomRight,r+o),t.arc(n+i-a.bottomRight,r+o-a.bottomRight,a.bottomRight,ts,0,!0),t.lineTo(n+i,r+a.topRight),t.arc(n+i-a.topRight,r+a.topRight,a.topRight,0,-ts,!0),t.lineTo(n+a.topLeft,r)}let ey=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,em=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/,ex=t=>+t||0;function ev(t,e){let n={},r=N(e),i=r?Object.keys(e):e,o=N(t)?r?n=>D(t[n],t[e[n]]):e=>t[e]:()=>t;for(let t of i)n[t]=ex(o(t));return n}function ew(t){return ev(t,{top:"y",right:"x",bottom:"y",left:"x"})}function eM(t){return ev(t,["topLeft","topRight","bottomLeft","bottomRight"])}function ek(t){let e=ew(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function e_(t,e){t=t||{},e=e||er.font;let n=D(t.size,e.size);"string"==typeof n&&(n=parseInt(n,10));let r=D(t.style,e.style);r&&!(""+r).match(em)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);let i={family:D(t.family,e.family),lineHeight:function(t,e){let n=(""+t).match(ey);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}(D(t.lineHeight,e.lineHeight),n),size:n,style:r,weight:D(t.weight,e.weight),string:""};return i.string=!i||F(i.size)||F(i.family)?null:(i.style?i.style+" ":"")+(i.weight?i.weight+" ":"")+i.size+"px "+i.family,i}function eO(t,e,n,r){let i,o,a,l=!0;for(i=0,o=t.length;i<o;++i)if(void 0!==(a=t[i])&&(void 0!==e&&"function"==typeof a&&(a=a(e),l=!1),void 0!==n&&Y(a)&&(a=a[n%a.length],l=!1),void 0!==a))return r&&!l&&(r.cacheable=!1),a}function eT(t,e,n){let{min:r,max:i}=t,o=X(e,(i-r)/2),a=(t,e)=>n&&0===t?0:t+e;return{min:a(r,-Math.abs(o)),max:a(i,o)}}function eP(t,e){return Object.assign(Object.create(t),e)}function eS(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[""],n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:()=>t[0],o=n||t;void 0===r&&(r=eF("_fallback",t));let a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:o,_fallback:r,_getTarget:i,override:n=>eS([n,...t],e,o,r)};return new Proxy(a,{deleteProperty:(e,n)=>(delete e[n],delete e._keys,delete t[0][n],!0),get:(n,r)=>eI(n,r,()=>(function(t,e,n,r){let i;for(let o of e)if(void 0!==(i=eF(eC(o,t),n)))return ej(t,i)?eA(n,r,t,i):i})(r,e,t,n)),getOwnPropertyDescriptor:(t,e)=>Reflect.getOwnPropertyDescriptor(t._scopes[0],e),getPrototypeOf:()=>Reflect.getPrototypeOf(t[0]),has:(t,e)=>eY(t).includes(e),ownKeys:t=>eY(t),set(t,e,n){let r=t._storage||(t._storage=i());return t[e]=r[e]=n,delete t._keys,!0}})}function eR(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{scriptable:!0,indexable:!0},{_scriptable:n=e.scriptable,_indexable:r=e.indexable,_allKeys:i=e.allKeys}=t;return{allKeys:i,scriptable:n,indexable:r,isScriptable:tr(n)?n:()=>n,isIndexable:tr(r)?r:()=>r}}let eC=(t,e)=>t?t+te(e):e,ej=(t,e)=>N(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function eI(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];let r=n();return t[e]=r,r}let eE=(t,e)=>!0===t?e:"string"==typeof t?tt(e,t):void 0;function eA(t,e,n,r){var i;let o=e._rootScopes,a=tr(i=e._fallback)?i(n,r):i,l=[...t,...o],u=new Set;u.add(r);let c=eW(u,l,n,a||n,r);return null!==c&&(void 0===a||a===n||null!==(c=eW(u,l,a,c,r)))&&eS(Array.from(u),[""],o,a,()=>(function(t,e,n){let r=t._getTarget();e in r||(r[e]={});let i=r[e];return Y(i)&&N(n)?n:i||{}})(e,n,r))}function eW(t,e,n,r,i){for(;n;)n=function(t,e,n,r,i){for(let a of e){let e=eE(n,a);if(e){var o;t.add(e);let a=tr(o=e._fallback)?o(n,i):o;if(void 0!==a&&a!==n&&a!==r)return a}else if(!1===e&&void 0!==r&&n!==r)return null}return!1}(t,e,n,r,i);return n}function eF(t,e){for(let n of e){if(!n)continue;let e=n[t];if(void 0!==e)return e}}function eY(t){let e=t._keys;return e||(e=t._keys=function(t){let e=new Set;for(let n of t)for(let t of Object.keys(n).filter(t=>!t.startsWith("_")))e.add(t);return Array.from(e)}(t._scopes)),e}function eN(t,e,n,r){let i,o,a;let{iScale:l}=t,{key:u="r"}=this._parsing,c=Array(r);for(i=0;i<r;++i)a=e[o=i+n],c[i]={r:l.parse(tt(a,u),o)};return c}let eB=Number.EPSILON||1e-14,eL=(t,e)=>e<t.length&&!t[e].skip&&t[e],eD=t=>"x"===t?"y":"x";function eH(t,e,n){return Math.max(Math.min(t,n),e)}function eX(t,e,n,r,i){let o,a,l,u;if(e.spanGaps&&(t=t.filter(t=>!t.skip)),"monotone"===e.cubicInterpolationMode)!function(t){let e,n,r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x",o=eD(i),a=t.length,l=Array(a).fill(0),u=Array(a),c=eL(t,0);for(e=0;e<a;++e)if(n=r,r=c,c=eL(t,e+1),r){if(c){let t=c[i]-r[i];l[e]=0!==t?(c[o]-r[o])/t:0}u[e]=n?c?tp(l[e-1])!==tp(l[e])?0:(l[e-1]+l[e])/2:l[e-1]:l[e]}!function(t,e,n){let r,i,o,a,l;let u=t.length,c=eL(t,0);for(let f=0;f<u-1;++f)if(l=c,c=eL(t,f+1),l&&c){if(tb(e[f],0,eB)){n[f]=n[f+1]=0;continue}(a=Math.pow(r=n[f]/e[f],2)+Math.pow(i=n[f+1]/e[f],2))<=9||(o=3/Math.sqrt(a),n[f]=r*o*e[f],n[f+1]=i*o*e[f])}}(t,l,u),function(t,e){let n,r,i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"x",a=eD(o),l=t.length,u=eL(t,0);for(let c=0;c<l;++c){if(r=i,i=u,u=eL(t,c+1),!i)continue;let l=i[o],f=i[a];r&&(n=(l-r[o])/3,i["cp1".concat(o)]=l-n,i["cp1".concat(a)]=f-n*e[c]),u&&(n=(u[o]-l)/3,i["cp2".concat(o)]=l+n,i["cp2".concat(a)]=f+n*e[c])}}(t,u,i)}(t,i);else{let n=r?t[t.length-1]:t[0];for(o=0,a=t.length;o<a;++o)u=function(t,e,n,r){let i=t.skip?e:t,o=n.skip?e:n,a=tT(e,i),l=tT(o,e),u=a/(a+l),c=l/(a+l);u=isNaN(u)?0:u,c=isNaN(c)?0:c;let f=r*u,s=r*c;return{previous:{x:e.x-f*(o.x-i.x),y:e.y-f*(o.y-i.y)},next:{x:e.x+s*(o.x-i.x),y:e.y+s*(o.y-i.y)}}}(n,l=t[o],t[Math.min(o+1,a-(r?0:1))%a],e.tension),l.cp1x=u.previous.x,l.cp1y=u.previous.y,l.cp2x=u.next.x,l.cp2y=u.next.y,n=l}e.capBezierPoints&&function(t,e){let n,r,i,o,a;let l=ef(t[0],e);for(n=0,r=t.length;n<r;++n)a=o,o=l,l=n<r-1&&ef(t[n+1],e),o&&(i=t[n],a&&(i.cp1x=eH(i.cp1x,e.left,e.right),i.cp1y=eH(i.cp1y,e.top,e.bottom)),l&&(i.cp2x=eH(i.cp2x,e.left,e.right),i.cp2y=eH(i.cp2y,e.top,e.bottom)))}(t,n)}function eq(){return"undefined"!=typeof window&&"undefined"!=typeof document}function ez(t){let e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e}function eZ(t,e,n){let r;return"string"==typeof t?(r=parseInt(t,10),-1!==t.indexOf("%")&&(r=r/100*e.parentNode[n])):r=t,r}let eQ=t=>t.ownerDocument.defaultView.getComputedStyle(t,null),eV=["top","right","bottom","left"];function eK(t,e,n){let r={};n=n?"-"+n:"";for(let i=0;i<4;i++){let o=eV[i];r[o]=parseFloat(t[e+"-"+o+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}let eU=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function eJ(t,e){if("native"in t)return t;let{canvas:n,currentDevicePixelRatio:r}=e,i=eQ(n),o="border-box"===i.boxSizing,a=eK(i,"padding"),l=eK(i,"border","width"),{x:u,y:c,box:f}=function(t,e){let n,r;let i=t.touches,o=i&&i.length?i[0]:t,{offsetX:a,offsetY:l}=o,u=!1;if(eU(a,l,t.target))n=a,r=l;else{let t=e.getBoundingClientRect();n=o.clientX-t.left,r=o.clientY-t.top,u=!0}return{x:n,y:r,box:u}}(t,n),s=a.left+(f&&l.left),h=a.top+(f&&l.top),{width:d,height:g}=e;return o&&(d-=a.width+l.width,g-=a.height+l.height),{x:Math.round((u-s)/d*n.width/r),y:Math.round((c-h)/g*n.height/r)}}let eG=t=>Math.round(10*t)/10;function e$(t,e,n,r){let i=eQ(t),o=eK(i,"margin"),a=eZ(i.maxWidth,t,"clientWidth")||tc,l=eZ(i.maxHeight,t,"clientHeight")||tc,u=function(t,e,n){let r,i;if(void 0===e||void 0===n){let o=ez(t);if(o){let t=o.getBoundingClientRect(),a=eQ(o),l=eK(a,"border","width"),u=eK(a,"padding");e=t.width-u.width-l.width,n=t.height-u.height-l.height,r=eZ(a.maxWidth,o,"clientWidth"),i=eZ(a.maxHeight,o,"clientHeight")}else e=t.clientWidth,n=t.clientHeight}return{width:e,height:n,maxWidth:r||tc,maxHeight:i||tc}}(t,e,n),{width:c,height:f}=u;if("content-box"===i.boxSizing){let t=eK(i,"border","width"),e=eK(i,"padding");c-=e.width+t.width,f-=e.height+t.height}return c=Math.max(0,c-o.width),f=Math.max(0,r?c/r:f-o.height),c=eG(Math.min(c,a,u.maxWidth)),f=eG(Math.min(f,l,u.maxHeight)),c&&!f&&(f=eG(c/2)),(void 0!==e||void 0!==n)&&r&&u.height&&f>u.height&&(c=eG(Math.floor((f=u.height)*r))),{width:c,height:f}}function e0(t,e,n){let r=e||1,i=Math.floor(t.height*r),o=Math.floor(t.width*r);t.height=Math.floor(t.height),t.width=Math.floor(t.width);let a=t.canvas;return a.style&&(n||!a.style.height&&!a.style.width)&&(a.style.height="".concat(t.height,"px"),a.style.width="".concat(t.width,"px")),(t.currentDevicePixelRatio!==r||a.height!==i||a.width!==o)&&(t.currentDevicePixelRatio=r,a.height=i,a.width=o,t.ctx.setTransform(r,0,0,r,0,0),!0)}let e1=function(){let t=!1;try{let e={get passive(){return t=!0,!1}};eq()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch(t){}return t}();function e5(t,e){let n=eQ(t).getPropertyValue(e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function e2(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function e8(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:"middle"===r?n<.5?t.y:e.y:"after"===r?n<1?t.y:e.y:n>0?e.y:t.y}}function e3(t,e,n,r){let i={x:t.cp2x,y:t.cp2y},o={x:e.cp1x,y:e.cp1y},a=e2(t,i,n),l=e2(i,o,n),u=e2(o,e,n),c=e2(a,l,n),f=e2(l,u,n);return e2(c,f,n)}function e4(t,e,n){var r;return t?(r=n,{x:t=>e+e+r-t,setWidth(t){r=t},textAlign:t=>"center"===t?t:"right"===t?"left":"right",xPlus:(t,e)=>t-e,leftForLtr:(t,e)=>t-e}):{x:t=>t,setWidth(t){},textAlign:t=>t,xPlus:(t,e)=>t+e,leftForLtr:(t,e)=>t}}function e6(t,e){let n,r;("ltr"===e||"rtl"===e)&&(r=[(n=t.canvas.style).getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=r)}function e9(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function e7(t){return"angle"===t?{between:tR,compare:tP,normalize:tS}:{between:tI,compare:(t,e)=>t-e,normalize:t=>t}}function nt(t){let{start:e,end:n,count:r,loop:i,style:o}=t;return{start:e%r,end:n%r,loop:i&&(n-e+1)%r==0,style:o}}function ne(t,e,n){let r,i,o;if(!n)return[t];let{property:a,start:l,end:u}=n,c=e.length,{compare:f,between:s,normalize:h}=e7(a),{start:d,end:g,loop:p,style:b}=function(t,e,n){let r;let{property:i,start:o,end:a}=n,{between:l,normalize:u}=e7(i),c=e.length,{start:f,end:s,loop:h}=t;if(h){for(f+=c,s+=c,r=0;r<c&&l(u(e[f%c][i]),o,a);++r)f--,s--;f%=c,s%=c}return s<f&&(s+=c),{start:f,end:s,loop:h,style:t.style}}(t,e,n),y=[],m=!1,x=null,v=()=>s(l,o,r)&&0!==f(l,o),w=()=>0===f(u,r)||s(u,o,r),M=()=>m||v(),k=()=>!m||w();for(let t=d,n=d;t<=g;++t)(i=e[t%c]).skip||(r=h(i[a]))===o||(m=s(r,l,u),null===x&&M()&&(x=0===f(r,l)?t:n),null!==x&&k()&&(y.push(nt({start:x,end:t,loop:p,count:c,style:b})),x=null),n=t,o=r);return null!==x&&y.push(nt({start:x,end:g,loop:p,count:c,style:b})),y}function nn(t,e){let n=[],r=t.segments;for(let i=0;i<r.length;i++){let o=ne(r[i],t.points,e);o.length&&n.push(...o)}return n}function nr(t,e){let n=t.points,r=t.options.spanGaps,i=n.length;if(!i)return[];let o=!!t._loop,{start:a,end:l}=function(t,e,n,r){let i=0,o=e-1;if(n&&!r)for(;i<e&&!t[i].skip;)i++;for(;i<e&&t[i].skip;)i++;for(i%=e,n&&(o+=i);o>i&&t[o%e].skip;)o--;return{start:i,end:o%=e}}(n,i,o,r);if(!0===r)return ni(t,[{start:a,end:l,loop:o}],n,e);let u=l<a?l+i:l,c=!!t._fullLoop&&0===a&&l===i-1;return ni(t,function(t,e,n,r){let i;let o=t.length,a=[],l=e,u=t[e];for(i=e+1;i<=n;++i){let n=t[i%o];n.skip||n.stop?u.skip||(r=!1,a.push({start:e%o,end:(i-1)%o,loop:r}),e=l=n.stop?i:null):(l=i,u.skip&&(e=i)),u=n}return null!==l&&a.push({start:e%o,end:l%o,loop:r}),a}(n,a,u,c),n,e)}function ni(t,e,n,r){return r&&r.setContext&&n?function(t,e,n,r){let i=t._chart.getContext(),o=no(t.options),{_datasetIndex:a,options:{spanGaps:l}}=t,u=n.length,c=[],f=o,s=e[0].start,h=s;function d(t,e,r,i){let o=l?-1:1;if(t!==e){for(t+=u;n[t%u].skip;)t-=o;for(;n[e%u].skip;)e+=o;t%u!=e%u&&(c.push({start:t%u,end:e%u,loop:r,style:i}),f=i,s=e%u)}}for(let t of e){let e;let o=n[(s=l?s:t.start)%u];for(h=s+1;h<=t.end;h++){let l=n[h%u];(function(t,e){if(!e)return!1;let n=[],r=function(t,e){return t$(e)?(n.includes(e)||n.push(e),n.indexOf(e)):e};return JSON.stringify(t,r)!==JSON.stringify(e,r)})(e=no(r.setContext(eP(i,{type:"segment",p0:o,p1:l,p0DataIndex:(h-1)%u,p1DataIndex:h%u,datasetIndex:a}))),f)&&d(s,h-1,t.loop,f),o=l,f=e}s<h-1&&d(s,h-1,t.loop,f)}return c}(t,e,n,r):e}function no(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}},56113:function(t,e,n){n.d(e,{x1:function(){return f}});var r,i=n(2265),o=n(87818);let a="label";function l(t,e){"function"==typeof t?t(e):t&&(t.current=e)}function u(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a,r=[];t.datasets=e.map(e=>{let i=t.datasets.find(t=>t[n]===e[n]);return!i||!e.data||r.includes(i)?{...e}:(r.push(i),Object.assign(i,e),i)})}let c=(0,i.forwardRef)(function(t,e){let{height:n=150,width:r=300,redraw:c=!1,datasetIdKey:f,type:s,data:h,options:d,plugins:g=[],fallbackContent:p,updateMode:b,...y}=t,m=(0,i.useRef)(null),x=(0,i.useRef)(),v=()=>{m.current&&(x.current=new o.kL(m.current,{type:s,data:function(t){var e;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,r={labels:[],datasets:[]};return e=t.labels,r.labels=e,u(r,t.datasets,n),r}(h,f),options:d&&{...d},plugins:g}),l(e,x.current))},w=()=>{l(e,null),x.current&&(x.current.destroy(),x.current=null)};return(0,i.useEffect)(()=>{!c&&x.current&&d&&function(t,e){let n=t.options;n&&e&&Object.assign(n,e)}(x.current,d)},[c,d]),(0,i.useEffect)(()=>{if(!c&&x.current){var t,e;t=x.current.config.data,e=h.labels,t.labels=e}},[c,h.labels]),(0,i.useEffect)(()=>{!c&&x.current&&h.datasets&&u(x.current.config.data,h.datasets,f)},[c,h.datasets]),(0,i.useEffect)(()=>{x.current&&(c?(w(),setTimeout(v)):x.current.update(b))},[c,d,h.labels,h.datasets,b]),(0,i.useEffect)(()=>{x.current&&(w(),setTimeout(v))},[s]),(0,i.useEffect)(()=>(v(),()=>w()),[]),i.createElement("canvas",Object.assign({ref:m,role:"img",height:n,width:r},y),p)}),f=(r=o.ST,o.kL.register(r),(0,i.forwardRef)((t,e)=>i.createElement(c,Object.assign({},t,{ref:e,type:"line"}))))}}]);
//# sourceMappingURL=8434.4b0d829f5ec23298.js.map