PageSourceSearch

https://www.lucidity.cloud/0cee904e5f4cd0d5cecfdc40ad2c4e79f6632ca1-e2d571402b185ada5c26.js

js lucidity.cloud collected 2026-09-24 18:49:29 UTC 43,750 bytes, 3 lines download raw bytes

vendor: 37,414 bytes, lines 1-2
1/*! For license information please see 0cee904e5f4cd0d5cecfdc40ad2c4e79f6632ca1-e2d571402b185ada5c26.js.LICENSE.txt */
2"use strict";(self.webpackChunklucidity=self.webpackChunklucidity||[]).push([[522],{1692:function(t,e,n){function r(t){return t+.5|0}n.d(e,{$:function(){return _e},A:function(){return Yt},B:function(){return Ft},C:function(){return Me},D:function(){return Pt},E:function(){return Ne},F:function(){return Z},G:function(){return vn},H:function(){return dt},I:function(){return hn},J:function(){return kn},K:function(){return Mn},L:function(){return Xt},M:function(){return ln},N:function(){return vt},O:function(){return H},P:function(){return st},Q:function(){return q},R:function(){return Le},S:function(){return It},T:function(){return ut},U:function(){return Ot},V:function(){return be},W:function(){return At},X:function(){return me},Y:function(){return ke},Z:function(){return Re},_:function(){return Ht},a:function(){return De},a0:function(){return Be},a1:function(){return qt},a2:function(){return Zt},a3:function(){return fe},a4:function(){return J},a5:function(){return rt},a6:function(){return le},a7:function(){return it},a8:function(){return Xe},a9:function(){return $e},aA:function(){return Rn},aB:function(){return Cn},aC:function(){return Qt},aD:function(){return jn},aE:function(){return we},aF:function(){return St},aG:function(){return F},aH:function(){return kt},aI:function(){return xt},aJ:function(){return Mt},aK:function(){return mt},aL:function(){return Tt},aM:function(){return ue},aN:function(){return bt},aO:function(){return ye},aP:function(){return Nt},aQ:function(){return Wt},aa:function(){return ze},ab:function(){return G},ac:function(){return Y},ad:function(){return zt},ae:function(){return wn},af:function(){return xe},ag:function(){return at},ah:function(){return Ln},ai:function(){return Q},aj:function(){return ct},ak:function(){return Et},al:function(){return Ct},am:function(){return We},an:function(){return fn},ao:function(){return Fn},ap:function(){return Wn},aq:function(){return On},ar:function(){return Tn},as:function(){return _n},at:function(){return Oe},au:function(){return Te},av:function(){return ve},aw:function(){return Ce},ax:function(){return Fe},ay:function(){return Ye},az:function(){return En},b:function(){return B},c:function(){return ne},d:function(){return pe},e:function(){return te},f:function(){return nt},g:function(){return L},h:function(){return ot},i:function(){return D},j:function(){return He},k:function(){return N},l:function(){return Dt},m:function(){return X},n:function(){return z},o:function(){return ce},p:function(){return jt},q:function(){return Vt},r:function(){return $t},s:function(){return yt},t:function(){return _t},u:function(){return Lt},v:function(){return $},w:function(){return Kt},x:function(){return wt},y:function(){return nn},z:function(){return mn}});const o=(t,e,n)=>Math.max(Math.min(t,n),e);function i(t){return o(r(2.55*t),0,255)}function a(t){return o(r(255*t),0,255)}function c(t){return o(r(t/2.55)/100,0,1)}function s(t){return o(r(100*t),0,100)}const u={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},f=[..."0123456789ABCDEF"],l=t=>f[15&t],h=t=>f[(240&t)>>4]+f[15&t],d=t=>(240&t)>>4==(15&t);function g(t){var e=(t=>d(t.r)&&d(t.g)&&d(t.b)&&d(t.a))(t)?l:h;return t?"#"+e(t.r)+e(t.g)+e(t.b)+((t,e)=>t<255?e(t):"")(t.a,e):void 0}const p=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function b(t,e,n){const r=e*Math.min(n,1-n),o=(e,o=(e+t/30)%12)=>n-r*Math.max(Math.min(o-3,9-o,1),-1);return[o(0),o(8),o(4)]}function y(t,e,n){const r=(r,o=(r+t/60)%6)=>n-n*e*Math.max(Math.min(o,4-o,1),0);return[r(5),r(3),r(1)]}function m(t,e,n){const r=b(t,1,.5);let o;for(e+n>1&&(o=1/(e+n),e*=o,n*=o),o=0;o<3;o++)r[o]*=1-e-n,r[o]+=e;return r}function x(t){const e=t.r/255,n=t.g/255,r=t.b/255,o=Math.max(e,n,r),i=Math.min(e,n,r),a=(o+i)/2;let c,s,u;return o!==i&&(u=o-i,s=a>.5?u/(2-o-i):u/(o+i),c=function(t,e,n,r,o){return t===o?(e-n)/r+(e<n?6:0):e===o?(n-t)/r+2:(t-e)/r+4}(e,n,r,u,o),c=60*c+.5),[0|c,s||0,a]}function v(t,e,n,r){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,r)).map(a)}function w(t,e,n){return v(b,t,e,n)}function M(t){return(t%360+360)%360}function k(t){const e=p.exec(t);let n,r=255;if(!e)return;e[5]!==n&&(r=e[6]?i(+e[5]):a(+e[5]));const o=M(+e[2]),c=+e[3]/100,s=+e[4]/100;return n="hwb"===e[1]?function(t,e,n){return v(m,t,e,n)}(o,c,s):"hsv"===e[1]?function(t,e,n){return v(y,t,e,n)}(o,c,s):w(o,c,s),{r:n[0],g:n[1],b:n[2],a:r}}const _={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"},O={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"};let T;function P(t){T||(T=function(){const t={},e=Object.keys(O),n=Object.keys(_);let r,o,i,a,c;for(r=0;r<e.length;r++){for(a=c=e[r],o=0;o<n.length;o++)i=n[o],c=c.replace(i,_[i]);i=parseInt(O[a],16),t[c]=[i>>16&255,i>>8&255,255&i]}return t}(),T.transparent=[0,0,0,0]);const e=T[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}const S=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const R=t=>t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055,C=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function j(t,e,n){if(t){let r=x(t);r[e]=Math.max(0,Math.min(r[e]+r[e]*n,0===e?360:1)),r=w(r),t.r=r[0],t.g=r[1],t.b=r[2]}}function I(t,e){return t?Object.assign(e||{},t):t}function A(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=a(t[3]))):(e=I(t,{r:0,g:0,b:0,a:1})).a=a(e.a),e}function E(t){return"r"===t.charAt(0)?function(t){const e=S.exec(t);let n,r,a,c=255;if(e){if(e[7]!==n){const t=+e[7];c=e[8]?i(t):o(255*t,0,255)}return n=+e[1],r=+e[3],a=+e[5],n=255&(e[2]?i(n):o(n,0,255)),r=255&(e[4]?i(r):o(r,0,255)),a=255&(e[6]?i(a):o(a,0,255)),{r:n,g:r,b:a,a:c}}}(t):k(t)}class W{constructor(t){if(t instanceof W)return t;const e=typeof t;let n;var r,o,i;"object"===e?n=A(t):"string"===e&&(i=(r=t).length,"#"===r[0]&&(4===i||5===i?o={r:255&17*u[r[1]],g:255&17*u[r[2]],b:255&17*u[r[3]],a:5===i?17*u[r[4]]:255}:7!==i&&9!==i||(o={r:u[r[1]]<<4|u[r[2]],g:u[r[3]]<<4|u[r[4]],b:u[r[5]]<<4|u[r[6]],a:9===i?u[r[7]]<<4|u[r[8]]:255})),n=o||P(t)||E(t)),this._rgb=n,this._valid=!!n}get valid(){return this._valid}get rgb(){var t=I(this._rgb);return t&&(t.a=c(t.a)),t}set rgb(t){this._rgb=A(t)}rgbString(){return this._valid?(t=this._rgb)&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${c(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`):void 0;var t}hexString(){return this._valid?g(this._rgb):void 0}hslString(){return this._valid?function(t){if(!t)return;const e=x(t),n=e[0],r=s(e[1]),o=s(e[2]);return t.a<255?`hsla(${n}, ${r}%, ${o}%, ${c(t.a)})`:`hsl(${n}, ${r}%, ${o}%)`}(this._rgb):void 0}mix(t,e){if(t){const n=this.rgb,r=t.rgb;let o;const i=e===o?.5:e,a=2*i-1,c=n.a-r.a,s=((a*c===-1?a:(a+c)/(1+a*c))+1)/2;o=1-s,n.r=255&s*n.r+o*r.r+.5,n.g=255&s*n.g+o*r.g+.5,n.b=255&s*n.b+o*r.b+.5,n.a=i*n.a+(1-i)*r.a,this.rgb=n}return this}interpolate(t,e){return t&&(this._rgb=function(t,e,n){const r=C(c(t.r)),o=C(c(t.g)),i=C(c(t.b));return{r:a(R(r+n*(C(c(e.r))-r))),g:a(R(o+n*(C(c(e.g))-o))),b:a(R(i+n*(C(c(e.b))-i))),a:t.a+n*(e.a-t.a)}}(this._rgb,t._rgb,e)),this}clone(){return new W(this.rgb)}alpha(t){return this._rgb.a=a(t),this}clearer(t){return this._rgb.a*=1-t,this}greyscale(){const t=this._rgb,e=r(.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 j(this._rgb,2,t),this}darken(t){return j(this._rgb,2,-t),this}saturate(t){return j(this._rgb,1,t),this}desaturate(t){return j(this._rgb,1,-t),this}rotate(t){return function(t,e){var n=x(t);n[0]=M(n[0]+e),n=w(n),t.r=n[0],t.g=n[1],t.b=n[2]}(this._rgb,t),this}}function F(){}const Y=(()=>{let t=0;return()=>t++})();function N(t){return null==t}function B(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return"[object"===e.slice(0,7)&&"Array]"===e.slice(-6)}function D(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}function L(t){return("number"==typeof t||t instanceof Number)&&isFinite(+t)}function H(t,e){return L(t)?t:e}function $(t,e){return void 0===t?e:t}const X=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100:+t/e,z=(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 o,i,a;if(B(t))if(i=t.length,r)for(o=i-1;o>=0;o--)e.call(n,t[o],o);else for(o=0;o<i;o++)e.call(n,t[o],o);else if(D(t))for(a=Object.keys(t),i=a.length,o=0;o<i;o++)e.call(n,t[a[o]],a[o])}function Q(t,e){let n,r,o,i;if(!t||!e||t.length!==e.length)return!1;for(n=0,r=t.length;n<r;++n)if(o=t[n],i=e[n],o.datasetIndex!==i.datasetIndex||o.index!==i.index)return!1;return!0}function V(t){if(B(t))return t.map(V);if(D(t)){const e=Object.create(null),n=Object.keys(t),r=n.length;let o=0;for(;o<r;++o)e[n[o]]=V(t[n[o]]);return e}return t}function K(t){return-1===["__proto__","prototype","constructor"].indexOf(t)}function U(t,e,n,r){if(!K(t))return;const o=e[t],i=n[t];D(o)&&D(i)?J(o,i,r):e[t]=V(i)}function J(t,e,n){const r=B(e)?e:[e],o=r.length;if(!D(t))return t;const i=(n=n||{}).merger||U;let a;for(let c=0;c<o;++c){if(a=r[c],!D(a))continue;const e=Object.keys(a);for(let r=0,o=e.length;r<o;++r)i(e[r],t,a,n)}return t}function G(t,e){return J(t,e,{merger:tt})}function tt(t,e,n){if(!K(t))return;const r=e[t],o=n[t];D(r)&&D(o)?G(r,o):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=V(o))}const et={"":t=>t,x:t=>t.x,y:t=>t.y};function nt(t,e){const n=et[e]||(et[e]=function(t){const e=function(t){const e=t.split("."),n=[];let r="";for(const o of e)r+=o,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}(t);return t=>{for(const n of e){if(""===n)break;t=t&&t[n]}return t}}(e));return n(t)}function rt(t){return t.charAt(0).toUpperCase()+t.slice(1)}const ot=t=>void 0!==t,it=t=>"function"==typeof t,at=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function ct(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}const st=Math.PI,ut=2*st,ft=ut+st,lt=Number.POSITIVE_INFINITY,ht=st/180,dt=st/2,gt=st/4,pt=2*st/3,bt=Math.log10,yt=Math.sign;function mt(t,e,n){return Math.abs(t-e)<n}function xt(t){const e=Math.round(t);t=mt(t,e,t/1e3)?e:t;const n=Math.pow(10,Math.floor(bt(t))),r=t/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function vt(t){const e=[],n=Math.sqrt(t);let r;for(r=1;r<n;r++)t%r===0&&(e.push(r),e.push(t/r));return n===(0|n)&&e.push(n),e.sort((t,e)=>t-e).pop(),e}function wt(t){return!function(t){return"symbol"==typeof t||"object"==typeof t&&null!==t&&!(Symbol.toPrimitive in t||"toString"in t||"valueOf"in t)}(t)&&!isNaN(parseFloat(t))&&isFinite(t)}function Mt(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}function kt(t,e,n){let r,o,i;for(r=0,o=t.length;r<o;r++)i=t[r][n],isNaN(i)||(e.min=Math.min(e.min,i),e.max=Math.max(e.max,i))}function _t(t){return t*(st/180)}function Ot(t){return t*(180/st)}function Tt(t){if(!L(t))return;let e=1,n=0;for(;Math.round(t*e)/e!==t;)e*=10,n++;return n}function Pt(t,e){const n=e.x-t.x,r=e.y-t.y,o=Math.sqrt(n*n+r*r);let i=Math.atan2(r,n);return i<-.5*st&&(i+=ut),{angle:i,distance:o}}function St(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Rt(t,e){return(t-e+ft)%ut-st}function Ct(t){return(t%ut+ut)%ut}function jt(t,e,n,r){const o=Ct(t),i=Ct(e),a=Ct(n),c=Ct(i-o),s=Ct(a-o),u=Ct(o-i),f=Ct(o-a);return o===i||o===a||r&&i===a||c>s&&u<f}function It(t,e,n){return Math.max(e,Math.min(n,t))}function At(t){return It(t,-32768,32767)}function Et(t,e,n,r=1e-6){return t>=Math.min(e,n)-r&&t<=Math.max(e,n)+r}function Wt(t,e,n){n=n||(n=>t[n]<e);let r,o=t.length-1,i=0;for(;o-i>1;)r=i+o>>1,n(r)?i=r:o=r;return{lo:i,hi:o}}const Ft=(t,e,n,r)=>Wt(t,n,r?r=>{const o=t[r][e];return o<n||o===n&&t[r+1][e]===n}:r=>t[r][e]<n),Yt=(t,e,n)=>Wt(t,n,r=>t[r][e]>=n);function Nt(t,e,n){let r=0,o=t.length;for(;r<o&&t[r]<e;)r++;for(;o>r&&t[o-1]>n;)o--;return r>0||o<t.length?t.slice(r,o):t}const Bt=["push","pop","shift","splice","unshift"];function Dt(t,e){t._chartjs?t._chartjs.listeners.push(e):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),Bt.forEach(e=>{const n="_onData"+rt(e),r=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value(...e){const o=r.apply(this,e);return t._chartjs.listeners.forEach(t=>{"function"==typeof t[n]&&t[n](...e)}),o}})}))}function Lt(t,e){const n=t._chartjs;if(!n)return;const r=n.listeners,o=r.indexOf(e);-1!==o&&r.splice(o,1),r.length>0||(Bt.forEach(e=>{delete t[e]}),delete t._chartjs)}function Ht(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const $t="undefined"==typeof window?function(t){return t()}:window.requestAnimationFrame;function Xt(t,e){let n=[],r=!1;return function(...o){n=o,r||(r=!0,$t.call(window,()=>{r=!1,t.apply(e,n)}))}}function zt(t,e){let n;return function(...r){return e?(clearTimeout(n),n=setTimeout(t,e,r)):t.apply(this,r),e}}const qt=t=>"start"===t?"left":"end"===t?"right":"center",Zt=(t,e,n)=>"start"===t?e:"end"===t?n:(e+n)/2,Qt=(t,e,n,r)=>t===(r?"left":"right")?n:"center"===t?(e+n)/2:e;function Vt(t,e,n){const r=e.length;let o=0,i=r;if(t._sorted){const{iScale:a,vScale:c,_parsed:s}=t,u=t.dataset&&t.dataset.options?t.dataset.options.spanGaps:null,f=a.axis,{min:l,max:h,minDefined:d,maxDefined:g}=a.getUserBounds();if(d){if(o=Math.min(Ft(s,f,l).lo,n?r:Ft(e,f,a.getPixelForValue(l)).lo),u){const t=s.slice(0,o+1).reverse().findIndex(t=>!N(t[c.axis]));o-=Math.max(0,t)}o=It(o,0,r-1)}if(g){let t=Math.max(Ft(s,a.axis,h,!0).hi+1,n?0:Ft(e,f,a.getPixelForValue(h),!0).hi+1);if(u){const e=s.slice(t-1).findIndex(t=>!N(t[c.axis]));t+=Math.max(0,e)}i=It(t,o,r)-o}else i=r-o}return{start:o,count:i}}function Kt(t){const{xScale:e,yScale:n,_scaleRanges:r}=t,o={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!r)return t._scaleRanges=o,!0;const i=r.xmin!==e.min||r.xmax!==e.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,o),i}const Ut=t=>0===t||1===t,Jt=(t,e,n)=>-Math.pow(2,10*(t-=1))*Math.sin((t-e)*ut/n),Gt=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*ut/n)+1,te={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*dt),easeOutSine:t=>Math.sin(t*dt),easeInOutSine:t=>-.5*(Math.cos(st*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>Ut(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1))),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>Ut(t)?t:Jt(t,.075,.3),easeOutElastic:t=>Ut(t)?t:Gt(t,.075,.3),easeInOutElastic(t){const e=.1125;return Ut(t)?t:t<.5?.5*Jt(2*t,e,.45):.5+.5*Gt(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-te.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*te.easeInBounce(2*t):.5*te.easeOutBounce(2*t-1)+.5};function ee(t){if(t&&"object"==typeof t){const e=t.toString();return"[object CanvasPattern]"===e||"[object CanvasGradient]"===e}return!1}function ne(t){return ee(t)?t:new W(t)}function re(t){return ee(t)?t:new W(t).saturate(.5).darken(.1).hexString()}const oe=["x","y","borderWidth","radius","tension"],ie=["color","borderColor","backgroundColor"];const ae=new Map;function ce(t,e,n){return function(t,e){e=e||{};const n=t+JSON.stringify(e);let r=ae.get(n);return r||(r=new Intl.NumberFormat(t,e),ae.set(n,r)),r}(e,n).format(t)}const se={values(t){return B(t)?t:""+t},numeric(t,e,n){if(0===t)return"0";const r=this.chart.options.locale;let o,i=t;if(n.length>1){const e=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(e<1e-4||e>1e15)&&(o="scientific"),i=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 a=bt(Math.abs(i)),c=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),s={notation:o,minimumFractionDigits:c,maximumFractionDigits:c};return Object.assign(s,this.options.ticks.format),ce(t,r,s)},logarithmic(t,e,n){if(0===t)return"0";const r=n[e].significand||t/Math.pow(10,Math.floor(bt(t)));return[1,2,3,5,10,15].includes(r)||e>.8*n.length?se.numeric.call(this,t,e,n):""}};var ue={formatters:se};const fe=Object.create(null),le=Object.create(null);function he(t,e){if(!e)return t;const n=e.split(".");for(let r=0,o=n.length;r<o;++r){const e=n[r];t=t[e]||(t[e]=Object.create(null))}return t}function de(t,e,n){return"string"==typeof e?J(he(t,e),n):J(he(t,""),e)}class ge{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)=>re(e.backgroundColor),this.hoverBorderColor=(t,e)=>re(e.borderColor),this.hoverColor=(t,e)=>re(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)}set(t,e){return de(this,t,e)}get(t){return he(this,t)}describe(t,e){return de(le,t,e)}override(t,e){return de(fe,t,e)}route(t,e,n,r){const o=he(this,t),i=he(this,n),a="_"+e;Object.defineProperties(o,{[a]:{value:o[e],writable:!0},[e]:{enumerable:!0,get(){const t=this[a],e=i[r];return D(t)?Object.assign({},e,t):$(t,e)},set(t){this[a]=t}}})}apply(t){t.forEach(t=>t(this))}}var pe=new ge({_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:ie},numbers:{type:"number",properties:oe}}),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:ue.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 be(t,e,n,r,o){let i=e[o];return i||(i=e[o]=t.measureText(o).width,n.push(o)),i>r&&(r=i),r}function ye(t,e,n,r){let o=(r=r||{}).data=r.data||{},i=r.garbageCollect=r.garbageCollect||[];r.font!==e&&(o=r.data={},i=r.garbageCollect=[],r.font=e),t.save(),t.font=e;let a=0;const c=n.length;let s,u,f,l,h;for(s=0;s<c;s++)if(l=n[s],null==l||B(l)){if(B(l))for(u=0,f=l.length;u<f;u++)h=l[u],null==h||B(h)||(a=be(t,o,i,a,h))}else a=be(t,o,i,a,l);t.restore();const d=i.length/2;if(d>n.length){for(s=0;s<d;s++)delete o[i[s]];i.splice(0,d)}return a}function me(t,e,n){const r=t.currentDevicePixelRatio,o=0!==n?Math.max(n/2,.5):0;return Math.round((e-o)*r)/r+o}function xe(t,e){(e||t)&&((e=e||t.getContext("2d")).save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore())}function ve(t,e,n,r){we(t,e,n,r,null)}function we(t,e,n,r,o){let i,a,c,s,u,f,l,h;const d=e.pointStyle,g=e.rotation,p=e.radius;let b=(g||0)*ht;if(d&&"object"==typeof d&&(i=d.toString(),"[object HTMLImageElement]"===i||"[object HTMLCanvasElement]"===i))return t.save(),t.translate(n,r),t.rotate(b),t.drawImage(d,-d.width/2,-d.height/2,d.width,d.height),void t.restore();if(!(isNaN(p)||p<=0)){switch(t.beginPath(),d){default:o?t.ellipse(n,r,o/2,p,0,0,ut):t.arc(n,r,p,0,ut),t.closePath();break;case"triangle":f=o?o/2:p,t.moveTo(n+Math.sin(b)*f,r-Math.cos(b)*p),b+=pt,t.lineTo(n+Math.sin(b)*f,r-Math.cos(b)*p),b+=pt,t.lineTo(n+Math.sin(b)*f,r-Math.cos(b)*p),t.closePath();break;case"rectRounded":u=.516*p,s=p-u,a=Math.cos(b+gt)*s,l=Math.cos(b+gt)*(o?o/2-u:s),c=Math.sin(b+gt)*s,h=Math.sin(b+gt)*(o?o/2-u:s),t.arc(n-l,r-c,u,b-st,b-dt),t.arc(n+h,r-a,u,b-dt,b),t.arc(n+l,r+c,u,b,b+dt),t.arc(n-h,r+a,u,b+dt,b+st),t.closePath();break;case"rect":if(!g){s=Math.SQRT1_2*p,f=o?o/2:s,t.rect(n-f,r-s,2*f,2*s);break}b+=gt;case"rectRot":l=Math.cos(b)*(o?o/2:p),a=Math.cos(b)*p,c=Math.sin(b)*p,h=Math.sin(b)*(o?o/2:p),t.moveTo(n-l,r-c),t.lineTo(n+h,r-a),t.lineTo(n+l,r+c),t.lineTo(n-h,r+a),t.closePath();break;case"crossRot":b+=gt;case"cross":l=Math.cos(b)*(o?o/2:p),a=Math.cos(b)*p,c=Math.sin(b)*p,h=Math.sin(b)*(o?o/2:p),t.moveTo(n-l,r-c),t.lineTo(n+l,r+c),t.moveTo(n+h,r-a),t.lineTo(n-h,r+a);break;case"star":l=Math.cos(b)*(o?o/2:p),a=Math.cos(b)*p,c=Math.sin(b)*p,h=Math.sin(b)*(o?o/2:p),t.moveTo(n-l,r-c),t.lineTo(n+l,r+c),t.moveTo(n+h,r-a),t.lineTo(n-h,r+a),b+=gt,l=Math.cos(b)*(o?o/2:p),a=Math.cos(b)*p,c=Math.sin(b)*p,h=Math.sin(b)*(o?o/2:p),t.moveTo(n-l,r-c),t.lineTo(n+l,r+c),t.moveTo(n+h,r-a),t.lineTo(n-h,r+a);break;case"line":a=o?o/2:Math.cos(b)*p,c=Math.sin(b)*p,t.moveTo(n-a,r-c),t.lineTo(n+a,r+c);break;case"dash":t.moveTo(n,r),t.lineTo(n+Math.cos(b)*(o?o/2:p),r+Math.sin(b)*p);break;case!1:t.closePath()}t.fill(),e.borderWidth>0&&t.stroke()}}function Me(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 ke(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function _e(t){t.restore()}function Oe(t,e,n,r,o){if(!e)return t.lineTo(n.x,n.y);if("middle"===o){const r=(e.x+n.x)/2;t.lineTo(r,e.y),t.lineTo(r,n.y)}else"after"===o!=!!r?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y);t.lineTo(n.x,n.y)}function Te(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 Pe(t,e,n,r,o){if(o.strikethrough||o.underline){const i=t.measureText(r),a=e-i.actualBoundingBoxLeft,c=e+i.actualBoundingBoxRight,s=n-i.actualBoundingBoxAscent,u=n+i.actualBoundingBoxDescent,f=o.strikethrough?(s+u)/2:u;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=o.decorationWidth||2,t.moveTo(a,f),t.lineTo(c,f),t.stroke()}}function Se(t,e){const n=t.fillStyle;t.fillStyle=e.color,t.fillRect(e.left,e.top,e.width,e.height),t.fillStyle=n}function Re(t,e,n,r,o,i={}){const a=B(e)?e:[e],c=i.strokeWidth>0&&""!==i.strokeColor;let s,u;for(t.save(),t.font=o.string,function(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),N(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,i),s=0;s<a.length;++s)u=a[s],i.backdrop&&Se(t,i.backdrop),c&&(i.strokeColor&&(t.strokeStyle=i.strokeColor),N(i.strokeWidth)||(t.lineWidth=i.strokeWidth),t.strokeText(u,n,r,i.maxWidth)),t.fillText(u,n,r,i.maxWidth),Pe(t,n,r,u,i),r+=Number(o.lineHeight);t.restore()}function Ce(t,e){const{x:n,y:r,w:o,h:i,radius:a}=e;t.arc(n+a.topLeft,r+a.topLeft,a.topLeft,1.5*st,st,!0),t.lineTo(n,r+i-a.bottomLeft),t.arc(n+a.bottomLeft,r+i-a.bottomLeft,a.bottomLeft,st,dt,!0),t.lineTo(n+o-a.bottomRight,r+i),t.arc(n+o-a.bottomRight,r+i-a.bottomRight,a.bottomRight,dt,0,!0),t.lineTo(n+o,r+a.topRight),t.arc(n+o-a.topRight,r+a.topRight,a.topRight,0,-dt,!0),t.lineTo(n+a.topLeft,r)}const je=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,Ie=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function Ae(t,e){const n=(""+t).match(je);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 Ee=t=>+t||0;function We(t,e){const n={},r=D(e),o=r?Object.keys(e):e,i=D(t)?r?n=>$(t[n],t[e[n]]):e=>t[e]:()=>t;for(const a of o)n[a]=Ee(i(a));return n}function Fe(t){return We(t,{top:"y",right:"x",bottom:"y",left:"x"})}function Ye(t){return We(t,["topLeft","topRight","bottomLeft","bottomRight"])}function Ne(t){const e=Fe(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function Be(t,e){t=t||{},e=e||pe.font;let n=$(t.size,e.size);"string"==typeof n&&(n=parseInt(n,10));let r=$(t.style,e.style);r&&!(""+r).match(Ie)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const o={family:$(t.family,e.family),lineHeight:Ae($(t.lineHeight,e.lineHeight),n),size:n,style:r,weight:$(t.weight,e.weight),string:""};return o.string=function(t){return!t||N(t.size)||N(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}(o),o}function De(t,e,n,r){let o,i,a,c=!0;for(o=0,i=t.length;o<i;++o)if(a=t[o],void 0!==a&&(void 0!==e&&"function"==typeof a&&(a=a(e),c=!1),void 0!==n&&B(a)&&(a=a[n%a.length],c=!1),void 0!==a))return r&&!c&&(r.cacheable=!1),a}function Le(t,e,n){const{min:r,max:o}=t,i=z(e,(o-r)/2),a=(t,e)=>n&&0===t?0:t+e;return{min:a(r,-Math.abs(i)),max:a(o,i)}}function He(t,e){return Object.assign(Object.create(t),e)}function $e(t,e=[""],n,r,o=()=>t[0]){const i=n||t;void 0===r&&(r=tn("_fallback",t));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:i,_fallback:r,_getTarget:o,override:n=>$e([n,...t],e,i,r)};return new Proxy(a,{deleteProperty(e,n){return delete e[n],delete e._keys,delete t[0][n],!0},get(n,r){return Qe(n,r,()=>function(t,e,n,r){let o;for(const i of e)if(o=tn(qe(i,t),n),void 0!==o)return Ze(t,o)?Je(n,r,t,o):o}(r,e,t,n))},getOwnPropertyDescriptor(t,e){return Reflect.getOwnPropertyDescriptor(t._scopes[0],e)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(t,e){return en(t).includes(e)},ownKeys(t){return en(t)},set(t,e,n){const r=t._storage||(t._storage=o());return t[e]=r[e]=n,delete t._keys,!0}})}function Xe(t,e,n,r){const o={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:ze(t,r),setContext:e=>Xe(t,e,n,r),override:o=>Xe(t.override(o),e,n,r)};return new Proxy(o,{deleteProperty(e,n){return delete e[n],delete t[n],!0},get(t,e,n){return Qe(t,e,()=>function(t,e,n){const{_proxy:r,_context:o,_subProxy:i,_descriptors:a}=t;let c=r[e];it(c)&&a.isScriptable(e)&&(c=function(t,e,n,r){const{_proxy:o,_context:i,_subProxy:a,_stack:c}=n;if(c.has(t))throw new Error("Recursion detected: "+Array.from(c).join("->")+"->"+t);c.add(t);let s=e(i,a||r);c.delete(t),Ze(t,s)&&(s=Je(o._scopes,o,t,s));return s}(e,c,t,n));B(c)&&c.length&&(c=function(t,e,n,r){const{_proxy:o,_context:i,_subProxy:a,_descriptors:c}=n;if(void 0!==i.index&&r(t))return e[i.index%e.length];if(D(e[0])){const n=e,r=o._scopes.filter(t=>t!==n);e=[];for(const s of n){const n=Je(r,o,t,s);e.push(Xe(n,i,a&&a[t],c))}}return e}(e,c,t,a.isIndexable));Ze(e,c)&&(c=Xe(c,o,i&&i[e],a));return c}(t,e,n))},getOwnPropertyDescriptor(e,n){return e._descriptors.allKeys?Reflect.has(t,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,n)},getPrototypeOf(){return Reflect.getPrototypeOf(t)},has(e,n){return Reflect.has(t,n)},ownKeys(){return Reflect.ownKeys(t)},set(e,n,r){return t[n]=r,delete e[n],!0}})}function ze(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:r=e.indexable,_allKeys:o=e.allKeys}=t;return{allKeys:o,scriptable:n,indexable:r,isScriptable:it(n)?n:()=>n,isIndexable:it(r)?r:()=>r}}const qe=(t,e)=>t?t+rt(e):e,Ze=(t,e)=>D(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function Qe(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e)||"constructor"===e)return t[e];const r=n();return t[e]=r,r}function Ve(t,e,n){return it(t)?t(e,n):t}const Ke=(t,e)=>!0===t?e:"string"==typeof t?nt(e,t):void 0;function Ue(t,e,n,r,o){for(const i of e){const e=Ke(n,i);if(e){t.add(e);const i=Ve(e._fallback,n,o);if(void 0!==i&&i!==n&&i!==r)return i}else if(!1===e&&void 0!==r&&n!==r)return null}return!1}function Je(t,e,n,r){const o=e._rootScopes,i=Ve(e._fallback,n,r),a=[...t,...o],c=new Set;c.add(r);let s=Ge(c,a,n,i||n,r);return null!==s&&((void 0===i||i===n||(s=Ge(c,a,i,s,r),null!==s))&&$e(Array.from(c),[""],o,i,()=>function(t,e,n){const r=t._getTarget();e in r||(r[e]={});const o=r[e];if(B(o)&&D(n))return n;return o||{}}(e,n,r)))}function Ge(t,e,n,r,o){for(;n;)n=Ue(t,e,n,r,o);return n}function tn(t,e){for(const n of e){if(!n)continue;const e=n[t];if(void 0!==e)return e}}function en(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}function nn(t,e,n,r){const{iScale:o}=t,{key:i="r"}=this._parsing,a=new Array(r);let c,s,u,f;for(c=0,s=r;c<s;++c)u=c+n,f=e[u],a[c]={r:o.parse(nt(f,i),u)};return a}const rn=Number.EPSILON||1e-14,on=(t,e)=>e<t.length&&!t[e].skip&&t[e],an=t=>"x"===t?"y":"x";function cn(t,e,n,r){const o=t.skip?e:t,i=e,a=n.skip?e:n,c=St(i,o),s=St(a,i);let u=c/(c+s),f=s/(c+s);u=isNaN(u)?0:u,f=isNaN(f)?0:f;const l=r*u,h=r*f;return{previous:{x:i.x-l*(a.x-o.x),y:i.y-l*(a.y-o.y)},next:{x:i.x+h*(a.x-o.x),y:i.y+h*(a.y-o.y)}}}function sn(t,e="x"){const n=an(e),r=t.length,o=Array(r).fill(0),i=Array(r);let a,c,s,u=on(t,0);for(a=0;a<r;++a)if(c=s,s=u,u=on(t,a+1),s){if(u){const t=u[e]-s[e];o[a]=0!==t?(u[n]-s[n])/t:0}i[a]=c?u?yt(o[a-1])!==yt(o[a])?0:(o[a-1]+o[a])/2:o[a-1]:o[a]}!function(t,e,n){const r=t.length;let o,i,a,c,s,u=on(t,0);for(let f=0;f<r-1;++f)s=u,u=on(t,f+1),s&&u&&(mt(e[f],0,rn)?n[f]=n[f+1]=0:(o=n[f]/e[f],i=n[f+1]/e[f],c=Math.pow(o,2)+Math.pow(i,2),c<=9||(a=3/Math.sqrt(c),n[f]=o*a*e[f],n[f+1]=i*a*e[f])))}(t,o,i),function(t,e,n="x"){const r=an(n),o=t.length;let i,a,c,s=on(t,0);for(let u=0;u<o;++u){if(a=c,c=s,s=on(t,u+1),!c)continue;const o=c[n],f=c[r];a&&(i=(o-a[n])/3,c[`cp1${n}`]=o-i,c[`cp1${r}`]=f-i*e[u]),s&&(i=(s[n]-o)/3,c[`cp2${n}`]=o+i,c[`cp2${r}`]=f+i*e[u])}}(t,i,e)}function un(t,e,n){return Math.max(Math.min(t,n),e)}function fn(t,e,n,r,o){let i,a,c,s;if(e.spanGaps&&(t=t.filter(t=>!t.skip)),"monotone"===e.cubicInterpolationMode)sn(t,o);else{let n=r?t[t.length-1]:t[0];for(i=0,a=t.length;i<a;++i)c=t[i],s=cn(n,c,t[Math.min(i+1,a-(r?0:1))%a],e.tension),c.cp1x=s.previous.x,c.cp1y=s.previous.y,c.cp2x=s.next.x,c.cp2y=s.next.y,n=c}e.capBezierPoints&&function(t,e){let n,r,o,i,a,c=Me(t[0],e);for(n=0,r=t.length;n<r;++n)a=i,i=c,c=n<r-1&&Me(t[n+1],e),i&&(o=t[n],a&&(o.cp1x=un(o.cp1x,e.left,e.right),o.cp1y=un(o.cp1y,e.top,e.bottom)),c&&(o.cp2x=un(o.cp2x,e.left,e.right),o.cp2y=un(o.cp2y,e.top,e.bottom)))}(t,n)}function ln(){return"undefined"!=typeof window&&"undefined"!=typeof document}function hn(t){let e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e}function dn(t,e,n){let r;return"string"==typeof t?(r=parseInt(t,10),-1!==t.indexOf("%")&&(r=r/100*e.parentNode[n])):r=t,r}const gn=t=>t.ownerDocument.defaultView.getComputedStyle(t,null);const pn=["top","right","bottom","left"];function bn(t,e,n){const r={};n=n?"-"+n:"";for(let o=0;o<4;o++){const i=pn[o];r[i]=parseFloat(t[e+"-"+i+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const yn=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function mn(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:r}=e,o=gn(n),i="border-box"===o.boxSizing,a=bn(o,"padding"),c=bn(o,"border","width"),{x:s,y:u,box:f}=function(t,e){const n=t.touches,r=n&&n.length?n[0]:t,{offsetX:o,offsetY:i}=r;let a,c,s=!1;if(yn(o,i,t.target))a=o,c=i;else{const t=e.getBoundingClientRect();a=r.clientX-t.left,c=r.clientY-t.top,s=!0}return{x:a,y:c,box:s}}(t,n),l=a.left+(f&&c.left),h=a.top+(f&&c.top);let{width:d,height:g}=e;return i&&(d-=a.width+c.width,g-=a.height+c.height),{x:Math.round((s-l)/d*n.width/r),y:Math.round((u-h)/g*n.height/r)}}const xn=t=>Math.round(10*t)/10;function vn(t,e,n,r){const o=gn(t),i=bn(o,"margin"),a=dn(o.maxWidth,t,"clientWidth")||lt,c=dn(o.maxHeight,t,"clientHeight")||lt,s=function(t,e,n){let r,o;if(void 0===e||void 0===n){const i=t&&hn(t);if(i){const t=i.getBoundingClientRect(),a=gn(i),c=bn(a,"border","width"),s=bn(a,"padding");e=t.width-s.width-c.width,n=t.height-s.height-c.height,r=dn(a.maxWidth,i,"clientWidth"),o=dn(a.maxHeight,i,"clientHeight")}else e=t.clientWidth,n=t.clientHeight}return{width:e,height:n,maxWidth:r||lt,maxHeight:o||lt}}(t,e,n);let{width:u,height:f}=s;if("content-box"===o.boxSizing){const t=bn(o,"border","width"),e=bn(o,"padding");u-=e.width+t.width,f-=e.height+t.height}u=Math.max(0,u-i.width),f=Math.max(0,r?u/r:f-i.height),u=xn(Math.min(u,a,s.maxWidth)),f=xn(Math.min(f,c,s.maxHeight)),u&&!f&&(f=xn(u/2));return(void 0!==e||void 0!==n)&&r&&s.height&&f>s.height&&(f=s.height,u=xn(Math.floor(f*r))),{width:u,height:f}}function wn(t,e,n){const r=e||1,o=xn(t.height*r),i=xn(t.width*r);t.height=xn(t.height),t.width=xn(t.width);const a=t.canvas;return a.style&&(n||!a.style.height&&!a.style.width)&&(a.style.height=`${t.height}px`,a.style.width=`${t.width}px`),(t.currentDevicePixelRatio!==r||a.height!==o||a.width!==i)&&(t.currentDevicePixelRatio=r,a.height=o,a.width=i,t.ctx.setTransform(r,0,0,r,0,0),!0)}const Mn=function(){let t=!1;
2try{const e={get passive(){return t=!0,!1}};ln()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch(e){}return t}();function kn(t,e){const n=function(t,e){return gn(t).getPropertyValue(e)}(t,e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function _n(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function On(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 Tn(t,e,n,r){const o={x:t.cp2x,y:t.cp2y},i={x:e.cp1x,y:e.cp1y},a=_n(t,o,n),c=_n(o,i,n),s=_n(i,e,n),u=_n(a,c,n),f=_n(c,s,n);return _n(u,f,n)}const Pn=function(t,e){return{x(n){return t+t+e-n},setWidth(t){e=t},textAlign(t){return"center"===t?t:"right"===t?"left":"right"},xPlus(t,e){return t-e},leftForLtr(t,e){return t-e}}},Sn=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function Rn(t,e,n){return t?Pn(e,n):Sn()}function Cn(t,e){let n,r;"ltr"!==e&&"rtl"!==e||(n=t.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=r)}function jn(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function In(t){return"angle"===t?{between:jt,compare:Rt,normalize:Ct}:{between:Et,compare:(t,e)=>t-e,normalize:t=>t}}function An({start:t,end:e,count:n,loop:r,style:o}){return{start:t%n,end:e%n,loop:r&&(e-t+1)%n==0,style:o}}function En(t,e,n){if(!n)return[t];const{property:r,start:o,end:i}=n,a=e.length,{compare:c,between:s,normalize:u}=In(r),{start:f,end:l,loop:h,style:d}=function(t,e,n){const{property:r,start:o,end:i}=n,{between:a,normalize:c}=In(r),s=e.length;let u,f,{start:l,end:h,loop:d}=t;if(d){for(l+=s,h+=s,u=0,f=s;u<f&&a(c(e[l%s][r]),o,i);++u)l--,h--;l%=s,h%=s}return h<l&&(h+=s),{start:l,end:h,loop:d,style:t.style}}(t,e,n),g=[];let p,b,y,m=!1,x=null;const v=()=>m||s(o,y,p)&&0!==c(o,y),w=()=>!m||0===c(i,p)||s(i,y,p);for(let M=f,k=f;M<=l;++M)b=e[M%a],b.skip||(p=u(b[r]),p!==y&&(m=s(p,o,i),null===x&&v()&&(x=0===c(p,o)?M:k),null!==x&&w()&&(g.push(An({start:x,end:M,loop:h,count:a,style:d})),x=null),k=M,y=p));return null!==x&&g.push(An({start:x,end:l,loop:h,count:a,style:d})),g}function Wn(t,e){const n=[],r=t.segments;for(let o=0;o<r.length;o++){const i=En(r[o],t.points,e);i.length&&n.push(...i)}return n}function Fn(t,e){const n=t.points,r=t.options.spanGaps,o=n.length;if(!o)return[];const i=!!t._loop,{start:a,end:c}=function(t,e,n,r){let o=0,i=e-1;if(n&&!r)for(;o<e&&!t[o].skip;)o++;for(;o<e&&t[o].skip;)o++;for(o%=e,n&&(i+=o);i>o&&t[i%e].skip;)i--;return i%=e,{start:o,end:i}}(n,o,i,r);if(!0===r)return Yn(t,[{start:a,end:c,loop:i}],n,e);return Yn(t,function(t,e,n,r){const o=t.length,i=[];let a,c=e,s=t[e];for(a=e+1;a<=n;++a){const n=t[a%o];n.skip||n.stop?s.skip||(r=!1,i.push({start:e%o,end:(a-1)%o,loop:r}),e=c=n.stop?a:null):(c=a,s.skip&&(e=a)),s=n}return null!==c&&i.push({start:e%o,end:c%o,loop:r}),i}(n,a,c<a?c+o:c,!!t._fullLoop&&0===a&&c===o-1),n,e)}function Yn(t,e,n,r){return r&&r.setContext&&n?function(t,e,n,r){const o=t._chart.getContext(),i=Nn(t.options),{_datasetIndex:a,options:{spanGaps:c}}=t,s=n.length,u=[];let f=i,l=e[0].start,h=l;function d(t,e,r,o){const i=c?-1:1;if(t!==e){for(t+=s;n[t%s].skip;)t-=i;for(;n[e%s].skip;)e+=i;t%s!==e%s&&(u.push({start:t%s,end:e%s,loop:r,style:o}),f=o,l=e%s)}}for(const g of e){l=c?l:g.start;let t,e=n[l%s];for(h=l+1;h<=g.end;h++){const i=n[h%s];t=Nn(r.setContext(He(o,{type:"segment",p0:e,p1:i,p0DataIndex:(h-1)%s,p1DataIndex:h%s,datasetIndex:a}))),Bn(t,f)&&d(l,h-1,g.loop,f),e=i,f=t}l<h-1&&d(l,h-1,g.loop,f)}return u}(t,e,n,r):e}function Nn(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function Bn(t,e){if(!e)return!1;const n=[],r=function(t,e){return ee(e)?(n.includes(e)||n.push(e),n.indexOf(e)):e};return JSON.stringify(t,r)!==JSON.stringify(e,r)}function Dn(t,e,n){return t.options.clip?t[n]:e[n]}function Ln(t,e){const n=e._clip;if(n.disabled)return!1;const r=function(t,e){const{xScale:n,yScale:r}=t;return n&&r?{left:Dn(n,e,"left"),right:Dn(n,e,"right"),top:Dn(r,e,"top"),bottom:Dn(r,e,"bottom")}:e}(e,t.chartArea);return{left:!1===n.left?0:r.left-(!0===n.left?0:n.left),right:!1===n.right?t.width:r.right+(!0===n.right?0:n.right),top:!1===n.top?0:r.top-(!0===n.top?0:n.top),bottom:!1===n.bottom?t.height:r.bottom+(!0===n.bottom?0:n.bottom)}}},4731:function(t,e,n){n.d(e,{N1:function(){return d}});var r=n(6540),o=n(6118);const i="label";function a(t,e){"function"==typeof t?t(e):t&&(t.current=e)}function c(t,e){t.labels=e}function s(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i;const r=[];t.datasets=e.map(e=>{const o=t.datasets.find(t=>t[n]===e[n]);return o&&e.data&&!r.includes(o)?(r.push(o),Object.assign(o,e),o):{...e}})}function u(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;const n={labels:[],datasets:[]};return c(n,t.labels),s(n,t.datasets,e),n}function f(t,e){const{height:n=150,width:i=300,redraw:f=!1,datasetIdKey:l,type:h,data:d,options:g,plugins:p=[],fallbackContent:b,updateMode:y,...m}=t,x=(0,r.useRef)(null),v=(0,r.useRef)(null),w=()=>
2{x.current&&(v.current=new o.t1(x.current,{type:h,data:u(d,l),options:g&&{...g},plugins:p}),a(e,v.current))},M=()=>{a(e,null),v.current&&(v.current.destroy(),v.current=null)};return(0,r.useEffect)(()=>{!f&&v.current&&g&&function(t,e){const n=t.options;n&&e&&Object.assign(n,e)}(v.current,g)},[f,g]),(0,r.useEffect)(()=>{!f&&v.current&&c(v.current.config.data,d.labels)},[f,d.labels]),(0,r.useEffect)(()=>{!f&&v.current&&d.datasets&&s(v.current.config.data,d.datasets,l)},[f,d.datasets]),(0,r.useEffect)(()=>{v.current&&(f?(M(),setTimeout(w)):v.current.update(y))},[f,g,d.labels,d.datasets,y]),(0,r.useEffect)(()=>{v.current&&(M(),setTimeout(w))},[h]),(0,r.useEffect)(()=>(w(),()=>M()),[]),r.createElement("canvas",{ref:x,role:"img",height:n,width:i,...m},b)}const l=(0,r.forwardRef)(f);function h(t,e){return o.t1.register(e),(0,r.forwardRef)((e,n)=>r.createElement(l,{...e,ref:n,type:t}))}const d=h("line",o.ZT)}}]);
3//# sourceMappingURL=0cee904e5f4cd0d5cecfdc40ad2c4e79f6632ca1-e2d571402b185ada5c26.js.map

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.