mirror of
https://github.com/owncast/owncast.git
synced 2025-01-03 23:27:37 +03:00
11 lines
No EOL
52 KiB
JavaScript
Vendored
11 lines
No EOL
52 KiB
JavaScript
Vendored
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5283],{25079:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"}},30744:function(t,e,n){"use strict";var r=n(64836),o=n(18698);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n(42122)),a=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==o(t)&&"function"!=typeof t)return{default:t};var n=f(e);if(n&&n.has(t))return n.get(t);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var u=i?Object.getOwnPropertyDescriptor(t,a):null;u&&(u.get||u.set)?Object.defineProperty(r,a,u):r[a]=t[a]}return r.default=t,n&&n.set(t,r),r}(n(67294)),u=r(n(25079)),l=r(n(92074));function f(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(f=function(t){return t?n:e})(t)}var c=function(t,e){return a.createElement(l.default,(0,i.default)((0,i.default)({},t),{},{ref:e,icon:u.default}))};c.displayName="DownloadOutlined";var s=a.forwardRef(c);e.default=s},59544:function(t,e,n){"use strict";var r=n(75263).default,o=n(64836).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n(10434)),a=r(n(67294)),u=o(n(23854)),l=n(47419),f=o(n(43207)),c=n(52353),s=1e3/30,d=a.memo(function(t){var e=t.value,n=t.format,r=void 0===n?"HH:mm:ss":n,o=t.onChange,d=t.onFinish,h=(0,u.default)(),p=a.useRef(null),g=function(){null==d||d(),p.current&&(clearInterval(p.current),p.current=null)},b=function(){var t=new Date(e).getTime();t>=Date.now()&&(p.current=setInterval(function(){h(),null==o||o(t-Date.now()),t<Date.now()&&g()},s))};return a.useEffect(function(){return b(),function(){p.current&&(clearInterval(p.current),p.current=null)}},[e]),a.createElement(f.default,(0,i.default)({},t,{valueRender:function(t){return(0,l.cloneElement)(t,{title:void 0})},formatter:function(t,e){return(0,c.formatCountdown)(t,(0,i.default)((0,i.default)({},e),{format:r}))}}))});e.default=d},95293:function(t,e,n){"use strict";var r=n(75263).default,o=n(64836).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n(11726)),a=r(n(67294));e.default=function(t){var e,n=t.value,r=t.formatter,o=t.precision,u=t.decimalSeparator,l=t.groupSeparator,f=t.prefixCls;if("function"==typeof r)e=r(n);else{var c=String(n),s=c.match(/^(-?)(\d*)(\.(\d+))?$/);if(s&&"-"!==c){var d=s[1],h=s[2]||"0",p=s[4]||"";h=h.replace(/\B(?=(\d{3})+(?!\d))/g,void 0===l?"":l),"number"==typeof o&&(p=(0,i.default)(p,o,"0").slice(0,o>0?o:0)),p&&(p="".concat(u).concat(p)),e=[a.createElement("span",{key:"int",className:"".concat(f,"-content-value-int")},d,h),p&&a.createElement("span",{key:"decimal",className:"".concat(f,"-content-value-decimal")},p)]}else e=c}return a.createElement("span",{className:"".concat(f,"-content-value")},e)}},43207:function(t,e,n){"use strict";var r=n(75263).default,o=n(64836).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n(38416)),a=o(n(10434)),u=o(n(94184)),l=r(n(67294)),f=n(7177),c=o(n(10149)),s=o(n(95293)),d=(0,f.withConfigConsumer)({prefixCls:"statistic"})(function(t){var e=t.prefixCls,n=t.className,r=t.style,o=t.valueStyle,f=t.value,d=t.title,h=t.valueRender,p=t.prefix,g=t.suffix,b=t.loading,m=t.direction,v=t.onMouseEnter,y=t.onMouseLeave,x=t.decimalSeparator,w=t.groupSeparator,M=l.createElement(s.default,(0,a.default)({decimalSeparator:void 0===x?".":x,groupSeparator:void 0===w?",":w},t,{value:void 0===f?0:f})),O=(0,u.default)(e,(0,i.default)({},"".concat(e,"-rtl"),"rtl"===m),n);return l.createElement("div",{className:O,style:r,onMouseEnter:v,onMouseLeave:y},d&&l.createElement("div",{className:"".concat(e,"-title")},d),l.createElement(c.default,{paragraph:!1,loading:void 0!==b&&b,className:"".concat(e,"-skeleton")},l.createElement("div",{style:o,className:"".concat(e,"-content")},p&&l.createElement("span",{className:"".concat(e,"-content-prefix")},p),h?h(M):M,g&&l.createElement("span",{className:"".concat(e,"-content-suffix")},g))))});e.default=d},26289:function(t,e,n){"use strict";var r=n(64836).default;e.Z=void 0;var o=r(n(59544)),i=r(n(43207));i.default.Countdown=o.default;var a=i.default;e.Z=a},52353:function(t,e,n){"use strict";var r=n(64836).default;Object.defineProperty(e,"__esModule",{value:!0}),e.formatCountdown=function(t,e){var n=e.format,r=void 0===n?"":n;return u(Math.max(new Date(t).getTime()-Date.now(),0),r)},e.formatTimeStr=u;var o=r(n(27424)),i=r(n(32475)),a=[["Y",31536e6],["M",2592e6],["D",864e5],["H",36e5],["m",6e4],["s",1e3],["S",1]];function u(t,e){var n=t,r=/\[[^\]]*]/g,u=(e.match(r)||[]).map(function(t){return t.slice(1,-1)}),l=e.replace(r,"[]"),f=a.reduce(function(t,e){var r=(0,o.default)(e,2),a=r[0],u=r[1];if(t.includes(a)){var l=Math.floor(n/u);return n-=l*u,t.replace(RegExp("".concat(a,"+"),"g"),function(t){var e=t.length;return(0,i.default)(l.toString(),e,"0")})}return t},l),c=0;return f.replace(r,function(){var t=u[c];return c+=1,t})}},89277:function(t,e,n){"use strict";var r=n(75263).default,o=n(64836).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n(10434));o(n(18698));var a=r(n(67294));o(n(13594));var u=o(n(28460)),l=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)0>e.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n},f=a.forwardRef(function(t,e){var n=t.ellipsis,r=t.rel,o=l(t,["ellipsis","rel"]),f=(0,i.default)((0,i.default)({},o),{rel:void 0===r&&"_blank"===o.target?"noopener noreferrer":r});return delete f.navigate,a.createElement(u.default,(0,i.default)({},f,{ref:e,ellipsis:!!n,component:"a"}))});e.default=f},21987:function(t,e,n){"use strict";var r=n(75263).default,o=n(64836).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n(10434)),a=r(n(67294)),u=o(n(28460)),l=a.forwardRef(function(t,e){return a.createElement(u.default,(0,i.default)({ref:e},t,{component:"div"}))});e.default=l},15394:function(t,e,n){"use strict";var r=n(75263).default,o=n(64836).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n(10434)),a=o(n(18698)),u=o(n(18475)),l=r(n(67294));o(n(13594));var f=o(n(28460)),c=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)0>e.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n},s=l.forwardRef(function(t,e){var n=t.ellipsis,r=c(t,["ellipsis"]),o=l.useMemo(function(){return n&&"object"===(0,a.default)(n)?(0,u.default)(n,["expandable","rows"]):n},[n]);return l.createElement(f.default,(0,i.default)({ref:e},r,{ellipsis:o,component:"span"}))});e.default=s},53740:function(t,e,n){"use strict";var r=n(64836).default;e.default=void 0;var o=r(n(89277)),i=r(n(21987)),a=r(n(15394)),u=r(n(11700)),l=r(n(89652)).default;l.Text=a.default,l.Link=o.default,l.Title=u.default,l.Paragraph=i.default,e.default=l},29932:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}},48983:function(t,e,n){var r=n(40371)("length");t.exports=r},44286:function(t){t.exports=function(t){return t.split("")}},40371:function(t){t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},18190:function(t){var e=Math.floor;t.exports=function(t,n){var r="";if(!t||n<1||n>9007199254740991)return r;do n%2&&(r+=t),(n=e(n/2))&&(t+=t);while(n);return r}},14259:function(t){t.exports=function(t,e,n){var r=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var i=Array(o);++r<o;)i[r]=t[r+e];return i}},80531:function(t,e,n){var r=n(62705),o=n(29932),i=n(1469),a=n(33448),u=1/0,l=r?r.prototype:void 0,f=l?l.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(a(e))return f?f.call(e):"";var n=e+"";return"0"==n&&1/e==-u?"-0":n}},40180:function(t,e,n){var r=n(14259);t.exports=function(t,e,n){var o=t.length;return n=void 0===n?o:n,!e&&n>=o?t:r(t,e,n)}},78302:function(t,e,n){var r=n(18190),o=n(80531),i=n(40180),a=n(62689),u=n(88016),l=n(83140),f=Math.ceil;t.exports=function(t,e){var n=(e=void 0===e?" ":o(e)).length;if(n<2)return n?r(e,t):e;var c=r(e,f(t/u(e)));return a(e)?i(l(c),0,t).join(""):c.slice(0,t)}},62689:function(t){var e=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return e.test(t)}},88016:function(t,e,n){var r=n(48983),o=n(62689),i=n(21903);t.exports=function(t){return o(t)?i(t):r(t)}},83140:function(t,e,n){var r=n(44286),o=n(62689),i=n(676);t.exports=function(t){return o(t)?i(t):r(t)}},21903:function(t){var e="\ud800-\udfff",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\ud83c[\udffb-\udfff]",o="[^"+e+"]",i="(?:\ud83c[\udde6-\uddff]){2}",a="[\ud800-\udbff][\udc00-\udfff]",u="(?:"+n+"|"+r+")?",l="[\\ufe0e\\ufe0f]?",f="(?:\\u200d(?:"+[o,i,a].join("|")+")"+l+u+")*",c=RegExp(r+"(?="+r+")|(?:"+[o+n+"?",n,i,a,"["+e+"]"].join("|")+")"+(l+u+f),"g");t.exports=function(t){for(var e=c.lastIndex=0;c.test(t);)++e;return e}},676:function(t){var e="\ud800-\udfff",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\ud83c[\udffb-\udfff]",o="[^"+e+"]",i="(?:\ud83c[\udde6-\uddff]){2}",a="[\ud800-\udbff][\udc00-\udfff]",u="(?:"+n+"|"+r+")?",l="[\\ufe0e\\ufe0f]?",f="(?:\\u200d(?:"+[o,i,a].join("|")+")"+l+u+")*",c=RegExp(r+"(?="+r+")|(?:"+[o+n+"?",n,i,a,"["+e+"]"].join("|")+")"+(l+u+f),"g");t.exports=function(t){return t.match(c)||[]}},11726:function(t,e,n){var r=n(78302),o=n(88016),i=n(40554),a=n(79833);t.exports=function(t,e,n){t=a(t);var u=(e=i(e))?o(t):0;return e&&u<e?t+r(e-u,n):t}},32475:function(t,e,n){var r=n(78302),o=n(88016),i=n(40554),a=n(79833);t.exports=function(t,e,n){t=a(t);var u=(e=i(e))?o(t):0;return e&&u<e?r(e-u,n)+t:t}},18601:function(t,e,n){var r=n(14841),o=1/0;t.exports=function(t){return t?(t=r(t))===o||t===-o?(t<0?-1:1)*17976931348623157e292:t==t?t:0:0===t?t:0}},40554:function(t,e,n){var r=n(18601);t.exports=function(t){var e=r(t),n=e%1;return e==e?n?e-n:e:0}},79833:function(t,e,n){var r=n(80531);t.exports=function(t){return null==t?"":r(t)}},9676:function(t,e,n){"use strict";let r,o;/*!
|
|
* @kurkle/color v0.3.2
|
|
* https://github.com/kurkle/color#readme
|
|
* (c) 2023 Jukka Kurkela
|
|
* Released under the MIT License
|
|
*/function i(t){return t+.5|0}n.d(e,{$:function(){return es},A:function(){return tW},B:function(){return tN},C:function(){return ef},D:function(){return t_},E:function(){return eM},F:function(){return z},G:function(){return eJ},H:function(){return ts},I:function(){return eX},J:function(){return e1},K:function(){return e0},L:function(){return tH},M:function(){return e$},N:function(){return tv},O:function(){return B},P:function(){return ta},Q:function(){return X},R:function(){return e_},S:function(){return tE},T:function(){return tu},U:function(){return tO},V:function(){return er},W:function(){return tR},X:function(){return ei},Y:function(){return ec},Z:function(){return ep},_:function(){return tB},a:function(){return ek},a0:function(){return eO},a1:function(){return tX},a2:function(){return tz},a3:function(){return t9},a4:function(){return K},a5:function(){return te},a6:function(){return t7},a7:function(){return tr},a8:function(){return function t(e,n,r,o){let i={_cacheable:!1,_proxy:e,_context:n,_subProxy:r,_stack:new Set,_descriptors:eT(e,o),setContext:n=>t(e,n,r,o),override:i=>t(e.override(i),n,r,o)};return new Proxy(i,{deleteProperty:(t,n)=>(delete t[n],delete e[n],!0),get:(e,n,r)=>eR(e,n,()=>(function(e,n,r){let{_proxy:o,_context:i,_subProxy:a,_descriptors:u}=e,l=o[n];return tr(l)&&u.isScriptable(n)&&(l=function(t,e,n,r){let{_proxy:o,_context:i,_subProxy:a,_stack:u}=n;if(u.has(t))throw Error("Recursion detected: "+Array.from(u).join("->")+"->"+t);u.add(t);let l=e(i,a||r);return u.delete(t),eE(t,l)&&(l=eI(o._scopes,o,t,l)),l}(n,l,e,r)),F(l)&&l.length&&(l=function(e,n,r,o){let{_proxy:i,_context:a,_subProxy:u,_descriptors:l}=r;if(void 0!==a.index&&o(e))return n[a.index%n.length];if(Y(n[0])){let r=n,o=i._scopes.filter(t=>t!==r);for(let f of(n=[],r)){let r=eI(o,i,e,f);n.push(t(r,a,u&&u[e],l))}}return n}(n,l,e,u.isIndexable)),eE(n,l)&&(l=t(l,i,a&&a[n],u)),l})(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 ej},aA:function(){return e3},aB:function(){return tV},aC:function(){return e6},aD:function(){return el},aE:function(){return tP},aF:function(){return N},aG:function(){return tw},aH:function(){return tm},aI:function(){return tx},aJ:function(){return tb},aK:function(){return tk},aL:function(){return t6},aM:function(){return tp},aN:function(){return eo},aO:function(){return tA},aP:function(){return tI},aa:function(){return eT},ab:function(){return U},ac:function(){return W},ad:function(){return t$},ae:function(){return eG},af:function(){return ea},ag:function(){return to},ah:function(){return V},ai:function(){return ti},aj:function(){return tC},ak:function(){return ey},al:function(){return eH},am:function(){return nn},an:function(){return ne},ao:function(){return e5},ap:function(){return e8},aq:function(){return e2},ar:function(){return ed},as:function(){return eh},at:function(){return eu},au:function(){return eg},av:function(){return ex},aw:function(){return ew},ax:function(){return nt},ay:function(){return tT},az:function(){return e4},b:function(){return F},c:function(){return t0},d:function(){return en},e:function(){return tJ},f:function(){return tt},g:function(){return D},h:function(){return tn},i:function(){return Y},j:function(){return eP},k:function(){return A},l:function(){return tY},m:function(){return H},n:function(){return $},o:function(){return t4},p:function(){return tS},q:function(){return tZ},r:function(){return tL},s:function(){return tg},t:function(){return tM},u:function(){return tD},v:function(){return L},w:function(){return tq},x:function(){return ty},y:function(){return eF},z:function(){return eK}});let a=(t,e,n)=>Math.max(Math.min(t,n),e);function u(t){return a(i(2.55*t),0,255)}function l(t){return a(i(255*t),0,255)}function f(t){return a(i(t/2.55)/100,0,1)}function c(t){return a(i(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},d=[..."0123456789ABCDEF"],h=t=>d[15&t],p=t=>d[(240&t)>>4]+d[15&t],g=t=>(240&t)>>4==(15&t),b=t=>g(t.r)&&g(t.g)&&g(t.b)&&g(t.a),m=(t,e)=>t<255?e(t):"",v=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function y(t,e,n){let 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 x(t,e,n){let 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 w(t,e,n){let r;let o=y(t,1,.5);for(e+n>1&&(r=1/(e+n),e*=r,n*=r),r=0;r<3;r++)o[r]*=1-e-n,o[r]+=e;return o}function M(t){let e,n,r;let o=t.r/255,i=t.g/255,a=t.b/255,u=Math.max(o,i,a),l=Math.min(o,i,a),f=(u+l)/2;return u!==l&&(r=u-l,n=f>.5?r/(2-u-l):r/(u+l),e=60*(e=o===u?(i-a)/r+(i<a?6:0):i===u?(a-o)/r+2:(o-i)/r+4)+.5),[0|e,n||0,f]}function O(t,e,n,r){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,r)).map(l)}function k(t){return(t%360+360)%360}let _={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"},P={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"},j=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/,T=t=>t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055,S=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function E(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=O(y,r,void 0,void 0),t.r=r[0],t.g=r[1],t.b=r[2]}}function R(t,e){return t?Object.assign(e||{},t):t}function C(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=l(t[3]))):(e=R(t,{r:0,g:0,b:0,a:1})).a=l(e.a),e}class I{constructor(t){let e;if(t instanceof I)return t;let n=typeof t;if("object"===n)e=C(t);else if("string"===n){var o,i;i=t.length,"#"===t[0]&&(4===i||5===i?o={r:255&17*s[t[1]],g:255&17*s[t[2]],b:255&17*s[t[3]],a:5===i?17*s[t[4]]:255}:(7===i||9===i)&&(o={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===i?s[t[7]]<<4|s[t[8]]:255})),e=o||function(t){r||((r=function(){let t,e,n,r,o;let i={},a=Object.keys(P),u=Object.keys(_);for(t=0;t<a.length;t++){for(e=0,r=o=a[t];e<u.length;e++)n=u[e],o=o.replace(n,_[n]);n=parseInt(P[r],16),i[o]=[n>>16&255,n>>8&255,255&n]}return i}()).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 o=j.exec(t),i=255;if(o){if(o[7]!==e){let t=+o[7];i=o[8]?u(t):a(255*t,0,255)}return e=+o[1],n=+o[3],r=+o[5],{r:e=255&(o[2]?u(e):a(e,0,255)),g:n=255&(o[4]?u(n):a(n,0,255)),b:r=255&(o[6]?u(r):a(r,0,255)),a:i}}}(t):function(t){let e;let n=v.exec(t),r=255;if(!n)return;n[5]!==e&&(r=n[6]?u(+n[5]):l(+n[5]));let o=k(+n[2]),i=+n[3]/100,a=+n[4]/100;return{r:(e="hwb"===n[1]?O(w,o,i,a):"hsv"===n[1]?O(x,o,i,a):O(y,o,i,a))[0],g:e[1],b:e[2],a:r}}(t))}this._rgb=e,this._valid=!!e}get valid(){return this._valid}get rgb(){var t=R(this._rgb);return t&&(t.a=f(t.a)),t}set rgb(t){this._rgb=C(t)}rgbString(){var t;return this._valid?(t=this._rgb)&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${f(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`):void 0}hexString(){var t,e;return this._valid?(e=b(t=this._rgb)?h:p,t?"#"+e(t.r)+e(t.g)+e(t.b)+m(t.a,e):void 0):void 0}hslString(){return this._valid?function(t){if(!t)return;let e=M(t),n=e[0],r=c(e[1]),o=c(e[2]);return t.a<255?`hsla(${n}, ${r}%, ${o}%, ${f(t.a)})`:`hsl(${n}, ${r}%, ${o}%)`}(this._rgb):void 0}mix(t,e){if(t){let n;let r=this.rgb,o=t.rgb,i=e===n?.5:e,a=2*i-1,u=r.a-o.a,l=((a*u==-1?a:(a+u)/(1+a*u))+1)/2;n=1-l,r.r=255&l*r.r+n*o.r+.5,r.g=255&l*r.g+n*o.g+.5,r.b=255&l*r.b+n*o.b+.5,r.a=i*r.a+(1-i)*o.a,this.rgb=r}return this}interpolate(t,e){return t&&(this._rgb=function(t,e,n){let r=S(f(t.r)),o=S(f(t.g)),i=S(f(t.b));return{r:l(T(r+n*(S(f(e.r))-r))),g:l(T(o+n*(S(f(e.g))-o))),b:l(T(i+n*(S(f(e.b))-i))),a:t.a+n*(e.a-t.a)}}(this._rgb,t._rgb,e)),this}clone(){return new I(this.rgb)}alpha(t){return this._rgb.a=l(t),this}clearer(t){let e=this._rgb;return e.a*=1-t,this}greyscale(){let t=this._rgb,e=i(.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 E(this._rgb,2,t),this}darken(t){return E(this._rgb,2,-t),this}saturate(t){return E(this._rgb,1,t),this}desaturate(t){return E(this._rgb,1,-t),this}rotate(t){var e,n;return(n=M(e=this._rgb))[0]=k(n[0]+t),n=O(y,n,void 0,void 0),e.r=n[0],e.g=n[1],e.b=n[2],this}}/*!
|
|
* Chart.js v4.3.2
|
|
* https://www.chartjs.org
|
|
* (c) 2023 Chart.js Contributors
|
|
* Released under the MIT License
|
|
*/function N(){}let W=(o=0,()=>o++);function A(t){return null==t}function F(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 Y(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}function D(t){return("number"==typeof t||t instanceof Number)&&isFinite(+t)}function B(t,e){return D(t)?t:e}function L(t,e){return void 0===t?e:t}let H=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100:+t/e,$=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function X(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(F(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(Y(t))for(o=0,i=(a=Object.keys(t)).length;o<i;o++)e.call(n,t[a[o]],a[o])}function V(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 Z(t){if(F(t))return t.map(Z);if(Y(t)){let e=Object.create(null),n=Object.keys(t),r=n.length,o=0;for(;o<r;++o)e[n[o]]=Z(t[n[o]]);return e}return t}function q(t){return -1===["__proto__","prototype","constructor"].indexOf(t)}function Q(t,e,n,r){if(!q(t))return;let o=e[t],i=n[t];Y(o)&&Y(i)?K(o,i,r):e[t]=Z(i)}function K(t,e,n){let r;let o=F(e)?e:[e],i=o.length;if(!Y(t))return t;n=n||{};let a=n.merger||Q;for(let e=0;e<i;++e){if(!Y(r=o[e]))continue;let i=Object.keys(r);for(let e=0,o=i.length;e<o;++e)a(i[e],t,r,n)}return t}function U(t,e){return K(t,e,{merger:J})}function J(t,e,n){if(!q(t))return;let r=e[t],o=n[t];Y(r)&&Y(o)?U(r,o):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=Z(o))}let G={"":t=>t,x:t=>t.x,y:t=>t.y};function tt(t,e){let n=G[e]||(G[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));return n(t)}function te(t){return t.charAt(0).toUpperCase()+t.slice(1)}let tn=t=>void 0!==t,tr=t=>"function"==typeof t,to=(t,e)=>{if(t.size!==e.size)return!1;for(let n of t)if(!e.has(n))return!1;return!0};function ti(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}let ta=Math.PI,tu=2*ta,tl=tu+ta,tf=Number.POSITIVE_INFINITY,tc=ta/180,ts=ta/2,td=ta/4,th=2*ta/3,tp=Math.log10,tg=Math.sign;function tb(t,e,n){return Math.abs(t-e)<n}function tm(t){let e=Math.round(t);t=tb(t,e,t/1e3)?e:t;let n=Math.pow(10,Math.floor(tp(t))),r=t/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function tv(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 ty(t){return!isNaN(parseFloat(t))&&isFinite(t)}function tx(t,e){let n=Math.round(t);return n-e<=t&&n+e>=t}function tw(t,e,n){let r,o,i;for(r=0,o=t.length;r<o;r++)isNaN(i=t[r][n])||(e.min=Math.min(e.min,i),e.max=Math.max(e.max,i))}function tM(t){return t*(ta/180)}function tO(t){return t*(180/ta)}function tk(t){if(!D(t))return;let e=1,n=0;for(;Math.round(t*e)/e!==t;)e*=10,n++;return n}function t_(t,e){let n=e.x-t.x,r=e.y-t.y,o=Math.atan2(r,n);return o<-.5*ta&&(o+=tu),{angle:o,distance:Math.sqrt(n*n+r*r)}}function tP(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function tj(t,e){return(t-e+tl)%tu-ta}function tT(t){return(t%tu+tu)%tu}function tS(t,e,n,r){let o=tT(t),i=tT(e),a=tT(n),u=tT(i-o),l=tT(a-o),f=tT(o-i),c=tT(o-a);return o===i||o===a||r&&i===a||u>l&&f<c}function tE(t,e,n){return Math.max(e,Math.min(n,t))}function tR(t){return tE(t,-32768,32767)}function tC(t,e,n,r=1e-6){return t>=Math.min(e,n)-r&&t<=Math.max(e,n)+r}function tI(t,e,n){let r;n=n||(n=>t[n]<e);let o=t.length-1,i=0;for(;o-i>1;)n(r=i+o>>1)?i=r:o=r;return{lo:i,hi:o}}let tN=(t,e,n,r)=>tI(t,n,r?r=>{let o=t[r][e];return o<n||o===n&&t[r+1][e]===n}:r=>t[r][e]<n),tW=(t,e,n)=>tI(t,n,r=>t[r][e]>=n);function tA(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}let tF=["push","pop","shift","splice","unshift"];function tY(t,e){if(t._chartjs){t._chartjs.listeners.push(e);return}Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),tF.forEach(e=>{let n="_onData"+te(e),r=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value(...e){let o=r.apply(this,e);return t._chartjs.listeners.forEach(t=>{"function"==typeof t[n]&&t[n](...e)}),o}})})}function tD(t,e){let n=t._chartjs;if(!n)return;let r=n.listeners,o=r.indexOf(e);-1!==o&&r.splice(o,1),r.length>0||(tF.forEach(e=>{delete t[e]}),delete t._chartjs)}function tB(t){let e=new Set(t);return e.size===t.length?t:Array.from(e)}let tL="undefined"==typeof window?function(t){return t()}:window.requestAnimationFrame;function tH(t,e){let n=[],r=!1;return function(...o){n=o,r||(r=!0,tL.call(window,()=>{r=!1,t.apply(e,n)}))}}function t$(t,e){let n;return function(...r){return e?(clearTimeout(n),n=setTimeout(t,e,r)):t.apply(this,r),e}}let tX=t=>"start"===t?"left":"end"===t?"right":"center",tz=(t,e,n)=>"start"===t?e:"end"===t?n:(e+n)/2,tV=(t,e,n,r)=>t===(r?"left":"right")?n:"center"===t?(e+n)/2:e;function tZ(t,e,n){let r=e.length,o=0,i=r;if(t._sorted){let{iScale:a,_parsed:u}=t,l=a.axis,{min:f,max:c,minDefined:s,maxDefined:d}=a.getUserBounds();s&&(o=tE(Math.min(tN(u,l,f).lo,n?r:tN(e,l,a.getPixelForValue(f)).lo),0,r-1)),i=d?tE(Math.max(tN(u,a.axis,c,!0).hi+1,n?0:tN(e,l,a.getPixelForValue(c),!0).hi+1),o,r)-o:r-o}return{start:o,count:i}}function tq(t){let{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;let i=r.xmin!==e.min||r.xmax!==e.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,o),i}let tQ=t=>0===t||1===t,tK=(t,e,n)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*tu/n)),tU=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*tu/n)+1,tJ={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=>tQ(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=>tQ(t)?t:tK(t,.075,.3),easeOutElastic:t=>tQ(t)?t:tU(t,.075,.3),easeInOutElastic:t=>tQ(t)?t:t<.5?.5*tK(2*t,.1125,.45):.5+.5*tU(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?.5*(t*t*(((e*=1.525)+1)*t-e)):.5*((t-=2)*t*(((e*=1.525)+1)*t+e)+2)},easeInBounce:t=>1-tJ.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*tJ.easeInBounce(2*t):.5*tJ.easeOutBounce(2*t-1)+.5};function tG(t){if(t&&"object"==typeof t){let e=t.toString();return"[object CanvasPattern]"===e||"[object CanvasGradient]"===e}return!1}function t0(t){return tG(t)?t:new I(t)}function t1(t){return tG(t)?t:new I(t).saturate(.5).darken(.1).hexString()}let t2=["x","y","borderWidth","radius","tension"],t5=["color","borderColor","backgroundColor"],t8=new Map;function t4(t,e,n){return(function(t,e){e=e||{};let n=t+JSON.stringify(e),r=t8.get(n);return r||(r=new Intl.NumberFormat(t,e),t8.set(n,r)),r})(e,n).format(t)}let t3={values:t=>F(t)?t:""+t,numeric(t,e,n){let r;if(0===t)return"0";let o=this.chart.options.locale,i=t;if(n.length>1){let e;let o=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(o<1e-4||o>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)),i=e}let a=tp(Math.abs(i)),u=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),l={notation:r,minimumFractionDigits:u,maximumFractionDigits:u};return Object.assign(l,this.options.ticks.format),t4(t,o,l)},logarithmic(t,e,n){if(0===t)return"0";let r=n[e].significand||t/Math.pow(10,Math.floor(tp(t)));return[1,2,3,5,10,15].includes(r)||e>.8*n.length?t3.numeric.call(this,t,e,n):""}};var t6={formatters:t3};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?K(et(t,e),n):K(et(t,""),e)}var en=new class{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)}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 o=et(this,t),i=et(this,n),a="_"+e;Object.defineProperties(o,{[a]:{value:o[e],writable:!0},[e]:{enumerable:!0,get(){let t=this[a],e=i[r];return Y(t)?Object.assign({},e,t):L(t,e)},set(t){this[a]=t}}})}apply(t){t.forEach(t=>t(this))}}({_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:t5},numbers:{type:"number",properties:t2}}),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",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 er(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 eo(t,e,n,r){let o,i,a,u,l;let f=(r=r||{}).data=r.data||{},c=r.garbageCollect=r.garbageCollect||[];r.font!==e&&(f=r.data={},c=r.garbageCollect=[],r.font=e),t.save(),t.font=e;let s=0,d=n.length;for(o=0;o<d;o++)if(null==(u=n[o])||F(u)){if(F(u))for(i=0,a=u.length;i<a;i++)null==(l=u[i])||F(l)||(s=er(t,f,c,s,l))}else s=er(t,f,c,s,u);t.restore();let h=c.length/2;if(h>n.length){for(o=0;o<h;o++)delete f[c[o]];c.splice(0,h)}return s}function ei(t,e,n){let r=t.currentDevicePixelRatio,o=0!==n?Math.max(n/2,.5):0;return Math.round((e-o)*r)/r+o}function ea(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){el(t,e,n,r,null)}function el(t,e,n,r,o){let i,a,u,l,f,c,s,d;let h=e.pointStyle,p=e.rotation,g=e.radius,b=(p||0)*tc;if(h&&"object"==typeof h&&("[object HTMLImageElement]"===(i=h.toString())||"[object HTMLCanvasElement]"===i)){t.save(),t.translate(n,r),t.rotate(b),t.drawImage(h,-h.width/2,-h.height/2,h.width,h.height),t.restore();return}if(!isNaN(g)&&!(g<=0)){switch(t.beginPath(),h){default:o?t.ellipse(n,r,o/2,g,0,0,tu):t.arc(n,r,g,0,tu),t.closePath();break;case"triangle":c=o?o/2:g,t.moveTo(n+Math.sin(b)*c,r-Math.cos(b)*g),b+=th,t.lineTo(n+Math.sin(b)*c,r-Math.cos(b)*g),b+=th,t.lineTo(n+Math.sin(b)*c,r-Math.cos(b)*g),t.closePath();break;case"rectRounded":f=.516*g,a=Math.cos(b+td)*(l=g-f),s=Math.cos(b+td)*(o?o/2-f:l),u=Math.sin(b+td)*l,d=Math.sin(b+td)*(o?o/2-f:l),t.arc(n-s,r-u,f,b-ta,b-ts),t.arc(n+d,r-a,f,b-ts,b),t.arc(n+s,r+u,f,b,b+ts),t.arc(n-d,r+a,f,b+ts,b+ta),t.closePath();break;case"rect":if(!p){l=Math.SQRT1_2*g,c=o?o/2:l,t.rect(n-c,r-l,2*c,2*l);break}b+=td;case"rectRot":s=Math.cos(b)*(o?o/2:g),a=Math.cos(b)*g,u=Math.sin(b)*g,d=Math.sin(b)*(o?o/2:g),t.moveTo(n-s,r-u),t.lineTo(n+d,r-a),t.lineTo(n+s,r+u),t.lineTo(n-d,r+a),t.closePath();break;case"crossRot":b+=td;case"cross":s=Math.cos(b)*(o?o/2:g),a=Math.cos(b)*g,u=Math.sin(b)*g,d=Math.sin(b)*(o?o/2:g),t.moveTo(n-s,r-u),t.lineTo(n+s,r+u),t.moveTo(n+d,r-a),t.lineTo(n-d,r+a);break;case"star":s=Math.cos(b)*(o?o/2:g),a=Math.cos(b)*g,u=Math.sin(b)*g,d=Math.sin(b)*(o?o/2:g),t.moveTo(n-s,r-u),t.lineTo(n+s,r+u),t.moveTo(n+d,r-a),t.lineTo(n-d,r+a),b+=td,s=Math.cos(b)*(o?o/2:g),a=Math.cos(b)*g,u=Math.sin(b)*g,d=Math.sin(b)*(o?o/2:g),t.moveTo(n-s,r-u),t.lineTo(n+s,r+u),t.moveTo(n+d,r-a),t.lineTo(n-d,r+a);break;case"line":a=o?o/2:Math.cos(b)*g,u=Math.sin(b)*g,t.moveTo(n-a,r-u),t.lineTo(n+a,r+u);break;case"dash":t.moveTo(n,r),t.lineTo(n+Math.cos(b)*(o?o/2:g),r+Math.sin(b)*g);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 ec(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function es(t){t.restore()}function ed(t,e,n,r,o){if(!e)return t.lineTo(n.x,n.y);if("middle"===o){let 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 eh(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,o,i={}){let a,u;let l=F(e)?e:[e],f=i.strokeWidth>0&&""!==i.strokeColor;for(t.save(),t.font=o.string,i.translation&&t.translate(i.translation[0],i.translation[1]),A(i.rotation)||t.rotate(i.rotation),i.color&&(t.fillStyle=i.color),i.textAlign&&(t.textAlign=i.textAlign),i.textBaseline&&(t.textBaseline=i.textBaseline),a=0;a<l.length;++a)u=l[a],i.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,i.backdrop),f&&(i.strokeColor&&(t.strokeStyle=i.strokeColor),A(i.strokeWidth)||(t.lineWidth=i.strokeWidth),t.strokeText(u,n,r,i.maxWidth)),t.fillText(u,n,r,i.maxWidth),function(t,e,n,r,o){if(o.strikethrough||o.underline){let i=t.measureText(r),a=e-i.actualBoundingBoxLeft,u=e+i.actualBoundingBoxRight,l=n-i.actualBoundingBoxAscent,f=n+i.actualBoundingBoxDescent,c=o.strikethrough?(l+f)/2:f;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=o.decorationWidth||2,t.moveTo(a,c),t.lineTo(u,c),t.stroke()}}(t,n,r,u,i),r+=Number(o.lineHeight);t.restore()}function eg(t,e){let{x:n,y:r,w:o,h:i,radius:a}=e;t.arc(n+a.topLeft,r+a.topLeft,a.topLeft,-ts,ta,!0),t.lineTo(n,r+i-a.bottomLeft),t.arc(n+a.bottomLeft,r+i-a.bottomLeft,a.bottomLeft,ta,ts,!0),t.lineTo(n+o-a.bottomRight,r+i),t.arc(n+o-a.bottomRight,r+i-a.bottomRight,a.bottomRight,ts,0,!0),t.lineTo(n+o,r+a.topRight),t.arc(n+o-a.topRight,r+a.topRight,a.topRight,0,-ts,!0),t.lineTo(n+a.topLeft,r)}let eb=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,em=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/,ev=t=>+t||0;function ey(t,e){let n={},r=Y(e),o=r?Object.keys(e):e,i=Y(t)?r?n=>L(t[n],t[e[n]]):e=>t[e]:()=>t;for(let t of o)n[t]=ev(i(t));return n}function ex(t){return ey(t,{top:"y",right:"x",bottom:"y",left:"x"})}function ew(t){return ey(t,["topLeft","topRight","bottomLeft","bottomRight"])}function eM(t){let e=ex(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function eO(t,e){t=t||{},e=e||en.font;let n=L(t.size,e.size);"string"==typeof n&&(n=parseInt(n,10));let r=L(t.style,e.style);r&&!(""+r).match(em)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);let o={family:L(t.family,e.family),lineHeight:function(t,e){let n=(""+t).match(eb);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}(L(t.lineHeight,e.lineHeight),n),size:n,style:r,weight:L(t.weight,e.weight),string:""};return o.string=!o||A(o.size)||A(o.family)?null:(o.style?o.style+" ":"")+(o.weight?o.weight+" ":"")+o.size+"px "+o.family,o}function ek(t,e,n,r){let o,i,a,u=!0;for(o=0,i=t.length;o<i;++o)if(void 0!==(a=t[o])&&(void 0!==e&&"function"==typeof a&&(a=a(e),u=!1),void 0!==n&&F(a)&&(a=a[n%a.length],u=!1),void 0!==a))return r&&!u&&(r.cacheable=!1),a}function e_(t,e,n){let{min:r,max:o}=t,i=$(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 eP(t,e){return Object.assign(Object.create(t),e)}function ej(t,e=[""],n,r,o=()=>t[0]){let i=n||t;void 0===r&&(r=eW("_fallback",t));let a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:i,_fallback:r,_getTarget:o,override:n=>ej([n,...t],e,i,r)};return new Proxy(a,{deleteProperty:(e,n)=>(delete e[n],delete e._keys,delete t[0][n],!0),get:(n,r)=>eR(n,r,()=>(function(t,e,n,r){let o;for(let i of e)if(void 0!==(o=eW(eS(i,t),n)))return eE(t,o)?eI(n,r,t,o):o})(r,e,t,n)),getOwnPropertyDescriptor:(t,e)=>Reflect.getOwnPropertyDescriptor(t._scopes[0],e),getPrototypeOf:()=>Reflect.getPrototypeOf(t[0]),has:(t,e)=>eA(t).includes(e),ownKeys:t=>eA(t),set(t,e,n){let r=t._storage||(t._storage=o());return t[e]=r[e]=n,delete t._keys,!0}})}function eT(t,e={scriptable:!0,indexable:!0}){let{_scriptable:n=e.scriptable,_indexable:r=e.indexable,_allKeys:o=e.allKeys}=t;return{allKeys:o,scriptable:n,indexable:r,isScriptable:tr(n)?n:()=>n,isIndexable:tr(r)?r:()=>r}}let eS=(t,e)=>t?t+te(e):e,eE=(t,e)=>Y(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function eR(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];let r=n();return t[e]=r,r}let eC=(t,e)=>!0===t?e:"string"==typeof t?tt(e,t):void 0;function eI(t,e,n,r){var o;let i=e._rootScopes,a=tr(o=e._fallback)?o(n,r):o,u=[...t,...i],l=new Set;l.add(r);let f=eN(l,u,n,a||n,r);return null!==f&&(void 0===a||a===n||null!==(f=eN(l,u,a,f,r)))&&ej(Array.from(l),[""],i,a,()=>(function(t,e,n){let r=t._getTarget();e in r||(r[e]={});let o=r[e];return F(o)&&Y(n)?n:o||{}})(e,n,r))}function eN(t,e,n,r,o){for(;n;)n=function(t,e,n,r,o){for(let a of e){let e=eC(n,a);if(e){var i;t.add(e);let a=tr(i=e._fallback)?i(n,o):i;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,o);return n}function eW(t,e){for(let n of e){if(!n)continue;let e=n[t];if(void 0!==e)return e}}function eA(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 eF(t,e,n,r){let o,i,a;let{iScale:u}=t,{key:l="r"}=this._parsing,f=Array(r);for(o=0;o<r;++o)a=e[i=o+n],f[o]={r:u.parse(tt(a,l),i)};return f}let eY=Number.EPSILON||1e-14,eD=(t,e)=>e<t.length&&!t[e].skip&&t[e],eB=t=>"x"===t?"y":"x";function eL(t,e,n){return Math.max(Math.min(t,n),e)}function eH(t,e,n,r,o){let i,a,u,l;if(e.spanGaps&&(t=t.filter(t=>!t.skip)),"monotone"===e.cubicInterpolationMode)!function(t,e="x"){let n,r,o;let i=eB(e),a=t.length,u=Array(a).fill(0),l=Array(a),f=eD(t,0);for(n=0;n<a;++n)if(r=o,o=f,f=eD(t,n+1),o){if(f){let t=f[e]-o[e];u[n]=0!==t?(f[i]-o[i])/t:0}l[n]=r?f?tg(u[n-1])!==tg(u[n])?0:(u[n-1]+u[n])/2:u[n-1]:u[n]}!function(t,e,n){let r,o,i,a,u;let l=t.length,f=eD(t,0);for(let c=0;c<l-1;++c)if(u=f,f=eD(t,c+1),u&&f){if(tb(e[c],0,eY)){n[c]=n[c+1]=0;continue}(a=Math.pow(r=n[c]/e[c],2)+Math.pow(o=n[c+1]/e[c],2))<=9||(i=3/Math.sqrt(a),n[c]=r*i*e[c],n[c+1]=o*i*e[c])}}(t,u,l),function(t,e,n="x"){let r,o,i;let a=eB(n),u=t.length,l=eD(t,0);for(let f=0;f<u;++f){if(o=i,i=l,l=eD(t,f+1),!i)continue;let u=i[n],c=i[a];o&&(r=(u-o[n])/3,i[`cp1${n}`]=u-r,i[`cp1${a}`]=c-r*e[f]),l&&(r=(l[n]-u)/3,i[`cp2${n}`]=u+r,i[`cp2${a}`]=c+r*e[f])}}(t,l,e)}(t,o);else{let n=r?t[t.length-1]:t[0];for(i=0,a=t.length;i<a;++i)l=function(t,e,n,r){let o=t.skip?e:t,i=n.skip?e:n,a=tP(e,o),u=tP(i,e),l=a/(a+u),f=u/(a+u);l=isNaN(l)?0:l,f=isNaN(f)?0:f;let c=r*l,s=r*f;return{previous:{x:e.x-c*(i.x-o.x),y:e.y-c*(i.y-o.y)},next:{x:e.x+s*(i.x-o.x),y:e.y+s*(i.y-o.y)}}}(n,u=t[i],t[Math.min(i+1,a-(r?0:1))%a],e.tension),u.cp1x=l.previous.x,u.cp1y=l.previous.y,u.cp2x=l.next.x,u.cp2y=l.next.y,n=u}e.capBezierPoints&&function(t,e){let n,r,o,i,a;let u=ef(t[0],e);for(n=0,r=t.length;n<r;++n)a=i,i=u,u=n<r-1&&ef(t[n+1],e),i&&(o=t[n],a&&(o.cp1x=eL(o.cp1x,e.left,e.right),o.cp1y=eL(o.cp1y,e.top,e.bottom)),u&&(o.cp2x=eL(o.cp2x,e.left,e.right),o.cp2y=eL(o.cp2y,e.top,e.bottom)))}(t,n)}function e$(){return"undefined"!=typeof window&&"undefined"!=typeof document}function eX(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 eV=t=>t.ownerDocument.defaultView.getComputedStyle(t,null),eZ=["top","right","bottom","left"];function eq(t,e,n){let r={};n=n?"-"+n:"";for(let o=0;o<4;o++){let i=eZ[o];r[i]=parseFloat(t[e+"-"+i+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}let eQ=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function eK(t,e){if("native"in t)return t;let{canvas:n,currentDevicePixelRatio:r}=e,o=eV(n),i="border-box"===o.boxSizing,a=eq(o,"padding"),u=eq(o,"border","width"),{x:l,y:f,box:c}=function(t,e){let n,r;let o=t.touches,i=o&&o.length?o[0]:t,{offsetX:a,offsetY:u}=i,l=!1;if(eQ(a,u,t.target))n=a,r=u;else{let t=e.getBoundingClientRect();n=i.clientX-t.left,r=i.clientY-t.top,l=!0}return{x:n,y:r,box:l}}(t,n),s=a.left+(c&&u.left),d=a.top+(c&&u.top),{width:h,height:p}=e;return i&&(h-=a.width+u.width,p-=a.height+u.height),{x:Math.round((l-s)/h*n.width/r),y:Math.round((f-d)/p*n.height/r)}}let eU=t=>Math.round(10*t)/10;function eJ(t,e,n,r){let o=eV(t),i=eq(o,"margin"),a=ez(o.maxWidth,t,"clientWidth")||tf,u=ez(o.maxHeight,t,"clientHeight")||tf,l=function(t,e,n){let r,o;if(void 0===e||void 0===n){let i=eX(t);if(i){let t=i.getBoundingClientRect(),a=eV(i),u=eq(a,"border","width"),l=eq(a,"padding");e=t.width-l.width-u.width,n=t.height-l.height-u.height,r=ez(a.maxWidth,i,"clientWidth"),o=ez(a.maxHeight,i,"clientHeight")}else e=t.clientWidth,n=t.clientHeight}return{width:e,height:n,maxWidth:r||tf,maxHeight:o||tf}}(t,e,n),{width:f,height:c}=l;if("content-box"===o.boxSizing){let t=eq(o,"border","width"),e=eq(o,"padding");f-=e.width+t.width,c-=e.height+t.height}f=Math.max(0,f-i.width),c=Math.max(0,r?f/r:c-i.height),f=eU(Math.min(f,a,l.maxWidth)),c=eU(Math.min(c,u,l.maxHeight)),f&&!c&&(c=eU(f/2));let s=void 0!==e||void 0!==n;return s&&r&&l.height&&c>l.height&&(f=eU(Math.floor((c=l.height)*r))),{width:f,height:c}}function eG(t,e,n){let r=e||1,o=Math.floor(t.height*r),i=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=`${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)}let e0=function(){let t=!1;try{let e={get passive(){return t=!0,!1}};window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(t){}return t}();function e1(t,e){let n=eV(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 e5(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 e8(t,e,n,r){let o={x:t.cp2x,y:t.cp2y},i={x:e.cp1x,y:e.cp1y},a=e2(t,o,n),u=e2(o,i,n),l=e2(i,e,n),f=e2(a,u,n),c=e2(u,l,n);return e2(f,c,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 e3(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 e6(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function e9(t){return"angle"===t?{between:tS,compare:tj,normalize:tT}:{between:tC,compare:(t,e)=>t-e,normalize:t=>t}}function e7({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 nt(t,e,n){let r,o,i;if(!n)return[t];let{property:a,start:u,end:l}=n,f=e.length,{compare:c,between:s,normalize:d}=e9(a),{start:h,end:p,loop:g,style:b}=function(t,e,n){let r;let{property:o,start:i,end:a}=n,{between:u,normalize:l}=e9(o),f=e.length,{start:c,end:s,loop:d}=t;if(d){for(c+=f,s+=f,r=0;r<f&&u(l(e[c%f][o]),i,a);++r)c--,s--;c%=f,s%=f}return s<c&&(s+=f),{start:c,end:s,loop:d,style:t.style}}(t,e,n),m=[],v=!1,y=null,x=()=>s(u,i,r)&&0!==c(u,i),w=()=>0===c(l,r)||s(l,i,r),M=()=>v||x(),O=()=>!v||w();for(let t=h,n=h;t<=p;++t)(o=e[t%f]).skip||(r=d(o[a]))===i||(v=s(r,u,l),null===y&&M()&&(y=0===c(r,u)?t:n),null!==y&&O()&&(m.push(e7({start:y,end:t,loop:g,count:f,style:b})),y=null),n=t,i=r);return null!==y&&m.push(e7({start:y,end:p,loop:g,count:f,style:b})),m}function ne(t,e){let n=[],r=t.segments;for(let o=0;o<r.length;o++){let i=nt(r[o],t.points,e);i.length&&n.push(...i)}return n}function nn(t,e){let n=t.points,r=t.options.spanGaps,o=n.length;if(!o)return[];let i=!!t._loop,{start:a,end:u}=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{start:o,end:i%=e}}(n,o,i,r);if(!0===r)return nr(t,[{start:a,end:u,loop:i}],n,e);let l=u<a?u+o:u,f=!!t._fullLoop&&0===a&&u===o-1;return nr(t,function(t,e,n,r){let o;let i=t.length,a=[],u=e,l=t[e];for(o=e+1;o<=n;++o){let n=t[o%i];n.skip||n.stop?l.skip||(r=!1,a.push({start:e%i,end:(o-1)%i,loop:r}),e=u=n.stop?o:null):(u=o,l.skip&&(e=o)),l=n}return null!==u&&a.push({start:e%i,end:u%i,loop:r}),a}(n,a,l,f),n,e)}function nr(t,e,n,r){return r&&r.setContext&&n?function(t,e,n,r){let o=t._chart.getContext(),i=no(t.options),{_datasetIndex:a,options:{spanGaps:u}}=t,l=n.length,f=[],c=i,s=e[0].start,d=s;function h(t,e,r,o){let i=u?-1:1;if(t!==e){for(t+=l;n[t%l].skip;)t-=i;for(;n[e%l].skip;)e+=i;t%l!=e%l&&(f.push({start:t%l,end:e%l,loop:r,style:o}),c=o,s=e%l)}}for(let t of e){let e;let i=n[(s=u?s:t.start)%l];for(d=s+1;d<=t.end;d++){let u=n[d%l];(function(t,e){if(!e)return!1;let n=[],r=function(t,e){return tG(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(o,{type:"segment",p0:i,p1:u,p0DataIndex:(d-1)%l,p1DataIndex:d%l,datasetIndex:a}))),c)&&h(s,d-1,t.loop,c),i=u,c=e}s<d-1&&h(s,d-1,t.loop,c)}return f}(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}}},26495:function(t,e,n){"use strict";n.d(e,{x1:function(){return c}});var r,o=n(67294),i=n(23148);let a="label";function u(t,e){"function"==typeof t?t(e):t&&(t.current=e)}function l(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a,r=[];t.datasets=e.map(e=>{let o=t.datasets.find(t=>t[n]===e[n]);return!o||!e.data||r.includes(o)?{...e}:(r.push(o),Object.assign(o,e),o)})}let f=(0,o.forwardRef)(function(t,e){let{height:n=150,width:r=300,redraw:f=!1,datasetIdKey:c,type:s,data:d,options:h,plugins:p=[],fallbackContent:g,updateMode:b,...m}=t,v=(0,o.useRef)(null),y=(0,o.useRef)(),x=()=>{v.current&&(y.current=new i.kL(v.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,l(r,t.datasets,n),r}(d,c),options:h&&{...h},plugins:p}),u(e,y.current))},w=()=>{u(e,null),y.current&&(y.current.destroy(),y.current=null)};return(0,o.useEffect)(()=>{!f&&y.current&&h&&function(t,e){let n=t.options;n&&e&&Object.assign(n,e)}(y.current,h)},[f,h]),(0,o.useEffect)(()=>{if(!f&&y.current){var t,e;t=y.current.config.data,e=d.labels,t.labels=e}},[f,d.labels]),(0,o.useEffect)(()=>{!f&&y.current&&d.datasets&&l(y.current.config.data,d.datasets,c)},[f,d.datasets]),(0,o.useEffect)(()=>{y.current&&(f?(w(),setTimeout(x)):y.current.update(b))},[f,h,d.labels,d.datasets,b]),(0,o.useEffect)(()=>{y.current&&(w(),setTimeout(x))},[s]),(0,o.useEffect)(()=>(x(),()=>w()),[]),o.createElement("canvas",Object.assign({ref:v,role:"img",height:n,width:r},m),g)}),c=(r=i.ST,i.kL.register(r),(0,o.forwardRef)((t,e)=>o.createElement(f,Object.assign({},t,{ref:e,type:"line"}))))}}]); |