@cagatayfdn/flora-components 0.0.47 → 0.0.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -24,7 +24,7 @@ Check the render method of \``+M+"`."}return""}}function U(M){{if(M!==void 0){va
24
24
 
25
25
  Check your code at `+q+":"+ne+"."}return""}}var ie={};function $(M){{var q=N();if(!q){var ne=typeof M=="string"?M:M.displayName||M.name;ne&&(q=`
26
26
 
27
- Check the top-level render call using <`+ne+">.")}return q}}function oe(M,q){{if(!M._store||M._store.validated||M.key!=null)return;M._store.validated=!0;var ne=$(q);if(ie[ne])return;ie[ne]=!0;var ce="";M&&M._owner&&M._owner!==Et.current&&(ce=" It was passed a child from "+B(M._owner.type)+"."),Mn(M),A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ne,ce),Mn(null)}}function ae(M,q){{if(typeof M!="object")return;if(At(M))for(var ne=0;ne<M.length;ne++){var ce=M[ne];k(ce)&&oe(ce,q)}else if(k(M))M._store&&(M._store.validated=!0);else if(M){var Ie=m(M);if(typeof Ie=="function"&&Ie!==M.entries)for(var Se=Ie.call(M),ve;!(ve=Se.next()).done;)k(ve.value)&&oe(ve.value,q)}}}function he(M){{var q=M.type;if(q==null||typeof q=="string")return;var ne;if(typeof q=="function")ne=q.propTypes;else if(typeof q=="object"&&(q.$$typeof===l||q.$$typeof===d))ne=q.propTypes;else return;if(ne){var ce=B(q);We(ne,M.props,"prop",ce,M)}else if(q.PropTypes!==void 0&&!I){I=!0;var Ie=B(q);A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Ie||"Unknown")}typeof q.getDefaultProps=="function"&&!q.getDefaultProps.isReactClassApproved&&A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function pe(M){{for(var q=Object.keys(M.props),ne=0;ne<q.length;ne++){var ce=q[ne];if(ce!=="children"&&ce!=="key"){Mn(M),A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ce),Mn(null);break}}M.ref!==null&&(Mn(M),A("Invalid attribute `ref` supplied to `React.Fragment`."),Mn(null))}}function Me(M,q,ne,ce,Ie,Se){{var ve=T(M);if(!ve){var me="";(M===void 0||typeof M=="object"&&M!==null&&Object.keys(M).length===0)&&(me+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var rt=U(Ie);rt?me+=rt:me+=N();var Xe;M===null?Xe="null":At(M)?Xe="array":M!==void 0&&M.$$typeof===t?(Xe="<"+(B(M.type)||"Unknown")+" />",me=" Did you accidentally export a JSX literal instead of a component?"):Xe=typeof M,A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Xe,me)}var Qe=ps(M,q,ne,Ie,Se);if(Qe==null)return Qe;if(ve){var Rt=q.children;if(Rt!==void 0)if(ce)if(At(Rt)){for(var xi=0;xi<Rt.length;xi++)ae(Rt[xi],M);Object.freeze&&Object.freeze(Rt)}else A("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else ae(Rt,M)}return M===i?pe(Qe):he(Qe),Qe}}function pt(M,q,ne){return Me(M,q,ne,!0)}function et(M,q,ne){return Me(M,q,ne,!1)}var wi=et,St=pt;hr.Fragment=i,hr.jsx=wi,hr.jsxs=St}()),hr}process.env.NODE_ENV==="production"?tl.exports=Jb():tl.exports=Qb();var v=tl.exports,rg={exports:{}};/*!
27
+ Check the top-level render call using <`+ne+">.")}return q}}function oe(M,q){{if(!M._store||M._store.validated||M.key!=null)return;M._store.validated=!0;var ne=$(q);if(ie[ne])return;ie[ne]=!0;var ce="";M&&M._owner&&M._owner!==Et.current&&(ce=" It was passed a child from "+B(M._owner.type)+"."),Mn(M),A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ne,ce),Mn(null)}}function ae(M,q){{if(typeof M!="object")return;if(At(M))for(var ne=0;ne<M.length;ne++){var ce=M[ne];k(ce)&&oe(ce,q)}else if(k(M))M._store&&(M._store.validated=!0);else if(M){var Ie=m(M);if(typeof Ie=="function"&&Ie!==M.entries)for(var Se=Ie.call(M),ve;!(ve=Se.next()).done;)k(ve.value)&&oe(ve.value,q)}}}function he(M){{var q=M.type;if(q==null||typeof q=="string")return;var ne;if(typeof q=="function")ne=q.propTypes;else if(typeof q=="object"&&(q.$$typeof===l||q.$$typeof===d))ne=q.propTypes;else return;if(ne){var ce=B(q);We(ne,M.props,"prop",ce,M)}else if(q.PropTypes!==void 0&&!I){I=!0;var Ie=B(q);A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Ie||"Unknown")}typeof q.getDefaultProps=="function"&&!q.getDefaultProps.isReactClassApproved&&A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function pe(M){{for(var q=Object.keys(M.props),ne=0;ne<q.length;ne++){var ce=q[ne];if(ce!=="children"&&ce!=="key"){Mn(M),A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ce),Mn(null);break}}M.ref!==null&&(Mn(M),A("Invalid attribute `ref` supplied to `React.Fragment`."),Mn(null))}}function Me(M,q,ne,ce,Ie,Se){{var ve=T(M);if(!ve){var me="";(M===void 0||typeof M=="object"&&M!==null&&Object.keys(M).length===0)&&(me+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var rt=U(Ie);rt?me+=rt:me+=N();var Xe;M===null?Xe="null":At(M)?Xe="array":M!==void 0&&M.$$typeof===t?(Xe="<"+(B(M.type)||"Unknown")+" />",me=" Did you accidentally export a JSX literal instead of a component?"):Xe=typeof M,A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Xe,me)}var Qe=ps(M,q,ne,Ie,Se);if(Qe==null)return Qe;if(ve){var Rt=q.children;if(Rt!==void 0)if(ce)if(At(Rt)){for(var xi=0;xi<Rt.length;xi++)ae(Rt[xi],M);Object.freeze&&Object.freeze(Rt)}else A("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else ae(Rt,M)}return M===i?pe(Qe):he(Qe),Qe}}function pt(M,q,ne){return Me(M,q,ne,!0)}function tt(M,q,ne){return Me(M,q,ne,!1)}var wi=tt,St=pt;hr.Fragment=i,hr.jsx=wi,hr.jsxs=St}()),hr}process.env.NODE_ENV==="production"?tl.exports=Jb():tl.exports=Qb();var v=tl.exports,rg={exports:{}};/*!
28
28
  Copyright (c) 2017 Jed Watson.
29
29
  Licensed under the MIT License (MIT), see
30
30
  http://jedwatson.github.io/classnames
@@ -200,14 +200,14 @@ Valid keys: `+JSON.stringify(Object.keys(Z),null," "));var K=ue(Q,re,Y,J,D+"."+
200
200
  * https://github.com/kurkle/color#readme
201
201
  * (c) 2022 Jukka Kurkela
202
202
  * Released under the MIT License
203
- */function os(n){return n+.5|0}const Tn=(n,t,e)=>Math.max(Math.min(n,e),t);function Sr(n){return Tn(os(n*2.55),0,255)}function Fn(n){return Tn(os(n*255),0,255)}function bn(n){return Tn(os(n/2.55)/100,0,1)}function mf(n){return Tn(os(n*100),0,100)}const Dt={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},Ml=[..."0123456789ABCDEF"],j5=n=>Ml[n&15],P5=n=>Ml[(n&240)>>4]+Ml[n&15],Ss=n=>(n&240)>>4===(n&15),F5=n=>Ss(n.r)&&Ss(n.g)&&Ss(n.b)&&Ss(n.a);function H5(n){var t=n.length,e;return n[0]==="#"&&(t===4||t===5?e={r:255&Dt[n[1]]*17,g:255&Dt[n[2]]*17,b:255&Dt[n[3]]*17,a:t===5?Dt[n[4]]*17:255}:(t===7||t===9)&&(e={r:Dt[n[1]]<<4|Dt[n[2]],g:Dt[n[3]]<<4|Dt[n[4]],b:Dt[n[5]]<<4|Dt[n[6]],a:t===9?Dt[n[7]]<<4|Dt[n[8]]:255})),e}const z5=(n,t)=>n<255?t(n):"";function Z5(n){var t=F5(n)?j5:P5;return n?"#"+t(n.r)+t(n.g)+t(n.b)+z5(n.a,t):void 0}const Y5=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Yp(n,t,e){const i=t*Math.min(e,1-e),r=(s,a=(s+n/30)%12)=>e-i*Math.max(Math.min(a-3,9-a,1),-1);return[r(0),r(8),r(4)]}function W5(n,t,e){const i=(r,s=(r+n/60)%6)=>e-e*t*Math.max(Math.min(s,4-s,1),0);return[i(5),i(3),i(1)]}function X5(n,t,e){const i=Yp(n,1,.5);let r;for(t+e>1&&(r=1/(t+e),t*=r,e*=r),r=0;r<3;r++)i[r]*=1-t-e,i[r]+=t;return i}function V5(n,t,e,i,r){return n===r?(t-e)/i+(t<e?6:0):t===r?(e-n)/i+2:(n-t)/i+4}function jc(n){const e=n.r/255,i=n.g/255,r=n.b/255,s=Math.max(e,i,r),a=Math.min(e,i,r),o=(s+a)/2;let l,c,u;return s!==a&&(u=s-a,c=o>.5?u/(2-s-a):u/(s+a),l=V5(e,i,r,u,s),l=l*60+.5),[l|0,c||0,o]}function Pc(n,t,e,i){return(Array.isArray(t)?n(t[0],t[1],t[2]):n(t,e,i)).map(Fn)}function Fc(n,t,e){return Pc(Yp,n,t,e)}function J5(n,t,e){return Pc(X5,n,t,e)}function Q5(n,t,e){return Pc(W5,n,t,e)}function Wp(n){return(n%360+360)%360}function U5(n){const t=Y5.exec(n);let e=255,i;if(!t)return;t[5]!==i&&(e=t[6]?Sr(+t[5]):Fn(+t[5]));const r=Wp(+t[2]),s=+t[3]/100,a=+t[4]/100;return t[1]==="hwb"?i=J5(r,s,a):t[1]==="hsv"?i=Q5(r,s,a):i=Fc(r,s,a),{r:i[0],g:i[1],b:i[2],a:e}}function K5(n,t){var e=jc(n);e[0]=Wp(e[0]+t),e=Fc(e),n.r=e[0],n.g=e[1],n.b=e[2]}function q5(n){if(!n)return;const t=jc(n),e=t[0],i=mf(t[1]),r=mf(t[2]);return n.a<255?`hsla(${e}, ${i}%, ${r}%, ${bn(n.a)})`:`hsl(${e}, ${i}%, ${r}%)`}const bf={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"},vf={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function $5(){const n={},t=Object.keys(vf),e=Object.keys(bf);let i,r,s,a,o;for(i=0;i<t.length;i++){for(a=o=t[i],r=0;r<e.length;r++)s=e[r],o=o.replace(s,bf[s]);s=parseInt(vf[a],16),n[o]=[s>>16&255,s>>8&255,s&255]}return n}let Rs;function eJ(n){Rs||(Rs=$5(),Rs.transparent=[0,0,0,0]);const t=Rs[n.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}const tJ=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function nJ(n){const t=tJ.exec(n);let e=255,i,r,s;if(t){if(t[7]!==i){const a=+t[7];e=t[8]?Sr(a):Tn(a*255,0,255)}return i=+t[1],r=+t[3],s=+t[5],i=255&(t[2]?Sr(i):Tn(i,0,255)),r=255&(t[4]?Sr(r):Tn(r,0,255)),s=255&(t[6]?Sr(s):Tn(s,0,255)),{r:i,g:r,b:s,a:e}}}function iJ(n){return n&&(n.a<255?`rgba(${n.r}, ${n.g}, ${n.b}, ${bn(n.a)})`:`rgb(${n.r}, ${n.g}, ${n.b})`)}const Ro=n=>n<=.0031308?n*12.92:Math.pow(n,1/2.4)*1.055-.055,Ri=n=>n<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4);function rJ(n,t,e){const i=Ri(bn(n.r)),r=Ri(bn(n.g)),s=Ri(bn(n.b));return{r:Fn(Ro(i+e*(Ri(bn(t.r))-i))),g:Fn(Ro(r+e*(Ri(bn(t.g))-r))),b:Fn(Ro(s+e*(Ri(bn(t.b))-s))),a:n.a+e*(t.a-n.a)}}function Ms(n,t,e){if(n){let i=jc(n);i[t]=Math.max(0,Math.min(i[t]+i[t]*e,t===0?360:1)),i=Fc(i),n.r=i[0],n.g=i[1],n.b=i[2]}}function Xp(n,t){return n&&Object.assign(t||{},n)}function yf(n){var t={r:0,g:0,b:0,a:255};return Array.isArray(n)?n.length>=3&&(t={r:n[0],g:n[1],b:n[2],a:255},n.length>3&&(t.a=Fn(n[3]))):(t=Xp(n,{r:0,g:0,b:0,a:1}),t.a=Fn(t.a)),t}function sJ(n){return n.charAt(0)==="r"?nJ(n):U5(n)}class ga{constructor(t){if(t instanceof ga)return t;const e=typeof t;let i;e==="object"?i=yf(t):e==="string"&&(i=H5(t)||eJ(t)||sJ(t)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var t=Xp(this._rgb);return t&&(t.a=bn(t.a)),t}set rgb(t){this._rgb=yf(t)}rgbString(){return this._valid?iJ(this._rgb):void 0}hexString(){return this._valid?Z5(this._rgb):void 0}hslString(){return this._valid?q5(this._rgb):void 0}mix(t,e){if(t){const i=this.rgb,r=t.rgb;let s;const a=e===s?.5:e,o=2*a-1,l=i.a-r.a,c=((o*l===-1?o:(o+l)/(1+o*l))+1)/2;s=1-c,i.r=255&c*i.r+s*r.r+.5,i.g=255&c*i.g+s*r.g+.5,i.b=255&c*i.b+s*r.b+.5,i.a=a*i.a+(1-a)*r.a,this.rgb=i}return this}interpolate(t,e){return t&&(this._rgb=rJ(this._rgb,t._rgb,e)),this}clone(){return new ga(this.rgb)}alpha(t){return this._rgb.a=Fn(t),this}clearer(t){const e=this._rgb;return e.a*=1-t,this}greyscale(){const t=this._rgb,e=os(t.r*.3+t.g*.59+t.b*.11);return t.r=t.g=t.b=e,this}opaquer(t){const e=this._rgb;return e.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return Ms(this._rgb,2,t),this}darken(t){return Ms(this._rgb,2,-t),this}saturate(t){return Ms(this._rgb,1,t),this}desaturate(t){return Ms(this._rgb,1,-t),this}rotate(t){return K5(this._rgb,t),this}}function Vp(n){return new ga(n)}function Jp(n){if(n&&typeof n=="object"){const t=n.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function Af(n){return Jp(n)?n:Vp(n)}function Mo(n){return Jp(n)?n:Vp(n).saturate(.5).darken(.1).hexString()}const hi=Object.create(null),Dl=Object.create(null);function Nr(n,t){if(!t)return n;const e=t.split(".");for(let i=0,r=e.length;i<r;++i){const s=e[i];n=n[s]||(n[s]=Object.create(null))}return n}function Do(n,t,e){return typeof t=="string"?Wr(Nr(n,t),e):Wr(Nr(n,""),t)}class aJ{constructor(t){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=e=>e.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=(e,i)=>Mo(i.backgroundColor),this.hoverBorderColor=(e,i)=>Mo(i.borderColor),this.hoverColor=(e,i)=>Mo(i.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t)}set(t,e){return Do(this,t,e)}get(t){return Nr(this,t)}describe(t,e){return Do(Dl,t,e)}override(t,e){return Do(hi,t,e)}route(t,e,i,r){const s=Nr(this,t),a=Nr(this,i),o="_"+e;Object.defineProperties(s,{[o]:{value:s[e],writable:!0},[e]:{enumerable:!0,get(){const l=this[o],c=a[r];return Ae(l)?Object.assign({},c,l):ge(l,c)},set(l){this[o]=l}}})}}var Ce=new aJ({_scriptable:n=>!n.startsWith("on"),_indexable:n=>n!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function oJ(n){return!n||Ee(n.size)||Ee(n.family)?null:(n.style?n.style+" ":"")+(n.weight?n.weight+" ":"")+n.size+"px "+n.family}function pa(n,t,e,i,r){let s=t[r];return s||(s=t[r]=n.measureText(r).width,e.push(r)),s>i&&(i=s),i}function lJ(n,t,e,i){i=i||{};let r=i.data=i.data||{},s=i.garbageCollect=i.garbageCollect||[];i.font!==t&&(r=i.data={},s=i.garbageCollect=[],i.font=t),n.save(),n.font=t;let a=0;const o=e.length;let l,c,u,d,h;for(l=0;l<o;l++)if(d=e[l],d!=null&&Ne(d)!==!0)a=pa(n,r,s,a,d);else if(Ne(d))for(c=0,u=d.length;c<u;c++)h=d[c],h!=null&&!Ne(h)&&(a=pa(n,r,s,a,h));n.restore();const g=s.length/2;if(g>e.length){for(l=0;l<g;l++)delete r[s[l]];s.splice(0,g)}return a}function Kn(n,t,e){const i=n.currentDevicePixelRatio,r=e!==0?Math.max(e/2,.5):0;return Math.round((t-r)*i)/i+r}function Cf(n,t){t=t||n.getContext("2d"),t.save(),t.resetTransform(),t.clearRect(0,0,n.width,n.height),t.restore()}function Bl(n,t,e,i){Qp(n,t,e,i,null)}function Qp(n,t,e,i,r){let s,a,o,l,c,u;const d=t.pointStyle,h=t.rotation,g=t.radius;let f=(h||0)*S5;if(d&&typeof d=="object"&&(s=d.toString(),s==="[object HTMLImageElement]"||s==="[object HTMLCanvasElement]")){n.save(),n.translate(e,i),n.rotate(f),n.drawImage(d,-d.width/2,-d.height/2,d.width,d.height),n.restore();return}if(!(isNaN(g)||g<=0)){switch(n.beginPath(),d){default:r?n.ellipse(e,i,r/2,g,0,0,De):n.arc(e,i,g,0,De),n.closePath();break;case"triangle":n.moveTo(e+Math.sin(f)*g,i-Math.cos(f)*g),f+=uf,n.lineTo(e+Math.sin(f)*g,i-Math.cos(f)*g),f+=uf,n.lineTo(e+Math.sin(f)*g,i-Math.cos(f)*g),n.closePath();break;case"rectRounded":c=g*.516,l=g-c,a=Math.cos(f+yr)*l,o=Math.sin(f+yr)*l,n.arc(e-a,i-o,c,f-ze,f-Ze),n.arc(e+o,i-a,c,f-Ze,f),n.arc(e+a,i+o,c,f,f+Ze),n.arc(e-o,i+a,c,f+Ze,f+ze),n.closePath();break;case"rect":if(!h){l=Math.SQRT1_2*g,u=r?r/2:l,n.rect(e-u,i-l,2*u,2*l);break}f+=yr;case"rectRot":a=Math.cos(f)*g,o=Math.sin(f)*g,n.moveTo(e-a,i-o),n.lineTo(e+o,i-a),n.lineTo(e+a,i+o),n.lineTo(e-o,i+a),n.closePath();break;case"crossRot":f+=yr;case"cross":a=Math.cos(f)*g,o=Math.sin(f)*g,n.moveTo(e-a,i-o),n.lineTo(e+a,i+o),n.moveTo(e+o,i-a),n.lineTo(e-o,i+a);break;case"star":a=Math.cos(f)*g,o=Math.sin(f)*g,n.moveTo(e-a,i-o),n.lineTo(e+a,i+o),n.moveTo(e+o,i-a),n.lineTo(e-o,i+a),f+=yr,a=Math.cos(f)*g,o=Math.sin(f)*g,n.moveTo(e-a,i-o),n.lineTo(e+a,i+o),n.moveTo(e+o,i-a),n.lineTo(e-o,i+a);break;case"line":a=r?r/2:Math.cos(f)*g,o=Math.sin(f)*g,n.moveTo(e-a,i-o),n.lineTo(e+a,i+o);break;case"dash":n.moveTo(e,i),n.lineTo(e+Math.cos(f)*g,i+Math.sin(f)*g);break}n.fill(),t.borderWidth>0&&n.stroke()}}function Vr(n,t,e){return e=e||.5,!t||n&&n.x>t.left-e&&n.x<t.right+e&&n.y>t.top-e&&n.y<t.bottom+e}function Fa(n,t){n.save(),n.beginPath(),n.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),n.clip()}function Ha(n){n.restore()}function cJ(n,t,e,i,r){if(!t)return n.lineTo(e.x,e.y);if(r==="middle"){const s=(t.x+e.x)/2;n.lineTo(s,t.y),n.lineTo(s,e.y)}else r==="after"!=!!i?n.lineTo(t.x,e.y):n.lineTo(e.x,t.y);n.lineTo(e.x,e.y)}function uJ(n,t,e,i){if(!t)return n.lineTo(e.x,e.y);n.bezierCurveTo(i?t.cp1x:t.cp2x,i?t.cp1y:t.cp2y,i?e.cp2x:e.cp1x,i?e.cp2y:e.cp1y,e.x,e.y)}function gi(n,t,e,i,r,s={}){const a=Ne(t)?t:[t],o=s.strokeWidth>0&&s.strokeColor!=="";let l,c;for(n.save(),n.font=r.string,dJ(n,s),l=0;l<a.length;++l)c=a[l],o&&(s.strokeColor&&(n.strokeStyle=s.strokeColor),Ee(s.strokeWidth)||(n.lineWidth=s.strokeWidth),n.strokeText(c,e,i,s.maxWidth)),n.fillText(c,e,i,s.maxWidth),fJ(n,e,i,c,s),i+=r.lineHeight;n.restore()}function dJ(n,t){t.translation&&n.translate(t.translation[0],t.translation[1]),Ee(t.rotation)||n.rotate(t.rotation),t.color&&(n.fillStyle=t.color),t.textAlign&&(n.textAlign=t.textAlign),t.textBaseline&&(n.textBaseline=t.textBaseline)}function fJ(n,t,e,i,r){if(r.strikethrough||r.underline){const s=n.measureText(i),a=t-s.actualBoundingBoxLeft,o=t+s.actualBoundingBoxRight,l=e-s.actualBoundingBoxAscent,c=e+s.actualBoundingBoxDescent,u=r.strikethrough?(l+c)/2:c;n.strokeStyle=n.fillStyle,n.beginPath(),n.lineWidth=r.decorationWidth||2,n.moveTo(a,u),n.lineTo(o,u),n.stroke()}}function Jr(n,t){const{x:e,y:i,w:r,h:s,radius:a}=t;n.arc(e+a.topLeft,i+a.topLeft,a.topLeft,-Ze,ze,!0),n.lineTo(e,i+s-a.bottomLeft),n.arc(e+a.bottomLeft,i+s-a.bottomLeft,a.bottomLeft,ze,Ze,!0),n.lineTo(e+r-a.bottomRight,i+s),n.arc(e+r-a.bottomRight,i+s-a.bottomRight,a.bottomRight,Ze,0,!0),n.lineTo(e+r,i+a.topRight),n.arc(e+r-a.topRight,i+a.topRight,a.topRight,0,-Ze,!0),n.lineTo(e+a.topLeft,i)}const hJ=new RegExp(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/),gJ=new RegExp(/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/);function pJ(n,t){const e=(""+n).match(hJ);if(!e||e[1]==="normal")return t*1.2;switch(n=+e[2],e[3]){case"px":return n;case"%":n/=100;break}return t*n}const mJ=n=>+n||0;function Hc(n,t){const e={},i=Ae(t),r=i?Object.keys(t):t,s=Ae(n)?i?a=>ge(n[a],n[t[a]]):a=>n[a]:()=>n;for(const a of r)e[a]=mJ(s(a));return e}function Up(n){return Hc(n,{top:"y",right:"x",bottom:"y",left:"x"})}function ci(n){return Hc(n,["topLeft","topRight","bottomLeft","bottomRight"])}function ht(n){const t=Up(n);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function $e(n,t){n=n||{},t=t||Ce.font;let e=ge(n.size,t.size);typeof e=="string"&&(e=parseInt(e,10));let i=ge(n.style,t.style);i&&!(""+i).match(gJ)&&(console.warn('Invalid font style specified: "'+i+'"'),i="");const r={family:ge(n.family,t.family),lineHeight:pJ(ge(n.lineHeight,t.lineHeight),e),size:e,style:i,weight:ge(n.weight,t.weight),string:""};return r.string=oJ(r),r}function Ds(n,t,e,i){let r=!0,s,a,o;for(s=0,a=n.length;s<a;++s)if(o=n[s],o!==void 0&&(t!==void 0&&typeof o=="function"&&(o=o(t),r=!1),e!==void 0&&Ne(o)&&(o=o[e%o.length],r=!1),o!==void 0))return i&&!r&&(i.cacheable=!1),o}function bJ(n,t,e){const{min:i,max:r}=n,s=Op(t,(r-i)/2),a=(o,l)=>e&&o===0?0:o+l;return{min:a(i,-Math.abs(s)),max:a(r,s)}}function Jn(n,t){return Object.assign(Object.create(n),t)}function zc(n,t=[""],e=n,i,r=()=>n[0]){jt(i)||(i=em("_fallback",n));const s={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:n,_rootScopes:e,_fallback:i,_getTarget:r,override:a=>zc([a,...n],t,e,i)};return new Proxy(s,{deleteProperty(a,o){return delete a[o],delete a._keys,delete n[0][o],!0},get(a,o){return qp(a,o,()=>_J(o,t,n,a))},getOwnPropertyDescriptor(a,o){return Reflect.getOwnPropertyDescriptor(a._scopes[0],o)},getPrototypeOf(){return Reflect.getPrototypeOf(n[0])},has(a,o){return wf(a).includes(o)},ownKeys(a){return wf(a)},set(a,o,l){const c=a._storage||(a._storage=r());return a[o]=c[o]=l,delete a._keys,!0}})}function Ji(n,t,e,i){const r={_cacheable:!1,_proxy:n,_context:t,_subProxy:e,_stack:new Set,_descriptors:Kp(n,i),setContext:s=>Ji(n,s,e,i),override:s=>Ji(n.override(s),t,e,i)};return new Proxy(r,{deleteProperty(s,a){return delete s[a],delete n[a],!0},get(s,a,o){return qp(s,a,()=>yJ(s,a,o))},getOwnPropertyDescriptor(s,a){return s._descriptors.allKeys?Reflect.has(n,a)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(n,a)},getPrototypeOf(){return Reflect.getPrototypeOf(n)},has(s,a){return Reflect.has(n,a)},ownKeys(){return Reflect.ownKeys(n)},set(s,a,o){return n[a]=o,delete s[a],!0}})}function Kp(n,t={scriptable:!0,indexable:!0}){const{_scriptable:e=t.scriptable,_indexable:i=t.indexable,_allKeys:r=t.allKeys}=n;return{allKeys:r,scriptable:e,indexable:i,isScriptable:Wn(e)?e:()=>e,isIndexable:Wn(i)?i:()=>i}}const vJ=(n,t)=>n?n+Oc(t):t,Zc=(n,t)=>Ae(t)&&n!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function qp(n,t,e){if(Object.prototype.hasOwnProperty.call(n,t))return n[t];const i=e();return n[t]=i,i}function yJ(n,t,e){const{_proxy:i,_context:r,_subProxy:s,_descriptors:a}=n;let o=i[t];return Wn(o)&&a.isScriptable(t)&&(o=AJ(t,o,n,e)),Ne(o)&&o.length&&(o=CJ(t,o,n,a.isIndexable)),Zc(t,o)&&(o=Ji(o,r,s&&s[t],a)),o}function AJ(n,t,e,i){const{_proxy:r,_context:s,_subProxy:a,_stack:o}=e;if(o.has(n))throw new Error("Recursion detected: "+Array.from(o).join("->")+"->"+n);return o.add(n),t=t(s,a||i),o.delete(n),Zc(n,t)&&(t=Yc(r._scopes,r,n,t)),t}function CJ(n,t,e,i){const{_proxy:r,_context:s,_subProxy:a,_descriptors:o}=e;if(jt(s.index)&&i(n))t=t[s.index%t.length];else if(Ae(t[0])){const l=t,c=r._scopes.filter(u=>u!==l);t=[];for(const u of l){const d=Yc(c,r,n,u);t.push(Ji(d,s,a&&a[n],o))}}return t}function $p(n,t,e){return Wn(n)?n(t,e):n}const IJ=(n,t)=>n===!0?t:typeof n=="string"?Yn(t,n):void 0;function wJ(n,t,e,i,r){for(const s of t){const a=IJ(e,s);if(a){n.add(a);const o=$p(a._fallback,e,r);if(jt(o)&&o!==e&&o!==i)return o}else if(a===!1&&jt(i)&&e!==i)return null}return!1}function Yc(n,t,e,i){const r=t._rootScopes,s=$p(t._fallback,e,i),a=[...n,...r],o=new Set;o.add(i);let l=If(o,a,e,s||e,i);return l===null||jt(s)&&s!==e&&(l=If(o,a,s,l,i),l===null)?!1:zc(Array.from(o),[""],r,s,()=>xJ(t,e,i))}function If(n,t,e,i,r){for(;e;)e=wJ(n,t,e,i,r);return e}function xJ(n,t,e){const i=n._getTarget();t in i||(i[t]={});const r=i[t];return Ne(r)&&Ae(e)?e:r}function _J(n,t,e,i){let r;for(const s of t)if(r=em(vJ(s,n),e),jt(r))return Zc(n,r)?Yc(e,i,n,r):r}function em(n,t){for(const e of t){if(!e)continue;const i=e[n];if(jt(i))return i}}function wf(n){let t=n._keys;return t||(t=n._keys=kJ(n._scopes)),t}function kJ(n){const t=new Set;for(const e of n)for(const i of Object.keys(e).filter(r=>!r.startsWith("_")))t.add(i);return Array.from(t)}function tm(n,t,e,i){const{iScale:r}=n,{key:s="r"}=this._parsing,a=new Array(i);let o,l,c,u;for(o=0,l=i;o<l;++o)c=o+e,u=t[c],a[o]={r:r.parse(Yn(u,s),c)};return a}const EJ=Number.EPSILON||1e-14,Qi=(n,t)=>t<n.length&&!n[t].skip&&n[t],nm=n=>n==="x"?"y":"x";function SJ(n,t,e,i){const r=n.skip?t:n,s=t,a=e.skip?t:e,o=Rl(s,r),l=Rl(a,s);let c=o/(o+l),u=l/(o+l);c=isNaN(c)?0:c,u=isNaN(u)?0:u;const d=i*c,h=i*u;return{previous:{x:s.x-d*(a.x-r.x),y:s.y-d*(a.y-r.y)},next:{x:s.x+h*(a.x-r.x),y:s.y+h*(a.y-r.y)}}}function RJ(n,t,e){const i=n.length;let r,s,a,o,l,c=Qi(n,0);for(let u=0;u<i-1;++u)if(l=c,c=Qi(n,u+1),!(!l||!c)){if(Gr(t[u],0,EJ)){e[u]=e[u+1]=0;continue}r=e[u]/t[u],s=e[u+1]/t[u],o=Math.pow(r,2)+Math.pow(s,2),!(o<=9)&&(a=3/Math.sqrt(o),e[u]=r*a*t[u],e[u+1]=s*a*t[u])}}function MJ(n,t,e="x"){const i=nm(e),r=n.length;let s,a,o,l=Qi(n,0);for(let c=0;c<r;++c){if(a=o,o=l,l=Qi(n,c+1),!o)continue;const u=o[e],d=o[i];a&&(s=(u-a[e])/3,o[`cp1${e}`]=u-s,o[`cp1${i}`]=d-s*t[c]),l&&(s=(l[e]-u)/3,o[`cp2${e}`]=u+s,o[`cp2${i}`]=d+s*t[c])}}function DJ(n,t="x"){const e=nm(t),i=n.length,r=Array(i).fill(0),s=Array(i);let a,o,l,c=Qi(n,0);for(a=0;a<i;++a)if(o=l,l=c,c=Qi(n,a+1),!!l){if(c){const u=c[t]-l[t];r[a]=u!==0?(c[e]-l[e])/u:0}s[a]=o?c?rn(r[a-1])!==rn(r[a])?0:(r[a-1]+r[a])/2:r[a-1]:r[a]}RJ(n,r,s),MJ(n,s,t)}function Bs(n,t,e){return Math.max(Math.min(n,e),t)}function BJ(n,t){let e,i,r,s,a,o=Vr(n[0],t);for(e=0,i=n.length;e<i;++e)a=s,s=o,o=e<i-1&&Vr(n[e+1],t),s&&(r=n[e],a&&(r.cp1x=Bs(r.cp1x,t.left,t.right),r.cp1y=Bs(r.cp1y,t.top,t.bottom)),o&&(r.cp2x=Bs(r.cp2x,t.left,t.right),r.cp2y=Bs(r.cp2y,t.top,t.bottom)))}function GJ(n,t,e,i,r){let s,a,o,l;if(t.spanGaps&&(n=n.filter(c=>!c.skip)),t.cubicInterpolationMode==="monotone")DJ(n,r);else{let c=i?n[n.length-1]:n[0];for(s=0,a=n.length;s<a;++s)o=n[s],l=SJ(c,o,n[Math.min(s+1,a-(i?0:1))%a],t.tension),o.cp1x=l.previous.x,o.cp1y=l.previous.y,o.cp2x=l.next.x,o.cp2y=l.next.y,c=o}t.capBezierPoints&&BJ(n,e)}function im(){return typeof window<"u"&&typeof document<"u"}function Wc(n){let t=n.parentNode;return t&&t.toString()==="[object ShadowRoot]"&&(t=t.host),t}function ma(n,t,e){let i;return typeof n=="string"?(i=parseInt(n,10),n.indexOf("%")!==-1&&(i=i/100*t.parentNode[e])):i=n,i}const za=n=>window.getComputedStyle(n,null);function OJ(n,t){return za(n).getPropertyValue(t)}const NJ=["top","right","bottom","left"];function ui(n,t,e){const i={};e=e?"-"+e:"";for(let r=0;r<4;r++){const s=NJ[r];i[s]=parseFloat(n[t+"-"+s+e])||0}return i.width=i.left+i.right,i.height=i.top+i.bottom,i}const TJ=(n,t,e)=>(n>0||t>0)&&(!e||!e.shadowRoot);function LJ(n,t){const e=n.touches,i=e&&e.length?e[0]:n,{offsetX:r,offsetY:s}=i;let a=!1,o,l;if(TJ(r,s,n.target))o=r,l=s;else{const c=t.getBoundingClientRect();o=i.clientX-c.left,l=i.clientY-c.top,a=!0}return{x:o,y:l,box:a}}function ii(n,t){if("native"in n)return n;const{canvas:e,currentDevicePixelRatio:i}=t,r=za(e),s=r.boxSizing==="border-box",a=ui(r,"padding"),o=ui(r,"border","width"),{x:l,y:c,box:u}=LJ(n,e),d=a.left+(u&&o.left),h=a.top+(u&&o.top);let{width:g,height:f}=t;return s&&(g-=a.width+o.width,f-=a.height+o.height),{x:Math.round((l-d)/g*e.width/i),y:Math.round((c-h)/f*e.height/i)}}function jJ(n,t,e){let i,r;if(t===void 0||e===void 0){const s=Wc(n);if(!s)t=n.clientWidth,e=n.clientHeight;else{const a=s.getBoundingClientRect(),o=za(s),l=ui(o,"border","width"),c=ui(o,"padding");t=a.width-c.width-l.width,e=a.height-c.height-l.height,i=ma(o.maxWidth,s,"clientWidth"),r=ma(o.maxHeight,s,"clientHeight")}}return{width:t,height:e,maxWidth:i||ha,maxHeight:r||ha}}const Bo=n=>Math.round(n*10)/10;function PJ(n,t,e,i){const r=za(n),s=ui(r,"margin"),a=ma(r.maxWidth,n,"clientWidth")||ha,o=ma(r.maxHeight,n,"clientHeight")||ha,l=jJ(n,t,e);let{width:c,height:u}=l;if(r.boxSizing==="content-box"){const d=ui(r,"border","width"),h=ui(r,"padding");c-=h.width+d.width,u-=h.height+d.height}return c=Math.max(0,c-s.width),u=Math.max(0,i?Math.floor(c/i):u-s.height),c=Bo(Math.min(c,a,l.maxWidth)),u=Bo(Math.min(u,o,l.maxHeight)),c&&!u&&(u=Bo(c/2)),{width:c,height:u}}function xf(n,t,e){const i=t||1,r=Math.floor(n.height*i),s=Math.floor(n.width*i);n.height=r/i,n.width=s/i;const a=n.canvas;return a.style&&(e||!a.style.height&&!a.style.width)&&(a.style.height=`${n.height}px`,a.style.width=`${n.width}px`),n.currentDevicePixelRatio!==i||a.height!==r||a.width!==s?(n.currentDevicePixelRatio=i,a.height=r,a.width=s,n.ctx.setTransform(i,0,0,i,0,0),!0):!1}const FJ=function(){let n=!1;try{const t={get passive(){return n=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch{}return n}();function _f(n,t){const e=OJ(n,t),i=e&&e.match(/^(\d+)(\.\d+)?px$/);return i?+i[1]:void 0}function ri(n,t,e,i){return{x:n.x+e*(t.x-n.x),y:n.y+e*(t.y-n.y)}}function HJ(n,t,e,i){return{x:n.x+e*(t.x-n.x),y:i==="middle"?e<.5?n.y:t.y:i==="after"?e<1?n.y:t.y:e>0?t.y:n.y}}function zJ(n,t,e,i){const r={x:n.cp2x,y:n.cp2y},s={x:t.cp1x,y:t.cp1y},a=ri(n,r,e),o=ri(r,s,e),l=ri(s,t,e),c=ri(a,o,e),u=ri(o,l,e);return ri(c,u,e)}const kf=new Map;function ZJ(n,t){t=t||{};const e=n+JSON.stringify(t);let i=kf.get(e);return i||(i=new Intl.NumberFormat(n,t),kf.set(e,i)),i}function ls(n,t,e){return ZJ(t,e).format(n)}const YJ=function(n,t){return{x(e){return n+n+t-e},setWidth(e){t=e},textAlign(e){return e==="center"?e:e==="right"?"left":"right"},xPlus(e,i){return e-i},leftForLtr(e,i){return e-i}}},WJ=function(){return{x(n){return n},setWidth(n){},textAlign(n){return n},xPlus(n,t){return n+t},leftForLtr(n,t){return n}}};function Hi(n,t,e){return n?YJ(t,e):WJ()}function rm(n,t){let e,i;(t==="ltr"||t==="rtl")&&(e=n.canvas.style,i=[e.getPropertyValue("direction"),e.getPropertyPriority("direction")],e.setProperty("direction",t,"important"),n.prevTextDirection=i)}function sm(n,t){t!==void 0&&(delete n.prevTextDirection,n.canvas.style.setProperty("direction",t[0],t[1]))}function am(n){return n==="angle"?{between:Xr,compare:D5,normalize:xt}:{between:In,compare:(t,e)=>t-e,normalize:t=>t}}function Ef({start:n,end:t,count:e,loop:i,style:r}){return{start:n%e,end:t%e,loop:i&&(t-n+1)%e===0,style:r}}function XJ(n,t,e){const{property:i,start:r,end:s}=e,{between:a,normalize:o}=am(i),l=t.length;let{start:c,end:u,loop:d}=n,h,g;if(d){for(c+=l,u+=l,h=0,g=l;h<g&&a(o(t[c%l][i]),r,s);++h)c--,u--;c%=l,u%=l}return u<c&&(u+=l),{start:c,end:u,loop:d,style:n.style}}function om(n,t,e){if(!e)return[n];const{property:i,start:r,end:s}=e,a=t.length,{compare:o,between:l,normalize:c}=am(i),{start:u,end:d,loop:h,style:g}=XJ(n,t,e),f=[];let p=!1,m=null,b,A,y;const w=()=>l(r,y,b)&&o(r,y)!==0,C=()=>o(s,b)===0||l(s,y,b),_=()=>p||w(),S=()=>!p||C();for(let z=u,R=u;z<=d;++z)A=t[z%a],!A.skip&&(b=c(A[i]),b!==y&&(p=l(b,r,s),m===null&&_()&&(m=o(b,r)===0?z:R),m!==null&&S()&&(f.push(Ef({start:m,end:z,loop:h,count:a,style:g})),m=null),R=z,y=b));return m!==null&&f.push(Ef({start:m,end:d,loop:h,count:a,style:g})),f}function lm(n,t){const e=[],i=n.segments;for(let r=0;r<i.length;r++){const s=om(i[r],n.points,t);s.length&&e.push(...s)}return e}function VJ(n,t,e,i){let r=0,s=t-1;if(e&&!i)for(;r<t&&!n[r].skip;)r++;for(;r<t&&n[r].skip;)r++;for(r%=t,e&&(s+=r);s>r&&n[s%t].skip;)s--;return s%=t,{start:r,end:s}}function JJ(n,t,e,i){const r=n.length,s=[];let a=t,o=n[t],l;for(l=t+1;l<=e;++l){const c=n[l%r];c.skip||c.stop?o.skip||(i=!1,s.push({start:t%r,end:(l-1)%r,loop:i}),t=a=c.stop?l:null):(a=l,o.skip&&(t=l)),o=c}return a!==null&&s.push({start:t%r,end:a%r,loop:i}),s}function QJ(n,t){const e=n.points,i=n.options.spanGaps,r=e.length;if(!r)return[];const s=!!n._loop,{start:a,end:o}=VJ(e,r,s,i);if(i===!0)return Sf(n,[{start:a,end:o,loop:s}],e,t);const l=o<a?o+r:o,c=!!n._fullLoop&&a===0&&o===r-1;return Sf(n,JJ(e,a,l,c),e,t)}function Sf(n,t,e,i){return!i||!i.setContext||!e?t:UJ(n,t,e,i)}function UJ(n,t,e,i){const r=n._chart.getContext(),s=Rf(n.options),{_datasetIndex:a,options:{spanGaps:o}}=n,l=e.length,c=[];let u=s,d=t[0].start,h=d;function g(f,p,m,b){const A=o?-1:1;if(f!==p){for(f+=l;e[f%l].skip;)f-=A;for(;e[p%l].skip;)p+=A;f%l!==p%l&&(c.push({start:f%l,end:p%l,loop:m,style:b}),u=b,d=p%l)}}for(const f of t){d=o?d:f.start;let p=e[d%l],m;for(h=d+1;h<=f.end;h++){const b=e[h%l];m=Rf(i.setContext(Jn(r,{type:"segment",p0:p,p1:b,p0DataIndex:(h-1)%l,p1DataIndex:h%l,datasetIndex:a}))),KJ(m,u)&&g(d,h-1,f.loop,u),p=b,u=m}d<h-1&&g(d,h-1,f.loop,u)}return c}function Rf(n){return{backgroundColor:n.backgroundColor,borderCapStyle:n.borderCapStyle,borderDash:n.borderDash,borderDashOffset:n.borderDashOffset,borderJoinStyle:n.borderJoinStyle,borderWidth:n.borderWidth,borderColor:n.borderColor}}function KJ(n,t){return t&&JSON.stringify(n)!==JSON.stringify(t)}/*!
203
+ */function os(n){return n+.5|0}const Tn=(n,t,e)=>Math.max(Math.min(n,e),t);function Sr(n){return Tn(os(n*2.55),0,255)}function Fn(n){return Tn(os(n*255),0,255)}function bn(n){return Tn(os(n/2.55)/100,0,1)}function mf(n){return Tn(os(n*100),0,100)}const Dt={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},Ml=[..."0123456789ABCDEF"],j5=n=>Ml[n&15],P5=n=>Ml[(n&240)>>4]+Ml[n&15],Ss=n=>(n&240)>>4===(n&15),F5=n=>Ss(n.r)&&Ss(n.g)&&Ss(n.b)&&Ss(n.a);function H5(n){var t=n.length,e;return n[0]==="#"&&(t===4||t===5?e={r:255&Dt[n[1]]*17,g:255&Dt[n[2]]*17,b:255&Dt[n[3]]*17,a:t===5?Dt[n[4]]*17:255}:(t===7||t===9)&&(e={r:Dt[n[1]]<<4|Dt[n[2]],g:Dt[n[3]]<<4|Dt[n[4]],b:Dt[n[5]]<<4|Dt[n[6]],a:t===9?Dt[n[7]]<<4|Dt[n[8]]:255})),e}const z5=(n,t)=>n<255?t(n):"";function Z5(n){var t=F5(n)?j5:P5;return n?"#"+t(n.r)+t(n.g)+t(n.b)+z5(n.a,t):void 0}const Y5=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Yp(n,t,e){const i=t*Math.min(e,1-e),r=(s,a=(s+n/30)%12)=>e-i*Math.max(Math.min(a-3,9-a,1),-1);return[r(0),r(8),r(4)]}function W5(n,t,e){const i=(r,s=(r+n/60)%6)=>e-e*t*Math.max(Math.min(s,4-s,1),0);return[i(5),i(3),i(1)]}function X5(n,t,e){const i=Yp(n,1,.5);let r;for(t+e>1&&(r=1/(t+e),t*=r,e*=r),r=0;r<3;r++)i[r]*=1-t-e,i[r]+=t;return i}function V5(n,t,e,i,r){return n===r?(t-e)/i+(t<e?6:0):t===r?(e-n)/i+2:(n-t)/i+4}function jc(n){const e=n.r/255,i=n.g/255,r=n.b/255,s=Math.max(e,i,r),a=Math.min(e,i,r),o=(s+a)/2;let l,c,u;return s!==a&&(u=s-a,c=o>.5?u/(2-s-a):u/(s+a),l=V5(e,i,r,u,s),l=l*60+.5),[l|0,c||0,o]}function Pc(n,t,e,i){return(Array.isArray(t)?n(t[0],t[1],t[2]):n(t,e,i)).map(Fn)}function Fc(n,t,e){return Pc(Yp,n,t,e)}function J5(n,t,e){return Pc(X5,n,t,e)}function Q5(n,t,e){return Pc(W5,n,t,e)}function Wp(n){return(n%360+360)%360}function U5(n){const t=Y5.exec(n);let e=255,i;if(!t)return;t[5]!==i&&(e=t[6]?Sr(+t[5]):Fn(+t[5]));const r=Wp(+t[2]),s=+t[3]/100,a=+t[4]/100;return t[1]==="hwb"?i=J5(r,s,a):t[1]==="hsv"?i=Q5(r,s,a):i=Fc(r,s,a),{r:i[0],g:i[1],b:i[2],a:e}}function K5(n,t){var e=jc(n);e[0]=Wp(e[0]+t),e=Fc(e),n.r=e[0],n.g=e[1],n.b=e[2]}function q5(n){if(!n)return;const t=jc(n),e=t[0],i=mf(t[1]),r=mf(t[2]);return n.a<255?`hsla(${e}, ${i}%, ${r}%, ${bn(n.a)})`:`hsl(${e}, ${i}%, ${r}%)`}const bf={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"},vf={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function $5(){const n={},t=Object.keys(vf),e=Object.keys(bf);let i,r,s,a,o;for(i=0;i<t.length;i++){for(a=o=t[i],r=0;r<e.length;r++)s=e[r],o=o.replace(s,bf[s]);s=parseInt(vf[a],16),n[o]=[s>>16&255,s>>8&255,s&255]}return n}let Rs;function eJ(n){Rs||(Rs=$5(),Rs.transparent=[0,0,0,0]);const t=Rs[n.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}const tJ=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function nJ(n){const t=tJ.exec(n);let e=255,i,r,s;if(t){if(t[7]!==i){const a=+t[7];e=t[8]?Sr(a):Tn(a*255,0,255)}return i=+t[1],r=+t[3],s=+t[5],i=255&(t[2]?Sr(i):Tn(i,0,255)),r=255&(t[4]?Sr(r):Tn(r,0,255)),s=255&(t[6]?Sr(s):Tn(s,0,255)),{r:i,g:r,b:s,a:e}}}function iJ(n){return n&&(n.a<255?`rgba(${n.r}, ${n.g}, ${n.b}, ${bn(n.a)})`:`rgb(${n.r}, ${n.g}, ${n.b})`)}const Ro=n=>n<=.0031308?n*12.92:Math.pow(n,1/2.4)*1.055-.055,Ri=n=>n<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4);function rJ(n,t,e){const i=Ri(bn(n.r)),r=Ri(bn(n.g)),s=Ri(bn(n.b));return{r:Fn(Ro(i+e*(Ri(bn(t.r))-i))),g:Fn(Ro(r+e*(Ri(bn(t.g))-r))),b:Fn(Ro(s+e*(Ri(bn(t.b))-s))),a:n.a+e*(t.a-n.a)}}function Ms(n,t,e){if(n){let i=jc(n);i[t]=Math.max(0,Math.min(i[t]+i[t]*e,t===0?360:1)),i=Fc(i),n.r=i[0],n.g=i[1],n.b=i[2]}}function Xp(n,t){return n&&Object.assign(t||{},n)}function yf(n){var t={r:0,g:0,b:0,a:255};return Array.isArray(n)?n.length>=3&&(t={r:n[0],g:n[1],b:n[2],a:255},n.length>3&&(t.a=Fn(n[3]))):(t=Xp(n,{r:0,g:0,b:0,a:1}),t.a=Fn(t.a)),t}function sJ(n){return n.charAt(0)==="r"?nJ(n):U5(n)}class ga{constructor(t){if(t instanceof ga)return t;const e=typeof t;let i;e==="object"?i=yf(t):e==="string"&&(i=H5(t)||eJ(t)||sJ(t)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var t=Xp(this._rgb);return t&&(t.a=bn(t.a)),t}set rgb(t){this._rgb=yf(t)}rgbString(){return this._valid?iJ(this._rgb):void 0}hexString(){return this._valid?Z5(this._rgb):void 0}hslString(){return this._valid?q5(this._rgb):void 0}mix(t,e){if(t){const i=this.rgb,r=t.rgb;let s;const a=e===s?.5:e,o=2*a-1,l=i.a-r.a,c=((o*l===-1?o:(o+l)/(1+o*l))+1)/2;s=1-c,i.r=255&c*i.r+s*r.r+.5,i.g=255&c*i.g+s*r.g+.5,i.b=255&c*i.b+s*r.b+.5,i.a=a*i.a+(1-a)*r.a,this.rgb=i}return this}interpolate(t,e){return t&&(this._rgb=rJ(this._rgb,t._rgb,e)),this}clone(){return new ga(this.rgb)}alpha(t){return this._rgb.a=Fn(t),this}clearer(t){const e=this._rgb;return e.a*=1-t,this}greyscale(){const t=this._rgb,e=os(t.r*.3+t.g*.59+t.b*.11);return t.r=t.g=t.b=e,this}opaquer(t){const e=this._rgb;return e.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return Ms(this._rgb,2,t),this}darken(t){return Ms(this._rgb,2,-t),this}saturate(t){return Ms(this._rgb,1,t),this}desaturate(t){return Ms(this._rgb,1,-t),this}rotate(t){return K5(this._rgb,t),this}}function Vp(n){return new ga(n)}function Jp(n){if(n&&typeof n=="object"){const t=n.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function Af(n){return Jp(n)?n:Vp(n)}function Mo(n){return Jp(n)?n:Vp(n).saturate(.5).darken(.1).hexString()}const hi=Object.create(null),Dl=Object.create(null);function Nr(n,t){if(!t)return n;const e=t.split(".");for(let i=0,r=e.length;i<r;++i){const s=e[i];n=n[s]||(n[s]=Object.create(null))}return n}function Do(n,t,e){return typeof t=="string"?Wr(Nr(n,t),e):Wr(Nr(n,""),t)}class aJ{constructor(t){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=e=>e.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=(e,i)=>Mo(i.backgroundColor),this.hoverBorderColor=(e,i)=>Mo(i.borderColor),this.hoverColor=(e,i)=>Mo(i.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t)}set(t,e){return Do(this,t,e)}get(t){return Nr(this,t)}describe(t,e){return Do(Dl,t,e)}override(t,e){return Do(hi,t,e)}route(t,e,i,r){const s=Nr(this,t),a=Nr(this,i),o="_"+e;Object.defineProperties(s,{[o]:{value:s[e],writable:!0},[e]:{enumerable:!0,get(){const l=this[o],c=a[r];return Ae(l)?Object.assign({},c,l):ge(l,c)},set(l){this[o]=l}}})}}var Ce=new aJ({_scriptable:n=>!n.startsWith("on"),_indexable:n=>n!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function oJ(n){return!n||Ee(n.size)||Ee(n.family)?null:(n.style?n.style+" ":"")+(n.weight?n.weight+" ":"")+n.size+"px "+n.family}function pa(n,t,e,i,r){let s=t[r];return s||(s=t[r]=n.measureText(r).width,e.push(r)),s>i&&(i=s),i}function lJ(n,t,e,i){i=i||{};let r=i.data=i.data||{},s=i.garbageCollect=i.garbageCollect||[];i.font!==t&&(r=i.data={},s=i.garbageCollect=[],i.font=t),n.save(),n.font=t;let a=0;const o=e.length;let l,c,u,d,h;for(l=0;l<o;l++)if(d=e[l],d!=null&&Ne(d)!==!0)a=pa(n,r,s,a,d);else if(Ne(d))for(c=0,u=d.length;c<u;c++)h=d[c],h!=null&&!Ne(h)&&(a=pa(n,r,s,a,h));n.restore();const g=s.length/2;if(g>e.length){for(l=0;l<g;l++)delete r[s[l]];s.splice(0,g)}return a}function Kn(n,t,e){const i=n.currentDevicePixelRatio,r=e!==0?Math.max(e/2,.5):0;return Math.round((t-r)*i)/i+r}function Cf(n,t){t=t||n.getContext("2d"),t.save(),t.resetTransform(),t.clearRect(0,0,n.width,n.height),t.restore()}function Bl(n,t,e,i){Qp(n,t,e,i,null)}function Qp(n,t,e,i,r){let s,a,o,l,c,u;const d=t.pointStyle,h=t.rotation,g=t.radius;let f=(h||0)*S5;if(d&&typeof d=="object"&&(s=d.toString(),s==="[object HTMLImageElement]"||s==="[object HTMLCanvasElement]")){n.save(),n.translate(e,i),n.rotate(f),n.drawImage(d,-d.width/2,-d.height/2,d.width,d.height),n.restore();return}if(!(isNaN(g)||g<=0)){switch(n.beginPath(),d){default:r?n.ellipse(e,i,r/2,g,0,0,De):n.arc(e,i,g,0,De),n.closePath();break;case"triangle":n.moveTo(e+Math.sin(f)*g,i-Math.cos(f)*g),f+=uf,n.lineTo(e+Math.sin(f)*g,i-Math.cos(f)*g),f+=uf,n.lineTo(e+Math.sin(f)*g,i-Math.cos(f)*g),n.closePath();break;case"rectRounded":c=g*.516,l=g-c,a=Math.cos(f+yr)*l,o=Math.sin(f+yr)*l,n.arc(e-a,i-o,c,f-ze,f-Ze),n.arc(e+o,i-a,c,f-Ze,f),n.arc(e+a,i+o,c,f,f+Ze),n.arc(e-o,i+a,c,f+Ze,f+ze),n.closePath();break;case"rect":if(!h){l=Math.SQRT1_2*g,u=r?r/2:l,n.rect(e-u,i-l,2*u,2*l);break}f+=yr;case"rectRot":a=Math.cos(f)*g,o=Math.sin(f)*g,n.moveTo(e-a,i-o),n.lineTo(e+o,i-a),n.lineTo(e+a,i+o),n.lineTo(e-o,i+a),n.closePath();break;case"crossRot":f+=yr;case"cross":a=Math.cos(f)*g,o=Math.sin(f)*g,n.moveTo(e-a,i-o),n.lineTo(e+a,i+o),n.moveTo(e+o,i-a),n.lineTo(e-o,i+a);break;case"star":a=Math.cos(f)*g,o=Math.sin(f)*g,n.moveTo(e-a,i-o),n.lineTo(e+a,i+o),n.moveTo(e+o,i-a),n.lineTo(e-o,i+a),f+=yr,a=Math.cos(f)*g,o=Math.sin(f)*g,n.moveTo(e-a,i-o),n.lineTo(e+a,i+o),n.moveTo(e+o,i-a),n.lineTo(e-o,i+a);break;case"line":a=r?r/2:Math.cos(f)*g,o=Math.sin(f)*g,n.moveTo(e-a,i-o),n.lineTo(e+a,i+o);break;case"dash":n.moveTo(e,i),n.lineTo(e+Math.cos(f)*g,i+Math.sin(f)*g);break}n.fill(),t.borderWidth>0&&n.stroke()}}function Vr(n,t,e){return e=e||.5,!t||n&&n.x>t.left-e&&n.x<t.right+e&&n.y>t.top-e&&n.y<t.bottom+e}function Fa(n,t){n.save(),n.beginPath(),n.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),n.clip()}function Ha(n){n.restore()}function cJ(n,t,e,i,r){if(!t)return n.lineTo(e.x,e.y);if(r==="middle"){const s=(t.x+e.x)/2;n.lineTo(s,t.y),n.lineTo(s,e.y)}else r==="after"!=!!i?n.lineTo(t.x,e.y):n.lineTo(e.x,t.y);n.lineTo(e.x,e.y)}function uJ(n,t,e,i){if(!t)return n.lineTo(e.x,e.y);n.bezierCurveTo(i?t.cp1x:t.cp2x,i?t.cp1y:t.cp2y,i?e.cp2x:e.cp1x,i?e.cp2y:e.cp1y,e.x,e.y)}function gi(n,t,e,i,r,s={}){const a=Ne(t)?t:[t],o=s.strokeWidth>0&&s.strokeColor!=="";let l,c;for(n.save(),n.font=r.string,dJ(n,s),l=0;l<a.length;++l)c=a[l],o&&(s.strokeColor&&(n.strokeStyle=s.strokeColor),Ee(s.strokeWidth)||(n.lineWidth=s.strokeWidth),n.strokeText(c,e,i,s.maxWidth)),n.fillText(c,e,i,s.maxWidth),fJ(n,e,i,c,s),i+=r.lineHeight;n.restore()}function dJ(n,t){t.translation&&n.translate(t.translation[0],t.translation[1]),Ee(t.rotation)||n.rotate(t.rotation),t.color&&(n.fillStyle=t.color),t.textAlign&&(n.textAlign=t.textAlign),t.textBaseline&&(n.textBaseline=t.textBaseline)}function fJ(n,t,e,i,r){if(r.strikethrough||r.underline){const s=n.measureText(i),a=t-s.actualBoundingBoxLeft,o=t+s.actualBoundingBoxRight,l=e-s.actualBoundingBoxAscent,c=e+s.actualBoundingBoxDescent,u=r.strikethrough?(l+c)/2:c;n.strokeStyle=n.fillStyle,n.beginPath(),n.lineWidth=r.decorationWidth||2,n.moveTo(a,u),n.lineTo(o,u),n.stroke()}}function Jr(n,t){const{x:e,y:i,w:r,h:s,radius:a}=t;n.arc(e+a.topLeft,i+a.topLeft,a.topLeft,-Ze,ze,!0),n.lineTo(e,i+s-a.bottomLeft),n.arc(e+a.bottomLeft,i+s-a.bottomLeft,a.bottomLeft,ze,Ze,!0),n.lineTo(e+r-a.bottomRight,i+s),n.arc(e+r-a.bottomRight,i+s-a.bottomRight,a.bottomRight,Ze,0,!0),n.lineTo(e+r,i+a.topRight),n.arc(e+r-a.topRight,i+a.topRight,a.topRight,0,-Ze,!0),n.lineTo(e+a.topLeft,i)}const hJ=new RegExp(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/),gJ=new RegExp(/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/);function pJ(n,t){const e=(""+n).match(hJ);if(!e||e[1]==="normal")return t*1.2;switch(n=+e[2],e[3]){case"px":return n;case"%":n/=100;break}return t*n}const mJ=n=>+n||0;function Hc(n,t){const e={},i=Ae(t),r=i?Object.keys(t):t,s=Ae(n)?i?a=>ge(n[a],n[t[a]]):a=>n[a]:()=>n;for(const a of r)e[a]=mJ(s(a));return e}function Up(n){return Hc(n,{top:"y",right:"x",bottom:"y",left:"x"})}function ci(n){return Hc(n,["topLeft","topRight","bottomLeft","bottomRight"])}function ht(n){const t=Up(n);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function et(n,t){n=n||{},t=t||Ce.font;let e=ge(n.size,t.size);typeof e=="string"&&(e=parseInt(e,10));let i=ge(n.style,t.style);i&&!(""+i).match(gJ)&&(console.warn('Invalid font style specified: "'+i+'"'),i="");const r={family:ge(n.family,t.family),lineHeight:pJ(ge(n.lineHeight,t.lineHeight),e),size:e,style:i,weight:ge(n.weight,t.weight),string:""};return r.string=oJ(r),r}function Ds(n,t,e,i){let r=!0,s,a,o;for(s=0,a=n.length;s<a;++s)if(o=n[s],o!==void 0&&(t!==void 0&&typeof o=="function"&&(o=o(t),r=!1),e!==void 0&&Ne(o)&&(o=o[e%o.length],r=!1),o!==void 0))return i&&!r&&(i.cacheable=!1),o}function bJ(n,t,e){const{min:i,max:r}=n,s=Op(t,(r-i)/2),a=(o,l)=>e&&o===0?0:o+l;return{min:a(i,-Math.abs(s)),max:a(r,s)}}function Jn(n,t){return Object.assign(Object.create(n),t)}function zc(n,t=[""],e=n,i,r=()=>n[0]){jt(i)||(i=em("_fallback",n));const s={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:n,_rootScopes:e,_fallback:i,_getTarget:r,override:a=>zc([a,...n],t,e,i)};return new Proxy(s,{deleteProperty(a,o){return delete a[o],delete a._keys,delete n[0][o],!0},get(a,o){return qp(a,o,()=>_J(o,t,n,a))},getOwnPropertyDescriptor(a,o){return Reflect.getOwnPropertyDescriptor(a._scopes[0],o)},getPrototypeOf(){return Reflect.getPrototypeOf(n[0])},has(a,o){return wf(a).includes(o)},ownKeys(a){return wf(a)},set(a,o,l){const c=a._storage||(a._storage=r());return a[o]=c[o]=l,delete a._keys,!0}})}function Ji(n,t,e,i){const r={_cacheable:!1,_proxy:n,_context:t,_subProxy:e,_stack:new Set,_descriptors:Kp(n,i),setContext:s=>Ji(n,s,e,i),override:s=>Ji(n.override(s),t,e,i)};return new Proxy(r,{deleteProperty(s,a){return delete s[a],delete n[a],!0},get(s,a,o){return qp(s,a,()=>yJ(s,a,o))},getOwnPropertyDescriptor(s,a){return s._descriptors.allKeys?Reflect.has(n,a)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(n,a)},getPrototypeOf(){return Reflect.getPrototypeOf(n)},has(s,a){return Reflect.has(n,a)},ownKeys(){return Reflect.ownKeys(n)},set(s,a,o){return n[a]=o,delete s[a],!0}})}function Kp(n,t={scriptable:!0,indexable:!0}){const{_scriptable:e=t.scriptable,_indexable:i=t.indexable,_allKeys:r=t.allKeys}=n;return{allKeys:r,scriptable:e,indexable:i,isScriptable:Wn(e)?e:()=>e,isIndexable:Wn(i)?i:()=>i}}const vJ=(n,t)=>n?n+Oc(t):t,Zc=(n,t)=>Ae(t)&&n!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function qp(n,t,e){if(Object.prototype.hasOwnProperty.call(n,t))return n[t];const i=e();return n[t]=i,i}function yJ(n,t,e){const{_proxy:i,_context:r,_subProxy:s,_descriptors:a}=n;let o=i[t];return Wn(o)&&a.isScriptable(t)&&(o=AJ(t,o,n,e)),Ne(o)&&o.length&&(o=CJ(t,o,n,a.isIndexable)),Zc(t,o)&&(o=Ji(o,r,s&&s[t],a)),o}function AJ(n,t,e,i){const{_proxy:r,_context:s,_subProxy:a,_stack:o}=e;if(o.has(n))throw new Error("Recursion detected: "+Array.from(o).join("->")+"->"+n);return o.add(n),t=t(s,a||i),o.delete(n),Zc(n,t)&&(t=Yc(r._scopes,r,n,t)),t}function CJ(n,t,e,i){const{_proxy:r,_context:s,_subProxy:a,_descriptors:o}=e;if(jt(s.index)&&i(n))t=t[s.index%t.length];else if(Ae(t[0])){const l=t,c=r._scopes.filter(u=>u!==l);t=[];for(const u of l){const d=Yc(c,r,n,u);t.push(Ji(d,s,a&&a[n],o))}}return t}function $p(n,t,e){return Wn(n)?n(t,e):n}const IJ=(n,t)=>n===!0?t:typeof n=="string"?Yn(t,n):void 0;function wJ(n,t,e,i,r){for(const s of t){const a=IJ(e,s);if(a){n.add(a);const o=$p(a._fallback,e,r);if(jt(o)&&o!==e&&o!==i)return o}else if(a===!1&&jt(i)&&e!==i)return null}return!1}function Yc(n,t,e,i){const r=t._rootScopes,s=$p(t._fallback,e,i),a=[...n,...r],o=new Set;o.add(i);let l=If(o,a,e,s||e,i);return l===null||jt(s)&&s!==e&&(l=If(o,a,s,l,i),l===null)?!1:zc(Array.from(o),[""],r,s,()=>xJ(t,e,i))}function If(n,t,e,i,r){for(;e;)e=wJ(n,t,e,i,r);return e}function xJ(n,t,e){const i=n._getTarget();t in i||(i[t]={});const r=i[t];return Ne(r)&&Ae(e)?e:r}function _J(n,t,e,i){let r;for(const s of t)if(r=em(vJ(s,n),e),jt(r))return Zc(n,r)?Yc(e,i,n,r):r}function em(n,t){for(const e of t){if(!e)continue;const i=e[n];if(jt(i))return i}}function wf(n){let t=n._keys;return t||(t=n._keys=kJ(n._scopes)),t}function kJ(n){const t=new Set;for(const e of n)for(const i of Object.keys(e).filter(r=>!r.startsWith("_")))t.add(i);return Array.from(t)}function tm(n,t,e,i){const{iScale:r}=n,{key:s="r"}=this._parsing,a=new Array(i);let o,l,c,u;for(o=0,l=i;o<l;++o)c=o+e,u=t[c],a[o]={r:r.parse(Yn(u,s),c)};return a}const EJ=Number.EPSILON||1e-14,Qi=(n,t)=>t<n.length&&!n[t].skip&&n[t],nm=n=>n==="x"?"y":"x";function SJ(n,t,e,i){const r=n.skip?t:n,s=t,a=e.skip?t:e,o=Rl(s,r),l=Rl(a,s);let c=o/(o+l),u=l/(o+l);c=isNaN(c)?0:c,u=isNaN(u)?0:u;const d=i*c,h=i*u;return{previous:{x:s.x-d*(a.x-r.x),y:s.y-d*(a.y-r.y)},next:{x:s.x+h*(a.x-r.x),y:s.y+h*(a.y-r.y)}}}function RJ(n,t,e){const i=n.length;let r,s,a,o,l,c=Qi(n,0);for(let u=0;u<i-1;++u)if(l=c,c=Qi(n,u+1),!(!l||!c)){if(Gr(t[u],0,EJ)){e[u]=e[u+1]=0;continue}r=e[u]/t[u],s=e[u+1]/t[u],o=Math.pow(r,2)+Math.pow(s,2),!(o<=9)&&(a=3/Math.sqrt(o),e[u]=r*a*t[u],e[u+1]=s*a*t[u])}}function MJ(n,t,e="x"){const i=nm(e),r=n.length;let s,a,o,l=Qi(n,0);for(let c=0;c<r;++c){if(a=o,o=l,l=Qi(n,c+1),!o)continue;const u=o[e],d=o[i];a&&(s=(u-a[e])/3,o[`cp1${e}`]=u-s,o[`cp1${i}`]=d-s*t[c]),l&&(s=(l[e]-u)/3,o[`cp2${e}`]=u+s,o[`cp2${i}`]=d+s*t[c])}}function DJ(n,t="x"){const e=nm(t),i=n.length,r=Array(i).fill(0),s=Array(i);let a,o,l,c=Qi(n,0);for(a=0;a<i;++a)if(o=l,l=c,c=Qi(n,a+1),!!l){if(c){const u=c[t]-l[t];r[a]=u!==0?(c[e]-l[e])/u:0}s[a]=o?c?rn(r[a-1])!==rn(r[a])?0:(r[a-1]+r[a])/2:r[a-1]:r[a]}RJ(n,r,s),MJ(n,s,t)}function Bs(n,t,e){return Math.max(Math.min(n,e),t)}function BJ(n,t){let e,i,r,s,a,o=Vr(n[0],t);for(e=0,i=n.length;e<i;++e)a=s,s=o,o=e<i-1&&Vr(n[e+1],t),s&&(r=n[e],a&&(r.cp1x=Bs(r.cp1x,t.left,t.right),r.cp1y=Bs(r.cp1y,t.top,t.bottom)),o&&(r.cp2x=Bs(r.cp2x,t.left,t.right),r.cp2y=Bs(r.cp2y,t.top,t.bottom)))}function GJ(n,t,e,i,r){let s,a,o,l;if(t.spanGaps&&(n=n.filter(c=>!c.skip)),t.cubicInterpolationMode==="monotone")DJ(n,r);else{let c=i?n[n.length-1]:n[0];for(s=0,a=n.length;s<a;++s)o=n[s],l=SJ(c,o,n[Math.min(s+1,a-(i?0:1))%a],t.tension),o.cp1x=l.previous.x,o.cp1y=l.previous.y,o.cp2x=l.next.x,o.cp2y=l.next.y,c=o}t.capBezierPoints&&BJ(n,e)}function im(){return typeof window<"u"&&typeof document<"u"}function Wc(n){let t=n.parentNode;return t&&t.toString()==="[object ShadowRoot]"&&(t=t.host),t}function ma(n,t,e){let i;return typeof n=="string"?(i=parseInt(n,10),n.indexOf("%")!==-1&&(i=i/100*t.parentNode[e])):i=n,i}const za=n=>window.getComputedStyle(n,null);function OJ(n,t){return za(n).getPropertyValue(t)}const NJ=["top","right","bottom","left"];function ui(n,t,e){const i={};e=e?"-"+e:"";for(let r=0;r<4;r++){const s=NJ[r];i[s]=parseFloat(n[t+"-"+s+e])||0}return i.width=i.left+i.right,i.height=i.top+i.bottom,i}const TJ=(n,t,e)=>(n>0||t>0)&&(!e||!e.shadowRoot);function LJ(n,t){const e=n.touches,i=e&&e.length?e[0]:n,{offsetX:r,offsetY:s}=i;let a=!1,o,l;if(TJ(r,s,n.target))o=r,l=s;else{const c=t.getBoundingClientRect();o=i.clientX-c.left,l=i.clientY-c.top,a=!0}return{x:o,y:l,box:a}}function ii(n,t){if("native"in n)return n;const{canvas:e,currentDevicePixelRatio:i}=t,r=za(e),s=r.boxSizing==="border-box",a=ui(r,"padding"),o=ui(r,"border","width"),{x:l,y:c,box:u}=LJ(n,e),d=a.left+(u&&o.left),h=a.top+(u&&o.top);let{width:g,height:f}=t;return s&&(g-=a.width+o.width,f-=a.height+o.height),{x:Math.round((l-d)/g*e.width/i),y:Math.round((c-h)/f*e.height/i)}}function jJ(n,t,e){let i,r;if(t===void 0||e===void 0){const s=Wc(n);if(!s)t=n.clientWidth,e=n.clientHeight;else{const a=s.getBoundingClientRect(),o=za(s),l=ui(o,"border","width"),c=ui(o,"padding");t=a.width-c.width-l.width,e=a.height-c.height-l.height,i=ma(o.maxWidth,s,"clientWidth"),r=ma(o.maxHeight,s,"clientHeight")}}return{width:t,height:e,maxWidth:i||ha,maxHeight:r||ha}}const Bo=n=>Math.round(n*10)/10;function PJ(n,t,e,i){const r=za(n),s=ui(r,"margin"),a=ma(r.maxWidth,n,"clientWidth")||ha,o=ma(r.maxHeight,n,"clientHeight")||ha,l=jJ(n,t,e);let{width:c,height:u}=l;if(r.boxSizing==="content-box"){const d=ui(r,"border","width"),h=ui(r,"padding");c-=h.width+d.width,u-=h.height+d.height}return c=Math.max(0,c-s.width),u=Math.max(0,i?Math.floor(c/i):u-s.height),c=Bo(Math.min(c,a,l.maxWidth)),u=Bo(Math.min(u,o,l.maxHeight)),c&&!u&&(u=Bo(c/2)),{width:c,height:u}}function xf(n,t,e){const i=t||1,r=Math.floor(n.height*i),s=Math.floor(n.width*i);n.height=r/i,n.width=s/i;const a=n.canvas;return a.style&&(e||!a.style.height&&!a.style.width)&&(a.style.height=`${n.height}px`,a.style.width=`${n.width}px`),n.currentDevicePixelRatio!==i||a.height!==r||a.width!==s?(n.currentDevicePixelRatio=i,a.height=r,a.width=s,n.ctx.setTransform(i,0,0,i,0,0),!0):!1}const FJ=function(){let n=!1;try{const t={get passive(){return n=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch{}return n}();function _f(n,t){const e=OJ(n,t),i=e&&e.match(/^(\d+)(\.\d+)?px$/);return i?+i[1]:void 0}function ri(n,t,e,i){return{x:n.x+e*(t.x-n.x),y:n.y+e*(t.y-n.y)}}function HJ(n,t,e,i){return{x:n.x+e*(t.x-n.x),y:i==="middle"?e<.5?n.y:t.y:i==="after"?e<1?n.y:t.y:e>0?t.y:n.y}}function zJ(n,t,e,i){const r={x:n.cp2x,y:n.cp2y},s={x:t.cp1x,y:t.cp1y},a=ri(n,r,e),o=ri(r,s,e),l=ri(s,t,e),c=ri(a,o,e),u=ri(o,l,e);return ri(c,u,e)}const kf=new Map;function ZJ(n,t){t=t||{};const e=n+JSON.stringify(t);let i=kf.get(e);return i||(i=new Intl.NumberFormat(n,t),kf.set(e,i)),i}function ls(n,t,e){return ZJ(t,e).format(n)}const YJ=function(n,t){return{x(e){return n+n+t-e},setWidth(e){t=e},textAlign(e){return e==="center"?e:e==="right"?"left":"right"},xPlus(e,i){return e-i},leftForLtr(e,i){return e-i}}},WJ=function(){return{x(n){return n},setWidth(n){},textAlign(n){return n},xPlus(n,t){return n+t},leftForLtr(n,t){return n}}};function Hi(n,t,e){return n?YJ(t,e):WJ()}function rm(n,t){let e,i;(t==="ltr"||t==="rtl")&&(e=n.canvas.style,i=[e.getPropertyValue("direction"),e.getPropertyPriority("direction")],e.setProperty("direction",t,"important"),n.prevTextDirection=i)}function sm(n,t){t!==void 0&&(delete n.prevTextDirection,n.canvas.style.setProperty("direction",t[0],t[1]))}function am(n){return n==="angle"?{between:Xr,compare:D5,normalize:xt}:{between:In,compare:(t,e)=>t-e,normalize:t=>t}}function Ef({start:n,end:t,count:e,loop:i,style:r}){return{start:n%e,end:t%e,loop:i&&(t-n+1)%e===0,style:r}}function XJ(n,t,e){const{property:i,start:r,end:s}=e,{between:a,normalize:o}=am(i),l=t.length;let{start:c,end:u,loop:d}=n,h,g;if(d){for(c+=l,u+=l,h=0,g=l;h<g&&a(o(t[c%l][i]),r,s);++h)c--,u--;c%=l,u%=l}return u<c&&(u+=l),{start:c,end:u,loop:d,style:n.style}}function om(n,t,e){if(!e)return[n];const{property:i,start:r,end:s}=e,a=t.length,{compare:o,between:l,normalize:c}=am(i),{start:u,end:d,loop:h,style:g}=XJ(n,t,e),f=[];let p=!1,m=null,b,A,y;const w=()=>l(r,y,b)&&o(r,y)!==0,C=()=>o(s,b)===0||l(s,y,b),_=()=>p||w(),S=()=>!p||C();for(let z=u,R=u;z<=d;++z)A=t[z%a],!A.skip&&(b=c(A[i]),b!==y&&(p=l(b,r,s),m===null&&_()&&(m=o(b,r)===0?z:R),m!==null&&S()&&(f.push(Ef({start:m,end:z,loop:h,count:a,style:g})),m=null),R=z,y=b));return m!==null&&f.push(Ef({start:m,end:d,loop:h,count:a,style:g})),f}function lm(n,t){const e=[],i=n.segments;for(let r=0;r<i.length;r++){const s=om(i[r],n.points,t);s.length&&e.push(...s)}return e}function VJ(n,t,e,i){let r=0,s=t-1;if(e&&!i)for(;r<t&&!n[r].skip;)r++;for(;r<t&&n[r].skip;)r++;for(r%=t,e&&(s+=r);s>r&&n[s%t].skip;)s--;return s%=t,{start:r,end:s}}function JJ(n,t,e,i){const r=n.length,s=[];let a=t,o=n[t],l;for(l=t+1;l<=e;++l){const c=n[l%r];c.skip||c.stop?o.skip||(i=!1,s.push({start:t%r,end:(l-1)%r,loop:i}),t=a=c.stop?l:null):(a=l,o.skip&&(t=l)),o=c}return a!==null&&s.push({start:t%r,end:a%r,loop:i}),s}function QJ(n,t){const e=n.points,i=n.options.spanGaps,r=e.length;if(!r)return[];const s=!!n._loop,{start:a,end:o}=VJ(e,r,s,i);if(i===!0)return Sf(n,[{start:a,end:o,loop:s}],e,t);const l=o<a?o+r:o,c=!!n._fullLoop&&a===0&&o===r-1;return Sf(n,JJ(e,a,l,c),e,t)}function Sf(n,t,e,i){return!i||!i.setContext||!e?t:UJ(n,t,e,i)}function UJ(n,t,e,i){const r=n._chart.getContext(),s=Rf(n.options),{_datasetIndex:a,options:{spanGaps:o}}=n,l=e.length,c=[];let u=s,d=t[0].start,h=d;function g(f,p,m,b){const A=o?-1:1;if(f!==p){for(f+=l;e[f%l].skip;)f-=A;for(;e[p%l].skip;)p+=A;f%l!==p%l&&(c.push({start:f%l,end:p%l,loop:m,style:b}),u=b,d=p%l)}}for(const f of t){d=o?d:f.start;let p=e[d%l],m;for(h=d+1;h<=f.end;h++){const b=e[h%l];m=Rf(i.setContext(Jn(r,{type:"segment",p0:p,p1:b,p0DataIndex:(h-1)%l,p1DataIndex:h%l,datasetIndex:a}))),KJ(m,u)&&g(d,h-1,f.loop,u),p=b,u=m}d<h-1&&g(d,h-1,f.loop,u)}return c}function Rf(n){return{backgroundColor:n.backgroundColor,borderCapStyle:n.borderCapStyle,borderDash:n.borderDash,borderDashOffset:n.borderDashOffset,borderJoinStyle:n.borderJoinStyle,borderWidth:n.borderWidth,borderColor:n.borderColor}}function KJ(n,t){return t&&JSON.stringify(n)!==JSON.stringify(t)}/*!
204
204
  * Chart.js v3.9.1
205
205
  * https://www.chartjs.org
206
206
  * (c) 2022 Chart.js Contributors
207
207
  * Released under the MIT License
208
- */class qJ{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,e,i,r){const s=e.listeners[r],a=e.duration;s.forEach(o=>o({chart:t,initial:e.initial,numSteps:a,currentStep:Math.min(i-e.start,a)}))}_refresh(){this._request||(this._running=!0,this._request=Fp.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let e=0;this._charts.forEach((i,r)=>{if(!i.running||!i.items.length)return;const s=i.items;let a=s.length-1,o=!1,l;for(;a>=0;--a)l=s[a],l._active?(l._total>i.duration&&(i.duration=l._total),l.tick(t),o=!0):(s[a]=s[s.length-1],s.pop());o&&(r.draw(),this._notify(r,i,t,"progress")),s.length||(i.running=!1,this._notify(r,i,t,"complete"),i.initial=!1),e+=s.length}),this._lastDate=t,e===0&&(this._running=!1)}_getAnims(t){const e=this._charts;let i=e.get(t);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,i)),i}listen(t,e,i){this._getAnims(t).listeners[e].push(i)}add(t,e){!e||!e.length||this._getAnims(t).items.push(...e)}has(t){return this._getAnims(t).items.length>0}start(t){const e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce((i,r)=>Math.max(i,r._duration),0),this._refresh())}running(t){if(!this._running)return!1;const e=this._charts.get(t);return!(!e||!e.running||!e.items.length)}stop(t){const e=this._charts.get(t);if(!e||!e.items.length)return;const i=e.items;let r=i.length-1;for(;r>=0;--r)i[r].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var pn=new qJ;const Mf="transparent",$J={boolean(n,t,e){return e>.5?t:n},color(n,t,e){const i=Af(n||Mf),r=i.valid&&Af(t||Mf);return r&&r.valid?r.mix(i,e).hexString():t},number(n,t,e){return n+(t-n)*e}};class eQ{constructor(t,e,i,r){const s=e[i];r=Ds([t.to,r,s,t.from]);const a=Ds([t.from,s,r]);this._active=!0,this._fn=t.fn||$J[t.type||typeof a],this._easing=Or[t.easing]||Or.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=i,this._from=a,this._to=r,this._promises=void 0}active(){return this._active}update(t,e,i){if(this._active){this._notify(!1);const r=this._target[this._prop],s=i-this._start,a=this._duration-s;this._start=i,this._duration=Math.floor(Math.max(a,t.duration)),this._total+=s,this._loop=!!t.loop,this._to=Ds([t.to,e,r,t.from]),this._from=Ds([t.from,r,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,i=this._duration,r=this._prop,s=this._from,a=this._loop,o=this._to;let l;if(this._active=s!==o&&(a||e<i),!this._active){this._target[r]=o,this._notify(!0);return}if(e<0){this._target[r]=s;return}l=e/i%2,l=a&&l>1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[r]=this._fn(s,o,l)}wait(){const t=this._promises||(this._promises=[]);return new Promise((e,i)=>{t.push({res:e,rej:i})})}_notify(t){const e=t?"res":"rej",i=this._promises||[];for(let r=0;r<i.length;r++)i[r][e]()}}const tQ=["x","y","borderWidth","radius","tension"],nQ=["color","borderColor","backgroundColor"];Ce.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0});const iQ=Object.keys(Ce.animation);Ce.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:n=>n!=="onProgress"&&n!=="onComplete"&&n!=="fn"});Ce.set("animations",{colors:{type:"color",properties:nQ},numbers:{type:"number",properties:tQ}});Ce.describe("animations",{_fallback:"animation"});Ce.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:n=>n|0}}}});class cm{constructor(t,e){this._chart=t,this._properties=new Map,this.configure(e)}configure(t){if(!Ae(t))return;const e=this._properties;Object.getOwnPropertyNames(t).forEach(i=>{const r=t[i];if(!Ae(r))return;const s={};for(const a of iQ)s[a]=r[a];(Ne(r.properties)&&r.properties||[i]).forEach(a=>{(a===i||!e.has(a))&&e.set(a,s)})})}_animateOptions(t,e){const i=e.options,r=sQ(t,i);if(!r)return[];const s=this._createAnimations(r,i);return i.$shared&&rQ(t.options.$animations,i).then(()=>{t.options=i},()=>{}),s}_createAnimations(t,e){const i=this._properties,r=[],s=t.$animations||(t.$animations={}),a=Object.keys(e),o=Date.now();let l;for(l=a.length-1;l>=0;--l){const c=a[l];if(c.charAt(0)==="$")continue;if(c==="options"){r.push(...this._animateOptions(t,e));continue}const u=e[c];let d=s[c];const h=i.get(c);if(d)if(h&&d.active()){d.update(h,u,o);continue}else d.cancel();if(!h||!h.duration){t[c]=u;continue}s[c]=d=new eQ(h,t,c,u),r.push(d)}return r}update(t,e){if(this._properties.size===0){Object.assign(t,e);return}const i=this._createAnimations(t,e);if(i.length)return pn.add(this._chart,i),!0}}function rQ(n,t){const e=[],i=Object.keys(t);for(let r=0;r<i.length;r++){const s=n[i[r]];s&&s.active()&&e.push(s.wait())}return Promise.all(e)}function sQ(n,t){if(!t)return;let e=n.options;if(!e){n.options=t;return}return e.$shared&&(n.options=e=Object.assign({},e,{$shared:!1,$animations:{}})),e}function Df(n,t){const e=n&&n.options||{},i=e.reverse,r=e.min===void 0?t:0,s=e.max===void 0?t:0;return{start:i?s:r,end:i?r:s}}function aQ(n,t,e){if(e===!1)return!1;const i=Df(n,e),r=Df(t,e);return{top:r.end,right:i.end,bottom:r.start,left:i.start}}function oQ(n){let t,e,i,r;return Ae(n)?(t=n.top,e=n.right,i=n.bottom,r=n.left):t=e=i=r=n,{top:t,right:e,bottom:i,left:r,disabled:n===!1}}function um(n,t){const e=[],i=n._getSortedDatasetMetas(t);let r,s;for(r=0,s=i.length;r<s;++r)e.push(i[r].index);return e}function Bf(n,t,e,i={}){const r=n.keys,s=i.mode==="single";let a,o,l,c;if(t!==null){for(a=0,o=r.length;a<o;++a){if(l=+r[a],l===e){if(i.all)continue;break}c=n.values[l],Je(c)&&(s||t===0||rn(t)===rn(c))&&(t+=c)}return t}}function lQ(n){const t=Object.keys(n),e=new Array(t.length);let i,r,s;for(i=0,r=t.length;i<r;++i)s=t[i],e[i]={x:s,y:n[s]};return e}function Gf(n,t){const e=n&&n.options.stacked;return e||e===void 0&&t.stack!==void 0}function cQ(n,t,e){return`${n.id}.${t.id}.${e.stack||e.type}`}function uQ(n){const{min:t,max:e,minDefined:i,maxDefined:r}=n.getUserBounds();return{min:i?t:Number.NEGATIVE_INFINITY,max:r?e:Number.POSITIVE_INFINITY}}function dQ(n,t,e){const i=n[t]||(n[t]={});return i[e]||(i[e]={})}function Of(n,t,e,i){for(const r of t.getMatchingVisibleMetas(i).reverse()){const s=n[r.index];if(e&&s>0||!e&&s<0)return r.index}return null}function Nf(n,t){const{chart:e,_cachedMeta:i}=n,r=e._stacks||(e._stacks={}),{iScale:s,vScale:a,index:o}=i,l=s.axis,c=a.axis,u=cQ(s,a,i),d=t.length;let h;for(let g=0;g<d;++g){const f=t[g],{[l]:p,[c]:m}=f,b=f._stacks||(f._stacks={});h=b[c]=dQ(r,u,p),h[o]=m,h._top=Of(h,a,!0,i.type),h._bottom=Of(h,a,!1,i.type)}}function Go(n,t){const e=n.scales;return Object.keys(e).filter(i=>e[i].axis===t).shift()}function fQ(n,t){return Jn(n,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function hQ(n,t,e){return Jn(n,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:e,index:t,mode:"default",type:"data"})}function Ar(n,t){const e=n.controller.index,i=n.vScale&&n.vScale.axis;if(i){t=t||n._parsed;for(const r of t){const s=r._stacks;if(!s||s[i]===void 0||s[i][e]===void 0)return;delete s[i][e]}}}const Oo=n=>n==="reset"||n==="none",Tf=(n,t)=>t?n:Object.assign({},n),gQ=(n,t,e)=>n&&!t.hidden&&t._stacked&&{keys:um(e,!0),values:null};class Qt{constructor(t,e){this.chart=t,this._ctx=t.ctx,this.index=e,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=Gf(t.vScale,t),this.addElements()}updateIndex(t){this.index!==t&&Ar(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,e=this._cachedMeta,i=this.getDataset(),r=(d,h,g,f)=>d==="x"?h:d==="r"?f:g,s=e.xAxisID=ge(i.xAxisID,Go(t,"x")),a=e.yAxisID=ge(i.yAxisID,Go(t,"y")),o=e.rAxisID=ge(i.rAxisID,Go(t,"r")),l=e.indexAxis,c=e.iAxisID=r(l,s,a,o),u=e.vAxisID=r(l,a,s,o);e.xScale=this.getScaleForId(s),e.yScale=this.getScaleForId(a),e.rScale=this.getScaleForId(o),e.iScale=this.getScaleForId(c),e.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const e=this._cachedMeta;return t===e.iScale?e.vScale:e.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&hf(this._data,this),t._stacked&&Ar(t)}_dataCheck(){const t=this.getDataset(),e=t.data||(t.data=[]),i=this._data;if(Ae(e))this._data=lQ(e);else if(i!==e){if(i){hf(i,this);const r=this._cachedMeta;Ar(r),r._parsed=[]}e&&Object.isExtensible(e)&&N5(e,this),this._syncList=[],this._data=e}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const e=this._cachedMeta,i=this.getDataset();let r=!1;this._dataCheck();const s=e._stacked;e._stacked=Gf(e.vScale,e),e.stack!==i.stack&&(r=!0,Ar(e),e.stack=i.stack),this._resyncElements(t),(r||s!==e._stacked)&&Nf(this,e._parsed)}configure(){const t=this.chart.config,e=t.datasetScopeKeys(this._type),i=t.getOptionScopes(this.getDataset(),e,!0);this.options=t.createResolver(i,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,e){const{_cachedMeta:i,_data:r}=this,{iScale:s,_stacked:a}=i,o=s.axis;let l=t===0&&e===r.length?!0:i._sorted,c=t>0&&i._parsed[t-1],u,d,h;if(this._parsing===!1)i._parsed=r,i._sorted=!0,h=r;else{Ne(r[t])?h=this.parseArrayData(i,r,t,e):Ae(r[t])?h=this.parseObjectData(i,r,t,e):h=this.parsePrimitiveData(i,r,t,e);const g=()=>d[o]===null||c&&d[o]<c[o];for(u=0;u<e;++u)i._parsed[u+t]=d=h[u],l&&(g()&&(l=!1),c=d);i._sorted=l}a&&Nf(this,h)}parsePrimitiveData(t,e,i,r){const{iScale:s,vScale:a}=t,o=s.axis,l=a.axis,c=s.getLabels(),u=s===a,d=new Array(r);let h,g,f;for(h=0,g=r;h<g;++h)f=h+i,d[h]={[o]:u||s.parse(c[f],f),[l]:a.parse(e[f],f)};return d}parseArrayData(t,e,i,r){const{xScale:s,yScale:a}=t,o=new Array(r);let l,c,u,d;for(l=0,c=r;l<c;++l)u=l+i,d=e[u],o[l]={x:s.parse(d[0],u),y:a.parse(d[1],u)};return o}parseObjectData(t,e,i,r){const{xScale:s,yScale:a}=t,{xAxisKey:o="x",yAxisKey:l="y"}=this._parsing,c=new Array(r);let u,d,h,g;for(u=0,d=r;u<d;++u)h=u+i,g=e[h],c[u]={x:s.parse(Yn(g,o),h),y:a.parse(Yn(g,l),h)};return c}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,e,i){const r=this.chart,s=this._cachedMeta,a=e[t.axis],o={keys:um(r,!0),values:e._stacks[t.axis]};return Bf(o,a,s.index,{mode:i})}updateRangeFromParsed(t,e,i,r){const s=i[e.axis];let a=s===null?NaN:s;const o=r&&i._stacks[e.axis];r&&o&&(r.values=o,a=Bf(r,s,this._cachedMeta.index)),t.min=Math.min(t.min,a),t.max=Math.max(t.max,a)}getMinMax(t,e){const i=this._cachedMeta,r=i._parsed,s=i._sorted&&t===i.iScale,a=r.length,o=this._getOtherScale(t),l=gQ(e,i,this.chart),c={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:u,max:d}=uQ(o);let h,g;function f(){g=r[h];const p=g[o.axis];return!Je(g[t.axis])||u>p||d<p}for(h=0;h<a&&!(!f()&&(this.updateRangeFromParsed(c,t,g,l),s));++h);if(s){for(h=a-1;h>=0;--h)if(!f()){this.updateRangeFromParsed(c,t,g,l);break}}return c}getAllParsedValues(t){const e=this._cachedMeta._parsed,i=[];let r,s,a;for(r=0,s=e.length;r<s;++r)a=e[r][t.axis],Je(a)&&i.push(a);return i}getMaxOverflow(){return!1}getLabelAndValue(t){const e=this._cachedMeta,i=e.iScale,r=e.vScale,s=this.getParsed(t);return{label:i?""+i.getLabelForValue(s[i.axis]):"",value:r?""+r.getLabelForValue(s[r.axis]):""}}_update(t){const e=this._cachedMeta;this.update(t||"default"),e._clip=oQ(ge(this.options.clip,aQ(e.xScale,e.yScale,this.getMaxOverflow())))}update(t){}draw(){const t=this._ctx,e=this.chart,i=this._cachedMeta,r=i.data||[],s=e.chartArea,a=[],o=this._drawStart||0,l=this._drawCount||r.length-o,c=this.options.drawActiveElementsOnTop;let u;for(i.dataset&&i.dataset.draw(t,s,o,l),u=o;u<o+l;++u){const d=r[u];d.hidden||(d.active&&c?a.push(d):d.draw(t,s))}for(u=0;u<a.length;++u)a[u].draw(t,s)}getStyle(t,e){const i=e?"active":"default";return t===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(i):this.resolveDataElementOptions(t||0,i)}getContext(t,e,i){const r=this.getDataset();let s;if(t>=0&&t<this._cachedMeta.data.length){const a=this._cachedMeta.data[t];s=a.$context||(a.$context=hQ(this.getContext(),t,a)),s.parsed=this.getParsed(t),s.raw=r.data[t],s.index=s.dataIndex=t}else s=this.$context||(this.$context=fQ(this.chart.getContext(),this.index)),s.dataset=r,s.index=s.datasetIndex=this.index;return s.active=!!e,s.mode=i,s}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,e){return this._resolveElementOptions(this.dataElementType.id,e,t)}_resolveElementOptions(t,e="default",i){const r=e==="active",s=this._cachedDataOpts,a=t+"-"+e,o=s[a],l=this.enableOptionSharing&&jt(i);if(o)return Tf(o,l);const c=this.chart.config,u=c.datasetElementScopeKeys(this._type,t),d=r?[`${t}Hover`,"hover",t,""]:[t,""],h=c.getOptionScopes(this.getDataset(),u),g=Object.keys(Ce.elements[t]),f=()=>this.getContext(i,r),p=c.resolveNamedOptions(h,g,f,d);return p.$shared&&(p.$shared=l,s[a]=Object.freeze(Tf(p,l))),p}_resolveAnimations(t,e,i){const r=this.chart,s=this._cachedDataOpts,a=`animation-${e}`,o=s[a];if(o)return o;let l;if(r.options.animation!==!1){const u=this.chart.config,d=u.datasetAnimationScopeKeys(this._type,e),h=u.getOptionScopes(this.getDataset(),d);l=u.createResolver(h,this.getContext(t,i,e))}const c=new cm(r,l&&l.animations);return l&&l._cacheable&&(s[a]=Object.freeze(c)),c}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||Oo(t)||this.chart._animationsDisabled}_getSharedOptions(t,e){const i=this.resolveDataElementOptions(t,e),r=this._sharedOptions,s=this.getSharedOptions(i),a=this.includeOptions(e,s)||s!==r;return this.updateSharedOptions(s,e,i),{sharedOptions:s,includeOptions:a}}updateElement(t,e,i,r){Oo(r)?Object.assign(t,i):this._resolveAnimations(e,r).update(t,i)}updateSharedOptions(t,e,i){t&&!Oo(e)&&this._resolveAnimations(void 0,e).update(t,i)}_setStyle(t,e,i,r){t.active=r;const s=this.getStyle(e,r);this._resolveAnimations(e,i,r).update(t,{options:!r&&this.getSharedOptions(s)||s})}removeHoverStyle(t,e,i){this._setStyle(t,i,"active",!1)}setHoverStyle(t,e,i){this._setStyle(t,i,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const e=this._data,i=this._cachedMeta.data;for(const[o,l,c]of this._syncList)this[o](l,c);this._syncList=[];const r=i.length,s=e.length,a=Math.min(s,r);a&&this.parse(0,a),s>r?this._insertElements(r,s-r,t):s<r&&this._removeElements(s,r-s)}_insertElements(t,e,i=!0){const r=this._cachedMeta,s=r.data,a=t+e;let o;const l=c=>{for(c.length+=e,o=c.length-1;o>=a;o--)c[o]=c[o-e]};for(l(s),o=t;o<a;++o)s[o]=new this.dataElementType;this._parsing&&l(r._parsed),this.parse(t,e),i&&this.updateElements(s,t,e,"reset")}updateElements(t,e,i,r){}_removeElements(t,e){const i=this._cachedMeta;if(this._parsing){const r=i._parsed.splice(t,e);i._stacked&&Ar(i,r)}i.data.splice(t,e)}_sync(t){if(this._parsing)this._syncList.push(t);else{const[e,i,r]=t;this[e](i,r)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){const t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,e){e&&this._sync(["_removeElements",t,e]);const i=arguments.length-2;i&&this._sync(["_insertElements",t,i])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}Qt.defaults={};Qt.prototype.datasetElementType=null;Qt.prototype.dataElementType=null;function pQ(n,t){if(!n._cache.$bar){const e=n.getMatchingVisibleMetas(t);let i=[];for(let r=0,s=e.length;r<s;r++)i=i.concat(e[r].controller.getAllParsedValues(n));n._cache.$bar=Pp(i.sort((r,s)=>r-s))}return n._cache.$bar}function mQ(n){const t=n.iScale,e=pQ(t,n.type);let i=t._length,r,s,a,o;const l=()=>{a===32767||a===-32768||(jt(o)&&(i=Math.min(i,Math.abs(a-o)||i)),o=a)};for(r=0,s=e.length;r<s;++r)a=t.getPixelForValue(e[r]),l();for(o=void 0,r=0,s=t.ticks.length;r<s;++r)a=t.getPixelForTick(r),l();return i}function bQ(n,t,e,i){const r=e.barThickness;let s,a;return Ee(r)?(s=t.min*e.categoryPercentage,a=e.barPercentage):(s=r*i,a=1),{chunk:s/i,ratio:a,start:t.pixels[n]-s/2}}function vQ(n,t,e,i){const r=t.pixels,s=r[n];let a=n>0?r[n-1]:null,o=n<r.length-1?r[n+1]:null;const l=e.categoryPercentage;a===null&&(a=s-(o===null?t.end-t.start:o-s)),o===null&&(o=s+s-a);const c=s-(s-Math.min(a,o))/2*l;return{chunk:Math.abs(o-a)/2*l/i,ratio:e.barPercentage,start:c}}function yQ(n,t,e,i){const r=e.parse(n[0],i),s=e.parse(n[1],i),a=Math.min(r,s),o=Math.max(r,s);let l=a,c=o;Math.abs(a)>Math.abs(o)&&(l=o,c=a),t[e.axis]=c,t._custom={barStart:l,barEnd:c,start:r,end:s,min:a,max:o}}function dm(n,t,e,i){return Ne(n)?yQ(n,t,e,i):t[e.axis]=e.parse(n,i),t}function Lf(n,t,e,i){const r=n.iScale,s=n.vScale,a=r.getLabels(),o=r===s,l=[];let c,u,d,h;for(c=e,u=e+i;c<u;++c)h=t[c],d={},d[r.axis]=o||r.parse(a[c],c),l.push(dm(h,d,s,c));return l}function No(n){return n&&n.barStart!==void 0&&n.barEnd!==void 0}function AQ(n,t,e){return n!==0?rn(n):(t.isHorizontal()?1:-1)*(t.min>=e?1:-1)}function CQ(n){let t,e,i,r,s;return n.horizontal?(t=n.base>n.x,e="left",i="right"):(t=n.base<n.y,e="bottom",i="top"),t?(r="end",s="start"):(r="start",s="end"),{start:e,end:i,reverse:t,top:r,bottom:s}}function IQ(n,t,e,i){let r=t.borderSkipped;const s={};if(!r){n.borderSkipped=s;return}if(r===!0){n.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}const{start:a,end:o,reverse:l,top:c,bottom:u}=CQ(n);r==="middle"&&e&&(n.enableBorderRadius=!0,(e._top||0)===i?r=c:(e._bottom||0)===i?r=u:(s[jf(u,a,o,l)]=!0,r=c)),s[jf(r,a,o,l)]=!0,n.borderSkipped=s}function jf(n,t,e,i){return i?(n=wQ(n,t,e),n=Pf(n,e,t)):n=Pf(n,t,e),n}function wQ(n,t,e){return n===t?e:n===e?t:n}function Pf(n,t,e){return n==="start"?t:n==="end"?e:n}function xQ(n,{inflateAmount:t},e){n.inflateAmount=t==="auto"?e===1?.33:0:t}class Za extends Qt{parsePrimitiveData(t,e,i,r){return Lf(t,e,i,r)}parseArrayData(t,e,i,r){return Lf(t,e,i,r)}parseObjectData(t,e,i,r){const{iScale:s,vScale:a}=t,{xAxisKey:o="x",yAxisKey:l="y"}=this._parsing,c=s.axis==="x"?o:l,u=a.axis==="x"?o:l,d=[];let h,g,f,p;for(h=i,g=i+r;h<g;++h)p=e[h],f={},f[s.axis]=s.parse(Yn(p,c),h),d.push(dm(Yn(p,u),f,a,h));return d}updateRangeFromParsed(t,e,i,r){super.updateRangeFromParsed(t,e,i,r);const s=i._custom;s&&e===this._cachedMeta.vScale&&(t.min=Math.min(t.min,s.min),t.max=Math.max(t.max,s.max))}getMaxOverflow(){return 0}getLabelAndValue(t){const e=this._cachedMeta,{iScale:i,vScale:r}=e,s=this.getParsed(t),a=s._custom,o=No(a)?"["+a.start+", "+a.end+"]":""+r.getLabelForValue(s[r.axis]);return{label:""+i.getLabelForValue(s[i.axis]),value:o}}initialize(){this.enableOptionSharing=!0,super.initialize();const t=this._cachedMeta;t.stack=this.getDataset().stack}update(t){const e=this._cachedMeta;this.updateElements(e.data,0,e.data.length,t)}updateElements(t,e,i,r){const s=r==="reset",{index:a,_cachedMeta:{vScale:o}}=this,l=o.getBasePixel(),c=o.isHorizontal(),u=this._getRuler(),{sharedOptions:d,includeOptions:h}=this._getSharedOptions(e,r);for(let g=e;g<e+i;g++){const f=this.getParsed(g),p=s||Ee(f[o.axis])?{base:l,head:l}:this._calculateBarValuePixels(g),m=this._calculateBarIndexPixels(g,u),b=(f._stacks||{})[o.axis],A={horizontal:c,base:p.base,enableBorderRadius:!b||No(f._custom)||a===b._top||a===b._bottom,x:c?p.head:m.center,y:c?m.center:p.head,height:c?m.size:Math.abs(p.size),width:c?Math.abs(p.size):m.size};h&&(A.options=d||this.resolveDataElementOptions(g,t[g].active?"active":r));const y=A.options||t[g].options;IQ(A,y,b,a),xQ(A,y,u.ratio),this.updateElement(t[g],g,A,r)}}_getStacks(t,e){const{iScale:i}=this._cachedMeta,r=i.getMatchingVisibleMetas(this._type).filter(l=>l.controller.options.grouped),s=i.options.stacked,a=[],o=l=>{const c=l.controller.getParsed(e),u=c&&c[l.vScale.axis];if(Ee(u)||isNaN(u))return!0};for(const l of r)if(!(e!==void 0&&o(l))&&((s===!1||a.indexOf(l.stack)===-1||s===void 0&&l.stack===void 0)&&a.push(l.stack),l.index===t))break;return a.length||a.push(void 0),a}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,e,i){const r=this._getStacks(t,i),s=e!==void 0?r.indexOf(e):-1;return s===-1?r.length-1:s}_getRuler(){const t=this.options,e=this._cachedMeta,i=e.iScale,r=[];let s,a;for(s=0,a=e.data.length;s<a;++s)r.push(i.getPixelForValue(this.getParsed(s)[i.axis],s));const o=t.barThickness;return{min:o||mQ(e),pixels:r,start:i._startPixel,end:i._endPixel,stackCount:this._getStackCount(),scale:i,grouped:t.grouped,ratio:o?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){const{_cachedMeta:{vScale:e,_stacked:i},options:{base:r,minBarLength:s}}=this,a=r||0,o=this.getParsed(t),l=o._custom,c=No(l);let u=o[e.axis],d=0,h=i?this.applyStack(e,o,i):u,g,f;h!==u&&(d=h-u,h=u),c&&(u=l.barStart,h=l.barEnd-l.barStart,u!==0&&rn(u)!==rn(l.barEnd)&&(d=0),d+=u);const p=!Ee(r)&&!c?r:d;let m=e.getPixelForValue(p);if(this.chart.getDataVisibility(t)?g=e.getPixelForValue(d+h):g=m,f=g-m,Math.abs(f)<s){f=AQ(f,e,a)*s,u===a&&(m-=f/2);const b=e.getPixelForDecimal(0),A=e.getPixelForDecimal(1),y=Math.min(b,A),w=Math.max(b,A);m=Math.max(Math.min(m,w),y),g=m+f}if(m===e.getPixelForValue(a)){const b=rn(f)*e.getLineWidthForValue(a)/2;m+=b,f-=b}return{size:f,base:m,head:g,center:g+f/2}}_calculateBarIndexPixels(t,e){const i=e.scale,r=this.options,s=r.skipNull,a=ge(r.maxBarThickness,1/0);let o,l;if(e.grouped){const c=s?this._getStackCount(t):e.stackCount,u=r.barThickness==="flex"?vQ(t,e,r,c):bQ(t,e,r,c),d=this._getStackIndex(this.index,this._cachedMeta.stack,s?t:void 0);o=u.start+u.chunk*d+u.chunk/2,l=Math.min(a,u.chunk*u.ratio)}else o=i.getPixelForValue(this.getParsed(t)[i.axis],t),l=Math.min(a,e.min*e.ratio);return{base:o-l/2,head:o+l/2,center:o,size:l}}draw(){const t=this._cachedMeta,e=t.vScale,i=t.data,r=i.length;let s=0;for(;s<r;++s)this.getParsed(s)[e.axis]!==null&&i[s].draw(this._ctx)}}Za.id="bar";Za.defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};Za.overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};class Xc extends Qt{initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(t,e,i,r){const s=super.parsePrimitiveData(t,e,i,r);for(let a=0;a<s.length;a++)s[a]._custom=this.resolveDataElementOptions(a+i).radius;return s}parseArrayData(t,e,i,r){const s=super.parseArrayData(t,e,i,r);for(let a=0;a<s.length;a++){const o=e[i+a];s[a]._custom=ge(o[2],this.resolveDataElementOptions(a+i).radius)}return s}parseObjectData(t,e,i,r){const s=super.parseObjectData(t,e,i,r);for(let a=0;a<s.length;a++){const o=e[i+a];s[a]._custom=ge(o&&o.r&&+o.r,this.resolveDataElementOptions(a+i).radius)}return s}getMaxOverflow(){const t=this._cachedMeta.data;let e=0;for(let i=t.length-1;i>=0;--i)e=Math.max(e,t[i].size(this.resolveDataElementOptions(i))/2);return e>0&&e}getLabelAndValue(t){const e=this._cachedMeta,{xScale:i,yScale:r}=e,s=this.getParsed(t),a=i.getLabelForValue(s.x),o=r.getLabelForValue(s.y),l=s._custom;return{label:e.label,value:"("+a+", "+o+(l?", "+l:"")+")"}}update(t){const e=this._cachedMeta.data;this.updateElements(e,0,e.length,t)}updateElements(t,e,i,r){const s=r==="reset",{iScale:a,vScale:o}=this._cachedMeta,{sharedOptions:l,includeOptions:c}=this._getSharedOptions(e,r),u=a.axis,d=o.axis;for(let h=e;h<e+i;h++){const g=t[h],f=!s&&this.getParsed(h),p={},m=p[u]=s?a.getPixelForDecimal(.5):a.getPixelForValue(f[u]),b=p[d]=s?o.getBasePixel():o.getPixelForValue(f[d]);p.skip=isNaN(m)||isNaN(b),c&&(p.options=l||this.resolveDataElementOptions(h,g.active?"active":r),s&&(p.options.radius=0)),this.updateElement(g,h,p,r)}}resolveDataElementOptions(t,e){const i=this.getParsed(t);let r=super.resolveDataElementOptions(t,e);r.$shared&&(r=Object.assign({},r,{$shared:!1}));const s=r.radius;return e!=="active"&&(r.radius=0),r.radius+=ge(i&&i._custom,s),r}}Xc.id="bubble";Xc.defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}};Xc.overrides={scales:{x:{type:"linear"},y:{type:"linear"}},plugins:{tooltip:{callbacks:{title(){return""}}}}};function _Q(n,t,e){let i=1,r=1,s=0,a=0;if(t<De){const o=n,l=o+t,c=Math.cos(o),u=Math.sin(o),d=Math.cos(l),h=Math.sin(l),g=(y,w,C)=>Xr(y,o,l,!0)?1:Math.max(w,w*e,C,C*e),f=(y,w,C)=>Xr(y,o,l,!0)?-1:Math.min(w,w*e,C,C*e),p=g(0,c,d),m=g(Ze,u,h),b=f(ze,c,d),A=f(ze+Ze,u,h);i=(p-b)/2,r=(m-A)/2,s=-(p+b)/2,a=-(m+A)/2}return{ratioX:i,ratioY:r,offsetX:s,offsetY:a}}class cs extends Qt{constructor(t,e){super(t,e),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,e){const i=this.getDataset().data,r=this._cachedMeta;if(this._parsing===!1)r._parsed=i;else{let s=l=>+i[l];if(Ae(i[t])){const{key:l="value"}=this._parsing;s=c=>+Yn(i[c],l)}let a,o;for(a=t,o=t+e;a<o;++a)r._parsed[a]=s(a)}}_getRotation(){return Yt(this.options.rotation-90)}_getCircumference(){return Yt(this.options.circumference)}_getRotationExtents(){let t=De,e=-De;for(let i=0;i<this.chart.data.datasets.length;++i)if(this.chart.isDatasetVisible(i)){const r=this.chart.getDatasetMeta(i).controller,s=r._getRotation(),a=r._getCircumference();t=Math.min(t,s),e=Math.max(e,s+a)}return{rotation:t,circumference:e-t}}update(t){const e=this.chart,{chartArea:i}=e,r=this._cachedMeta,s=r.data,a=this.getMaxBorderWidth()+this.getMaxOffset(s)+this.options.spacing,o=Math.max((Math.min(i.width,i.height)-a)/2,0),l=Math.min(C5(this.options.cutout,o),1),c=this._getRingWeight(this.index),{circumference:u,rotation:d}=this._getRotationExtents(),{ratioX:h,ratioY:g,offsetX:f,offsetY:p}=_Q(d,u,l),m=(i.width-a)/h,b=(i.height-a)/g,A=Math.max(Math.min(m,b)/2,0),y=Op(this.options.radius,A),w=Math.max(y*l,0),C=(y-w)/this._getVisibleDatasetWeightTotal();this.offsetX=f*y,this.offsetY=p*y,r.total=this.calculateTotal(),this.outerRadius=y-C*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-C*c,0),this.updateElements(s,0,s.length,t)}_circumference(t,e){const i=this.options,r=this._cachedMeta,s=this._getCircumference();return e&&i.animation.animateRotate||!this.chart.getDataVisibility(t)||r._parsed[t]===null||r.data[t].hidden?0:this.calculateCircumference(r._parsed[t]*s/De)}updateElements(t,e,i,r){const s=r==="reset",a=this.chart,o=a.chartArea,c=a.options.animation,u=(o.left+o.right)/2,d=(o.top+o.bottom)/2,h=s&&c.animateScale,g=h?0:this.innerRadius,f=h?0:this.outerRadius,{sharedOptions:p,includeOptions:m}=this._getSharedOptions(e,r);let b=this._getRotation(),A;for(A=0;A<e;++A)b+=this._circumference(A,s);for(A=e;A<e+i;++A){const y=this._circumference(A,s),w=t[A],C={x:u+this.offsetX,y:d+this.offsetY,startAngle:b,endAngle:b+y,circumference:y,outerRadius:f,innerRadius:g};m&&(C.options=p||this.resolveDataElementOptions(A,w.active?"active":r)),b+=y,this.updateElement(w,A,C,r)}}calculateTotal(){const t=this._cachedMeta,e=t.data;let i=0,r;for(r=0;r<e.length;r++){const s=t._parsed[r];s!==null&&!isNaN(s)&&this.chart.getDataVisibility(r)&&!e[r].hidden&&(i+=Math.abs(s))}return i}calculateCircumference(t){const e=this._cachedMeta.total;return e>0&&!isNaN(t)?De*(Math.abs(t)/e):0}getLabelAndValue(t){const e=this._cachedMeta,i=this.chart,r=i.data.labels||[],s=ls(e._parsed[t],i.options.locale);return{label:r[t]||"",value:s}}getMaxBorderWidth(t){let e=0;const i=this.chart;let r,s,a,o,l;if(!t){for(r=0,s=i.data.datasets.length;r<s;++r)if(i.isDatasetVisible(r)){a=i.getDatasetMeta(r),t=a.data,o=a.controller;break}}if(!t)return 0;for(r=0,s=t.length;r<s;++r)l=o.resolveDataElementOptions(r),l.borderAlign!=="inner"&&(e=Math.max(e,l.borderWidth||0,l.hoverBorderWidth||0));return e}getMaxOffset(t){let e=0;for(let i=0,r=t.length;i<r;++i){const s=this.resolveDataElementOptions(i);e=Math.max(e,s.offset||0,s.hoverOffset||0)}return e}_getRingWeightOffset(t){let e=0;for(let i=0;i<t;++i)this.chart.isDatasetVisible(i)&&(e+=this._getRingWeight(i));return e}_getRingWeight(t){return Math.max(ge(this.chart.data.datasets[t].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}cs.id="doughnut";cs.defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"};cs.descriptors={_scriptable:n=>n!=="spacing",_indexable:n=>n!=="spacing"};cs.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(n){const t=n.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:e}}=n.legend.options;return t.labels.map((i,r)=>{const a=n.getDatasetMeta(0).controller.getStyle(r);return{text:i,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,lineWidth:a.borderWidth,pointStyle:e,hidden:!n.getDataVisibility(r),index:r}})}return[]}},onClick(n,t,e){e.chart.toggleDataVisibility(t.index),e.chart.update()}},tooltip:{callbacks:{title(){return""},label(n){let t=n.label;const e=": "+n.formattedValue;return Ne(t)?(t=t.slice(),t[0]+=e):t+=e,t}}}}};class Ya extends Qt{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const e=this._cachedMeta,{dataset:i,data:r=[],_dataset:s}=e,a=this.chart._animationsDisabled;let{start:o,count:l}=zp(e,r,a);this._drawStart=o,this._drawCount=l,Zp(e)&&(o=0,l=r.length),i._chart=this.chart,i._datasetIndex=this.index,i._decimated=!!s._decimated,i.points=r;const c=this.resolveDatasetElementOptions(t);this.options.showLine||(c.borderWidth=0),c.segment=this.options.segment,this.updateElement(i,void 0,{animated:!a,options:c},t),this.updateElements(r,o,l,t)}updateElements(t,e,i,r){const s=r==="reset",{iScale:a,vScale:o,_stacked:l,_dataset:c}=this._cachedMeta,{sharedOptions:u,includeOptions:d}=this._getSharedOptions(e,r),h=a.axis,g=o.axis,{spanGaps:f,segment:p}=this.options,m=Vi(f)?f:Number.POSITIVE_INFINITY,b=this.chart._animationsDisabled||s||r==="none";let A=e>0&&this.getParsed(e-1);for(let y=e;y<e+i;++y){const w=t[y],C=this.getParsed(y),_=b?w:{},S=Ee(C[g]),z=_[h]=a.getPixelForValue(C[h],y),R=_[g]=s||S?o.getBasePixel():o.getPixelForValue(l?this.applyStack(o,C,l):C[g],y);_.skip=isNaN(z)||isNaN(R)||S,_.stop=y>0&&Math.abs(C[h]-A[h])>m,p&&(_.parsed=C,_.raw=c.data[y]),d&&(_.options=u||this.resolveDataElementOptions(y,w.active?"active":r)),b||this.updateElement(w,y,_,r),A=C}}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,i=e.options&&e.options.borderWidth||0,r=t.data||[];if(!r.length)return i;const s=r[0].size(this.resolveDataElementOptions(0)),a=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(i,s,a)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}Ya.id="line";Ya.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};Ya.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class Vc extends Qt{constructor(t,e){super(t,e),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const e=this._cachedMeta,i=this.chart,r=i.data.labels||[],s=ls(e._parsed[t].r,i.options.locale);return{label:r[t]||"",value:s}}parseObjectData(t,e,i,r){return tm.bind(this)(t,e,i,r)}update(t){const e=this._cachedMeta.data;this._updateRadius(),this.updateElements(e,0,e.length,t)}getMinMax(){const t=this._cachedMeta,e={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach((i,r)=>{const s=this.getParsed(r).r;!isNaN(s)&&this.chart.getDataVisibility(r)&&(s<e.min&&(e.min=s),s>e.max&&(e.max=s))}),e}_updateRadius(){const t=this.chart,e=t.chartArea,i=t.options,r=Math.min(e.right-e.left,e.bottom-e.top),s=Math.max(r/2,0),a=Math.max(i.cutoutPercentage?s/100*i.cutoutPercentage:1,0),o=(s-a)/t.getVisibleDatasetCount();this.outerRadius=s-o*this.index,this.innerRadius=this.outerRadius-o}updateElements(t,e,i,r){const s=r==="reset",a=this.chart,l=a.options.animation,c=this._cachedMeta.rScale,u=c.xCenter,d=c.yCenter,h=c.getIndexAngle(0)-.5*ze;let g=h,f;const p=360/this.countVisibleElements();for(f=0;f<e;++f)g+=this._computeAngle(f,r,p);for(f=e;f<e+i;f++){const m=t[f];let b=g,A=g+this._computeAngle(f,r,p),y=a.getDataVisibility(f)?c.getDistanceFromCenterForValue(this.getParsed(f).r):0;g=A,s&&(l.animateScale&&(y=0),l.animateRotate&&(b=A=h));const w={x:u,y:d,innerRadius:0,outerRadius:y,startAngle:b,endAngle:A,options:this.resolveDataElementOptions(f,m.active?"active":r)};this.updateElement(m,f,w,r)}}countVisibleElements(){const t=this._cachedMeta;let e=0;return t.data.forEach((i,r)=>{!isNaN(this.getParsed(r).r)&&this.chart.getDataVisibility(r)&&e++}),e}_computeAngle(t,e,i){return this.chart.getDataVisibility(t)?Yt(this.resolveDataElementOptions(t,e).angle||i):0}}Vc.id="polarArea";Vc.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};Vc.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(n){const t=n.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:e}}=n.legend.options;return t.labels.map((i,r)=>{const a=n.getDatasetMeta(0).controller.getStyle(r);return{text:i,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,lineWidth:a.borderWidth,pointStyle:e,hidden:!n.getDataVisibility(r),index:r}})}return[]}},onClick(n,t,e){e.chart.toggleDataVisibility(t.index),e.chart.update()}},tooltip:{callbacks:{title(){return""},label(n){return n.chart.data.labels[n.dataIndex]+": "+n.formattedValue}}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class Jc extends cs{}Jc.id="pie";Jc.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class Qc extends Qt{getLabelAndValue(t){const e=this._cachedMeta.vScale,i=this.getParsed(t);return{label:e.getLabels()[t],value:""+e.getLabelForValue(i[e.axis])}}parseObjectData(t,e,i,r){return tm.bind(this)(t,e,i,r)}update(t){const e=this._cachedMeta,i=e.dataset,r=e.data||[],s=e.iScale.getLabels();if(i.points=r,t!=="resize"){const a=this.resolveDatasetElementOptions(t);this.options.showLine||(a.borderWidth=0);const o={_loop:!0,_fullLoop:s.length===r.length,options:a};this.updateElement(i,void 0,o,t)}this.updateElements(r,0,r.length,t)}updateElements(t,e,i,r){const s=this._cachedMeta.rScale,a=r==="reset";for(let o=e;o<e+i;o++){const l=t[o],c=this.resolveDataElementOptions(o,l.active?"active":r),u=s.getPointPositionForValue(o,this.getParsed(o).r),d=a?s.xCenter:u.x,h=a?s.yCenter:u.y,g={x:d,y:h,angle:u.angle,skip:isNaN(d)||isNaN(h),options:c};this.updateElement(l,o,g,r)}}}Qc.id="radar";Qc.defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};Qc.overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};class Ut{constructor(){this.x=void 0,this.y=void 0,this.active=!1,this.options=void 0,this.$animations=void 0}tooltipPosition(t){const{x:e,y:i}=this.getProps(["x","y"],t);return{x:e,y:i}}hasValue(){return Vi(this.x)&&Vi(this.y)}getProps(t,e){const i=this.$animations;if(!e||!i)return this;const r={};return t.forEach(s=>{r[s]=i[s]&&i[s].active()?i[s]._to:this[s]}),r}}Ut.defaults={};Ut.defaultRoutes=void 0;const fm={values(n){return Ne(n)?n:""+n},numeric(n,t,e){if(n===0)return"0";const i=this.chart.options.locale;let r,s=n;if(e.length>1){const c=Math.max(Math.abs(e[0].value),Math.abs(e[e.length-1].value));(c<1e-4||c>1e15)&&(r="scientific"),s=kQ(n,e)}const a=Tt(Math.abs(s)),o=Math.max(Math.min(-1*Math.floor(a),20),0),l={notation:r,minimumFractionDigits:o,maximumFractionDigits:o};return Object.assign(l,this.options.ticks.format),ls(n,i,l)},logarithmic(n,t,e){if(n===0)return"0";const i=n/Math.pow(10,Math.floor(Tt(n)));return i===1||i===2||i===5?fm.numeric.call(this,n,t,e):""}};function kQ(n,t){let e=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(e)>=1&&n!==Math.floor(n)&&(e=n-Math.floor(n)),e}var Wa={formatters:fm};Ce.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(n,t)=>t.lineWidth,tickColor:(n,t)=>t.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Wa.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}});Ce.route("scale.ticks","color","","color");Ce.route("scale.grid","color","","borderColor");Ce.route("scale.grid","borderColor","","borderColor");Ce.route("scale.title","color","","color");Ce.describe("scale",{_fallback:!1,_scriptable:n=>!n.startsWith("before")&&!n.startsWith("after")&&n!=="callback"&&n!=="parser",_indexable:n=>n!=="borderDash"&&n!=="tickBorderDash"});Ce.describe("scales",{_fallback:"scale"});Ce.describe("scale.ticks",{_scriptable:n=>n!=="backdropPadding"&&n!=="callback",_indexable:n=>n!=="backdropPadding"});function EQ(n,t){const e=n.options.ticks,i=e.maxTicksLimit||SQ(n),r=e.major.enabled?MQ(t):[],s=r.length,a=r[0],o=r[s-1],l=[];if(s>i)return DQ(t,l,r,s/i),l;const c=RQ(r,t,i);if(s>0){let u,d;const h=s>1?Math.round((o-a)/(s-1)):null;for(Gs(t,l,c,Ee(h)?0:a-h,a),u=0,d=s-1;u<d;u++)Gs(t,l,c,r[u],r[u+1]);return Gs(t,l,c,o,Ee(h)?t.length:o+h),l}return Gs(t,l,c),l}function SQ(n){const t=n.options.offset,e=n._tickSize(),i=n._length/e+(t?0:1),r=n._maxLength/e;return Math.floor(Math.min(i,r))}function RQ(n,t,e){const i=BQ(n),r=t.length/e;if(!i)return Math.max(r,1);const s=R5(i);for(let a=0,o=s.length-1;a<o;a++){const l=s[a];if(l>r)return l}return Math.max(r,1)}function MQ(n){const t=[];let e,i;for(e=0,i=n.length;e<i;e++)n[e].major&&t.push(e);return t}function DQ(n,t,e,i){let r=0,s=e[0],a;for(i=Math.ceil(i),a=0;a<n.length;a++)a===s&&(t.push(n[a]),r++,s=e[r*i])}function Gs(n,t,e,i,r){const s=ge(i,0),a=Math.min(ge(r,n.length),n.length);let o=0,l,c,u;for(e=Math.ceil(e),r&&(l=r-i,e=l/Math.floor(l/e)),u=s;u<0;)o++,u=Math.round(s+o*e);for(c=Math.max(s,0);c<a;c++)c===u&&(t.push(n[c]),o++,u=Math.round(s+o*e))}function BQ(n){const t=n.length;let e,i;if(t<2)return!1;for(i=n[0],e=1;e<t;++e)if(n[e]-n[e-1]!==i)return!1;return i}const GQ=n=>n==="left"?"right":n==="right"?"left":n,Ff=(n,t,e)=>t==="top"||t==="left"?n[t]+e:n[t]-e;function Hf(n,t){const e=[],i=n.length/t,r=n.length;let s=0;for(;s<r;s+=i)e.push(n[Math.floor(s)]);return e}function OQ(n,t,e){const i=n.ticks.length,r=Math.min(t,i-1),s=n._startPixel,a=n._endPixel,o=1e-6;let l=n.getPixelForTick(r),c;if(!(e&&(i===1?c=Math.max(l-s,a-l):t===0?c=(n.getPixelForTick(1)-l)/2:c=(l-n.getPixelForTick(r-1))/2,l+=r<t?c:-c,l<s-o||l>a+o)))return l}function NQ(n,t){Re(n,e=>{const i=e.gc,r=i.length/2;let s;if(r>t){for(s=0;s<r;++s)delete e.data[i[s]];i.splice(0,r)}})}function Cr(n){return n.drawTicks?n.tickLength:0}function zf(n,t){if(!n.display)return 0;const e=$e(n.font,t),i=ht(n.padding);return(Ne(n.text)?n.text.length:1)*e.lineHeight+i.height}function TQ(n,t){return Jn(n,{scale:t,type:"scale"})}function LQ(n,t,e){return Jn(n,{tick:e,index:t,type:"tick"})}function jQ(n,t,e){let i=Lc(n);return(e&&t!=="right"||!e&&t==="right")&&(i=GQ(i)),i}function PQ(n,t,e,i){const{top:r,left:s,bottom:a,right:o,chart:l}=n,{chartArea:c,scales:u}=l;let d=0,h,g,f;const p=a-r,m=o-s;if(n.isHorizontal()){if(g=lt(i,s,o),Ae(e)){const b=Object.keys(e)[0],A=e[b];f=u[b].getPixelForValue(A)+p-t}else e==="center"?f=(c.bottom+c.top)/2+p-t:f=Ff(n,e,t);h=o-s}else{if(Ae(e)){const b=Object.keys(e)[0],A=e[b];g=u[b].getPixelForValue(A)-m+t}else e==="center"?g=(c.left+c.right)/2-m+t:g=Ff(n,e,t);f=lt(i,a,r),d=e==="left"?-Ze:Ze}return{titleX:g,titleY:f,maxWidth:h,rotation:d}}class yi extends Ut{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,e){return t}getUserBounds(){let{_userMin:t,_userMax:e,_suggestedMin:i,_suggestedMax:r}=this;return t=Bt(t,Number.POSITIVE_INFINITY),e=Bt(e,Number.NEGATIVE_INFINITY),i=Bt(i,Number.POSITIVE_INFINITY),r=Bt(r,Number.NEGATIVE_INFINITY),{min:Bt(t,i),max:Bt(e,r),minDefined:Je(t),maxDefined:Je(e)}}getMinMax(t){let{min:e,max:i,minDefined:r,maxDefined:s}=this.getUserBounds(),a;if(r&&s)return{min:e,max:i};const o=this.getMatchingVisibleMetas();for(let l=0,c=o.length;l<c;++l)a=o[l].controller.getMinMax(this,t),r||(e=Math.min(e,a.min)),s||(i=Math.max(i,a.max));return e=s&&e>i?i:e,i=r&&e>i?e:i,{min:Bt(e,Bt(i,e)),max:Bt(i,Bt(e,i))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Oe(this.options.beforeUpdate,[this])}update(t,e,i){const{beginAtZero:r,grace:s,ticks:a}=this.options,o=a.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=bJ(this,s,r),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=o<this.ticks.length;this._convertTicksToLabels(l?Hf(this.ticks,o):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),a.display&&(a.autoSkip||a.source==="auto")&&(this.ticks=EQ(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),l&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t=this.options.reverse,e,i;this.isHorizontal()?(e=this.left,i=this.right):(e=this.top,i=this.bottom,t=!t),this._startPixel=e,this._endPixel=i,this._reversePixels=t,this._length=i-e,this._alignToPixels=this.options.alignToPixels}afterUpdate(){Oe(this.options.afterUpdate,[this])}beforeSetDimensions(){Oe(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){Oe(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),Oe(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){Oe(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const e=this.options.ticks;let i,r,s;for(i=0,r=t.length;i<r;i++)s=t[i],s.label=Oe(e.callback,[s.value,i,t],this)}afterTickToLabelConversion(){Oe(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){Oe(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,e=t.ticks,i=this.ticks.length,r=e.minRotation||0,s=e.maxRotation;let a=r,o,l,c;if(!this._isVisible()||!e.display||r>=s||i<=1||!this.isHorizontal()){this.labelRotation=r;return}const u=this._getLabelSizes(),d=u.widest.width,h=u.highest.height,g=ut(this.chart.width-d,0,this.maxWidth);o=t.offset?this.maxWidth/i:g/(i-1),d+6>o&&(o=g/(i-(t.offset?.5:1)),l=this.maxHeight-Cr(t.grid)-e.padding-zf(t.title,this.chart.options.font),c=Math.sqrt(d*d+h*h),a=Nc(Math.min(Math.asin(ut((u.highest.height+6)/o,-1,1)),Math.asin(ut(l/c,-1,1))-Math.asin(ut(h/c,-1,1)))),a=Math.max(r,Math.min(s,a))),this.labelRotation=a}afterCalculateLabelRotation(){Oe(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Oe(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:i,title:r,grid:s}}=this,a=this._isVisible(),o=this.isHorizontal();if(a){const l=zf(r,e.options.font);if(o?(t.width=this.maxWidth,t.height=Cr(s)+l):(t.height=this.maxHeight,t.width=Cr(s)+l),i.display&&this.ticks.length){const{first:c,last:u,widest:d,highest:h}=this._getLabelSizes(),g=i.padding*2,f=Yt(this.labelRotation),p=Math.cos(f),m=Math.sin(f);if(o){const b=i.mirror?0:m*d.width+p*h.height;t.height=Math.min(this.maxHeight,t.height+b+g)}else{const b=i.mirror?0:p*d.width+m*h.height;t.width=Math.min(this.maxWidth,t.width+b+g)}this._calculatePadding(c,u,m,p)}}this._handleMargins(),o?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,e,i,r){const{ticks:{align:s,padding:a},position:o}=this.options,l=this.labelRotation!==0,c=o!=="top"&&this.axis==="x";if(this.isHorizontal()){const u=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1);let h=0,g=0;l?c?(h=r*t.width,g=i*e.height):(h=i*t.height,g=r*e.width):s==="start"?g=e.width:s==="end"?h=t.width:s!=="inner"&&(h=t.width/2,g=e.width/2),this.paddingLeft=Math.max((h-u+a)*this.width/(this.width-u),0),this.paddingRight=Math.max((g-d+a)*this.width/(this.width-d),0)}else{let u=e.height/2,d=t.height/2;s==="start"?(u=0,d=t.height):s==="end"&&(u=e.height,d=0),this.paddingTop=u+a,this.paddingBottom=d+a}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Oe(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:e}=this.options;return e==="top"||e==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let e,i;for(e=0,i=t.length;e<i;e++)Ee(t[e].label)&&(t.splice(e,1),i--,e--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){const e=this.options.ticks.sampleSize;let i=this.ticks;e<i.length&&(i=Hf(i,e)),this._labelSizes=t=this._computeLabelSizes(i,i.length)}return t}_computeLabelSizes(t,e){const{ctx:i,_longestTextCache:r}=this,s=[],a=[];let o=0,l=0,c,u,d,h,g,f,p,m,b,A,y;for(c=0;c<e;++c){if(h=t[c].label,g=this._resolveTickFontOptions(c),i.font=f=g.string,p=r[f]=r[f]||{data:{},gc:[]},m=g.lineHeight,b=A=0,!Ee(h)&&!Ne(h))b=pa(i,p.data,p.gc,b,h),A=m;else if(Ne(h))for(u=0,d=h.length;u<d;++u)y=h[u],!Ee(y)&&!Ne(y)&&(b=pa(i,p.data,p.gc,b,y),A+=m);s.push(b),a.push(A),o=Math.max(b,o),l=Math.max(A,l)}NQ(r,e);const w=s.indexOf(o),C=a.indexOf(l),_=S=>({width:s[S]||0,height:a[S]||0});return{first:_(0),last:_(e-1),widest:_(w),highest:_(C),widths:s,heights:a}}getLabelForValue(t){return t}getPixelForValue(t,e){return NaN}getValueForPixel(t){}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const e=this._startPixel+t*this._length;return B5(this._alignToPixels?Kn(this.chart,e,0):e)}getDecimalForPixel(t){const e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:e}=this;return t<0&&e<0?e:t>0&&e>0?t:0}getContext(t){const e=this.ticks||[];if(t>=0&&t<e.length){const i=e[t];return i.$context||(i.$context=LQ(this.getContext(),t,i))}return this.$context||(this.$context=TQ(this.chart.getContext(),this))}_tickSize(){const t=this.options.ticks,e=Yt(this.labelRotation),i=Math.abs(Math.cos(e)),r=Math.abs(Math.sin(e)),s=this._getLabelSizes(),a=t.autoSkipPadding||0,o=s?s.widest.width+a:0,l=s?s.highest.height+a:0;return this.isHorizontal()?l*i>o*r?o/i:l/r:l*r<o*i?l/i:o/r}_isVisible(){const t=this.options.display;return t!=="auto"?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){const e=this.axis,i=this.chart,r=this.options,{grid:s,position:a}=r,o=s.offset,l=this.isHorizontal(),u=this.ticks.length+(o?1:0),d=Cr(s),h=[],g=s.setContext(this.getContext()),f=g.drawBorder?g.borderWidth:0,p=f/2,m=function(G){return Kn(i,G,f)};let b,A,y,w,C,_,S,z,R,T,x,O;if(a==="top")b=m(this.bottom),_=this.bottom-d,z=b-p,T=m(t.top)+p,O=t.bottom;else if(a==="bottom")b=m(this.top),T=t.top,O=m(t.bottom)-p,_=b+p,z=this.top+d;else if(a==="left")b=m(this.right),C=this.right-d,S=b-p,R=m(t.left)+p,x=t.right;else if(a==="right")b=m(this.left),R=t.left,x=m(t.right)-p,C=b+p,S=this.left+d;else if(e==="x"){if(a==="center")b=m((t.top+t.bottom)/2+.5);else if(Ae(a)){const G=Object.keys(a)[0],F=a[G];b=m(this.chart.scales[G].getPixelForValue(F))}T=t.top,O=t.bottom,_=b+p,z=_+d}else if(e==="y"){if(a==="center")b=m((t.left+t.right)/2);else if(Ae(a)){const G=Object.keys(a)[0],F=a[G];b=m(this.chart.scales[G].getPixelForValue(F))}C=b-p,S=C-d,R=t.left,x=t.right}const B=ge(r.ticks.maxTicksLimit,u),L=Math.max(1,Math.ceil(u/B));for(A=0;A<u;A+=L){const G=s.setContext(this.getContext(A)),F=G.lineWidth,P=G.color,V=G.borderDash||[],te=G.borderDashOffset,Z=G.tickWidth,W=G.tickColor,H=G.tickBorderDash||[],j=G.tickBorderDashOffset;y=OQ(this,A,o),y!==void 0&&(w=Kn(i,y,F),l?C=S=R=x=w:_=z=T=O=w,h.push({tx1:C,ty1:_,tx2:S,ty2:z,x1:R,y1:T,x2:x,y2:O,width:F,color:P,borderDash:V,borderDashOffset:te,tickWidth:Z,tickColor:W,tickBorderDash:H,tickBorderDashOffset:j}))}return this._ticksLength=u,this._borderValue=b,h}_computeLabelItems(t){const e=this.axis,i=this.options,{position:r,ticks:s}=i,a=this.isHorizontal(),o=this.ticks,{align:l,crossAlign:c,padding:u,mirror:d}=s,h=Cr(i.grid),g=h+u,f=d?-u:g,p=-Yt(this.labelRotation),m=[];let b,A,y,w,C,_,S,z,R,T,x,O,B="middle";if(r==="top")_=this.bottom-f,S=this._getXAxisLabelAlignment();else if(r==="bottom")_=this.top+f,S=this._getXAxisLabelAlignment();else if(r==="left"){const G=this._getYAxisLabelAlignment(h);S=G.textAlign,C=G.x}else if(r==="right"){const G=this._getYAxisLabelAlignment(h);S=G.textAlign,C=G.x}else if(e==="x"){if(r==="center")_=(t.top+t.bottom)/2+g;else if(Ae(r)){const G=Object.keys(r)[0],F=r[G];_=this.chart.scales[G].getPixelForValue(F)+g}S=this._getXAxisLabelAlignment()}else if(e==="y"){if(r==="center")C=(t.left+t.right)/2-g;else if(Ae(r)){const G=Object.keys(r)[0],F=r[G];C=this.chart.scales[G].getPixelForValue(F)}S=this._getYAxisLabelAlignment(h).textAlign}e==="y"&&(l==="start"?B="top":l==="end"&&(B="bottom"));const L=this._getLabelSizes();for(b=0,A=o.length;b<A;++b){y=o[b],w=y.label;const G=s.setContext(this.getContext(b));z=this.getPixelForTick(b)+s.labelOffset,R=this._resolveTickFontOptions(b),T=R.lineHeight,x=Ne(w)?w.length:1;const F=x/2,P=G.color,V=G.textStrokeColor,te=G.textStrokeWidth;let Z=S;a?(C=z,S==="inner"&&(b===A-1?Z=this.options.reverse?"left":"right":b===0?Z=this.options.reverse?"right":"left":Z="center"),r==="top"?c==="near"||p!==0?O=-x*T+T/2:c==="center"?O=-L.highest.height/2-F*T+T:O=-L.highest.height+T/2:c==="near"||p!==0?O=T/2:c==="center"?O=L.highest.height/2-F*T:O=L.highest.height-x*T,d&&(O*=-1)):(_=z,O=(1-x)*T/2);let W;if(G.showLabelBackdrop){const H=ht(G.backdropPadding),j=L.heights[b],Y=L.widths[b];let J=_+O-H.top,D=C-H.left;switch(B){case"middle":J-=j/2;break;case"bottom":J-=j;break}switch(S){case"center":D-=Y/2;break;case"right":D-=Y;break}W={left:D,top:J,width:Y+H.width,height:j+H.height,color:G.backdropColor}}m.push({rotation:p,label:w,font:R,color:P,strokeColor:V,strokeWidth:te,textOffset:O,textAlign:Z,textBaseline:B,translation:[C,_],backdrop:W})}return m}_getXAxisLabelAlignment(){const{position:t,ticks:e}=this.options;if(-Yt(this.labelRotation))return t==="top"?"left":"right";let r="center";return e.align==="start"?r="left":e.align==="end"?r="right":e.align==="inner"&&(r="inner"),r}_getYAxisLabelAlignment(t){const{position:e,ticks:{crossAlign:i,mirror:r,padding:s}}=this.options,a=this._getLabelSizes(),o=t+s,l=a.widest.width;let c,u;return e==="left"?r?(u=this.right+s,i==="near"?c="left":i==="center"?(c="center",u+=l/2):(c="right",u+=l)):(u=this.right-o,i==="near"?c="right":i==="center"?(c="center",u-=l/2):(c="left",u=this.left)):e==="right"?r?(u=this.left+s,i==="near"?c="right":i==="center"?(c="center",u-=l/2):(c="left",u-=l)):(u=this.left+o,i==="near"?c="left":i==="center"?(c="center",u+=l/2):(c="right",u=this.right)):c="right",{textAlign:c,x:u}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,e=this.options.position;if(e==="left"||e==="right")return{top:0,left:this.left,bottom:t.height,right:this.right};if(e==="top"||e==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:t.width}}drawBackground(){const{ctx:t,options:{backgroundColor:e},left:i,top:r,width:s,height:a}=this;e&&(t.save(),t.fillStyle=e,t.fillRect(i,r,s,a),t.restore())}getLineWidthForValue(t){const e=this.options.grid;if(!this._isVisible()||!e.display)return 0;const r=this.ticks.findIndex(s=>s.value===t);return r>=0?e.setContext(this.getContext(r)).lineWidth:0}drawGrid(t){const e=this.options.grid,i=this.ctx,r=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let s,a;const o=(l,c,u)=>{!u.width||!u.color||(i.save(),i.lineWidth=u.width,i.strokeStyle=u.color,i.setLineDash(u.borderDash||[]),i.lineDashOffset=u.borderDashOffset,i.beginPath(),i.moveTo(l.x,l.y),i.lineTo(c.x,c.y),i.stroke(),i.restore())};if(e.display)for(s=0,a=r.length;s<a;++s){const l=r[s];e.drawOnChartArea&&o({x:l.x1,y:l.y1},{x:l.x2,y:l.y2},l),e.drawTicks&&o({x:l.tx1,y:l.ty1},{x:l.tx2,y:l.ty2},{color:l.tickColor,width:l.tickWidth,borderDash:l.tickBorderDash,borderDashOffset:l.tickBorderDashOffset})}}drawBorder(){const{chart:t,ctx:e,options:{grid:i}}=this,r=i.setContext(this.getContext()),s=i.drawBorder?r.borderWidth:0;if(!s)return;const a=i.setContext(this.getContext(0)).lineWidth,o=this._borderValue;let l,c,u,d;this.isHorizontal()?(l=Kn(t,this.left,s)-s/2,c=Kn(t,this.right,a)+a/2,u=d=o):(u=Kn(t,this.top,s)-s/2,d=Kn(t,this.bottom,a)+a/2,l=c=o),e.save(),e.lineWidth=r.borderWidth,e.strokeStyle=r.borderColor,e.beginPath(),e.moveTo(l,u),e.lineTo(c,d),e.stroke(),e.restore()}drawLabels(t){if(!this.options.ticks.display)return;const i=this.ctx,r=this._computeLabelArea();r&&Fa(i,r);const s=this._labelItems||(this._labelItems=this._computeLabelItems(t));let a,o;for(a=0,o=s.length;a<o;++a){const l=s[a],c=l.font,u=l.label;l.backdrop&&(i.fillStyle=l.backdrop.color,i.fillRect(l.backdrop.left,l.backdrop.top,l.backdrop.width,l.backdrop.height));let d=l.textOffset;gi(i,u,0,d,c,l)}r&&Ha(i)}drawTitle(){const{ctx:t,options:{position:e,title:i,reverse:r}}=this;if(!i.display)return;const s=$e(i.font),a=ht(i.padding),o=i.align;let l=s.lineHeight/2;e==="bottom"||e==="center"||Ae(e)?(l+=a.bottom,Ne(i.text)&&(l+=s.lineHeight*(i.text.length-1))):l+=a.top;const{titleX:c,titleY:u,maxWidth:d,rotation:h}=PQ(this,l,e,o);gi(t,i.text,0,0,s,{color:i.color,maxWidth:d,rotation:h,textAlign:jQ(o,e,r),textBaseline:"middle",translation:[c,u]})}draw(t){this._isVisible()&&(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){const t=this.options,e=t.ticks&&t.ticks.z||0,i=ge(t.grid&&t.grid.z,-1);return!this._isVisible()||this.draw!==yi.prototype.draw?[{z:e,draw:r=>{this.draw(r)}}]:[{z:i,draw:r=>{this.drawBackground(),this.drawGrid(r),this.drawTitle()}},{z:i+1,draw:()=>{this.drawBorder()}},{z:e,draw:r=>{this.drawLabels(r)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",r=[];let s,a;for(s=0,a=e.length;s<a;++s){const o=e[s];o[i]===this.id&&(!t||o.type===t)&&r.push(o)}return r}_resolveTickFontOptions(t){const e=this.options.ticks.setContext(this.getContext(t));return $e(e.font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class Os{constructor(t,e,i){this.type=t,this.scope=e,this.override=i,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){const e=Object.getPrototypeOf(t);let i;zQ(e)&&(i=this.register(e));const r=this.items,s=t.id,a=this.scope+"."+s;if(!s)throw new Error("class does not have id: "+t);return s in r||(r[s]=t,FQ(t,a,i),this.override&&Ce.override(t.id,t.overrides)),a}get(t){return this.items[t]}unregister(t){const e=this.items,i=t.id,r=this.scope;i in e&&delete e[i],r&&i in Ce[r]&&(delete Ce[r][i],this.override&&delete hi[i])}}function FQ(n,t,e){const i=Wr(Object.create(null),[e?Ce.get(e):{},Ce.get(t),n.defaults]);Ce.set(t,i),n.defaultRoutes&&HQ(t,n.defaultRoutes),n.descriptors&&Ce.describe(t,n.descriptors)}function HQ(n,t){Object.keys(t).forEach(e=>{const i=e.split("."),r=i.pop(),s=[n].concat(i).join("."),a=t[e].split("."),o=a.pop(),l=a.join(".");Ce.route(s,r,l,o)})}function zQ(n){return"id"in n&&"defaults"in n}class ZQ{constructor(){this.controllers=new Os(Qt,"datasets",!0),this.elements=new Os(Ut,"elements"),this.plugins=new Os(Object,"plugins"),this.scales=new Os(yi,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,e,i){[...e].forEach(r=>{const s=i||this._getRegistryForType(r);i||s.isForType(r)||s===this.plugins&&r.id?this._exec(t,s,r):Re(r,a=>{const o=i||this._getRegistryForType(a);this._exec(t,o,a)})})}_exec(t,e,i){const r=Oc(t);Oe(i["before"+r],[],i),e[t](i),Oe(i["after"+r],[],i)}_getRegistryForType(t){for(let e=0;e<this._typedRegistries.length;e++){const i=this._typedRegistries[e];if(i.isForType(t))return i}return this.plugins}_get(t,e,i){const r=e.get(t);if(r===void 0)throw new Error('"'+t+'" is not a registered '+i+".");return r}}var nn=new ZQ;class Uc extends Qt{update(t){const e=this._cachedMeta,{data:i=[]}=e,r=this.chart._animationsDisabled;let{start:s,count:a}=zp(e,i,r);if(this._drawStart=s,this._drawCount=a,Zp(e)&&(s=0,a=i.length),this.options.showLine){const{dataset:o,_dataset:l}=e;o._chart=this.chart,o._datasetIndex=this.index,o._decimated=!!l._decimated,o.points=i;const c=this.resolveDatasetElementOptions(t);c.segment=this.options.segment,this.updateElement(o,void 0,{animated:!r,options:c},t)}this.updateElements(i,s,a,t)}addElements(){const{showLine:t}=this.options;!this.datasetElementType&&t&&(this.datasetElementType=nn.getElement("line")),super.addElements()}updateElements(t,e,i,r){const s=r==="reset",{iScale:a,vScale:o,_stacked:l,_dataset:c}=this._cachedMeta,u=this.resolveDataElementOptions(e,r),d=this.getSharedOptions(u),h=this.includeOptions(r,d),g=a.axis,f=o.axis,{spanGaps:p,segment:m}=this.options,b=Vi(p)?p:Number.POSITIVE_INFINITY,A=this.chart._animationsDisabled||s||r==="none";let y=e>0&&this.getParsed(e-1);for(let w=e;w<e+i;++w){const C=t[w],_=this.getParsed(w),S=A?C:{},z=Ee(_[f]),R=S[g]=a.getPixelForValue(_[g],w),T=S[f]=s||z?o.getBasePixel():o.getPixelForValue(l?this.applyStack(o,_,l):_[f],w);S.skip=isNaN(R)||isNaN(T)||z,S.stop=w>0&&Math.abs(_[g]-y[g])>b,m&&(S.parsed=_,S.raw=c.data[w]),h&&(S.options=d||this.resolveDataElementOptions(w,C.active?"active":r)),A||this.updateElement(C,w,S,r),y=_}this.updateSharedOptions(d,r,u)}getMaxOverflow(){const t=this._cachedMeta,e=t.data||[];if(!this.options.showLine){let o=0;for(let l=e.length-1;l>=0;--l)o=Math.max(o,e[l].size(this.resolveDataElementOptions(l))/2);return o>0&&o}const i=t.dataset,r=i.options&&i.options.borderWidth||0;if(!e.length)return r;const s=e[0].size(this.resolveDataElementOptions(0)),a=e[e.length-1].size(this.resolveDataElementOptions(e.length-1));return Math.max(r,s,a)/2}}Uc.id="scatter";Uc.defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1};Uc.overrides={interaction:{mode:"point"},plugins:{tooltip:{callbacks:{title(){return""},label(n){return"("+n.label+", "+n.formattedValue+")"}}}},scales:{x:{type:"linear"},y:{type:"linear"}}};function qn(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Gl{constructor(t){this.options=t||{}}init(t){}formats(){return qn()}parse(t,e){return qn()}format(t,e){return qn()}add(t,e,i){return qn()}diff(t,e,i){return qn()}startOf(t,e,i){return qn()}endOf(t,e){return qn()}}Gl.override=function(n){Object.assign(Gl.prototype,n)};var YQ={_date:Gl};function WQ(n,t,e,i){const{controller:r,data:s,_sorted:a}=n,o=r._cachedMeta.iScale;if(o&&t===o.axis&&t!=="r"&&a&&s.length){const l=o._reversePixels?G5:ai;if(i){if(r._sharedOptions){const c=s[0],u=typeof c.getRange=="function"&&c.getRange(t);if(u){const d=l(s,t,e-u),h=l(s,t,e+u);return{lo:d.lo,hi:h.hi}}}}else return l(s,t,e)}return{lo:0,hi:s.length-1}}function us(n,t,e,i,r){const s=n.getSortedVisibleDatasetMetas(),a=e[t];for(let o=0,l=s.length;o<l;++o){const{index:c,data:u}=s[o],{lo:d,hi:h}=WQ(s[o],t,a,r);for(let g=d;g<=h;++g){const f=u[g];f.skip||i(f,c,g)}}}function XQ(n){const t=n.indexOf("x")!==-1,e=n.indexOf("y")!==-1;return function(i,r){const s=t?Math.abs(i.x-r.x):0,a=e?Math.abs(i.y-r.y):0;return Math.sqrt(Math.pow(s,2)+Math.pow(a,2))}}function To(n,t,e,i,r){const s=[];return!r&&!n.isPointInArea(t)||us(n,e,t,function(o,l,c){!r&&!Vr(o,n.chartArea,0)||o.inRange(t.x,t.y,i)&&s.push({element:o,datasetIndex:l,index:c})},!0),s}function VQ(n,t,e,i){let r=[];function s(a,o,l){const{startAngle:c,endAngle:u}=a.getProps(["startAngle","endAngle"],i),{angle:d}=Lp(a,{x:t.x,y:t.y});Xr(d,c,u)&&r.push({element:a,datasetIndex:o,index:l})}return us(n,e,t,s),r}function JQ(n,t,e,i,r,s){let a=[];const o=XQ(e);let l=Number.POSITIVE_INFINITY;function c(u,d,h){const g=u.inRange(t.x,t.y,r);if(i&&!g)return;const f=u.getCenterPoint(r);if(!(!!s||n.isPointInArea(f))&&!g)return;const m=o(t,f);m<l?(a=[{element:u,datasetIndex:d,index:h}],l=m):m===l&&a.push({element:u,datasetIndex:d,index:h})}return us(n,e,t,c),a}function Lo(n,t,e,i,r,s){return!s&&!n.isPointInArea(t)?[]:e==="r"&&!i?VQ(n,t,e,r):JQ(n,t,e,i,r,s)}function Zf(n,t,e,i,r){const s=[],a=e==="x"?"inXRange":"inYRange";let o=!1;return us(n,e,t,(l,c,u)=>{l[a](t[e],r)&&(s.push({element:l,datasetIndex:c,index:u}),o=o||l.inRange(t.x,t.y,r))}),i&&!o?[]:s}var QQ={evaluateInteractionItems:us,modes:{index(n,t,e,i){const r=ii(t,n),s=e.axis||"x",a=e.includeInvisible||!1,o=e.intersect?To(n,r,s,i,a):Lo(n,r,s,!1,i,a),l=[];return o.length?(n.getSortedVisibleDatasetMetas().forEach(c=>{const u=o[0].index,d=c.data[u];d&&!d.skip&&l.push({element:d,datasetIndex:c.index,index:u})}),l):[]},dataset(n,t,e,i){const r=ii(t,n),s=e.axis||"xy",a=e.includeInvisible||!1;let o=e.intersect?To(n,r,s,i,a):Lo(n,r,s,!1,i,a);if(o.length>0){const l=o[0].datasetIndex,c=n.getDatasetMeta(l).data;o=[];for(let u=0;u<c.length;++u)o.push({element:c[u],datasetIndex:l,index:u})}return o},point(n,t,e,i){const r=ii(t,n),s=e.axis||"xy",a=e.includeInvisible||!1;return To(n,r,s,i,a)},nearest(n,t,e,i){const r=ii(t,n),s=e.axis||"xy",a=e.includeInvisible||!1;return Lo(n,r,s,e.intersect,i,a)},x(n,t,e,i){const r=ii(t,n);return Zf(n,r,"x",e.intersect,i)},y(n,t,e,i){const r=ii(t,n);return Zf(n,r,"y",e.intersect,i)}}};const hm=["left","top","right","bottom"];function Ir(n,t){return n.filter(e=>e.pos===t)}function Yf(n,t){return n.filter(e=>hm.indexOf(e.pos)===-1&&e.box.axis===t)}function wr(n,t){return n.sort((e,i)=>{const r=t?i:e,s=t?e:i;return r.weight===s.weight?r.index-s.index:r.weight-s.weight})}function UQ(n){const t=[];let e,i,r,s,a,o;for(e=0,i=(n||[]).length;e<i;++e)r=n[e],{position:s,options:{stack:a,stackWeight:o=1}}=r,t.push({index:e,box:r,pos:s,horizontal:r.isHorizontal(),weight:r.weight,stack:a&&s+a,stackWeight:o});return t}function KQ(n){const t={};for(const e of n){const{stack:i,pos:r,stackWeight:s}=e;if(!i||!hm.includes(r))continue;const a=t[i]||(t[i]={count:0,placed:0,weight:0,size:0});a.count++,a.weight+=s}return t}function qQ(n,t){const e=KQ(n),{vBoxMaxWidth:i,hBoxMaxHeight:r}=t;let s,a,o;for(s=0,a=n.length;s<a;++s){o=n[s];const{fullSize:l}=o.box,c=e[o.stack],u=c&&o.stackWeight/c.weight;o.horizontal?(o.width=u?u*i:l&&t.availableWidth,o.height=r):(o.width=i,o.height=u?u*r:l&&t.availableHeight)}return e}function $Q(n){const t=UQ(n),e=wr(t.filter(c=>c.box.fullSize),!0),i=wr(Ir(t,"left"),!0),r=wr(Ir(t,"right")),s=wr(Ir(t,"top"),!0),a=wr(Ir(t,"bottom")),o=Yf(t,"x"),l=Yf(t,"y");return{fullSize:e,leftAndTop:i.concat(s),rightAndBottom:r.concat(l).concat(a).concat(o),chartArea:Ir(t,"chartArea"),vertical:i.concat(r).concat(l),horizontal:s.concat(a).concat(o)}}function Wf(n,t,e,i){return Math.max(n[e],t[e])+Math.max(n[i],t[i])}function gm(n,t){n.top=Math.max(n.top,t.top),n.left=Math.max(n.left,t.left),n.bottom=Math.max(n.bottom,t.bottom),n.right=Math.max(n.right,t.right)}function eU(n,t,e,i){const{pos:r,box:s}=e,a=n.maxPadding;if(!Ae(r)){e.size&&(n[r]-=e.size);const d=i[e.stack]||{size:0,count:1};d.size=Math.max(d.size,e.horizontal?s.height:s.width),e.size=d.size/d.count,n[r]+=e.size}s.getPadding&&gm(a,s.getPadding());const o=Math.max(0,t.outerWidth-Wf(a,n,"left","right")),l=Math.max(0,t.outerHeight-Wf(a,n,"top","bottom")),c=o!==n.w,u=l!==n.h;return n.w=o,n.h=l,e.horizontal?{same:c,other:u}:{same:u,other:c}}function tU(n){const t=n.maxPadding;function e(i){const r=Math.max(t[i]-n[i],0);return n[i]+=r,r}n.y+=e("top"),n.x+=e("left"),e("right"),e("bottom")}function nU(n,t){const e=t.maxPadding;function i(r){const s={left:0,top:0,right:0,bottom:0};return r.forEach(a=>{s[a]=Math.max(t[a],e[a])}),s}return i(n?["left","right"]:["top","bottom"])}function Rr(n,t,e,i){const r=[];let s,a,o,l,c,u;for(s=0,a=n.length,c=0;s<a;++s){o=n[s],l=o.box,l.update(o.width||t.w,o.height||t.h,nU(o.horizontal,t));const{same:d,other:h}=eU(t,e,o,i);c|=d&&r.length,u=u||h,l.fullSize||r.push(o)}return c&&Rr(r,t,e,i)||u}function Ns(n,t,e,i,r){n.top=e,n.left=t,n.right=t+i,n.bottom=e+r,n.width=i,n.height=r}function Xf(n,t,e,i){const r=e.padding;let{x:s,y:a}=t;for(const o of n){const l=o.box,c=i[o.stack]||{count:1,placed:0,weight:1},u=o.stackWeight/c.weight||1;if(o.horizontal){const d=t.w*u,h=c.size||l.height;jt(c.start)&&(a=c.start),l.fullSize?Ns(l,r.left,a,e.outerWidth-r.right-r.left,h):Ns(l,t.left+c.placed,a,d,h),c.start=a,c.placed+=d,a=l.bottom}else{const d=t.h*u,h=c.size||l.width;jt(c.start)&&(s=c.start),l.fullSize?Ns(l,s,r.top,h,e.outerHeight-r.bottom-r.top):Ns(l,s,t.top+c.placed,h,d),c.start=s,c.placed+=d,s=l.right}}t.x=s,t.y=a}Ce.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}});var Lt={addBox(n,t){n.boxes||(n.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(e){t.draw(e)}}]},n.boxes.push(t)},removeBox(n,t){const e=n.boxes?n.boxes.indexOf(t):-1;e!==-1&&n.boxes.splice(e,1)},configure(n,t,e){t.fullSize=e.fullSize,t.position=e.position,t.weight=e.weight},update(n,t,e,i){if(!n)return;const r=ht(n.options.layout.padding),s=Math.max(t-r.width,0),a=Math.max(e-r.height,0),o=$Q(n.boxes),l=o.vertical,c=o.horizontal;Re(n.boxes,p=>{typeof p.beforeLayout=="function"&&p.beforeLayout()});const u=l.reduce((p,m)=>m.box.options&&m.box.options.display===!1?p:p+1,0)||1,d=Object.freeze({outerWidth:t,outerHeight:e,padding:r,availableWidth:s,availableHeight:a,vBoxMaxWidth:s/2/u,hBoxMaxHeight:a/2}),h=Object.assign({},r);gm(h,ht(i));const g=Object.assign({maxPadding:h,w:s,h:a,x:r.left,y:r.top},r),f=qQ(l.concat(c),d);Rr(o.fullSize,g,d,f),Rr(l,g,d,f),Rr(c,g,d,f)&&Rr(l,g,d,f),tU(g),Xf(o.leftAndTop,g,d,f),g.x+=g.w,g.y+=g.h,Xf(o.rightAndBottom,g,d,f),n.chartArea={left:g.left,top:g.top,right:g.left+g.w,bottom:g.top+g.h,height:g.h,width:g.w},Re(o.chartArea,p=>{const m=p.box;Object.assign(m,n.chartArea),m.update(g.w,g.h,{left:0,top:0,right:0,bottom:0})})}};class pm{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,i){}removeEventListener(t,e,i){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,i,r){return e=Math.max(0,e||t.width),i=i||t.height,{width:e,height:Math.max(0,r?Math.floor(e/r):i)}}isAttached(t){return!0}updateConfig(t){}}class iU extends pm{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const Ws="$chartjs",rU={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Vf=n=>n===null||n==="";function sU(n,t){const e=n.style,i=n.getAttribute("height"),r=n.getAttribute("width");if(n[Ws]={initial:{height:i,width:r,style:{display:e.display,height:e.height,width:e.width}}},e.display=e.display||"block",e.boxSizing=e.boxSizing||"border-box",Vf(r)){const s=_f(n,"width");s!==void 0&&(n.width=s)}if(Vf(i))if(n.style.height==="")n.height=n.width/(t||2);else{const s=_f(n,"height");s!==void 0&&(n.height=s)}return n}const mm=FJ?{passive:!0}:!1;function aU(n,t,e){n.addEventListener(t,e,mm)}function oU(n,t,e){n.canvas.removeEventListener(t,e,mm)}function lU(n,t){const e=rU[n.type]||n.type,{x:i,y:r}=ii(n,t);return{type:e,chart:t,native:n,x:i!==void 0?i:null,y:r!==void 0?r:null}}function ba(n,t){for(const e of n)if(e===t||e.contains(t))return!0}function cU(n,t,e){const i=n.canvas,r=new MutationObserver(s=>{let a=!1;for(const o of s)a=a||ba(o.addedNodes,i),a=a&&!ba(o.removedNodes,i);a&&e()});return r.observe(document,{childList:!0,subtree:!0}),r}function uU(n,t,e){const i=n.canvas,r=new MutationObserver(s=>{let a=!1;for(const o of s)a=a||ba(o.removedNodes,i),a=a&&!ba(o.addedNodes,i);a&&e()});return r.observe(document,{childList:!0,subtree:!0}),r}const Qr=new Map;let Jf=0;function bm(){const n=window.devicePixelRatio;n!==Jf&&(Jf=n,Qr.forEach((t,e)=>{e.currentDevicePixelRatio!==n&&t()}))}function dU(n,t){Qr.size||window.addEventListener("resize",bm),Qr.set(n,t)}function fU(n){Qr.delete(n),Qr.size||window.removeEventListener("resize",bm)}function hU(n,t,e){const i=n.canvas,r=i&&Wc(i);if(!r)return;const s=Hp((o,l)=>{const c=r.clientWidth;e(o,l),c<r.clientWidth&&e()},window),a=new ResizeObserver(o=>{const l=o[0],c=l.contentRect.width,u=l.contentRect.height;c===0&&u===0||s(c,u)});return a.observe(r),dU(n,s),a}function jo(n,t,e){e&&e.disconnect(),t==="resize"&&fU(n)}function gU(n,t,e){const i=n.canvas,r=Hp(s=>{n.ctx!==null&&e(lU(s,n))},n,s=>{const a=s[0];return[a,a.offsetX,a.offsetY]});return aU(i,t,r),r}class pU extends pm{acquireContext(t,e){const i=t&&t.getContext&&t.getContext("2d");return i&&i.canvas===t?(sU(t,e),i):null}releaseContext(t){const e=t.canvas;if(!e[Ws])return!1;const i=e[Ws].initial;["height","width"].forEach(s=>{const a=i[s];Ee(a)?e.removeAttribute(s):e.setAttribute(s,a)});const r=i.style||{};return Object.keys(r).forEach(s=>{e.style[s]=r[s]}),e.width=e.width,delete e[Ws],!0}addEventListener(t,e,i){this.removeEventListener(t,e);const r=t.$proxies||(t.$proxies={}),a={attach:cU,detach:uU,resize:hU}[e]||gU;r[e]=a(t,e,i)}removeEventListener(t,e){const i=t.$proxies||(t.$proxies={}),r=i[e];if(!r)return;({attach:jo,detach:jo,resize:jo}[e]||oU)(t,e,r),i[e]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,i,r){return PJ(t,e,i,r)}isAttached(t){const e=Wc(t);return!!(e&&e.isConnected)}}function mU(n){return!im()||typeof OffscreenCanvas<"u"&&n instanceof OffscreenCanvas?iU:pU}class bU{constructor(){this._init=[]}notify(t,e,i,r){e==="beforeInit"&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const s=r?this._descriptors(t).filter(r):this._descriptors(t),a=this._notify(s,t,e,i);return e==="afterDestroy"&&(this._notify(s,t,"stop"),this._notify(this._init,t,"uninstall")),a}_notify(t,e,i,r){r=r||{};for(const s of t){const a=s.plugin,o=a[i],l=[e,r,s.options];if(Oe(o,l,a)===!1&&r.cancelable)return!1}return!0}invalidate(){Ee(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const e=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),e}_createDescriptors(t,e){const i=t&&t.config,r=ge(i.options&&i.options.plugins,{}),s=vU(i);return r===!1&&!e?[]:AU(t,s,r,e)}_notifyStateChanges(t){const e=this._oldCache||[],i=this._cache,r=(s,a)=>s.filter(o=>!a.some(l=>o.plugin.id===l.plugin.id));this._notify(r(e,i),t,"stop"),this._notify(r(i,e),t,"start")}}function vU(n){const t={},e=[],i=Object.keys(nn.plugins.items);for(let s=0;s<i.length;s++)e.push(nn.getPlugin(i[s]));const r=n.plugins||[];for(let s=0;s<r.length;s++){const a=r[s];e.indexOf(a)===-1&&(e.push(a),t[a.id]=!0)}return{plugins:e,localIds:t}}function yU(n,t){return!t&&n===!1?null:n===!0?{}:n}function AU(n,{plugins:t,localIds:e},i,r){const s=[],a=n.getContext();for(const o of t){const l=o.id,c=yU(i[l],r);c!==null&&s.push({plugin:o,options:CU(n.config,{plugin:o,local:e[l]},c,a)})}return s}function CU(n,{plugin:t,local:e},i,r){const s=n.pluginScopeKeys(t),a=n.getOptionScopes(i,s);return e&&t.defaults&&a.push(t.defaults),n.createResolver(a,r,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Ol(n,t){const e=Ce.datasets[n]||{};return((t.datasets||{})[n]||{}).indexAxis||t.indexAxis||e.indexAxis||"x"}function IU(n,t){let e=n;return n==="_index_"?e=t:n==="_value_"&&(e=t==="x"?"y":"x"),e}function wU(n,t){return n===t?"_index_":"_value_"}function xU(n){if(n==="top"||n==="bottom")return"x";if(n==="left"||n==="right")return"y"}function Nl(n,t){return n==="x"||n==="y"?n:t.axis||xU(t.position)||n.charAt(0).toLowerCase()}function _U(n,t){const e=hi[n.type]||{scales:{}},i=t.scales||{},r=Ol(n.type,t),s=Object.create(null),a=Object.create(null);return Object.keys(i).forEach(o=>{const l=i[o];if(!Ae(l))return console.error(`Invalid scale configuration for scale: ${o}`);if(l._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${o}`);const c=Nl(o,l),u=wU(c,r),d=e.scales||{};s[c]=s[c]||o,a[o]=Br(Object.create(null),[{axis:c},l,d[c],d[u]])}),n.data.datasets.forEach(o=>{const l=o.type||n.type,c=o.indexAxis||Ol(l,t),d=(hi[l]||{}).scales||{};Object.keys(d).forEach(h=>{const g=IU(h,c),f=o[g+"AxisID"]||s[g]||g;a[f]=a[f]||Object.create(null),Br(a[f],[{axis:g},i[f],d[h]])})}),Object.keys(a).forEach(o=>{const l=a[o];Br(l,[Ce.scales[l.type],Ce.scale])}),a}function vm(n){const t=n.options||(n.options={});t.plugins=ge(t.plugins,{}),t.scales=_U(n,t)}function ym(n){return n=n||{},n.datasets=n.datasets||[],n.labels=n.labels||[],n}function kU(n){return n=n||{},n.data=ym(n.data),vm(n),n}const Qf=new Map,Am=new Set;function Ts(n,t){let e=Qf.get(n);return e||(e=t(),Qf.set(n,e),Am.add(e)),e}const xr=(n,t,e)=>{const i=Yn(t,e);i!==void 0&&n.add(i)};let EU=class{constructor(t){this._config=kU(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=ym(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),vm(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return Ts(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,e){return Ts(`${t}.transition.${e}`,()=>[[`datasets.${t}.transitions.${e}`,`transitions.${e}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,e){return Ts(`${t}-${e}`,()=>[[`datasets.${t}.elements.${e}`,`datasets.${t}`,`elements.${e}`,""]])}pluginScopeKeys(t){const e=t.id,i=this.type;return Ts(`${i}-plugin-${e}`,()=>[[`plugins.${e}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,e){const i=this._scopeCache;let r=i.get(t);return(!r||e)&&(r=new Map,i.set(t,r)),r}getOptionScopes(t,e,i){const{options:r,type:s}=this,a=this._cachedScopes(t,i),o=a.get(e);if(o)return o;const l=new Set;e.forEach(u=>{t&&(l.add(t),u.forEach(d=>xr(l,t,d))),u.forEach(d=>xr(l,r,d)),u.forEach(d=>xr(l,hi[s]||{},d)),u.forEach(d=>xr(l,Ce,d)),u.forEach(d=>xr(l,Dl,d))});const c=Array.from(l);return c.length===0&&c.push(Object.create(null)),Am.has(e)&&a.set(e,c),c}chartOptionScopes(){const{options:t,type:e}=this;return[t,hi[e]||{},Ce.datasets[e]||{},{type:e},Ce,Dl]}resolveNamedOptions(t,e,i,r=[""]){const s={$shared:!0},{resolver:a,subPrefixes:o}=Uf(this._resolverCache,t,r);let l=a;if(RU(a,e)){s.$shared=!1,i=Wn(i)?i():i;const c=this.createResolver(t,i,o);l=Ji(a,i,c)}for(const c of e)s[c]=l[c];return s}createResolver(t,e,i=[""],r){const{resolver:s}=Uf(this._resolverCache,t,i);return Ae(e)?Ji(s,e,void 0,r):s}};function Uf(n,t,e){let i=n.get(t);i||(i=new Map,n.set(t,i));const r=e.join();let s=i.get(r);return s||(s={resolver:zc(t,e),subPrefixes:e.filter(o=>!o.toLowerCase().includes("hover"))},i.set(r,s)),s}const SU=n=>Ae(n)&&Object.getOwnPropertyNames(n).reduce((t,e)=>t||Wn(n[e]),!1);function RU(n,t){const{isScriptable:e,isIndexable:i}=Kp(n);for(const r of t){const s=e(r),a=i(r),o=(a||s)&&n[r];if(s&&(Wn(o)||SU(o))||a&&Ne(o))return!0}return!1}var MU="3.9.1";const DU=["top","bottom","left","right","chartArea"];function Kf(n,t){return n==="top"||n==="bottom"||DU.indexOf(n)===-1&&t==="x"}function qf(n,t){return function(e,i){return e[n]===i[n]?e[t]-i[t]:e[n]-i[n]}}function $f(n){const t=n.chart,e=t.options.animation;t.notifyPlugins("afterRender"),Oe(e&&e.onComplete,[n],t)}function BU(n){const t=n.chart,e=t.options.animation;Oe(e&&e.onProgress,[n],t)}function Cm(n){return im()&&typeof n=="string"?n=document.getElementById(n):n&&n.length&&(n=n[0]),n&&n.canvas&&(n=n.canvas),n}const va={},Im=n=>{const t=Cm(n);return Object.values(va).filter(e=>e.canvas===t).pop()};function GU(n,t,e){const i=Object.keys(n);for(const r of i){const s=+r;if(s>=t){const a=n[r];delete n[r],(e>0||s>t)&&(n[s+e]=a)}}}function OU(n,t,e,i){return!e||n.type==="mouseout"?null:i?t:n}let ln=class{constructor(t,e){const i=this.config=new EU(e),r=Cm(t),s=Im(r);if(s)throw new Error("Canvas is already in use. Chart with ID '"+s.id+"' must be destroyed before the canvas with ID '"+s.canvas.id+"' can be reused.");const a=i.createResolver(i.chartOptionScopes(),this.getContext());this.platform=new(i.platform||mU(r)),this.platform.updateConfig(i);const o=this.platform.acquireContext(r,a.aspectRatio),l=o&&o.canvas,c=l&&l.height,u=l&&l.width;if(this.id=A5(),this.ctx=o,this.canvas=l,this.width=u,this.height=c,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new bU,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=T5(d=>this.update(d),a.resizeDelay||0),this._dataChanges=[],va[this.id]=this,!o||!l){console.error("Failed to create chart: can't acquire context from the given item");return}pn.listen(this,"complete",$f),pn.listen(this,"progress",BU),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:e},width:i,height:r,_aspectRatio:s}=this;return Ee(t)?e&&s?s:r?i/r:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():xf(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Cf(this.canvas,this.ctx),this}stop(){return pn.stop(this),this}resize(t,e){pn.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){const i=this.options,r=this.canvas,s=i.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(r,t,e,s),o=i.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,xf(this,o,!0)&&(this.notifyPlugins("resize",{size:a}),Oe(i.onResize,[this,a],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const e=this.options.scales||{};Re(e,(i,r)=>{i.id=r})}buildOrUpdateScales(){const t=this.options,e=t.scales,i=this.scales,r=Object.keys(i).reduce((a,o)=>(a[o]=!1,a),{});let s=[];e&&(s=s.concat(Object.keys(e).map(a=>{const o=e[a],l=Nl(a,o),c=l==="r",u=l==="x";return{options:o,dposition:c?"chartArea":u?"bottom":"left",dtype:c?"radialLinear":u?"category":"linear"}}))),Re(s,a=>{const o=a.options,l=o.id,c=Nl(l,o),u=ge(o.type,a.dtype);(o.position===void 0||Kf(o.position,c)!==Kf(a.dposition))&&(o.position=a.dposition),r[l]=!0;let d=null;if(l in i&&i[l].type===u)d=i[l];else{const h=nn.getScale(u);d=new h({id:l,type:u,ctx:this.ctx,chart:this}),i[d.id]=d}d.init(o,t)}),Re(r,(a,o)=>{a||delete i[o]}),Re(i,a=>{Lt.configure(this,a,a.options),Lt.addBox(this,a)})}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,i=t.length;if(t.sort((r,s)=>r.index-s.index),i>e){for(let r=e;r<i;++r)this._destroyDatasetMeta(r);t.splice(e,i-e)}this._sortedMetasets=t.slice(0).sort(qf("order","index"))}_removeUnreferencedMetasets(){const{_metasets:t,data:{datasets:e}}=this;t.length>e.length&&delete this._stacks,t.forEach((i,r)=>{e.filter(s=>s===i._dataset).length===0&&this._destroyDatasetMeta(r)})}buildOrUpdateControllers(){const t=[],e=this.data.datasets;let i,r;for(this._removeUnreferencedMetasets(),i=0,r=e.length;i<r;i++){const s=e[i];let a=this.getDatasetMeta(i);const o=s.type||this.config.type;if(a.type&&a.type!==o&&(this._destroyDatasetMeta(i),a=this.getDatasetMeta(i)),a.type=o,a.indexAxis=s.indexAxis||Ol(o,this.options),a.order=s.order||0,a.index=i,a.label=""+s.label,a.visible=this.isDatasetVisible(i),a.controller)a.controller.updateIndex(i),a.controller.linkScales();else{const l=nn.getController(o),{datasetElementType:c,dataElementType:u}=Ce.datasets[o];Object.assign(l.prototype,{dataElementType:nn.getElement(u),datasetElementType:c&&nn.getElement(c)}),a.controller=new l(this,i),t.push(a.controller)}}return this._updateMetasets(),t}_resetElements(){Re(this.data.datasets,(t,e)=>{this.getDatasetMeta(e).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const e=this.config;e.update();const i=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!i.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const s=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let c=0,u=this.data.datasets.length;c<u;c++){const{controller:d}=this.getDatasetMeta(c),h=!r&&s.indexOf(d)===-1;d.buildOrUpdateElements(h),a=Math.max(+d.getMaxOverflow(),a)}a=this._minPadding=i.layout.autoPadding?a:0,this._updateLayout(a),r||Re(s,c=>{c.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(qf("z","_idx"));const{_active:o,_lastEvent:l}=this;l?this._eventHandler(l,!0):o.length&&this._updateHoverStyles(o,o,!0),this.render()}_updateScales(){Re(this.scales,t=>{Lt.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,e=new Set(Object.keys(this._listeners)),i=new Set(t.events);(!cf(e,i)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(const{method:i,start:r,count:s}of e){const a=i==="_removeElements"?-s:s;GU(t,r,a)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const e=this.data.datasets.length,i=s=>new Set(t.filter(a=>a[0]===s).map((a,o)=>o+","+a.splice(1).join(","))),r=i(0);for(let s=1;s<e;s++)if(!cf(r,i(s)))return;return Array.from(r).map(s=>s.split(",")).map(s=>({method:s[1],start:+s[2],count:+s[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;Lt.update(this,this.width,this.height,t);const e=this.chartArea,i=e.width<=0||e.height<=0;this._layers=[],Re(this.boxes,r=>{i&&r.position==="chartArea"||(r.configure&&r.configure(),this._layers.push(...r._layers()))},this),this._layers.forEach((r,s)=>{r._idx=s}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let e=0,i=this.data.datasets.length;e<i;++e)this.getDatasetMeta(e).controller.configure();for(let e=0,i=this.data.datasets.length;e<i;++e)this._updateDataset(e,Wn(t)?t({datasetIndex:e}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,e){const i=this.getDatasetMeta(t),r={meta:i,index:t,mode:e,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",r)!==!1&&(i.controller._update(e),r.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",r))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(pn.has(this)?this.attached&&!pn.running(this)&&pn.start(this):(this.draw(),$f({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){const{width:i,height:r}=this._resizeBeforeDraw;this._resize(i,r),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const e=this._layers;for(t=0;t<e.length&&e[t].z<=0;++t)e[t].draw(this.chartArea);for(this._drawDatasets();t<e.length;++t)e[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){const e=this._sortedMetasets,i=[];let r,s;for(r=0,s=e.length;r<s;++r){const a=e[r];(!t||a.visible)&&i.push(a)}return i}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const t=this.getSortedVisibleDatasetMetas();for(let e=t.length-1;e>=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const e=this.ctx,i=t._clip,r=!i.disabled,s=this.chartArea,a={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",a)!==!1&&(r&&Fa(e,{left:i.left===!1?0:s.left-i.left,right:i.right===!1?this.width:s.right+i.right,top:i.top===!1?0:s.top-i.top,bottom:i.bottom===!1?this.height:s.bottom+i.bottom}),t.controller.draw(),r&&Ha(e),a.cancelable=!1,this.notifyPlugins("afterDatasetDraw",a))}isPointInArea(t){return Vr(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,e,i,r){const s=QQ.modes[e];return typeof s=="function"?s(this,t,i,r):[]}getDatasetMeta(t){const e=this.data.datasets[t],i=this._metasets;let r=i.filter(s=>s&&s._dataset===e).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1},i.push(r)),r}getContext(){return this.$context||(this.$context=Jn(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const e=this.data.datasets[t];if(!e)return!1;const i=this.getDatasetMeta(t);return typeof i.hidden=="boolean"?!i.hidden:!e.hidden}setDatasetVisibility(t,e){const i=this.getDatasetMeta(t);i.hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,e,i){const r=i?"show":"hide",s=this.getDatasetMeta(t),a=s.controller._resolveAnimations(void 0,r);jt(e)?(s.data[e].hidden=!i,this.update()):(this.setDatasetVisibility(t,i),a.update(s,{visible:i}),this.update(o=>o.datasetIndex===t?r:void 0))}hide(t,e){this._updateVisibility(t,e,!1)}show(t,e){this._updateVisibility(t,e,!0)}_destroyDatasetMeta(t){const e=this._metasets[t];e&&e.controller&&e.controller._destroy(),delete this._metasets[t]}_stop(){let t,e;for(this.stop(),pn.remove(this),t=0,e=this.data.datasets.length;t<e;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:t,ctx:e}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),Cf(t,e),this.platform.releaseContext(e),this.canvas=null,this.ctx=null),this.notifyPlugins("destroy"),delete va[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const t=this._listeners,e=this.platform,i=(s,a)=>{e.addEventListener(this,s,a),t[s]=a},r=(s,a,o)=>{s.offsetX=a,s.offsetY=o,this._eventHandler(s)};Re(this.options.events,s=>i(s,r))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,e=this.platform,i=(l,c)=>{e.addEventListener(this,l,c),t[l]=c},r=(l,c)=>{t[l]&&(e.removeEventListener(this,l,c),delete t[l])},s=(l,c)=>{this.canvas&&this.resize(l,c)};let a;const o=()=>{r("attach",o),this.attached=!0,this.resize(),i("resize",s),i("detach",a)};a=()=>{this.attached=!1,r("resize",s),this._stop(),this._resize(0,0),i("attach",o)},e.isAttached(this.canvas)?o():a()}unbindEvents(){Re(this._listeners,(t,e)=>{this.platform.removeEventListener(this,e,t)}),this._listeners={},Re(this._responsiveListeners,(t,e)=>{this.platform.removeEventListener(this,e,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,e,i){const r=i?"set":"remove";let s,a,o,l;for(e==="dataset"&&(s=this.getDatasetMeta(t[0].datasetIndex),s.controller["_"+r+"DatasetHoverStyle"]()),o=0,l=t.length;o<l;++o){a=t[o];const c=a&&this.getDatasetMeta(a.datasetIndex).controller;c&&c[r+"HoverStyle"](a.element,a.datasetIndex,a.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const e=this._active||[],i=t.map(({datasetIndex:s,index:a})=>{const o=this.getDatasetMeta(s);if(!o)throw new Error("No dataset found at index "+s);return{datasetIndex:s,element:o.data[a],index:a}});!da(i,e)&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,e))}notifyPlugins(t,e,i){return this._plugins.notify(this,t,e,i)}_updateHoverStyles(t,e,i){const r=this.options.hover,s=(l,c)=>l.filter(u=>!c.some(d=>u.datasetIndex===d.datasetIndex&&u.index===d.index)),a=s(e,t),o=i?t:s(t,e);a.length&&this.updateHoverStyle(a,r.mode,!1),o.length&&r.mode&&this.updateHoverStyle(o,r.mode,!0)}_eventHandler(t,e){const i={event:t,replay:e,cancelable:!0,inChartArea:this.isPointInArea(t)},r=a=>(a.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",i,r)===!1)return;const s=this._handleEvent(t,e,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,r),(s||i.changed)&&this.render(),this}_handleEvent(t,e,i){const{_active:r=[],options:s}=this,a=e,o=this._getActiveElements(t,r,i,a),l=k5(t),c=OU(t,this._lastEvent,i,l);i&&(this._lastEvent=null,Oe(s.onHover,[t,o,this],this),l&&Oe(s.onClick,[t,o,this],this));const u=!da(o,r);return(u||e)&&(this._active=o,this._updateHoverStyles(o,r,e)),this._lastEvent=c,u}_getActiveElements(t,e,i,r){if(t.type==="mouseout")return[];if(!i)return e;const s=this.options.hover;return this.getElementsAtEventForMode(t,s.mode,s,r)}};const eh=()=>Re(ln.instances,n=>n._plugins.invalidate()),Bn=!0;Object.defineProperties(ln,{defaults:{enumerable:Bn,value:Ce},instances:{enumerable:Bn,value:va},overrides:{enumerable:Bn,value:hi},registry:{enumerable:Bn,value:nn},version:{enumerable:Bn,value:MU},getChart:{enumerable:Bn,value:Im},register:{enumerable:Bn,value:(...n)=>{nn.add(...n),eh()}},unregister:{enumerable:Bn,value:(...n)=>{nn.remove(...n),eh()}}});function wm(n,t,e){const{startAngle:i,pixelMargin:r,x:s,y:a,outerRadius:o,innerRadius:l}=t;let c=r/o;n.beginPath(),n.arc(s,a,o,i-c,e+c),l>r?(c=r/l,n.arc(s,a,l,e+c,i-c,!0)):n.arc(s,a,r,e+Ze,i-Ze),n.closePath(),n.clip()}function NU(n){return Hc(n,["outerStart","outerEnd","innerStart","innerEnd"])}function TU(n,t,e,i){const r=NU(n.options.borderRadius),s=(e-t)/2,a=Math.min(s,i*t/2),o=l=>{const c=(e-Math.min(s,l))*i/2;return ut(l,0,Math.min(s,c))};return{outerStart:o(r.outerStart),outerEnd:o(r.outerEnd),innerStart:ut(r.innerStart,0,a),innerEnd:ut(r.innerEnd,0,a)}}function Mi(n,t,e,i){return{x:e+n*Math.cos(t),y:i+n*Math.sin(t)}}function Tl(n,t,e,i,r,s){const{x:a,y:o,startAngle:l,pixelMargin:c,innerRadius:u}=t,d=Math.max(t.outerRadius+i+e-c,0),h=u>0?u+i+e+c:0;let g=0;const f=r-l;if(i){const G=u>0?u-i:0,F=d>0?d-i:0,P=(G+F)/2,V=P!==0?f*P/(P+i):f;g=(f-V)/2}const p=Math.max(.001,f*d-e/ze)/d,m=(f-p)/2,b=l+m+g,A=r-m-g,{outerStart:y,outerEnd:w,innerStart:C,innerEnd:_}=TU(t,h,d,A-b),S=d-y,z=d-w,R=b+y/S,T=A-w/z,x=h+C,O=h+_,B=b+C/x,L=A-_/O;if(n.beginPath(),s){if(n.arc(a,o,d,R,T),w>0){const P=Mi(z,T,a,o);n.arc(P.x,P.y,w,T,A+Ze)}const G=Mi(O,A,a,o);if(n.lineTo(G.x,G.y),_>0){const P=Mi(O,L,a,o);n.arc(P.x,P.y,_,A+Ze,L+Math.PI)}if(n.arc(a,o,h,A-_/h,b+C/h,!0),C>0){const P=Mi(x,B,a,o);n.arc(P.x,P.y,C,B+Math.PI,b-Ze)}const F=Mi(S,b,a,o);if(n.lineTo(F.x,F.y),y>0){const P=Mi(S,R,a,o);n.arc(P.x,P.y,y,b-Ze,R)}}else{n.moveTo(a,o);const G=Math.cos(R)*d+a,F=Math.sin(R)*d+o;n.lineTo(G,F);const P=Math.cos(T)*d+a,V=Math.sin(T)*d+o;n.lineTo(P,V)}n.closePath()}function LU(n,t,e,i,r){const{fullCircles:s,startAngle:a,circumference:o}=t;let l=t.endAngle;if(s){Tl(n,t,e,i,a+De,r);for(let c=0;c<s;++c)n.fill();isNaN(o)||(l=a+o%De,o%De===0&&(l+=De))}return Tl(n,t,e,i,l,r),n.fill(),l}function jU(n,t,e){const{x:i,y:r,startAngle:s,pixelMargin:a,fullCircles:o}=t,l=Math.max(t.outerRadius-a,0),c=t.innerRadius+a;let u;for(e&&wm(n,t,s+De),n.beginPath(),n.arc(i,r,c,s+De,s,!0),u=0;u<o;++u)n.stroke();for(n.beginPath(),n.arc(i,r,l,s,s+De),u=0;u<o;++u)n.stroke()}function PU(n,t,e,i,r,s){const{options:a}=t,{borderWidth:o,borderJoinStyle:l}=a,c=a.borderAlign==="inner";o&&(c?(n.lineWidth=o*2,n.lineJoin=l||"round"):(n.lineWidth=o,n.lineJoin=l||"bevel"),t.fullCircles&&jU(n,t,c),c&&wm(n,t,r),Tl(n,t,e,i,r,s),n.stroke())}class Xa extends Ut{constructor(t){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,t&&Object.assign(this,t)}inRange(t,e,i){const r=this.getProps(["x","y"],i),{angle:s,distance:a}=Lp(r,{x:t,y:e}),{startAngle:o,endAngle:l,innerRadius:c,outerRadius:u,circumference:d}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],i),h=this.options.spacing/2,f=ge(d,l-o)>=De||Xr(s,o,l),p=In(a,c+h,u+h);return f&&p}getCenterPoint(t){const{x:e,y:i,startAngle:r,endAngle:s,innerRadius:a,outerRadius:o}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],t),{offset:l,spacing:c}=this.options,u=(r+s)/2,d=(a+o+c+l)/2;return{x:e+Math.cos(u)*d,y:i+Math.sin(u)*d}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:e,circumference:i}=this,r=(e.offset||0)/2,s=(e.spacing||0)/2,a=e.circular;if(this.pixelMargin=e.borderAlign==="inner"?.33:0,this.fullCircles=i>De?Math.floor(i/De):0,i===0||this.innerRadius<0||this.outerRadius<0)return;t.save();let o=0;if(r){o=r/2;const c=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(c)*o,Math.sin(c)*o),this.circumference>=ze&&(o=r)}t.fillStyle=e.backgroundColor,t.strokeStyle=e.borderColor;const l=LU(t,this,o,s,a);PU(t,this,o,s,l,a),t.restore()}}Xa.id="arc";Xa.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0};Xa.defaultRoutes={backgroundColor:"backgroundColor"};function xm(n,t,e=t){n.lineCap=ge(e.borderCapStyle,t.borderCapStyle),n.setLineDash(ge(e.borderDash,t.borderDash)),n.lineDashOffset=ge(e.borderDashOffset,t.borderDashOffset),n.lineJoin=ge(e.borderJoinStyle,t.borderJoinStyle),n.lineWidth=ge(e.borderWidth,t.borderWidth),n.strokeStyle=ge(e.borderColor,t.borderColor)}function FU(n,t,e){n.lineTo(e.x,e.y)}function HU(n){return n.stepped?cJ:n.tension||n.cubicInterpolationMode==="monotone"?uJ:FU}function _m(n,t,e={}){const i=n.length,{start:r=0,end:s=i-1}=e,{start:a,end:o}=t,l=Math.max(r,a),c=Math.min(s,o),u=r<a&&s<a||r>o&&s>o;return{count:i,start:l,loop:t.loop,ilen:c<l&&!u?i+c-l:c-l}}function zU(n,t,e,i){const{points:r,options:s}=t,{count:a,start:o,loop:l,ilen:c}=_m(r,e,i),u=HU(s);let{move:d=!0,reverse:h}=i||{},g,f,p;for(g=0;g<=c;++g)f=r[(o+(h?c-g:g))%a],!f.skip&&(d?(n.moveTo(f.x,f.y),d=!1):u(n,p,f,h,s.stepped),p=f);return l&&(f=r[(o+(h?c:0))%a],u(n,p,f,h,s.stepped)),!!l}function ZU(n,t,e,i){const r=t.points,{count:s,start:a,ilen:o}=_m(r,e,i),{move:l=!0,reverse:c}=i||{};let u=0,d=0,h,g,f,p,m,b;const A=w=>(a+(c?o-w:w))%s,y=()=>{p!==m&&(n.lineTo(u,m),n.lineTo(u,p),n.lineTo(u,b))};for(l&&(g=r[A(0)],n.moveTo(g.x,g.y)),h=0;h<=o;++h){if(g=r[A(h)],g.skip)continue;const w=g.x,C=g.y,_=w|0;_===f?(C<p?p=C:C>m&&(m=C),u=(d*u+w)/++d):(y(),n.lineTo(w,C),f=_,d=0,p=m=C),b=C}y()}function Ll(n){const t=n.options,e=t.borderDash&&t.borderDash.length;return!n._decimated&&!n._loop&&!t.tension&&t.cubicInterpolationMode!=="monotone"&&!t.stepped&&!e?ZU:zU}function YU(n){return n.stepped?HJ:n.tension||n.cubicInterpolationMode==="monotone"?zJ:ri}function WU(n,t,e,i){let r=t._path;r||(r=t._path=new Path2D,t.path(r,e,i)&&r.closePath()),xm(n,t.options),n.stroke(r)}function XU(n,t,e,i){const{segments:r,options:s}=t,a=Ll(t);for(const o of r)xm(n,s,o.style),n.beginPath(),a(n,t,o,{start:e,end:e+i-1})&&n.closePath(),n.stroke()}const VU=typeof Path2D=="function";function JU(n,t,e,i){VU&&!t.options.segment?WU(n,t,e,i):XU(n,t,e,i)}class Qn extends Ut{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,e){const i=this.options;if((i.tension||i.cubicInterpolationMode==="monotone")&&!i.stepped&&!this._pointsUpdated){const r=i.spanGaps?this._loop:this._fullLoop;GJ(this._points,i,t,r,e),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=QJ(this,this.options.segment))}first(){const t=this.segments,e=this.points;return t.length&&e[t[0].start]}last(){const t=this.segments,e=this.points,i=t.length;return i&&e[t[i-1].end]}interpolate(t,e){const i=this.options,r=t[e],s=this.points,a=lm(this,{property:e,start:r,end:r});if(!a.length)return;const o=[],l=YU(i);let c,u;for(c=0,u=a.length;c<u;++c){const{start:d,end:h}=a[c],g=s[d],f=s[h];if(g===f){o.push(g);continue}const p=Math.abs((r-g[e])/(f[e]-g[e])),m=l(g,f,p,i.stepped);m[e]=t[e],o.push(m)}return o.length===1?o[0]:o}pathSegment(t,e,i){return Ll(this)(t,this,e,i)}path(t,e,i){const r=this.segments,s=Ll(this);let a=this._loop;e=e||0,i=i||this.points.length-e;for(const o of r)a&=s(t,this,o,{start:e,end:e+i-1});return!!a}draw(t,e,i,r){const s=this.options||{};(this.points||[]).length&&s.borderWidth&&(t.save(),JU(t,this,i,r),t.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}Qn.id="line";Qn.defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};Qn.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};Qn.descriptors={_scriptable:!0,_indexable:n=>n!=="borderDash"&&n!=="fill"};function th(n,t,e,i){const r=n.options,{[e]:s}=n.getProps([e],i);return Math.abs(t-s)<r.radius+r.hitRadius}class Va extends Ut{constructor(t){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,t&&Object.assign(this,t)}inRange(t,e,i){const r=this.options,{x:s,y:a}=this.getProps(["x","y"],i);return Math.pow(t-s,2)+Math.pow(e-a,2)<Math.pow(r.hitRadius+r.radius,2)}inXRange(t,e){return th(this,t,"x",e)}inYRange(t,e){return th(this,t,"y",e)}getCenterPoint(t){const{x:e,y:i}=this.getProps(["x","y"],t);return{x:e,y:i}}size(t){t=t||this.options||{};let e=t.radius||0;e=Math.max(e,e&&t.hoverRadius||0);const i=e&&t.borderWidth||0;return(e+i)*2}draw(t,e){const i=this.options;this.skip||i.radius<.1||!Vr(this,e,this.size(i)/2)||(t.strokeStyle=i.borderColor,t.lineWidth=i.borderWidth,t.fillStyle=i.backgroundColor,Bl(t,i,this.x,this.y))}getRange(){const t=this.options||{};return t.radius+t.hitRadius}}Va.id="point";Va.defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};Va.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};function km(n,t){const{x:e,y:i,base:r,width:s,height:a}=n.getProps(["x","y","base","width","height"],t);let o,l,c,u,d;return n.horizontal?(d=a/2,o=Math.min(e,r),l=Math.max(e,r),c=i-d,u=i+d):(d=s/2,o=e-d,l=e+d,c=Math.min(i,r),u=Math.max(i,r)),{left:o,top:c,right:l,bottom:u}}function Ln(n,t,e,i){return n?0:ut(t,e,i)}function QU(n,t,e){const i=n.options.borderWidth,r=n.borderSkipped,s=Up(i);return{t:Ln(r.top,s.top,0,e),r:Ln(r.right,s.right,0,t),b:Ln(r.bottom,s.bottom,0,e),l:Ln(r.left,s.left,0,t)}}function UU(n,t,e){const{enableBorderRadius:i}=n.getProps(["enableBorderRadius"]),r=n.options.borderRadius,s=ci(r),a=Math.min(t,e),o=n.borderSkipped,l=i||Ae(r);return{topLeft:Ln(!l||o.top||o.left,s.topLeft,0,a),topRight:Ln(!l||o.top||o.right,s.topRight,0,a),bottomLeft:Ln(!l||o.bottom||o.left,s.bottomLeft,0,a),bottomRight:Ln(!l||o.bottom||o.right,s.bottomRight,0,a)}}function KU(n){const t=km(n),e=t.right-t.left,i=t.bottom-t.top,r=QU(n,e/2,i/2),s=UU(n,e/2,i/2);return{outer:{x:t.left,y:t.top,w:e,h:i,radius:s},inner:{x:t.left+r.l,y:t.top+r.t,w:e-r.l-r.r,h:i-r.t-r.b,radius:{topLeft:Math.max(0,s.topLeft-Math.max(r.t,r.l)),topRight:Math.max(0,s.topRight-Math.max(r.t,r.r)),bottomLeft:Math.max(0,s.bottomLeft-Math.max(r.b,r.l)),bottomRight:Math.max(0,s.bottomRight-Math.max(r.b,r.r))}}}}function Po(n,t,e,i){const r=t===null,s=e===null,o=n&&!(r&&s)&&km(n,i);return o&&(r||In(t,o.left,o.right))&&(s||In(e,o.top,o.bottom))}function qU(n){return n.topLeft||n.topRight||n.bottomLeft||n.bottomRight}function $U(n,t){n.rect(t.x,t.y,t.w,t.h)}function Fo(n,t,e={}){const i=n.x!==e.x?-t:0,r=n.y!==e.y?-t:0,s=(n.x+n.w!==e.x+e.w?t:0)-i,a=(n.y+n.h!==e.y+e.h?t:0)-r;return{x:n.x+i,y:n.y+r,w:n.w+s,h:n.h+a,radius:n.radius}}class Ja extends Ut{constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,t&&Object.assign(this,t)}draw(t){const{inflateAmount:e,options:{borderColor:i,backgroundColor:r}}=this,{inner:s,outer:a}=KU(this),o=qU(a.radius)?Jr:$U;t.save(),(a.w!==s.w||a.h!==s.h)&&(t.beginPath(),o(t,Fo(a,e,s)),t.clip(),o(t,Fo(s,-e,a)),t.fillStyle=i,t.fill("evenodd")),t.beginPath(),o(t,Fo(s,e)),t.fillStyle=r,t.fill(),t.restore()}inRange(t,e,i){return Po(this,t,e,i)}inXRange(t,e){return Po(this,t,null,e)}inYRange(t,e){return Po(this,null,t,e)}getCenterPoint(t){const{x:e,y:i,base:r,horizontal:s}=this.getProps(["x","y","base","horizontal"],t);return{x:s?(e+r)/2:e,y:s?i:(i+r)/2}}getRange(t){return t==="x"?this.width/2:this.height/2}}Ja.id="bar";Ja.defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0};Ja.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};function eK(n,t,e){const i=n.segments,r=n.points,s=t.points,a=[];for(const o of i){let{start:l,end:c}=o;c=Kc(l,c,r);const u=jl(e,r[l],r[c],o.loop);if(!t.segments){a.push({source:o,target:u,start:r[l],end:r[c]});continue}const d=lm(t,u);for(const h of d){const g=jl(e,s[h.start],s[h.end],h.loop),f=om(o,r,g);for(const p of f)a.push({source:p,target:h,start:{[e]:nh(u,g,"start",Math.max)},end:{[e]:nh(u,g,"end",Math.min)}})}}return a}function jl(n,t,e,i){if(i)return;let r=t[n],s=e[n];return n==="angle"&&(r=xt(r),s=xt(s)),{property:n,start:r,end:s}}function tK(n,t){const{x:e=null,y:i=null}=n||{},r=t.points,s=[];return t.segments.forEach(({start:a,end:o})=>{o=Kc(a,o,r);const l=r[a],c=r[o];i!==null?(s.push({x:l.x,y:i}),s.push({x:c.x,y:i})):e!==null&&(s.push({x:e,y:l.y}),s.push({x:e,y:c.y}))}),s}function Kc(n,t,e){for(;t>n;t--){const i=e[t];if(!isNaN(i.x)&&!isNaN(i.y))break}return t}function nh(n,t,e,i){return n&&t?i(n[e],t[e]):n?n[e]:t?t[e]:0}function Em(n,t){let e=[],i=!1;return Ne(n)?(i=!0,e=n):e=tK(n,t),e.length?new Qn({points:e,options:{tension:0},_loop:i,_fullLoop:i}):null}function ih(n){return n&&n.fill!==!1}function nK(n,t,e){let r=n[t].fill;const s=[t];let a;if(!e)return r;for(;r!==!1&&s.indexOf(r)===-1;){if(!Je(r))return r;if(a=n[r],!a)return!1;if(a.visible)return r;s.push(r),r=a.fill}return!1}function iK(n,t,e){const i=oK(n);if(Ae(i))return isNaN(i.value)?!1:i;let r=parseFloat(i);return Je(r)&&Math.floor(r)===r?rK(i[0],t,r,e):["origin","start","end","stack","shape"].indexOf(i)>=0&&i}function rK(n,t,e,i){return(n==="-"||n==="+")&&(e=t+e),e===t||e<0||e>=i?!1:e}function sK(n,t){let e=null;return n==="start"?e=t.bottom:n==="end"?e=t.top:Ae(n)?e=t.getPixelForValue(n.value):t.getBasePixel&&(e=t.getBasePixel()),e}function aK(n,t,e){let i;return n==="start"?i=e:n==="end"?i=t.options.reverse?t.min:t.max:Ae(n)?i=n.value:i=t.getBaseValue(),i}function oK(n){const t=n.options,e=t.fill;let i=ge(e&&e.target,e);return i===void 0&&(i=!!t.backgroundColor),i===!1||i===null?!1:i===!0?"origin":i}function lK(n){const{scale:t,index:e,line:i}=n,r=[],s=i.segments,a=i.points,o=cK(t,e);o.push(Em({x:null,y:t.bottom},i));for(let l=0;l<s.length;l++){const c=s[l];for(let u=c.start;u<=c.end;u++)uK(r,a[u],o)}return new Qn({points:r,options:{}})}function cK(n,t){const e=[],i=n.getMatchingVisibleMetas("line");for(let r=0;r<i.length;r++){const s=i[r];if(s.index===t)break;s.hidden||e.unshift(s.dataset)}return e}function uK(n,t,e){const i=[];for(let r=0;r<e.length;r++){const s=e[r],{first:a,last:o,point:l}=dK(s,t,"x");if(!(!l||a&&o)){if(a)i.unshift(l);else if(n.push(l),!o)break}}n.push(...i)}function dK(n,t,e){const i=n.interpolate(t,e);if(!i)return{};const r=i[e],s=n.segments,a=n.points;let o=!1,l=!1;for(let c=0;c<s.length;c++){const u=s[c],d=a[u.start][e],h=a[u.end][e];if(In(r,d,h)){o=r===d,l=r===h;break}}return{first:o,last:l,point:i}}class Sm{constructor(t){this.x=t.x,this.y=t.y,this.radius=t.radius}pathSegment(t,e,i){const{x:r,y:s,radius:a}=this;return e=e||{start:0,end:De},t.arc(r,s,a,e.end,e.start,!0),!i.bounds}interpolate(t){const{x:e,y:i,radius:r}=this,s=t.angle;return{x:e+Math.cos(s)*r,y:i+Math.sin(s)*r,angle:s}}}function fK(n){const{chart:t,fill:e,line:i}=n;if(Je(e))return hK(t,e);if(e==="stack")return lK(n);if(e==="shape")return!0;const r=gK(n);return r instanceof Sm?r:Em(r,i)}function hK(n,t){const e=n.getDatasetMeta(t);return e&&n.isDatasetVisible(t)?e.dataset:null}function gK(n){return(n.scale||{}).getPointPositionForValue?mK(n):pK(n)}function pK(n){const{scale:t={},fill:e}=n,i=sK(e,t);if(Je(i)){const r=t.isHorizontal();return{x:r?i:null,y:r?null:i}}return null}function mK(n){const{scale:t,fill:e}=n,i=t.options,r=t.getLabels().length,s=i.reverse?t.max:t.min,a=aK(e,t,s),o=[];if(i.grid.circular){const l=t.getPointPositionForValue(0,s);return new Sm({x:l.x,y:l.y,radius:t.getDistanceFromCenterForValue(a)})}for(let l=0;l<r;++l)o.push(t.getPointPositionForValue(l,a));return o}function Ho(n,t,e){const i=fK(t),{line:r,scale:s,axis:a}=t,o=r.options,l=o.fill,c=o.backgroundColor,{above:u=c,below:d=c}=l||{};i&&r.points.length&&(Fa(n,e),bK(n,{line:r,target:i,above:u,below:d,area:e,scale:s,axis:a}),Ha(n))}function bK(n,t){const{line:e,target:i,above:r,below:s,area:a,scale:o}=t,l=e._loop?"angle":t.axis;n.save(),l==="x"&&s!==r&&(rh(n,i,a.top),sh(n,{line:e,target:i,color:r,scale:o,property:l}),n.restore(),n.save(),rh(n,i,a.bottom)),sh(n,{line:e,target:i,color:s,scale:o,property:l}),n.restore()}function rh(n,t,e){const{segments:i,points:r}=t;let s=!0,a=!1;n.beginPath();for(const o of i){const{start:l,end:c}=o,u=r[l],d=r[Kc(l,c,r)];s?(n.moveTo(u.x,u.y),s=!1):(n.lineTo(u.x,e),n.lineTo(u.x,u.y)),a=!!t.pathSegment(n,o,{move:a}),a?n.closePath():n.lineTo(d.x,e)}n.lineTo(t.first().x,e),n.closePath(),n.clip()}function sh(n,t){const{line:e,target:i,property:r,color:s,scale:a}=t,o=eK(e,i,r);for(const{source:l,target:c,start:u,end:d}of o){const{style:{backgroundColor:h=s}={}}=l,g=i!==!0;n.save(),n.fillStyle=h,vK(n,a,g&&jl(r,u,d)),n.beginPath();const f=!!e.pathSegment(n,l);let p;if(g){f?n.closePath():ah(n,i,d,r);const m=!!i.pathSegment(n,c,{move:f,reverse:!0});p=f&&m,p||ah(n,i,u,r)}n.closePath(),n.fill(p?"evenodd":"nonzero"),n.restore()}}function vK(n,t,e){const{top:i,bottom:r}=t.chart.chartArea,{property:s,start:a,end:o}=e||{};s==="x"&&(n.beginPath(),n.rect(a,i,o-a,r-i),n.clip())}function ah(n,t,e,i){const r=t.interpolate(e,i);r&&n.lineTo(r.x,r.y)}var yK={id:"filler",afterDatasetsUpdate(n,t,e){const i=(n.data.datasets||[]).length,r=[];let s,a,o,l;for(a=0;a<i;++a)s=n.getDatasetMeta(a),o=s.dataset,l=null,o&&o.options&&o instanceof Qn&&(l={visible:n.isDatasetVisible(a),index:a,fill:iK(o,a,i),chart:n,axis:s.controller.options.indexAxis,scale:s.vScale,line:o}),s.$filler=l,r.push(l);for(a=0;a<i;++a)l=r[a],!(!l||l.fill===!1)&&(l.fill=nK(r,a,e.propagate))},beforeDraw(n,t,e){const i=e.drawTime==="beforeDraw",r=n.getSortedVisibleDatasetMetas(),s=n.chartArea;for(let a=r.length-1;a>=0;--a){const o=r[a].$filler;o&&(o.line.updateControlPoints(s,o.axis),i&&o.fill&&Ho(n.ctx,o,s))}},beforeDatasetsDraw(n,t,e){if(e.drawTime!=="beforeDatasetsDraw")return;const i=n.getSortedVisibleDatasetMetas();for(let r=i.length-1;r>=0;--r){const s=i[r].$filler;ih(s)&&Ho(n.ctx,s,n.chartArea)}},beforeDatasetDraw(n,t,e){const i=t.meta.$filler;!ih(i)||e.drawTime!=="beforeDatasetDraw"||Ho(n.ctx,i,n.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const oh=(n,t)=>{let{boxHeight:e=t,boxWidth:i=t}=n;return n.usePointStyle&&(e=Math.min(e,t),i=n.pointStyleWidth||Math.min(i,t)),{boxWidth:i,boxHeight:e,itemHeight:Math.max(t,e)}},AK=(n,t)=>n!==null&&t!==null&&n.datasetIndex===t.datasetIndex&&n.index===t.index;class lh extends Ut{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e,i){this.maxWidth=t,this.maxHeight=e,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let e=Oe(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter(i=>t.filter(i,this.chart.data))),t.sort&&(e=e.sort((i,r)=>t.sort(i,r,this.chart.data))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:t,ctx:e}=this;if(!t.display){this.width=this.height=0;return}const i=t.labels,r=$e(i.font),s=r.size,a=this._computeTitleHeight(),{boxWidth:o,itemHeight:l}=oh(i,s);let c,u;e.font=r.string,this.isHorizontal()?(c=this.maxWidth,u=this._fitRows(a,s,o,l)+10):(u=this.maxHeight,c=this._fitCols(a,s,o,l)+10),this.width=Math.min(c,t.maxWidth||this.maxWidth),this.height=Math.min(u,t.maxHeight||this.maxHeight)}_fitRows(t,e,i,r){const{ctx:s,maxWidth:a,options:{labels:{padding:o}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],u=r+o;let d=t;s.textAlign="left",s.textBaseline="middle";let h=-1,g=-u;return this.legendItems.forEach((f,p)=>{const m=i+e/2+s.measureText(f.text).width;(p===0||c[c.length-1]+m+2*o>a)&&(d+=u,c[c.length-(p>0?0:1)]=0,g+=u,h++),l[p]={left:0,top:g,row:h,width:m,height:r},c[c.length-1]+=m+o}),d}_fitCols(t,e,i,r){const{ctx:s,maxHeight:a,options:{labels:{padding:o}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],u=a-t;let d=o,h=0,g=0,f=0,p=0;return this.legendItems.forEach((m,b)=>{const A=i+e/2+s.measureText(m.text).width;b>0&&g+r+2*o>u&&(d+=h+o,c.push({width:h,height:g}),f+=h+o,p++,h=g=0),l[b]={left:f,top:g,col:p,width:A,height:r},h=Math.max(h,A),g+=r+o}),d+=h,c.push({width:h,height:g}),d}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:i,labels:{padding:r},rtl:s}}=this,a=Hi(s,this.left,this.width);if(this.isHorizontal()){let o=0,l=lt(i,this.left+r,this.right-this.lineWidths[o]);for(const c of e)o!==c.row&&(o=c.row,l=lt(i,this.left+r,this.right-this.lineWidths[o])),c.top+=this.top+t+r,c.left=a.leftForLtr(a.x(l),c.width),l+=c.width+r}else{let o=0,l=lt(i,this.top+t+r,this.bottom-this.columnSizes[o].height);for(const c of e)c.col!==o&&(o=c.col,l=lt(i,this.top+t+r,this.bottom-this.columnSizes[o].height)),c.top=l,c.left+=this.left+r,c.left=a.leftForLtr(a.x(c.left),c.width),l+=c.height+r}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const t=this.ctx;Fa(t,this),this._draw(),Ha(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:i,ctx:r}=this,{align:s,labels:a}=t,o=Ce.color,l=Hi(t.rtl,this.left,this.width),c=$e(a.font),{color:u,padding:d}=a,h=c.size,g=h/2;let f;this.drawTitle(),r.textAlign=l.textAlign("left"),r.textBaseline="middle",r.lineWidth=.5,r.font=c.string;const{boxWidth:p,boxHeight:m,itemHeight:b}=oh(a,h),A=function(S,z,R){if(isNaN(p)||p<=0||isNaN(m)||m<0)return;r.save();const T=ge(R.lineWidth,1);if(r.fillStyle=ge(R.fillStyle,o),r.lineCap=ge(R.lineCap,"butt"),r.lineDashOffset=ge(R.lineDashOffset,0),r.lineJoin=ge(R.lineJoin,"miter"),r.lineWidth=T,r.strokeStyle=ge(R.strokeStyle,o),r.setLineDash(ge(R.lineDash,[])),a.usePointStyle){const x={radius:m*Math.SQRT2/2,pointStyle:R.pointStyle,rotation:R.rotation,borderWidth:T},O=l.xPlus(S,p/2),B=z+g;Qp(r,x,O,B,a.pointStyleWidth&&p)}else{const x=z+Math.max((h-m)/2,0),O=l.leftForLtr(S,p),B=ci(R.borderRadius);r.beginPath(),Object.values(B).some(L=>L!==0)?Jr(r,{x:O,y:x,w:p,h:m,radius:B}):r.rect(O,x,p,m),r.fill(),T!==0&&r.stroke()}r.restore()},y=function(S,z,R){gi(r,R.text,S,z+b/2,c,{strikethrough:R.hidden,textAlign:l.textAlign(R.textAlign)})},w=this.isHorizontal(),C=this._computeTitleHeight();w?f={x:lt(s,this.left+d,this.right-i[0]),y:this.top+d+C,line:0}:f={x:this.left+d,y:lt(s,this.top+C+d,this.bottom-e[0].height),line:0},rm(this.ctx,t.textDirection);const _=b+d;this.legendItems.forEach((S,z)=>{r.strokeStyle=S.fontColor||u,r.fillStyle=S.fontColor||u;const R=r.measureText(S.text).width,T=l.textAlign(S.textAlign||(S.textAlign=a.textAlign)),x=p+g+R;let O=f.x,B=f.y;l.setWidth(this.width),w?z>0&&O+x+d>this.right&&(B=f.y+=_,f.line++,O=f.x=lt(s,this.left+d,this.right-i[f.line])):z>0&&B+_>this.bottom&&(O=f.x=O+e[f.line].width+d,f.line++,B=f.y=lt(s,this.top+C+d,this.bottom-e[f.line].height));const L=l.x(O);A(L,B,S),O=L5(T,O+p+g,w?O+x:this.right,t.rtl),y(l.x(O),B,S),w?f.x+=x+d:f.y+=_}),sm(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,i=$e(e.font),r=ht(e.padding);if(!e.display)return;const s=Hi(t.rtl,this.left,this.width),a=this.ctx,o=e.position,l=i.size/2,c=r.top+l;let u,d=this.left,h=this.width;if(this.isHorizontal())h=Math.max(...this.lineWidths),u=this.top+c,d=lt(t.align,d,this.right-h);else{const f=this.columnSizes.reduce((p,m)=>Math.max(p,m.height),0);u=c+lt(t.align,this.top,this.bottom-f-t.labels.padding-this._computeTitleHeight())}const g=lt(o,d,d+h);a.textAlign=s.textAlign(Lc(o)),a.textBaseline="middle",a.strokeStyle=e.color,a.fillStyle=e.color,a.font=i.string,gi(a,e.text,g,u,i)}_computeTitleHeight(){const t=this.options.title,e=$e(t.font),i=ht(t.padding);return t.display?e.lineHeight+i.height:0}_getLegendItemAt(t,e){let i,r,s;if(In(t,this.left,this.right)&&In(e,this.top,this.bottom)){for(s=this.legendHitBoxes,i=0;i<s.length;++i)if(r=s[i],In(t,r.left,r.left+r.width)&&In(e,r.top,r.top+r.height))return this.legendItems[i]}return null}handleEvent(t){const e=this.options;if(!CK(t.type,e))return;const i=this._getLegendItemAt(t.x,t.y);if(t.type==="mousemove"||t.type==="mouseout"){const r=this._hoveredItem,s=AK(r,i);r&&!s&&Oe(e.onLeave,[t,r,this],this),this._hoveredItem=i,i&&!s&&Oe(e.onHover,[t,i,this],this)}else i&&Oe(e.onClick,[t,i,this],this)}}function CK(n,t){return!!((n==="mousemove"||n==="mouseout")&&(t.onHover||t.onLeave)||t.onClick&&(n==="click"||n==="mouseup"))}var IK={id:"legend",_element:lh,start(n,t,e){const i=n.legend=new lh({ctx:n.ctx,options:e,chart:n});Lt.configure(n,i,e),Lt.addBox(n,i)},stop(n){Lt.removeBox(n,n.legend),delete n.legend},beforeUpdate(n,t,e){const i=n.legend;Lt.configure(n,i,e),i.options=e},afterUpdate(n){const t=n.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(n,t){t.replay||n.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(n,t,e){const i=t.datasetIndex,r=e.chart;r.isDatasetVisible(i)?(r.hide(i),t.hidden=!0):(r.show(i),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:n=>n.chart.options.color,boxWidth:40,padding:10,generateLabels(n){const t=n.data.datasets,{labels:{usePointStyle:e,pointStyle:i,textAlign:r,color:s}}=n.legend.options;return n._getSortedDatasetMetas().map(a=>{const o=a.controller.getStyle(e?0:void 0),l=ht(o.borderWidth);return{text:t[a.index].label,fillStyle:o.backgroundColor,fontColor:s,hidden:!a.visible,lineCap:o.borderCapStyle,lineDash:o.borderDash,lineDashOffset:o.borderDashOffset,lineJoin:o.borderJoinStyle,lineWidth:(l.width+l.height)/4,strokeStyle:o.borderColor,pointStyle:i||o.pointStyle,rotation:o.rotation,textAlign:r||o.textAlign,borderRadius:0,datasetIndex:a.index}},this)}},title:{color:n=>n.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:n=>!n.startsWith("on"),labels:{_scriptable:n=>!["generateLabels","filter","sort"].includes(n)}}};class Rm extends Ut{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e){const i=this.options;if(this.left=0,this.top=0,!i.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=t,this.height=this.bottom=e;const r=Ne(i.text)?i.text.length:1;this._padding=ht(i.padding);const s=r*$e(i.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=s:this.width=s}isHorizontal(){const t=this.options.position;return t==="top"||t==="bottom"}_drawArgs(t){const{top:e,left:i,bottom:r,right:s,options:a}=this,o=a.align;let l=0,c,u,d;return this.isHorizontal()?(u=lt(o,i,s),d=e+t,c=s-i):(a.position==="left"?(u=i+t,d=lt(o,r,e),l=ze*-.5):(u=s-t,d=lt(o,e,r),l=ze*.5),c=r-e),{titleX:u,titleY:d,maxWidth:c,rotation:l}}draw(){const t=this.ctx,e=this.options;if(!e.display)return;const i=$e(e.font),s=i.lineHeight/2+this._padding.top,{titleX:a,titleY:o,maxWidth:l,rotation:c}=this._drawArgs(s);gi(t,e.text,0,0,i,{color:e.color,maxWidth:l,rotation:c,textAlign:Lc(e.align),textBaseline:"middle",translation:[a,o]})}}function wK(n,t){const e=new Rm({ctx:n.ctx,options:t,chart:n});Lt.configure(n,e,t),Lt.addBox(n,e),n.titleBlock=e}var xK={id:"title",_element:Rm,start(n,t,e){wK(n,e)},stop(n){const t=n.titleBlock;Lt.removeBox(n,t),delete n.titleBlock},beforeUpdate(n,t,e){const i=n.titleBlock;Lt.configure(n,i,e),i.options=e},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Tr={average(n){if(!n.length)return!1;let t,e,i=0,r=0,s=0;for(t=0,e=n.length;t<e;++t){const a=n[t].element;if(a&&a.hasValue()){const o=a.tooltipPosition();i+=o.x,r+=o.y,++s}}return{x:i/s,y:r/s}},nearest(n,t){if(!n.length)return!1;let e=t.x,i=t.y,r=Number.POSITIVE_INFINITY,s,a,o;for(s=0,a=n.length;s<a;++s){const l=n[s].element;if(l&&l.hasValue()){const c=l.getCenterPoint(),u=Rl(t,c);u<r&&(r=u,o=l)}}if(o){const l=o.tooltipPosition();e=l.x,i=l.y}return{x:e,y:i}}};function en(n,t){return t&&(Ne(t)?Array.prototype.push.apply(n,t):n.push(t)),n}function mn(n){return(typeof n=="string"||n instanceof String)&&n.indexOf(`
208
+ */class qJ{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,e,i,r){const s=e.listeners[r],a=e.duration;s.forEach(o=>o({chart:t,initial:e.initial,numSteps:a,currentStep:Math.min(i-e.start,a)}))}_refresh(){this._request||(this._running=!0,this._request=Fp.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let e=0;this._charts.forEach((i,r)=>{if(!i.running||!i.items.length)return;const s=i.items;let a=s.length-1,o=!1,l;for(;a>=0;--a)l=s[a],l._active?(l._total>i.duration&&(i.duration=l._total),l.tick(t),o=!0):(s[a]=s[s.length-1],s.pop());o&&(r.draw(),this._notify(r,i,t,"progress")),s.length||(i.running=!1,this._notify(r,i,t,"complete"),i.initial=!1),e+=s.length}),this._lastDate=t,e===0&&(this._running=!1)}_getAnims(t){const e=this._charts;let i=e.get(t);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,i)),i}listen(t,e,i){this._getAnims(t).listeners[e].push(i)}add(t,e){!e||!e.length||this._getAnims(t).items.push(...e)}has(t){return this._getAnims(t).items.length>0}start(t){const e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce((i,r)=>Math.max(i,r._duration),0),this._refresh())}running(t){if(!this._running)return!1;const e=this._charts.get(t);return!(!e||!e.running||!e.items.length)}stop(t){const e=this._charts.get(t);if(!e||!e.items.length)return;const i=e.items;let r=i.length-1;for(;r>=0;--r)i[r].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var pn=new qJ;const Mf="transparent",$J={boolean(n,t,e){return e>.5?t:n},color(n,t,e){const i=Af(n||Mf),r=i.valid&&Af(t||Mf);return r&&r.valid?r.mix(i,e).hexString():t},number(n,t,e){return n+(t-n)*e}};class eQ{constructor(t,e,i,r){const s=e[i];r=Ds([t.to,r,s,t.from]);const a=Ds([t.from,s,r]);this._active=!0,this._fn=t.fn||$J[t.type||typeof a],this._easing=Or[t.easing]||Or.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=i,this._from=a,this._to=r,this._promises=void 0}active(){return this._active}update(t,e,i){if(this._active){this._notify(!1);const r=this._target[this._prop],s=i-this._start,a=this._duration-s;this._start=i,this._duration=Math.floor(Math.max(a,t.duration)),this._total+=s,this._loop=!!t.loop,this._to=Ds([t.to,e,r,t.from]),this._from=Ds([t.from,r,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,i=this._duration,r=this._prop,s=this._from,a=this._loop,o=this._to;let l;if(this._active=s!==o&&(a||e<i),!this._active){this._target[r]=o,this._notify(!0);return}if(e<0){this._target[r]=s;return}l=e/i%2,l=a&&l>1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[r]=this._fn(s,o,l)}wait(){const t=this._promises||(this._promises=[]);return new Promise((e,i)=>{t.push({res:e,rej:i})})}_notify(t){const e=t?"res":"rej",i=this._promises||[];for(let r=0;r<i.length;r++)i[r][e]()}}const tQ=["x","y","borderWidth","radius","tension"],nQ=["color","borderColor","backgroundColor"];Ce.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0});const iQ=Object.keys(Ce.animation);Ce.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:n=>n!=="onProgress"&&n!=="onComplete"&&n!=="fn"});Ce.set("animations",{colors:{type:"color",properties:nQ},numbers:{type:"number",properties:tQ}});Ce.describe("animations",{_fallback:"animation"});Ce.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:n=>n|0}}}});class cm{constructor(t,e){this._chart=t,this._properties=new Map,this.configure(e)}configure(t){if(!Ae(t))return;const e=this._properties;Object.getOwnPropertyNames(t).forEach(i=>{const r=t[i];if(!Ae(r))return;const s={};for(const a of iQ)s[a]=r[a];(Ne(r.properties)&&r.properties||[i]).forEach(a=>{(a===i||!e.has(a))&&e.set(a,s)})})}_animateOptions(t,e){const i=e.options,r=sQ(t,i);if(!r)return[];const s=this._createAnimations(r,i);return i.$shared&&rQ(t.options.$animations,i).then(()=>{t.options=i},()=>{}),s}_createAnimations(t,e){const i=this._properties,r=[],s=t.$animations||(t.$animations={}),a=Object.keys(e),o=Date.now();let l;for(l=a.length-1;l>=0;--l){const c=a[l];if(c.charAt(0)==="$")continue;if(c==="options"){r.push(...this._animateOptions(t,e));continue}const u=e[c];let d=s[c];const h=i.get(c);if(d)if(h&&d.active()){d.update(h,u,o);continue}else d.cancel();if(!h||!h.duration){t[c]=u;continue}s[c]=d=new eQ(h,t,c,u),r.push(d)}return r}update(t,e){if(this._properties.size===0){Object.assign(t,e);return}const i=this._createAnimations(t,e);if(i.length)return pn.add(this._chart,i),!0}}function rQ(n,t){const e=[],i=Object.keys(t);for(let r=0;r<i.length;r++){const s=n[i[r]];s&&s.active()&&e.push(s.wait())}return Promise.all(e)}function sQ(n,t){if(!t)return;let e=n.options;if(!e){n.options=t;return}return e.$shared&&(n.options=e=Object.assign({},e,{$shared:!1,$animations:{}})),e}function Df(n,t){const e=n&&n.options||{},i=e.reverse,r=e.min===void 0?t:0,s=e.max===void 0?t:0;return{start:i?s:r,end:i?r:s}}function aQ(n,t,e){if(e===!1)return!1;const i=Df(n,e),r=Df(t,e);return{top:r.end,right:i.end,bottom:r.start,left:i.start}}function oQ(n){let t,e,i,r;return Ae(n)?(t=n.top,e=n.right,i=n.bottom,r=n.left):t=e=i=r=n,{top:t,right:e,bottom:i,left:r,disabled:n===!1}}function um(n,t){const e=[],i=n._getSortedDatasetMetas(t);let r,s;for(r=0,s=i.length;r<s;++r)e.push(i[r].index);return e}function Bf(n,t,e,i={}){const r=n.keys,s=i.mode==="single";let a,o,l,c;if(t!==null){for(a=0,o=r.length;a<o;++a){if(l=+r[a],l===e){if(i.all)continue;break}c=n.values[l],Je(c)&&(s||t===0||rn(t)===rn(c))&&(t+=c)}return t}}function lQ(n){const t=Object.keys(n),e=new Array(t.length);let i,r,s;for(i=0,r=t.length;i<r;++i)s=t[i],e[i]={x:s,y:n[s]};return e}function Gf(n,t){const e=n&&n.options.stacked;return e||e===void 0&&t.stack!==void 0}function cQ(n,t,e){return`${n.id}.${t.id}.${e.stack||e.type}`}function uQ(n){const{min:t,max:e,minDefined:i,maxDefined:r}=n.getUserBounds();return{min:i?t:Number.NEGATIVE_INFINITY,max:r?e:Number.POSITIVE_INFINITY}}function dQ(n,t,e){const i=n[t]||(n[t]={});return i[e]||(i[e]={})}function Of(n,t,e,i){for(const r of t.getMatchingVisibleMetas(i).reverse()){const s=n[r.index];if(e&&s>0||!e&&s<0)return r.index}return null}function Nf(n,t){const{chart:e,_cachedMeta:i}=n,r=e._stacks||(e._stacks={}),{iScale:s,vScale:a,index:o}=i,l=s.axis,c=a.axis,u=cQ(s,a,i),d=t.length;let h;for(let g=0;g<d;++g){const f=t[g],{[l]:p,[c]:m}=f,b=f._stacks||(f._stacks={});h=b[c]=dQ(r,u,p),h[o]=m,h._top=Of(h,a,!0,i.type),h._bottom=Of(h,a,!1,i.type)}}function Go(n,t){const e=n.scales;return Object.keys(e).filter(i=>e[i].axis===t).shift()}function fQ(n,t){return Jn(n,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function hQ(n,t,e){return Jn(n,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:e,index:t,mode:"default",type:"data"})}function Ar(n,t){const e=n.controller.index,i=n.vScale&&n.vScale.axis;if(i){t=t||n._parsed;for(const r of t){const s=r._stacks;if(!s||s[i]===void 0||s[i][e]===void 0)return;delete s[i][e]}}}const Oo=n=>n==="reset"||n==="none",Tf=(n,t)=>t?n:Object.assign({},n),gQ=(n,t,e)=>n&&!t.hidden&&t._stacked&&{keys:um(e,!0),values:null};class Qt{constructor(t,e){this.chart=t,this._ctx=t.ctx,this.index=e,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=Gf(t.vScale,t),this.addElements()}updateIndex(t){this.index!==t&&Ar(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,e=this._cachedMeta,i=this.getDataset(),r=(d,h,g,f)=>d==="x"?h:d==="r"?f:g,s=e.xAxisID=ge(i.xAxisID,Go(t,"x")),a=e.yAxisID=ge(i.yAxisID,Go(t,"y")),o=e.rAxisID=ge(i.rAxisID,Go(t,"r")),l=e.indexAxis,c=e.iAxisID=r(l,s,a,o),u=e.vAxisID=r(l,a,s,o);e.xScale=this.getScaleForId(s),e.yScale=this.getScaleForId(a),e.rScale=this.getScaleForId(o),e.iScale=this.getScaleForId(c),e.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const e=this._cachedMeta;return t===e.iScale?e.vScale:e.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&hf(this._data,this),t._stacked&&Ar(t)}_dataCheck(){const t=this.getDataset(),e=t.data||(t.data=[]),i=this._data;if(Ae(e))this._data=lQ(e);else if(i!==e){if(i){hf(i,this);const r=this._cachedMeta;Ar(r),r._parsed=[]}e&&Object.isExtensible(e)&&N5(e,this),this._syncList=[],this._data=e}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const e=this._cachedMeta,i=this.getDataset();let r=!1;this._dataCheck();const s=e._stacked;e._stacked=Gf(e.vScale,e),e.stack!==i.stack&&(r=!0,Ar(e),e.stack=i.stack),this._resyncElements(t),(r||s!==e._stacked)&&Nf(this,e._parsed)}configure(){const t=this.chart.config,e=t.datasetScopeKeys(this._type),i=t.getOptionScopes(this.getDataset(),e,!0);this.options=t.createResolver(i,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,e){const{_cachedMeta:i,_data:r}=this,{iScale:s,_stacked:a}=i,o=s.axis;let l=t===0&&e===r.length?!0:i._sorted,c=t>0&&i._parsed[t-1],u,d,h;if(this._parsing===!1)i._parsed=r,i._sorted=!0,h=r;else{Ne(r[t])?h=this.parseArrayData(i,r,t,e):Ae(r[t])?h=this.parseObjectData(i,r,t,e):h=this.parsePrimitiveData(i,r,t,e);const g=()=>d[o]===null||c&&d[o]<c[o];for(u=0;u<e;++u)i._parsed[u+t]=d=h[u],l&&(g()&&(l=!1),c=d);i._sorted=l}a&&Nf(this,h)}parsePrimitiveData(t,e,i,r){const{iScale:s,vScale:a}=t,o=s.axis,l=a.axis,c=s.getLabels(),u=s===a,d=new Array(r);let h,g,f;for(h=0,g=r;h<g;++h)f=h+i,d[h]={[o]:u||s.parse(c[f],f),[l]:a.parse(e[f],f)};return d}parseArrayData(t,e,i,r){const{xScale:s,yScale:a}=t,o=new Array(r);let l,c,u,d;for(l=0,c=r;l<c;++l)u=l+i,d=e[u],o[l]={x:s.parse(d[0],u),y:a.parse(d[1],u)};return o}parseObjectData(t,e,i,r){const{xScale:s,yScale:a}=t,{xAxisKey:o="x",yAxisKey:l="y"}=this._parsing,c=new Array(r);let u,d,h,g;for(u=0,d=r;u<d;++u)h=u+i,g=e[h],c[u]={x:s.parse(Yn(g,o),h),y:a.parse(Yn(g,l),h)};return c}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,e,i){const r=this.chart,s=this._cachedMeta,a=e[t.axis],o={keys:um(r,!0),values:e._stacks[t.axis]};return Bf(o,a,s.index,{mode:i})}updateRangeFromParsed(t,e,i,r){const s=i[e.axis];let a=s===null?NaN:s;const o=r&&i._stacks[e.axis];r&&o&&(r.values=o,a=Bf(r,s,this._cachedMeta.index)),t.min=Math.min(t.min,a),t.max=Math.max(t.max,a)}getMinMax(t,e){const i=this._cachedMeta,r=i._parsed,s=i._sorted&&t===i.iScale,a=r.length,o=this._getOtherScale(t),l=gQ(e,i,this.chart),c={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:u,max:d}=uQ(o);let h,g;function f(){g=r[h];const p=g[o.axis];return!Je(g[t.axis])||u>p||d<p}for(h=0;h<a&&!(!f()&&(this.updateRangeFromParsed(c,t,g,l),s));++h);if(s){for(h=a-1;h>=0;--h)if(!f()){this.updateRangeFromParsed(c,t,g,l);break}}return c}getAllParsedValues(t){const e=this._cachedMeta._parsed,i=[];let r,s,a;for(r=0,s=e.length;r<s;++r)a=e[r][t.axis],Je(a)&&i.push(a);return i}getMaxOverflow(){return!1}getLabelAndValue(t){const e=this._cachedMeta,i=e.iScale,r=e.vScale,s=this.getParsed(t);return{label:i?""+i.getLabelForValue(s[i.axis]):"",value:r?""+r.getLabelForValue(s[r.axis]):""}}_update(t){const e=this._cachedMeta;this.update(t||"default"),e._clip=oQ(ge(this.options.clip,aQ(e.xScale,e.yScale,this.getMaxOverflow())))}update(t){}draw(){const t=this._ctx,e=this.chart,i=this._cachedMeta,r=i.data||[],s=e.chartArea,a=[],o=this._drawStart||0,l=this._drawCount||r.length-o,c=this.options.drawActiveElementsOnTop;let u;for(i.dataset&&i.dataset.draw(t,s,o,l),u=o;u<o+l;++u){const d=r[u];d.hidden||(d.active&&c?a.push(d):d.draw(t,s))}for(u=0;u<a.length;++u)a[u].draw(t,s)}getStyle(t,e){const i=e?"active":"default";return t===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(i):this.resolveDataElementOptions(t||0,i)}getContext(t,e,i){const r=this.getDataset();let s;if(t>=0&&t<this._cachedMeta.data.length){const a=this._cachedMeta.data[t];s=a.$context||(a.$context=hQ(this.getContext(),t,a)),s.parsed=this.getParsed(t),s.raw=r.data[t],s.index=s.dataIndex=t}else s=this.$context||(this.$context=fQ(this.chart.getContext(),this.index)),s.dataset=r,s.index=s.datasetIndex=this.index;return s.active=!!e,s.mode=i,s}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,e){return this._resolveElementOptions(this.dataElementType.id,e,t)}_resolveElementOptions(t,e="default",i){const r=e==="active",s=this._cachedDataOpts,a=t+"-"+e,o=s[a],l=this.enableOptionSharing&&jt(i);if(o)return Tf(o,l);const c=this.chart.config,u=c.datasetElementScopeKeys(this._type,t),d=r?[`${t}Hover`,"hover",t,""]:[t,""],h=c.getOptionScopes(this.getDataset(),u),g=Object.keys(Ce.elements[t]),f=()=>this.getContext(i,r),p=c.resolveNamedOptions(h,g,f,d);return p.$shared&&(p.$shared=l,s[a]=Object.freeze(Tf(p,l))),p}_resolveAnimations(t,e,i){const r=this.chart,s=this._cachedDataOpts,a=`animation-${e}`,o=s[a];if(o)return o;let l;if(r.options.animation!==!1){const u=this.chart.config,d=u.datasetAnimationScopeKeys(this._type,e),h=u.getOptionScopes(this.getDataset(),d);l=u.createResolver(h,this.getContext(t,i,e))}const c=new cm(r,l&&l.animations);return l&&l._cacheable&&(s[a]=Object.freeze(c)),c}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||Oo(t)||this.chart._animationsDisabled}_getSharedOptions(t,e){const i=this.resolveDataElementOptions(t,e),r=this._sharedOptions,s=this.getSharedOptions(i),a=this.includeOptions(e,s)||s!==r;return this.updateSharedOptions(s,e,i),{sharedOptions:s,includeOptions:a}}updateElement(t,e,i,r){Oo(r)?Object.assign(t,i):this._resolveAnimations(e,r).update(t,i)}updateSharedOptions(t,e,i){t&&!Oo(e)&&this._resolveAnimations(void 0,e).update(t,i)}_setStyle(t,e,i,r){t.active=r;const s=this.getStyle(e,r);this._resolveAnimations(e,i,r).update(t,{options:!r&&this.getSharedOptions(s)||s})}removeHoverStyle(t,e,i){this._setStyle(t,i,"active",!1)}setHoverStyle(t,e,i){this._setStyle(t,i,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const e=this._data,i=this._cachedMeta.data;for(const[o,l,c]of this._syncList)this[o](l,c);this._syncList=[];const r=i.length,s=e.length,a=Math.min(s,r);a&&this.parse(0,a),s>r?this._insertElements(r,s-r,t):s<r&&this._removeElements(s,r-s)}_insertElements(t,e,i=!0){const r=this._cachedMeta,s=r.data,a=t+e;let o;const l=c=>{for(c.length+=e,o=c.length-1;o>=a;o--)c[o]=c[o-e]};for(l(s),o=t;o<a;++o)s[o]=new this.dataElementType;this._parsing&&l(r._parsed),this.parse(t,e),i&&this.updateElements(s,t,e,"reset")}updateElements(t,e,i,r){}_removeElements(t,e){const i=this._cachedMeta;if(this._parsing){const r=i._parsed.splice(t,e);i._stacked&&Ar(i,r)}i.data.splice(t,e)}_sync(t){if(this._parsing)this._syncList.push(t);else{const[e,i,r]=t;this[e](i,r)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){const t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,e){e&&this._sync(["_removeElements",t,e]);const i=arguments.length-2;i&&this._sync(["_insertElements",t,i])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}Qt.defaults={};Qt.prototype.datasetElementType=null;Qt.prototype.dataElementType=null;function pQ(n,t){if(!n._cache.$bar){const e=n.getMatchingVisibleMetas(t);let i=[];for(let r=0,s=e.length;r<s;r++)i=i.concat(e[r].controller.getAllParsedValues(n));n._cache.$bar=Pp(i.sort((r,s)=>r-s))}return n._cache.$bar}function mQ(n){const t=n.iScale,e=pQ(t,n.type);let i=t._length,r,s,a,o;const l=()=>{a===32767||a===-32768||(jt(o)&&(i=Math.min(i,Math.abs(a-o)||i)),o=a)};for(r=0,s=e.length;r<s;++r)a=t.getPixelForValue(e[r]),l();for(o=void 0,r=0,s=t.ticks.length;r<s;++r)a=t.getPixelForTick(r),l();return i}function bQ(n,t,e,i){const r=e.barThickness;let s,a;return Ee(r)?(s=t.min*e.categoryPercentage,a=e.barPercentage):(s=r*i,a=1),{chunk:s/i,ratio:a,start:t.pixels[n]-s/2}}function vQ(n,t,e,i){const r=t.pixels,s=r[n];let a=n>0?r[n-1]:null,o=n<r.length-1?r[n+1]:null;const l=e.categoryPercentage;a===null&&(a=s-(o===null?t.end-t.start:o-s)),o===null&&(o=s+s-a);const c=s-(s-Math.min(a,o))/2*l;return{chunk:Math.abs(o-a)/2*l/i,ratio:e.barPercentage,start:c}}function yQ(n,t,e,i){const r=e.parse(n[0],i),s=e.parse(n[1],i),a=Math.min(r,s),o=Math.max(r,s);let l=a,c=o;Math.abs(a)>Math.abs(o)&&(l=o,c=a),t[e.axis]=c,t._custom={barStart:l,barEnd:c,start:r,end:s,min:a,max:o}}function dm(n,t,e,i){return Ne(n)?yQ(n,t,e,i):t[e.axis]=e.parse(n,i),t}function Lf(n,t,e,i){const r=n.iScale,s=n.vScale,a=r.getLabels(),o=r===s,l=[];let c,u,d,h;for(c=e,u=e+i;c<u;++c)h=t[c],d={},d[r.axis]=o||r.parse(a[c],c),l.push(dm(h,d,s,c));return l}function No(n){return n&&n.barStart!==void 0&&n.barEnd!==void 0}function AQ(n,t,e){return n!==0?rn(n):(t.isHorizontal()?1:-1)*(t.min>=e?1:-1)}function CQ(n){let t,e,i,r,s;return n.horizontal?(t=n.base>n.x,e="left",i="right"):(t=n.base<n.y,e="bottom",i="top"),t?(r="end",s="start"):(r="start",s="end"),{start:e,end:i,reverse:t,top:r,bottom:s}}function IQ(n,t,e,i){let r=t.borderSkipped;const s={};if(!r){n.borderSkipped=s;return}if(r===!0){n.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}const{start:a,end:o,reverse:l,top:c,bottom:u}=CQ(n);r==="middle"&&e&&(n.enableBorderRadius=!0,(e._top||0)===i?r=c:(e._bottom||0)===i?r=u:(s[jf(u,a,o,l)]=!0,r=c)),s[jf(r,a,o,l)]=!0,n.borderSkipped=s}function jf(n,t,e,i){return i?(n=wQ(n,t,e),n=Pf(n,e,t)):n=Pf(n,t,e),n}function wQ(n,t,e){return n===t?e:n===e?t:n}function Pf(n,t,e){return n==="start"?t:n==="end"?e:n}function xQ(n,{inflateAmount:t},e){n.inflateAmount=t==="auto"?e===1?.33:0:t}class Za extends Qt{parsePrimitiveData(t,e,i,r){return Lf(t,e,i,r)}parseArrayData(t,e,i,r){return Lf(t,e,i,r)}parseObjectData(t,e,i,r){const{iScale:s,vScale:a}=t,{xAxisKey:o="x",yAxisKey:l="y"}=this._parsing,c=s.axis==="x"?o:l,u=a.axis==="x"?o:l,d=[];let h,g,f,p;for(h=i,g=i+r;h<g;++h)p=e[h],f={},f[s.axis]=s.parse(Yn(p,c),h),d.push(dm(Yn(p,u),f,a,h));return d}updateRangeFromParsed(t,e,i,r){super.updateRangeFromParsed(t,e,i,r);const s=i._custom;s&&e===this._cachedMeta.vScale&&(t.min=Math.min(t.min,s.min),t.max=Math.max(t.max,s.max))}getMaxOverflow(){return 0}getLabelAndValue(t){const e=this._cachedMeta,{iScale:i,vScale:r}=e,s=this.getParsed(t),a=s._custom,o=No(a)?"["+a.start+", "+a.end+"]":""+r.getLabelForValue(s[r.axis]);return{label:""+i.getLabelForValue(s[i.axis]),value:o}}initialize(){this.enableOptionSharing=!0,super.initialize();const t=this._cachedMeta;t.stack=this.getDataset().stack}update(t){const e=this._cachedMeta;this.updateElements(e.data,0,e.data.length,t)}updateElements(t,e,i,r){const s=r==="reset",{index:a,_cachedMeta:{vScale:o}}=this,l=o.getBasePixel(),c=o.isHorizontal(),u=this._getRuler(),{sharedOptions:d,includeOptions:h}=this._getSharedOptions(e,r);for(let g=e;g<e+i;g++){const f=this.getParsed(g),p=s||Ee(f[o.axis])?{base:l,head:l}:this._calculateBarValuePixels(g),m=this._calculateBarIndexPixels(g,u),b=(f._stacks||{})[o.axis],A={horizontal:c,base:p.base,enableBorderRadius:!b||No(f._custom)||a===b._top||a===b._bottom,x:c?p.head:m.center,y:c?m.center:p.head,height:c?m.size:Math.abs(p.size),width:c?Math.abs(p.size):m.size};h&&(A.options=d||this.resolveDataElementOptions(g,t[g].active?"active":r));const y=A.options||t[g].options;IQ(A,y,b,a),xQ(A,y,u.ratio),this.updateElement(t[g],g,A,r)}}_getStacks(t,e){const{iScale:i}=this._cachedMeta,r=i.getMatchingVisibleMetas(this._type).filter(l=>l.controller.options.grouped),s=i.options.stacked,a=[],o=l=>{const c=l.controller.getParsed(e),u=c&&c[l.vScale.axis];if(Ee(u)||isNaN(u))return!0};for(const l of r)if(!(e!==void 0&&o(l))&&((s===!1||a.indexOf(l.stack)===-1||s===void 0&&l.stack===void 0)&&a.push(l.stack),l.index===t))break;return a.length||a.push(void 0),a}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,e,i){const r=this._getStacks(t,i),s=e!==void 0?r.indexOf(e):-1;return s===-1?r.length-1:s}_getRuler(){const t=this.options,e=this._cachedMeta,i=e.iScale,r=[];let s,a;for(s=0,a=e.data.length;s<a;++s)r.push(i.getPixelForValue(this.getParsed(s)[i.axis],s));const o=t.barThickness;return{min:o||mQ(e),pixels:r,start:i._startPixel,end:i._endPixel,stackCount:this._getStackCount(),scale:i,grouped:t.grouped,ratio:o?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){const{_cachedMeta:{vScale:e,_stacked:i},options:{base:r,minBarLength:s}}=this,a=r||0,o=this.getParsed(t),l=o._custom,c=No(l);let u=o[e.axis],d=0,h=i?this.applyStack(e,o,i):u,g,f;h!==u&&(d=h-u,h=u),c&&(u=l.barStart,h=l.barEnd-l.barStart,u!==0&&rn(u)!==rn(l.barEnd)&&(d=0),d+=u);const p=!Ee(r)&&!c?r:d;let m=e.getPixelForValue(p);if(this.chart.getDataVisibility(t)?g=e.getPixelForValue(d+h):g=m,f=g-m,Math.abs(f)<s){f=AQ(f,e,a)*s,u===a&&(m-=f/2);const b=e.getPixelForDecimal(0),A=e.getPixelForDecimal(1),y=Math.min(b,A),w=Math.max(b,A);m=Math.max(Math.min(m,w),y),g=m+f}if(m===e.getPixelForValue(a)){const b=rn(f)*e.getLineWidthForValue(a)/2;m+=b,f-=b}return{size:f,base:m,head:g,center:g+f/2}}_calculateBarIndexPixels(t,e){const i=e.scale,r=this.options,s=r.skipNull,a=ge(r.maxBarThickness,1/0);let o,l;if(e.grouped){const c=s?this._getStackCount(t):e.stackCount,u=r.barThickness==="flex"?vQ(t,e,r,c):bQ(t,e,r,c),d=this._getStackIndex(this.index,this._cachedMeta.stack,s?t:void 0);o=u.start+u.chunk*d+u.chunk/2,l=Math.min(a,u.chunk*u.ratio)}else o=i.getPixelForValue(this.getParsed(t)[i.axis],t),l=Math.min(a,e.min*e.ratio);return{base:o-l/2,head:o+l/2,center:o,size:l}}draw(){const t=this._cachedMeta,e=t.vScale,i=t.data,r=i.length;let s=0;for(;s<r;++s)this.getParsed(s)[e.axis]!==null&&i[s].draw(this._ctx)}}Za.id="bar";Za.defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};Za.overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};class Xc extends Qt{initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(t,e,i,r){const s=super.parsePrimitiveData(t,e,i,r);for(let a=0;a<s.length;a++)s[a]._custom=this.resolveDataElementOptions(a+i).radius;return s}parseArrayData(t,e,i,r){const s=super.parseArrayData(t,e,i,r);for(let a=0;a<s.length;a++){const o=e[i+a];s[a]._custom=ge(o[2],this.resolveDataElementOptions(a+i).radius)}return s}parseObjectData(t,e,i,r){const s=super.parseObjectData(t,e,i,r);for(let a=0;a<s.length;a++){const o=e[i+a];s[a]._custom=ge(o&&o.r&&+o.r,this.resolveDataElementOptions(a+i).radius)}return s}getMaxOverflow(){const t=this._cachedMeta.data;let e=0;for(let i=t.length-1;i>=0;--i)e=Math.max(e,t[i].size(this.resolveDataElementOptions(i))/2);return e>0&&e}getLabelAndValue(t){const e=this._cachedMeta,{xScale:i,yScale:r}=e,s=this.getParsed(t),a=i.getLabelForValue(s.x),o=r.getLabelForValue(s.y),l=s._custom;return{label:e.label,value:"("+a+", "+o+(l?", "+l:"")+")"}}update(t){const e=this._cachedMeta.data;this.updateElements(e,0,e.length,t)}updateElements(t,e,i,r){const s=r==="reset",{iScale:a,vScale:o}=this._cachedMeta,{sharedOptions:l,includeOptions:c}=this._getSharedOptions(e,r),u=a.axis,d=o.axis;for(let h=e;h<e+i;h++){const g=t[h],f=!s&&this.getParsed(h),p={},m=p[u]=s?a.getPixelForDecimal(.5):a.getPixelForValue(f[u]),b=p[d]=s?o.getBasePixel():o.getPixelForValue(f[d]);p.skip=isNaN(m)||isNaN(b),c&&(p.options=l||this.resolveDataElementOptions(h,g.active?"active":r),s&&(p.options.radius=0)),this.updateElement(g,h,p,r)}}resolveDataElementOptions(t,e){const i=this.getParsed(t);let r=super.resolveDataElementOptions(t,e);r.$shared&&(r=Object.assign({},r,{$shared:!1}));const s=r.radius;return e!=="active"&&(r.radius=0),r.radius+=ge(i&&i._custom,s),r}}Xc.id="bubble";Xc.defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}};Xc.overrides={scales:{x:{type:"linear"},y:{type:"linear"}},plugins:{tooltip:{callbacks:{title(){return""}}}}};function _Q(n,t,e){let i=1,r=1,s=0,a=0;if(t<De){const o=n,l=o+t,c=Math.cos(o),u=Math.sin(o),d=Math.cos(l),h=Math.sin(l),g=(y,w,C)=>Xr(y,o,l,!0)?1:Math.max(w,w*e,C,C*e),f=(y,w,C)=>Xr(y,o,l,!0)?-1:Math.min(w,w*e,C,C*e),p=g(0,c,d),m=g(Ze,u,h),b=f(ze,c,d),A=f(ze+Ze,u,h);i=(p-b)/2,r=(m-A)/2,s=-(p+b)/2,a=-(m+A)/2}return{ratioX:i,ratioY:r,offsetX:s,offsetY:a}}class cs extends Qt{constructor(t,e){super(t,e),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,e){const i=this.getDataset().data,r=this._cachedMeta;if(this._parsing===!1)r._parsed=i;else{let s=l=>+i[l];if(Ae(i[t])){const{key:l="value"}=this._parsing;s=c=>+Yn(i[c],l)}let a,o;for(a=t,o=t+e;a<o;++a)r._parsed[a]=s(a)}}_getRotation(){return Yt(this.options.rotation-90)}_getCircumference(){return Yt(this.options.circumference)}_getRotationExtents(){let t=De,e=-De;for(let i=0;i<this.chart.data.datasets.length;++i)if(this.chart.isDatasetVisible(i)){const r=this.chart.getDatasetMeta(i).controller,s=r._getRotation(),a=r._getCircumference();t=Math.min(t,s),e=Math.max(e,s+a)}return{rotation:t,circumference:e-t}}update(t){const e=this.chart,{chartArea:i}=e,r=this._cachedMeta,s=r.data,a=this.getMaxBorderWidth()+this.getMaxOffset(s)+this.options.spacing,o=Math.max((Math.min(i.width,i.height)-a)/2,0),l=Math.min(C5(this.options.cutout,o),1),c=this._getRingWeight(this.index),{circumference:u,rotation:d}=this._getRotationExtents(),{ratioX:h,ratioY:g,offsetX:f,offsetY:p}=_Q(d,u,l),m=(i.width-a)/h,b=(i.height-a)/g,A=Math.max(Math.min(m,b)/2,0),y=Op(this.options.radius,A),w=Math.max(y*l,0),C=(y-w)/this._getVisibleDatasetWeightTotal();this.offsetX=f*y,this.offsetY=p*y,r.total=this.calculateTotal(),this.outerRadius=y-C*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-C*c,0),this.updateElements(s,0,s.length,t)}_circumference(t,e){const i=this.options,r=this._cachedMeta,s=this._getCircumference();return e&&i.animation.animateRotate||!this.chart.getDataVisibility(t)||r._parsed[t]===null||r.data[t].hidden?0:this.calculateCircumference(r._parsed[t]*s/De)}updateElements(t,e,i,r){const s=r==="reset",a=this.chart,o=a.chartArea,c=a.options.animation,u=(o.left+o.right)/2,d=(o.top+o.bottom)/2,h=s&&c.animateScale,g=h?0:this.innerRadius,f=h?0:this.outerRadius,{sharedOptions:p,includeOptions:m}=this._getSharedOptions(e,r);let b=this._getRotation(),A;for(A=0;A<e;++A)b+=this._circumference(A,s);for(A=e;A<e+i;++A){const y=this._circumference(A,s),w=t[A],C={x:u+this.offsetX,y:d+this.offsetY,startAngle:b,endAngle:b+y,circumference:y,outerRadius:f,innerRadius:g};m&&(C.options=p||this.resolveDataElementOptions(A,w.active?"active":r)),b+=y,this.updateElement(w,A,C,r)}}calculateTotal(){const t=this._cachedMeta,e=t.data;let i=0,r;for(r=0;r<e.length;r++){const s=t._parsed[r];s!==null&&!isNaN(s)&&this.chart.getDataVisibility(r)&&!e[r].hidden&&(i+=Math.abs(s))}return i}calculateCircumference(t){const e=this._cachedMeta.total;return e>0&&!isNaN(t)?De*(Math.abs(t)/e):0}getLabelAndValue(t){const e=this._cachedMeta,i=this.chart,r=i.data.labels||[],s=ls(e._parsed[t],i.options.locale);return{label:r[t]||"",value:s}}getMaxBorderWidth(t){let e=0;const i=this.chart;let r,s,a,o,l;if(!t){for(r=0,s=i.data.datasets.length;r<s;++r)if(i.isDatasetVisible(r)){a=i.getDatasetMeta(r),t=a.data,o=a.controller;break}}if(!t)return 0;for(r=0,s=t.length;r<s;++r)l=o.resolveDataElementOptions(r),l.borderAlign!=="inner"&&(e=Math.max(e,l.borderWidth||0,l.hoverBorderWidth||0));return e}getMaxOffset(t){let e=0;for(let i=0,r=t.length;i<r;++i){const s=this.resolveDataElementOptions(i);e=Math.max(e,s.offset||0,s.hoverOffset||0)}return e}_getRingWeightOffset(t){let e=0;for(let i=0;i<t;++i)this.chart.isDatasetVisible(i)&&(e+=this._getRingWeight(i));return e}_getRingWeight(t){return Math.max(ge(this.chart.data.datasets[t].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}cs.id="doughnut";cs.defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"};cs.descriptors={_scriptable:n=>n!=="spacing",_indexable:n=>n!=="spacing"};cs.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(n){const t=n.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:e}}=n.legend.options;return t.labels.map((i,r)=>{const a=n.getDatasetMeta(0).controller.getStyle(r);return{text:i,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,lineWidth:a.borderWidth,pointStyle:e,hidden:!n.getDataVisibility(r),index:r}})}return[]}},onClick(n,t,e){e.chart.toggleDataVisibility(t.index),e.chart.update()}},tooltip:{callbacks:{title(){return""},label(n){let t=n.label;const e=": "+n.formattedValue;return Ne(t)?(t=t.slice(),t[0]+=e):t+=e,t}}}}};class Ya extends Qt{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const e=this._cachedMeta,{dataset:i,data:r=[],_dataset:s}=e,a=this.chart._animationsDisabled;let{start:o,count:l}=zp(e,r,a);this._drawStart=o,this._drawCount=l,Zp(e)&&(o=0,l=r.length),i._chart=this.chart,i._datasetIndex=this.index,i._decimated=!!s._decimated,i.points=r;const c=this.resolveDatasetElementOptions(t);this.options.showLine||(c.borderWidth=0),c.segment=this.options.segment,this.updateElement(i,void 0,{animated:!a,options:c},t),this.updateElements(r,o,l,t)}updateElements(t,e,i,r){const s=r==="reset",{iScale:a,vScale:o,_stacked:l,_dataset:c}=this._cachedMeta,{sharedOptions:u,includeOptions:d}=this._getSharedOptions(e,r),h=a.axis,g=o.axis,{spanGaps:f,segment:p}=this.options,m=Vi(f)?f:Number.POSITIVE_INFINITY,b=this.chart._animationsDisabled||s||r==="none";let A=e>0&&this.getParsed(e-1);for(let y=e;y<e+i;++y){const w=t[y],C=this.getParsed(y),_=b?w:{},S=Ee(C[g]),z=_[h]=a.getPixelForValue(C[h],y),R=_[g]=s||S?o.getBasePixel():o.getPixelForValue(l?this.applyStack(o,C,l):C[g],y);_.skip=isNaN(z)||isNaN(R)||S,_.stop=y>0&&Math.abs(C[h]-A[h])>m,p&&(_.parsed=C,_.raw=c.data[y]),d&&(_.options=u||this.resolveDataElementOptions(y,w.active?"active":r)),b||this.updateElement(w,y,_,r),A=C}}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,i=e.options&&e.options.borderWidth||0,r=t.data||[];if(!r.length)return i;const s=r[0].size(this.resolveDataElementOptions(0)),a=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(i,s,a)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}Ya.id="line";Ya.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};Ya.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class Vc extends Qt{constructor(t,e){super(t,e),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const e=this._cachedMeta,i=this.chart,r=i.data.labels||[],s=ls(e._parsed[t].r,i.options.locale);return{label:r[t]||"",value:s}}parseObjectData(t,e,i,r){return tm.bind(this)(t,e,i,r)}update(t){const e=this._cachedMeta.data;this._updateRadius(),this.updateElements(e,0,e.length,t)}getMinMax(){const t=this._cachedMeta,e={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach((i,r)=>{const s=this.getParsed(r).r;!isNaN(s)&&this.chart.getDataVisibility(r)&&(s<e.min&&(e.min=s),s>e.max&&(e.max=s))}),e}_updateRadius(){const t=this.chart,e=t.chartArea,i=t.options,r=Math.min(e.right-e.left,e.bottom-e.top),s=Math.max(r/2,0),a=Math.max(i.cutoutPercentage?s/100*i.cutoutPercentage:1,0),o=(s-a)/t.getVisibleDatasetCount();this.outerRadius=s-o*this.index,this.innerRadius=this.outerRadius-o}updateElements(t,e,i,r){const s=r==="reset",a=this.chart,l=a.options.animation,c=this._cachedMeta.rScale,u=c.xCenter,d=c.yCenter,h=c.getIndexAngle(0)-.5*ze;let g=h,f;const p=360/this.countVisibleElements();for(f=0;f<e;++f)g+=this._computeAngle(f,r,p);for(f=e;f<e+i;f++){const m=t[f];let b=g,A=g+this._computeAngle(f,r,p),y=a.getDataVisibility(f)?c.getDistanceFromCenterForValue(this.getParsed(f).r):0;g=A,s&&(l.animateScale&&(y=0),l.animateRotate&&(b=A=h));const w={x:u,y:d,innerRadius:0,outerRadius:y,startAngle:b,endAngle:A,options:this.resolveDataElementOptions(f,m.active?"active":r)};this.updateElement(m,f,w,r)}}countVisibleElements(){const t=this._cachedMeta;let e=0;return t.data.forEach((i,r)=>{!isNaN(this.getParsed(r).r)&&this.chart.getDataVisibility(r)&&e++}),e}_computeAngle(t,e,i){return this.chart.getDataVisibility(t)?Yt(this.resolveDataElementOptions(t,e).angle||i):0}}Vc.id="polarArea";Vc.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};Vc.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(n){const t=n.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:e}}=n.legend.options;return t.labels.map((i,r)=>{const a=n.getDatasetMeta(0).controller.getStyle(r);return{text:i,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,lineWidth:a.borderWidth,pointStyle:e,hidden:!n.getDataVisibility(r),index:r}})}return[]}},onClick(n,t,e){e.chart.toggleDataVisibility(t.index),e.chart.update()}},tooltip:{callbacks:{title(){return""},label(n){return n.chart.data.labels[n.dataIndex]+": "+n.formattedValue}}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class Jc extends cs{}Jc.id="pie";Jc.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class Qc extends Qt{getLabelAndValue(t){const e=this._cachedMeta.vScale,i=this.getParsed(t);return{label:e.getLabels()[t],value:""+e.getLabelForValue(i[e.axis])}}parseObjectData(t,e,i,r){return tm.bind(this)(t,e,i,r)}update(t){const e=this._cachedMeta,i=e.dataset,r=e.data||[],s=e.iScale.getLabels();if(i.points=r,t!=="resize"){const a=this.resolveDatasetElementOptions(t);this.options.showLine||(a.borderWidth=0);const o={_loop:!0,_fullLoop:s.length===r.length,options:a};this.updateElement(i,void 0,o,t)}this.updateElements(r,0,r.length,t)}updateElements(t,e,i,r){const s=this._cachedMeta.rScale,a=r==="reset";for(let o=e;o<e+i;o++){const l=t[o],c=this.resolveDataElementOptions(o,l.active?"active":r),u=s.getPointPositionForValue(o,this.getParsed(o).r),d=a?s.xCenter:u.x,h=a?s.yCenter:u.y,g={x:d,y:h,angle:u.angle,skip:isNaN(d)||isNaN(h),options:c};this.updateElement(l,o,g,r)}}}Qc.id="radar";Qc.defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};Qc.overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};class Ut{constructor(){this.x=void 0,this.y=void 0,this.active=!1,this.options=void 0,this.$animations=void 0}tooltipPosition(t){const{x:e,y:i}=this.getProps(["x","y"],t);return{x:e,y:i}}hasValue(){return Vi(this.x)&&Vi(this.y)}getProps(t,e){const i=this.$animations;if(!e||!i)return this;const r={};return t.forEach(s=>{r[s]=i[s]&&i[s].active()?i[s]._to:this[s]}),r}}Ut.defaults={};Ut.defaultRoutes=void 0;const fm={values(n){return Ne(n)?n:""+n},numeric(n,t,e){if(n===0)return"0";const i=this.chart.options.locale;let r,s=n;if(e.length>1){const c=Math.max(Math.abs(e[0].value),Math.abs(e[e.length-1].value));(c<1e-4||c>1e15)&&(r="scientific"),s=kQ(n,e)}const a=Tt(Math.abs(s)),o=Math.max(Math.min(-1*Math.floor(a),20),0),l={notation:r,minimumFractionDigits:o,maximumFractionDigits:o};return Object.assign(l,this.options.ticks.format),ls(n,i,l)},logarithmic(n,t,e){if(n===0)return"0";const i=n/Math.pow(10,Math.floor(Tt(n)));return i===1||i===2||i===5?fm.numeric.call(this,n,t,e):""}};function kQ(n,t){let e=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(e)>=1&&n!==Math.floor(n)&&(e=n-Math.floor(n)),e}var Wa={formatters:fm};Ce.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(n,t)=>t.lineWidth,tickColor:(n,t)=>t.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Wa.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}});Ce.route("scale.ticks","color","","color");Ce.route("scale.grid","color","","borderColor");Ce.route("scale.grid","borderColor","","borderColor");Ce.route("scale.title","color","","color");Ce.describe("scale",{_fallback:!1,_scriptable:n=>!n.startsWith("before")&&!n.startsWith("after")&&n!=="callback"&&n!=="parser",_indexable:n=>n!=="borderDash"&&n!=="tickBorderDash"});Ce.describe("scales",{_fallback:"scale"});Ce.describe("scale.ticks",{_scriptable:n=>n!=="backdropPadding"&&n!=="callback",_indexable:n=>n!=="backdropPadding"});function EQ(n,t){const e=n.options.ticks,i=e.maxTicksLimit||SQ(n),r=e.major.enabled?MQ(t):[],s=r.length,a=r[0],o=r[s-1],l=[];if(s>i)return DQ(t,l,r,s/i),l;const c=RQ(r,t,i);if(s>0){let u,d;const h=s>1?Math.round((o-a)/(s-1)):null;for(Gs(t,l,c,Ee(h)?0:a-h,a),u=0,d=s-1;u<d;u++)Gs(t,l,c,r[u],r[u+1]);return Gs(t,l,c,o,Ee(h)?t.length:o+h),l}return Gs(t,l,c),l}function SQ(n){const t=n.options.offset,e=n._tickSize(),i=n._length/e+(t?0:1),r=n._maxLength/e;return Math.floor(Math.min(i,r))}function RQ(n,t,e){const i=BQ(n),r=t.length/e;if(!i)return Math.max(r,1);const s=R5(i);for(let a=0,o=s.length-1;a<o;a++){const l=s[a];if(l>r)return l}return Math.max(r,1)}function MQ(n){const t=[];let e,i;for(e=0,i=n.length;e<i;e++)n[e].major&&t.push(e);return t}function DQ(n,t,e,i){let r=0,s=e[0],a;for(i=Math.ceil(i),a=0;a<n.length;a++)a===s&&(t.push(n[a]),r++,s=e[r*i])}function Gs(n,t,e,i,r){const s=ge(i,0),a=Math.min(ge(r,n.length),n.length);let o=0,l,c,u;for(e=Math.ceil(e),r&&(l=r-i,e=l/Math.floor(l/e)),u=s;u<0;)o++,u=Math.round(s+o*e);for(c=Math.max(s,0);c<a;c++)c===u&&(t.push(n[c]),o++,u=Math.round(s+o*e))}function BQ(n){const t=n.length;let e,i;if(t<2)return!1;for(i=n[0],e=1;e<t;++e)if(n[e]-n[e-1]!==i)return!1;return i}const GQ=n=>n==="left"?"right":n==="right"?"left":n,Ff=(n,t,e)=>t==="top"||t==="left"?n[t]+e:n[t]-e;function Hf(n,t){const e=[],i=n.length/t,r=n.length;let s=0;for(;s<r;s+=i)e.push(n[Math.floor(s)]);return e}function OQ(n,t,e){const i=n.ticks.length,r=Math.min(t,i-1),s=n._startPixel,a=n._endPixel,o=1e-6;let l=n.getPixelForTick(r),c;if(!(e&&(i===1?c=Math.max(l-s,a-l):t===0?c=(n.getPixelForTick(1)-l)/2:c=(l-n.getPixelForTick(r-1))/2,l+=r<t?c:-c,l<s-o||l>a+o)))return l}function NQ(n,t){Re(n,e=>{const i=e.gc,r=i.length/2;let s;if(r>t){for(s=0;s<r;++s)delete e.data[i[s]];i.splice(0,r)}})}function Cr(n){return n.drawTicks?n.tickLength:0}function zf(n,t){if(!n.display)return 0;const e=et(n.font,t),i=ht(n.padding);return(Ne(n.text)?n.text.length:1)*e.lineHeight+i.height}function TQ(n,t){return Jn(n,{scale:t,type:"scale"})}function LQ(n,t,e){return Jn(n,{tick:e,index:t,type:"tick"})}function jQ(n,t,e){let i=Lc(n);return(e&&t!=="right"||!e&&t==="right")&&(i=GQ(i)),i}function PQ(n,t,e,i){const{top:r,left:s,bottom:a,right:o,chart:l}=n,{chartArea:c,scales:u}=l;let d=0,h,g,f;const p=a-r,m=o-s;if(n.isHorizontal()){if(g=lt(i,s,o),Ae(e)){const b=Object.keys(e)[0],A=e[b];f=u[b].getPixelForValue(A)+p-t}else e==="center"?f=(c.bottom+c.top)/2+p-t:f=Ff(n,e,t);h=o-s}else{if(Ae(e)){const b=Object.keys(e)[0],A=e[b];g=u[b].getPixelForValue(A)-m+t}else e==="center"?g=(c.left+c.right)/2-m+t:g=Ff(n,e,t);f=lt(i,a,r),d=e==="left"?-Ze:Ze}return{titleX:g,titleY:f,maxWidth:h,rotation:d}}class yi extends Ut{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,e){return t}getUserBounds(){let{_userMin:t,_userMax:e,_suggestedMin:i,_suggestedMax:r}=this;return t=Bt(t,Number.POSITIVE_INFINITY),e=Bt(e,Number.NEGATIVE_INFINITY),i=Bt(i,Number.POSITIVE_INFINITY),r=Bt(r,Number.NEGATIVE_INFINITY),{min:Bt(t,i),max:Bt(e,r),minDefined:Je(t),maxDefined:Je(e)}}getMinMax(t){let{min:e,max:i,minDefined:r,maxDefined:s}=this.getUserBounds(),a;if(r&&s)return{min:e,max:i};const o=this.getMatchingVisibleMetas();for(let l=0,c=o.length;l<c;++l)a=o[l].controller.getMinMax(this,t),r||(e=Math.min(e,a.min)),s||(i=Math.max(i,a.max));return e=s&&e>i?i:e,i=r&&e>i?e:i,{min:Bt(e,Bt(i,e)),max:Bt(i,Bt(e,i))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Oe(this.options.beforeUpdate,[this])}update(t,e,i){const{beginAtZero:r,grace:s,ticks:a}=this.options,o=a.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=bJ(this,s,r),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=o<this.ticks.length;this._convertTicksToLabels(l?Hf(this.ticks,o):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),a.display&&(a.autoSkip||a.source==="auto")&&(this.ticks=EQ(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),l&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t=this.options.reverse,e,i;this.isHorizontal()?(e=this.left,i=this.right):(e=this.top,i=this.bottom,t=!t),this._startPixel=e,this._endPixel=i,this._reversePixels=t,this._length=i-e,this._alignToPixels=this.options.alignToPixels}afterUpdate(){Oe(this.options.afterUpdate,[this])}beforeSetDimensions(){Oe(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){Oe(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),Oe(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){Oe(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const e=this.options.ticks;let i,r,s;for(i=0,r=t.length;i<r;i++)s=t[i],s.label=Oe(e.callback,[s.value,i,t],this)}afterTickToLabelConversion(){Oe(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){Oe(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,e=t.ticks,i=this.ticks.length,r=e.minRotation||0,s=e.maxRotation;let a=r,o,l,c;if(!this._isVisible()||!e.display||r>=s||i<=1||!this.isHorizontal()){this.labelRotation=r;return}const u=this._getLabelSizes(),d=u.widest.width,h=u.highest.height,g=ut(this.chart.width-d,0,this.maxWidth);o=t.offset?this.maxWidth/i:g/(i-1),d+6>o&&(o=g/(i-(t.offset?.5:1)),l=this.maxHeight-Cr(t.grid)-e.padding-zf(t.title,this.chart.options.font),c=Math.sqrt(d*d+h*h),a=Nc(Math.min(Math.asin(ut((u.highest.height+6)/o,-1,1)),Math.asin(ut(l/c,-1,1))-Math.asin(ut(h/c,-1,1)))),a=Math.max(r,Math.min(s,a))),this.labelRotation=a}afterCalculateLabelRotation(){Oe(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Oe(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:i,title:r,grid:s}}=this,a=this._isVisible(),o=this.isHorizontal();if(a){const l=zf(r,e.options.font);if(o?(t.width=this.maxWidth,t.height=Cr(s)+l):(t.height=this.maxHeight,t.width=Cr(s)+l),i.display&&this.ticks.length){const{first:c,last:u,widest:d,highest:h}=this._getLabelSizes(),g=i.padding*2,f=Yt(this.labelRotation),p=Math.cos(f),m=Math.sin(f);if(o){const b=i.mirror?0:m*d.width+p*h.height;t.height=Math.min(this.maxHeight,t.height+b+g)}else{const b=i.mirror?0:p*d.width+m*h.height;t.width=Math.min(this.maxWidth,t.width+b+g)}this._calculatePadding(c,u,m,p)}}this._handleMargins(),o?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,e,i,r){const{ticks:{align:s,padding:a},position:o}=this.options,l=this.labelRotation!==0,c=o!=="top"&&this.axis==="x";if(this.isHorizontal()){const u=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1);let h=0,g=0;l?c?(h=r*t.width,g=i*e.height):(h=i*t.height,g=r*e.width):s==="start"?g=e.width:s==="end"?h=t.width:s!=="inner"&&(h=t.width/2,g=e.width/2),this.paddingLeft=Math.max((h-u+a)*this.width/(this.width-u),0),this.paddingRight=Math.max((g-d+a)*this.width/(this.width-d),0)}else{let u=e.height/2,d=t.height/2;s==="start"?(u=0,d=t.height):s==="end"&&(u=e.height,d=0),this.paddingTop=u+a,this.paddingBottom=d+a}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Oe(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:e}=this.options;return e==="top"||e==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let e,i;for(e=0,i=t.length;e<i;e++)Ee(t[e].label)&&(t.splice(e,1),i--,e--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){const e=this.options.ticks.sampleSize;let i=this.ticks;e<i.length&&(i=Hf(i,e)),this._labelSizes=t=this._computeLabelSizes(i,i.length)}return t}_computeLabelSizes(t,e){const{ctx:i,_longestTextCache:r}=this,s=[],a=[];let o=0,l=0,c,u,d,h,g,f,p,m,b,A,y;for(c=0;c<e;++c){if(h=t[c].label,g=this._resolveTickFontOptions(c),i.font=f=g.string,p=r[f]=r[f]||{data:{},gc:[]},m=g.lineHeight,b=A=0,!Ee(h)&&!Ne(h))b=pa(i,p.data,p.gc,b,h),A=m;else if(Ne(h))for(u=0,d=h.length;u<d;++u)y=h[u],!Ee(y)&&!Ne(y)&&(b=pa(i,p.data,p.gc,b,y),A+=m);s.push(b),a.push(A),o=Math.max(b,o),l=Math.max(A,l)}NQ(r,e);const w=s.indexOf(o),C=a.indexOf(l),_=S=>({width:s[S]||0,height:a[S]||0});return{first:_(0),last:_(e-1),widest:_(w),highest:_(C),widths:s,heights:a}}getLabelForValue(t){return t}getPixelForValue(t,e){return NaN}getValueForPixel(t){}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const e=this._startPixel+t*this._length;return B5(this._alignToPixels?Kn(this.chart,e,0):e)}getDecimalForPixel(t){const e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:e}=this;return t<0&&e<0?e:t>0&&e>0?t:0}getContext(t){const e=this.ticks||[];if(t>=0&&t<e.length){const i=e[t];return i.$context||(i.$context=LQ(this.getContext(),t,i))}return this.$context||(this.$context=TQ(this.chart.getContext(),this))}_tickSize(){const t=this.options.ticks,e=Yt(this.labelRotation),i=Math.abs(Math.cos(e)),r=Math.abs(Math.sin(e)),s=this._getLabelSizes(),a=t.autoSkipPadding||0,o=s?s.widest.width+a:0,l=s?s.highest.height+a:0;return this.isHorizontal()?l*i>o*r?o/i:l/r:l*r<o*i?l/i:o/r}_isVisible(){const t=this.options.display;return t!=="auto"?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){const e=this.axis,i=this.chart,r=this.options,{grid:s,position:a}=r,o=s.offset,l=this.isHorizontal(),u=this.ticks.length+(o?1:0),d=Cr(s),h=[],g=s.setContext(this.getContext()),f=g.drawBorder?g.borderWidth:0,p=f/2,m=function(G){return Kn(i,G,f)};let b,A,y,w,C,_,S,z,R,T,x,O;if(a==="top")b=m(this.bottom),_=this.bottom-d,z=b-p,T=m(t.top)+p,O=t.bottom;else if(a==="bottom")b=m(this.top),T=t.top,O=m(t.bottom)-p,_=b+p,z=this.top+d;else if(a==="left")b=m(this.right),C=this.right-d,S=b-p,R=m(t.left)+p,x=t.right;else if(a==="right")b=m(this.left),R=t.left,x=m(t.right)-p,C=b+p,S=this.left+d;else if(e==="x"){if(a==="center")b=m((t.top+t.bottom)/2+.5);else if(Ae(a)){const G=Object.keys(a)[0],F=a[G];b=m(this.chart.scales[G].getPixelForValue(F))}T=t.top,O=t.bottom,_=b+p,z=_+d}else if(e==="y"){if(a==="center")b=m((t.left+t.right)/2);else if(Ae(a)){const G=Object.keys(a)[0],F=a[G];b=m(this.chart.scales[G].getPixelForValue(F))}C=b-p,S=C-d,R=t.left,x=t.right}const B=ge(r.ticks.maxTicksLimit,u),L=Math.max(1,Math.ceil(u/B));for(A=0;A<u;A+=L){const G=s.setContext(this.getContext(A)),F=G.lineWidth,P=G.color,V=G.borderDash||[],te=G.borderDashOffset,Z=G.tickWidth,W=G.tickColor,H=G.tickBorderDash||[],j=G.tickBorderDashOffset;y=OQ(this,A,o),y!==void 0&&(w=Kn(i,y,F),l?C=S=R=x=w:_=z=T=O=w,h.push({tx1:C,ty1:_,tx2:S,ty2:z,x1:R,y1:T,x2:x,y2:O,width:F,color:P,borderDash:V,borderDashOffset:te,tickWidth:Z,tickColor:W,tickBorderDash:H,tickBorderDashOffset:j}))}return this._ticksLength=u,this._borderValue=b,h}_computeLabelItems(t){const e=this.axis,i=this.options,{position:r,ticks:s}=i,a=this.isHorizontal(),o=this.ticks,{align:l,crossAlign:c,padding:u,mirror:d}=s,h=Cr(i.grid),g=h+u,f=d?-u:g,p=-Yt(this.labelRotation),m=[];let b,A,y,w,C,_,S,z,R,T,x,O,B="middle";if(r==="top")_=this.bottom-f,S=this._getXAxisLabelAlignment();else if(r==="bottom")_=this.top+f,S=this._getXAxisLabelAlignment();else if(r==="left"){const G=this._getYAxisLabelAlignment(h);S=G.textAlign,C=G.x}else if(r==="right"){const G=this._getYAxisLabelAlignment(h);S=G.textAlign,C=G.x}else if(e==="x"){if(r==="center")_=(t.top+t.bottom)/2+g;else if(Ae(r)){const G=Object.keys(r)[0],F=r[G];_=this.chart.scales[G].getPixelForValue(F)+g}S=this._getXAxisLabelAlignment()}else if(e==="y"){if(r==="center")C=(t.left+t.right)/2-g;else if(Ae(r)){const G=Object.keys(r)[0],F=r[G];C=this.chart.scales[G].getPixelForValue(F)}S=this._getYAxisLabelAlignment(h).textAlign}e==="y"&&(l==="start"?B="top":l==="end"&&(B="bottom"));const L=this._getLabelSizes();for(b=0,A=o.length;b<A;++b){y=o[b],w=y.label;const G=s.setContext(this.getContext(b));z=this.getPixelForTick(b)+s.labelOffset,R=this._resolveTickFontOptions(b),T=R.lineHeight,x=Ne(w)?w.length:1;const F=x/2,P=G.color,V=G.textStrokeColor,te=G.textStrokeWidth;let Z=S;a?(C=z,S==="inner"&&(b===A-1?Z=this.options.reverse?"left":"right":b===0?Z=this.options.reverse?"right":"left":Z="center"),r==="top"?c==="near"||p!==0?O=-x*T+T/2:c==="center"?O=-L.highest.height/2-F*T+T:O=-L.highest.height+T/2:c==="near"||p!==0?O=T/2:c==="center"?O=L.highest.height/2-F*T:O=L.highest.height-x*T,d&&(O*=-1)):(_=z,O=(1-x)*T/2);let W;if(G.showLabelBackdrop){const H=ht(G.backdropPadding),j=L.heights[b],Y=L.widths[b];let J=_+O-H.top,D=C-H.left;switch(B){case"middle":J-=j/2;break;case"bottom":J-=j;break}switch(S){case"center":D-=Y/2;break;case"right":D-=Y;break}W={left:D,top:J,width:Y+H.width,height:j+H.height,color:G.backdropColor}}m.push({rotation:p,label:w,font:R,color:P,strokeColor:V,strokeWidth:te,textOffset:O,textAlign:Z,textBaseline:B,translation:[C,_],backdrop:W})}return m}_getXAxisLabelAlignment(){const{position:t,ticks:e}=this.options;if(-Yt(this.labelRotation))return t==="top"?"left":"right";let r="center";return e.align==="start"?r="left":e.align==="end"?r="right":e.align==="inner"&&(r="inner"),r}_getYAxisLabelAlignment(t){const{position:e,ticks:{crossAlign:i,mirror:r,padding:s}}=this.options,a=this._getLabelSizes(),o=t+s,l=a.widest.width;let c,u;return e==="left"?r?(u=this.right+s,i==="near"?c="left":i==="center"?(c="center",u+=l/2):(c="right",u+=l)):(u=this.right-o,i==="near"?c="right":i==="center"?(c="center",u-=l/2):(c="left",u=this.left)):e==="right"?r?(u=this.left+s,i==="near"?c="right":i==="center"?(c="center",u-=l/2):(c="left",u-=l)):(u=this.left+o,i==="near"?c="left":i==="center"?(c="center",u+=l/2):(c="right",u=this.right)):c="right",{textAlign:c,x:u}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,e=this.options.position;if(e==="left"||e==="right")return{top:0,left:this.left,bottom:t.height,right:this.right};if(e==="top"||e==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:t.width}}drawBackground(){const{ctx:t,options:{backgroundColor:e},left:i,top:r,width:s,height:a}=this;e&&(t.save(),t.fillStyle=e,t.fillRect(i,r,s,a),t.restore())}getLineWidthForValue(t){const e=this.options.grid;if(!this._isVisible()||!e.display)return 0;const r=this.ticks.findIndex(s=>s.value===t);return r>=0?e.setContext(this.getContext(r)).lineWidth:0}drawGrid(t){const e=this.options.grid,i=this.ctx,r=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let s,a;const o=(l,c,u)=>{!u.width||!u.color||(i.save(),i.lineWidth=u.width,i.strokeStyle=u.color,i.setLineDash(u.borderDash||[]),i.lineDashOffset=u.borderDashOffset,i.beginPath(),i.moveTo(l.x,l.y),i.lineTo(c.x,c.y),i.stroke(),i.restore())};if(e.display)for(s=0,a=r.length;s<a;++s){const l=r[s];e.drawOnChartArea&&o({x:l.x1,y:l.y1},{x:l.x2,y:l.y2},l),e.drawTicks&&o({x:l.tx1,y:l.ty1},{x:l.tx2,y:l.ty2},{color:l.tickColor,width:l.tickWidth,borderDash:l.tickBorderDash,borderDashOffset:l.tickBorderDashOffset})}}drawBorder(){const{chart:t,ctx:e,options:{grid:i}}=this,r=i.setContext(this.getContext()),s=i.drawBorder?r.borderWidth:0;if(!s)return;const a=i.setContext(this.getContext(0)).lineWidth,o=this._borderValue;let l,c,u,d;this.isHorizontal()?(l=Kn(t,this.left,s)-s/2,c=Kn(t,this.right,a)+a/2,u=d=o):(u=Kn(t,this.top,s)-s/2,d=Kn(t,this.bottom,a)+a/2,l=c=o),e.save(),e.lineWidth=r.borderWidth,e.strokeStyle=r.borderColor,e.beginPath(),e.moveTo(l,u),e.lineTo(c,d),e.stroke(),e.restore()}drawLabels(t){if(!this.options.ticks.display)return;const i=this.ctx,r=this._computeLabelArea();r&&Fa(i,r);const s=this._labelItems||(this._labelItems=this._computeLabelItems(t));let a,o;for(a=0,o=s.length;a<o;++a){const l=s[a],c=l.font,u=l.label;l.backdrop&&(i.fillStyle=l.backdrop.color,i.fillRect(l.backdrop.left,l.backdrop.top,l.backdrop.width,l.backdrop.height));let d=l.textOffset;gi(i,u,0,d,c,l)}r&&Ha(i)}drawTitle(){const{ctx:t,options:{position:e,title:i,reverse:r}}=this;if(!i.display)return;const s=et(i.font),a=ht(i.padding),o=i.align;let l=s.lineHeight/2;e==="bottom"||e==="center"||Ae(e)?(l+=a.bottom,Ne(i.text)&&(l+=s.lineHeight*(i.text.length-1))):l+=a.top;const{titleX:c,titleY:u,maxWidth:d,rotation:h}=PQ(this,l,e,o);gi(t,i.text,0,0,s,{color:i.color,maxWidth:d,rotation:h,textAlign:jQ(o,e,r),textBaseline:"middle",translation:[c,u]})}draw(t){this._isVisible()&&(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){const t=this.options,e=t.ticks&&t.ticks.z||0,i=ge(t.grid&&t.grid.z,-1);return!this._isVisible()||this.draw!==yi.prototype.draw?[{z:e,draw:r=>{this.draw(r)}}]:[{z:i,draw:r=>{this.drawBackground(),this.drawGrid(r),this.drawTitle()}},{z:i+1,draw:()=>{this.drawBorder()}},{z:e,draw:r=>{this.drawLabels(r)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",r=[];let s,a;for(s=0,a=e.length;s<a;++s){const o=e[s];o[i]===this.id&&(!t||o.type===t)&&r.push(o)}return r}_resolveTickFontOptions(t){const e=this.options.ticks.setContext(this.getContext(t));return et(e.font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class Os{constructor(t,e,i){this.type=t,this.scope=e,this.override=i,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){const e=Object.getPrototypeOf(t);let i;zQ(e)&&(i=this.register(e));const r=this.items,s=t.id,a=this.scope+"."+s;if(!s)throw new Error("class does not have id: "+t);return s in r||(r[s]=t,FQ(t,a,i),this.override&&Ce.override(t.id,t.overrides)),a}get(t){return this.items[t]}unregister(t){const e=this.items,i=t.id,r=this.scope;i in e&&delete e[i],r&&i in Ce[r]&&(delete Ce[r][i],this.override&&delete hi[i])}}function FQ(n,t,e){const i=Wr(Object.create(null),[e?Ce.get(e):{},Ce.get(t),n.defaults]);Ce.set(t,i),n.defaultRoutes&&HQ(t,n.defaultRoutes),n.descriptors&&Ce.describe(t,n.descriptors)}function HQ(n,t){Object.keys(t).forEach(e=>{const i=e.split("."),r=i.pop(),s=[n].concat(i).join("."),a=t[e].split("."),o=a.pop(),l=a.join(".");Ce.route(s,r,l,o)})}function zQ(n){return"id"in n&&"defaults"in n}class ZQ{constructor(){this.controllers=new Os(Qt,"datasets",!0),this.elements=new Os(Ut,"elements"),this.plugins=new Os(Object,"plugins"),this.scales=new Os(yi,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,e,i){[...e].forEach(r=>{const s=i||this._getRegistryForType(r);i||s.isForType(r)||s===this.plugins&&r.id?this._exec(t,s,r):Re(r,a=>{const o=i||this._getRegistryForType(a);this._exec(t,o,a)})})}_exec(t,e,i){const r=Oc(t);Oe(i["before"+r],[],i),e[t](i),Oe(i["after"+r],[],i)}_getRegistryForType(t){for(let e=0;e<this._typedRegistries.length;e++){const i=this._typedRegistries[e];if(i.isForType(t))return i}return this.plugins}_get(t,e,i){const r=e.get(t);if(r===void 0)throw new Error('"'+t+'" is not a registered '+i+".");return r}}var nn=new ZQ;class Uc extends Qt{update(t){const e=this._cachedMeta,{data:i=[]}=e,r=this.chart._animationsDisabled;let{start:s,count:a}=zp(e,i,r);if(this._drawStart=s,this._drawCount=a,Zp(e)&&(s=0,a=i.length),this.options.showLine){const{dataset:o,_dataset:l}=e;o._chart=this.chart,o._datasetIndex=this.index,o._decimated=!!l._decimated,o.points=i;const c=this.resolveDatasetElementOptions(t);c.segment=this.options.segment,this.updateElement(o,void 0,{animated:!r,options:c},t)}this.updateElements(i,s,a,t)}addElements(){const{showLine:t}=this.options;!this.datasetElementType&&t&&(this.datasetElementType=nn.getElement("line")),super.addElements()}updateElements(t,e,i,r){const s=r==="reset",{iScale:a,vScale:o,_stacked:l,_dataset:c}=this._cachedMeta,u=this.resolveDataElementOptions(e,r),d=this.getSharedOptions(u),h=this.includeOptions(r,d),g=a.axis,f=o.axis,{spanGaps:p,segment:m}=this.options,b=Vi(p)?p:Number.POSITIVE_INFINITY,A=this.chart._animationsDisabled||s||r==="none";let y=e>0&&this.getParsed(e-1);for(let w=e;w<e+i;++w){const C=t[w],_=this.getParsed(w),S=A?C:{},z=Ee(_[f]),R=S[g]=a.getPixelForValue(_[g],w),T=S[f]=s||z?o.getBasePixel():o.getPixelForValue(l?this.applyStack(o,_,l):_[f],w);S.skip=isNaN(R)||isNaN(T)||z,S.stop=w>0&&Math.abs(_[g]-y[g])>b,m&&(S.parsed=_,S.raw=c.data[w]),h&&(S.options=d||this.resolveDataElementOptions(w,C.active?"active":r)),A||this.updateElement(C,w,S,r),y=_}this.updateSharedOptions(d,r,u)}getMaxOverflow(){const t=this._cachedMeta,e=t.data||[];if(!this.options.showLine){let o=0;for(let l=e.length-1;l>=0;--l)o=Math.max(o,e[l].size(this.resolveDataElementOptions(l))/2);return o>0&&o}const i=t.dataset,r=i.options&&i.options.borderWidth||0;if(!e.length)return r;const s=e[0].size(this.resolveDataElementOptions(0)),a=e[e.length-1].size(this.resolveDataElementOptions(e.length-1));return Math.max(r,s,a)/2}}Uc.id="scatter";Uc.defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1};Uc.overrides={interaction:{mode:"point"},plugins:{tooltip:{callbacks:{title(){return""},label(n){return"("+n.label+", "+n.formattedValue+")"}}}},scales:{x:{type:"linear"},y:{type:"linear"}}};function qn(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Gl{constructor(t){this.options=t||{}}init(t){}formats(){return qn()}parse(t,e){return qn()}format(t,e){return qn()}add(t,e,i){return qn()}diff(t,e,i){return qn()}startOf(t,e,i){return qn()}endOf(t,e){return qn()}}Gl.override=function(n){Object.assign(Gl.prototype,n)};var YQ={_date:Gl};function WQ(n,t,e,i){const{controller:r,data:s,_sorted:a}=n,o=r._cachedMeta.iScale;if(o&&t===o.axis&&t!=="r"&&a&&s.length){const l=o._reversePixels?G5:ai;if(i){if(r._sharedOptions){const c=s[0],u=typeof c.getRange=="function"&&c.getRange(t);if(u){const d=l(s,t,e-u),h=l(s,t,e+u);return{lo:d.lo,hi:h.hi}}}}else return l(s,t,e)}return{lo:0,hi:s.length-1}}function us(n,t,e,i,r){const s=n.getSortedVisibleDatasetMetas(),a=e[t];for(let o=0,l=s.length;o<l;++o){const{index:c,data:u}=s[o],{lo:d,hi:h}=WQ(s[o],t,a,r);for(let g=d;g<=h;++g){const f=u[g];f.skip||i(f,c,g)}}}function XQ(n){const t=n.indexOf("x")!==-1,e=n.indexOf("y")!==-1;return function(i,r){const s=t?Math.abs(i.x-r.x):0,a=e?Math.abs(i.y-r.y):0;return Math.sqrt(Math.pow(s,2)+Math.pow(a,2))}}function To(n,t,e,i,r){const s=[];return!r&&!n.isPointInArea(t)||us(n,e,t,function(o,l,c){!r&&!Vr(o,n.chartArea,0)||o.inRange(t.x,t.y,i)&&s.push({element:o,datasetIndex:l,index:c})},!0),s}function VQ(n,t,e,i){let r=[];function s(a,o,l){const{startAngle:c,endAngle:u}=a.getProps(["startAngle","endAngle"],i),{angle:d}=Lp(a,{x:t.x,y:t.y});Xr(d,c,u)&&r.push({element:a,datasetIndex:o,index:l})}return us(n,e,t,s),r}function JQ(n,t,e,i,r,s){let a=[];const o=XQ(e);let l=Number.POSITIVE_INFINITY;function c(u,d,h){const g=u.inRange(t.x,t.y,r);if(i&&!g)return;const f=u.getCenterPoint(r);if(!(!!s||n.isPointInArea(f))&&!g)return;const m=o(t,f);m<l?(a=[{element:u,datasetIndex:d,index:h}],l=m):m===l&&a.push({element:u,datasetIndex:d,index:h})}return us(n,e,t,c),a}function Lo(n,t,e,i,r,s){return!s&&!n.isPointInArea(t)?[]:e==="r"&&!i?VQ(n,t,e,r):JQ(n,t,e,i,r,s)}function Zf(n,t,e,i,r){const s=[],a=e==="x"?"inXRange":"inYRange";let o=!1;return us(n,e,t,(l,c,u)=>{l[a](t[e],r)&&(s.push({element:l,datasetIndex:c,index:u}),o=o||l.inRange(t.x,t.y,r))}),i&&!o?[]:s}var QQ={evaluateInteractionItems:us,modes:{index(n,t,e,i){const r=ii(t,n),s=e.axis||"x",a=e.includeInvisible||!1,o=e.intersect?To(n,r,s,i,a):Lo(n,r,s,!1,i,a),l=[];return o.length?(n.getSortedVisibleDatasetMetas().forEach(c=>{const u=o[0].index,d=c.data[u];d&&!d.skip&&l.push({element:d,datasetIndex:c.index,index:u})}),l):[]},dataset(n,t,e,i){const r=ii(t,n),s=e.axis||"xy",a=e.includeInvisible||!1;let o=e.intersect?To(n,r,s,i,a):Lo(n,r,s,!1,i,a);if(o.length>0){const l=o[0].datasetIndex,c=n.getDatasetMeta(l).data;o=[];for(let u=0;u<c.length;++u)o.push({element:c[u],datasetIndex:l,index:u})}return o},point(n,t,e,i){const r=ii(t,n),s=e.axis||"xy",a=e.includeInvisible||!1;return To(n,r,s,i,a)},nearest(n,t,e,i){const r=ii(t,n),s=e.axis||"xy",a=e.includeInvisible||!1;return Lo(n,r,s,e.intersect,i,a)},x(n,t,e,i){const r=ii(t,n);return Zf(n,r,"x",e.intersect,i)},y(n,t,e,i){const r=ii(t,n);return Zf(n,r,"y",e.intersect,i)}}};const hm=["left","top","right","bottom"];function Ir(n,t){return n.filter(e=>e.pos===t)}function Yf(n,t){return n.filter(e=>hm.indexOf(e.pos)===-1&&e.box.axis===t)}function wr(n,t){return n.sort((e,i)=>{const r=t?i:e,s=t?e:i;return r.weight===s.weight?r.index-s.index:r.weight-s.weight})}function UQ(n){const t=[];let e,i,r,s,a,o;for(e=0,i=(n||[]).length;e<i;++e)r=n[e],{position:s,options:{stack:a,stackWeight:o=1}}=r,t.push({index:e,box:r,pos:s,horizontal:r.isHorizontal(),weight:r.weight,stack:a&&s+a,stackWeight:o});return t}function KQ(n){const t={};for(const e of n){const{stack:i,pos:r,stackWeight:s}=e;if(!i||!hm.includes(r))continue;const a=t[i]||(t[i]={count:0,placed:0,weight:0,size:0});a.count++,a.weight+=s}return t}function qQ(n,t){const e=KQ(n),{vBoxMaxWidth:i,hBoxMaxHeight:r}=t;let s,a,o;for(s=0,a=n.length;s<a;++s){o=n[s];const{fullSize:l}=o.box,c=e[o.stack],u=c&&o.stackWeight/c.weight;o.horizontal?(o.width=u?u*i:l&&t.availableWidth,o.height=r):(o.width=i,o.height=u?u*r:l&&t.availableHeight)}return e}function $Q(n){const t=UQ(n),e=wr(t.filter(c=>c.box.fullSize),!0),i=wr(Ir(t,"left"),!0),r=wr(Ir(t,"right")),s=wr(Ir(t,"top"),!0),a=wr(Ir(t,"bottom")),o=Yf(t,"x"),l=Yf(t,"y");return{fullSize:e,leftAndTop:i.concat(s),rightAndBottom:r.concat(l).concat(a).concat(o),chartArea:Ir(t,"chartArea"),vertical:i.concat(r).concat(l),horizontal:s.concat(a).concat(o)}}function Wf(n,t,e,i){return Math.max(n[e],t[e])+Math.max(n[i],t[i])}function gm(n,t){n.top=Math.max(n.top,t.top),n.left=Math.max(n.left,t.left),n.bottom=Math.max(n.bottom,t.bottom),n.right=Math.max(n.right,t.right)}function eU(n,t,e,i){const{pos:r,box:s}=e,a=n.maxPadding;if(!Ae(r)){e.size&&(n[r]-=e.size);const d=i[e.stack]||{size:0,count:1};d.size=Math.max(d.size,e.horizontal?s.height:s.width),e.size=d.size/d.count,n[r]+=e.size}s.getPadding&&gm(a,s.getPadding());const o=Math.max(0,t.outerWidth-Wf(a,n,"left","right")),l=Math.max(0,t.outerHeight-Wf(a,n,"top","bottom")),c=o!==n.w,u=l!==n.h;return n.w=o,n.h=l,e.horizontal?{same:c,other:u}:{same:u,other:c}}function tU(n){const t=n.maxPadding;function e(i){const r=Math.max(t[i]-n[i],0);return n[i]+=r,r}n.y+=e("top"),n.x+=e("left"),e("right"),e("bottom")}function nU(n,t){const e=t.maxPadding;function i(r){const s={left:0,top:0,right:0,bottom:0};return r.forEach(a=>{s[a]=Math.max(t[a],e[a])}),s}return i(n?["left","right"]:["top","bottom"])}function Rr(n,t,e,i){const r=[];let s,a,o,l,c,u;for(s=0,a=n.length,c=0;s<a;++s){o=n[s],l=o.box,l.update(o.width||t.w,o.height||t.h,nU(o.horizontal,t));const{same:d,other:h}=eU(t,e,o,i);c|=d&&r.length,u=u||h,l.fullSize||r.push(o)}return c&&Rr(r,t,e,i)||u}function Ns(n,t,e,i,r){n.top=e,n.left=t,n.right=t+i,n.bottom=e+r,n.width=i,n.height=r}function Xf(n,t,e,i){const r=e.padding;let{x:s,y:a}=t;for(const o of n){const l=o.box,c=i[o.stack]||{count:1,placed:0,weight:1},u=o.stackWeight/c.weight||1;if(o.horizontal){const d=t.w*u,h=c.size||l.height;jt(c.start)&&(a=c.start),l.fullSize?Ns(l,r.left,a,e.outerWidth-r.right-r.left,h):Ns(l,t.left+c.placed,a,d,h),c.start=a,c.placed+=d,a=l.bottom}else{const d=t.h*u,h=c.size||l.width;jt(c.start)&&(s=c.start),l.fullSize?Ns(l,s,r.top,h,e.outerHeight-r.bottom-r.top):Ns(l,s,t.top+c.placed,h,d),c.start=s,c.placed+=d,s=l.right}}t.x=s,t.y=a}Ce.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}});var Lt={addBox(n,t){n.boxes||(n.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(e){t.draw(e)}}]},n.boxes.push(t)},removeBox(n,t){const e=n.boxes?n.boxes.indexOf(t):-1;e!==-1&&n.boxes.splice(e,1)},configure(n,t,e){t.fullSize=e.fullSize,t.position=e.position,t.weight=e.weight},update(n,t,e,i){if(!n)return;const r=ht(n.options.layout.padding),s=Math.max(t-r.width,0),a=Math.max(e-r.height,0),o=$Q(n.boxes),l=o.vertical,c=o.horizontal;Re(n.boxes,p=>{typeof p.beforeLayout=="function"&&p.beforeLayout()});const u=l.reduce((p,m)=>m.box.options&&m.box.options.display===!1?p:p+1,0)||1,d=Object.freeze({outerWidth:t,outerHeight:e,padding:r,availableWidth:s,availableHeight:a,vBoxMaxWidth:s/2/u,hBoxMaxHeight:a/2}),h=Object.assign({},r);gm(h,ht(i));const g=Object.assign({maxPadding:h,w:s,h:a,x:r.left,y:r.top},r),f=qQ(l.concat(c),d);Rr(o.fullSize,g,d,f),Rr(l,g,d,f),Rr(c,g,d,f)&&Rr(l,g,d,f),tU(g),Xf(o.leftAndTop,g,d,f),g.x+=g.w,g.y+=g.h,Xf(o.rightAndBottom,g,d,f),n.chartArea={left:g.left,top:g.top,right:g.left+g.w,bottom:g.top+g.h,height:g.h,width:g.w},Re(o.chartArea,p=>{const m=p.box;Object.assign(m,n.chartArea),m.update(g.w,g.h,{left:0,top:0,right:0,bottom:0})})}};class pm{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,i){}removeEventListener(t,e,i){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,i,r){return e=Math.max(0,e||t.width),i=i||t.height,{width:e,height:Math.max(0,r?Math.floor(e/r):i)}}isAttached(t){return!0}updateConfig(t){}}class iU extends pm{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const Ws="$chartjs",rU={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Vf=n=>n===null||n==="";function sU(n,t){const e=n.style,i=n.getAttribute("height"),r=n.getAttribute("width");if(n[Ws]={initial:{height:i,width:r,style:{display:e.display,height:e.height,width:e.width}}},e.display=e.display||"block",e.boxSizing=e.boxSizing||"border-box",Vf(r)){const s=_f(n,"width");s!==void 0&&(n.width=s)}if(Vf(i))if(n.style.height==="")n.height=n.width/(t||2);else{const s=_f(n,"height");s!==void 0&&(n.height=s)}return n}const mm=FJ?{passive:!0}:!1;function aU(n,t,e){n.addEventListener(t,e,mm)}function oU(n,t,e){n.canvas.removeEventListener(t,e,mm)}function lU(n,t){const e=rU[n.type]||n.type,{x:i,y:r}=ii(n,t);return{type:e,chart:t,native:n,x:i!==void 0?i:null,y:r!==void 0?r:null}}function ba(n,t){for(const e of n)if(e===t||e.contains(t))return!0}function cU(n,t,e){const i=n.canvas,r=new MutationObserver(s=>{let a=!1;for(const o of s)a=a||ba(o.addedNodes,i),a=a&&!ba(o.removedNodes,i);a&&e()});return r.observe(document,{childList:!0,subtree:!0}),r}function uU(n,t,e){const i=n.canvas,r=new MutationObserver(s=>{let a=!1;for(const o of s)a=a||ba(o.removedNodes,i),a=a&&!ba(o.addedNodes,i);a&&e()});return r.observe(document,{childList:!0,subtree:!0}),r}const Qr=new Map;let Jf=0;function bm(){const n=window.devicePixelRatio;n!==Jf&&(Jf=n,Qr.forEach((t,e)=>{e.currentDevicePixelRatio!==n&&t()}))}function dU(n,t){Qr.size||window.addEventListener("resize",bm),Qr.set(n,t)}function fU(n){Qr.delete(n),Qr.size||window.removeEventListener("resize",bm)}function hU(n,t,e){const i=n.canvas,r=i&&Wc(i);if(!r)return;const s=Hp((o,l)=>{const c=r.clientWidth;e(o,l),c<r.clientWidth&&e()},window),a=new ResizeObserver(o=>{const l=o[0],c=l.contentRect.width,u=l.contentRect.height;c===0&&u===0||s(c,u)});return a.observe(r),dU(n,s),a}function jo(n,t,e){e&&e.disconnect(),t==="resize"&&fU(n)}function gU(n,t,e){const i=n.canvas,r=Hp(s=>{n.ctx!==null&&e(lU(s,n))},n,s=>{const a=s[0];return[a,a.offsetX,a.offsetY]});return aU(i,t,r),r}class pU extends pm{acquireContext(t,e){const i=t&&t.getContext&&t.getContext("2d");return i&&i.canvas===t?(sU(t,e),i):null}releaseContext(t){const e=t.canvas;if(!e[Ws])return!1;const i=e[Ws].initial;["height","width"].forEach(s=>{const a=i[s];Ee(a)?e.removeAttribute(s):e.setAttribute(s,a)});const r=i.style||{};return Object.keys(r).forEach(s=>{e.style[s]=r[s]}),e.width=e.width,delete e[Ws],!0}addEventListener(t,e,i){this.removeEventListener(t,e);const r=t.$proxies||(t.$proxies={}),a={attach:cU,detach:uU,resize:hU}[e]||gU;r[e]=a(t,e,i)}removeEventListener(t,e){const i=t.$proxies||(t.$proxies={}),r=i[e];if(!r)return;({attach:jo,detach:jo,resize:jo}[e]||oU)(t,e,r),i[e]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,i,r){return PJ(t,e,i,r)}isAttached(t){const e=Wc(t);return!!(e&&e.isConnected)}}function mU(n){return!im()||typeof OffscreenCanvas<"u"&&n instanceof OffscreenCanvas?iU:pU}class bU{constructor(){this._init=[]}notify(t,e,i,r){e==="beforeInit"&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const s=r?this._descriptors(t).filter(r):this._descriptors(t),a=this._notify(s,t,e,i);return e==="afterDestroy"&&(this._notify(s,t,"stop"),this._notify(this._init,t,"uninstall")),a}_notify(t,e,i,r){r=r||{};for(const s of t){const a=s.plugin,o=a[i],l=[e,r,s.options];if(Oe(o,l,a)===!1&&r.cancelable)return!1}return!0}invalidate(){Ee(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const e=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),e}_createDescriptors(t,e){const i=t&&t.config,r=ge(i.options&&i.options.plugins,{}),s=vU(i);return r===!1&&!e?[]:AU(t,s,r,e)}_notifyStateChanges(t){const e=this._oldCache||[],i=this._cache,r=(s,a)=>s.filter(o=>!a.some(l=>o.plugin.id===l.plugin.id));this._notify(r(e,i),t,"stop"),this._notify(r(i,e),t,"start")}}function vU(n){const t={},e=[],i=Object.keys(nn.plugins.items);for(let s=0;s<i.length;s++)e.push(nn.getPlugin(i[s]));const r=n.plugins||[];for(let s=0;s<r.length;s++){const a=r[s];e.indexOf(a)===-1&&(e.push(a),t[a.id]=!0)}return{plugins:e,localIds:t}}function yU(n,t){return!t&&n===!1?null:n===!0?{}:n}function AU(n,{plugins:t,localIds:e},i,r){const s=[],a=n.getContext();for(const o of t){const l=o.id,c=yU(i[l],r);c!==null&&s.push({plugin:o,options:CU(n.config,{plugin:o,local:e[l]},c,a)})}return s}function CU(n,{plugin:t,local:e},i,r){const s=n.pluginScopeKeys(t),a=n.getOptionScopes(i,s);return e&&t.defaults&&a.push(t.defaults),n.createResolver(a,r,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Ol(n,t){const e=Ce.datasets[n]||{};return((t.datasets||{})[n]||{}).indexAxis||t.indexAxis||e.indexAxis||"x"}function IU(n,t){let e=n;return n==="_index_"?e=t:n==="_value_"&&(e=t==="x"?"y":"x"),e}function wU(n,t){return n===t?"_index_":"_value_"}function xU(n){if(n==="top"||n==="bottom")return"x";if(n==="left"||n==="right")return"y"}function Nl(n,t){return n==="x"||n==="y"?n:t.axis||xU(t.position)||n.charAt(0).toLowerCase()}function _U(n,t){const e=hi[n.type]||{scales:{}},i=t.scales||{},r=Ol(n.type,t),s=Object.create(null),a=Object.create(null);return Object.keys(i).forEach(o=>{const l=i[o];if(!Ae(l))return console.error(`Invalid scale configuration for scale: ${o}`);if(l._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${o}`);const c=Nl(o,l),u=wU(c,r),d=e.scales||{};s[c]=s[c]||o,a[o]=Br(Object.create(null),[{axis:c},l,d[c],d[u]])}),n.data.datasets.forEach(o=>{const l=o.type||n.type,c=o.indexAxis||Ol(l,t),d=(hi[l]||{}).scales||{};Object.keys(d).forEach(h=>{const g=IU(h,c),f=o[g+"AxisID"]||s[g]||g;a[f]=a[f]||Object.create(null),Br(a[f],[{axis:g},i[f],d[h]])})}),Object.keys(a).forEach(o=>{const l=a[o];Br(l,[Ce.scales[l.type],Ce.scale])}),a}function vm(n){const t=n.options||(n.options={});t.plugins=ge(t.plugins,{}),t.scales=_U(n,t)}function ym(n){return n=n||{},n.datasets=n.datasets||[],n.labels=n.labels||[],n}function kU(n){return n=n||{},n.data=ym(n.data),vm(n),n}const Qf=new Map,Am=new Set;function Ts(n,t){let e=Qf.get(n);return e||(e=t(),Qf.set(n,e),Am.add(e)),e}const xr=(n,t,e)=>{const i=Yn(t,e);i!==void 0&&n.add(i)};let EU=class{constructor(t){this._config=kU(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=ym(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),vm(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return Ts(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,e){return Ts(`${t}.transition.${e}`,()=>[[`datasets.${t}.transitions.${e}`,`transitions.${e}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,e){return Ts(`${t}-${e}`,()=>[[`datasets.${t}.elements.${e}`,`datasets.${t}`,`elements.${e}`,""]])}pluginScopeKeys(t){const e=t.id,i=this.type;return Ts(`${i}-plugin-${e}`,()=>[[`plugins.${e}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,e){const i=this._scopeCache;let r=i.get(t);return(!r||e)&&(r=new Map,i.set(t,r)),r}getOptionScopes(t,e,i){const{options:r,type:s}=this,a=this._cachedScopes(t,i),o=a.get(e);if(o)return o;const l=new Set;e.forEach(u=>{t&&(l.add(t),u.forEach(d=>xr(l,t,d))),u.forEach(d=>xr(l,r,d)),u.forEach(d=>xr(l,hi[s]||{},d)),u.forEach(d=>xr(l,Ce,d)),u.forEach(d=>xr(l,Dl,d))});const c=Array.from(l);return c.length===0&&c.push(Object.create(null)),Am.has(e)&&a.set(e,c),c}chartOptionScopes(){const{options:t,type:e}=this;return[t,hi[e]||{},Ce.datasets[e]||{},{type:e},Ce,Dl]}resolveNamedOptions(t,e,i,r=[""]){const s={$shared:!0},{resolver:a,subPrefixes:o}=Uf(this._resolverCache,t,r);let l=a;if(RU(a,e)){s.$shared=!1,i=Wn(i)?i():i;const c=this.createResolver(t,i,o);l=Ji(a,i,c)}for(const c of e)s[c]=l[c];return s}createResolver(t,e,i=[""],r){const{resolver:s}=Uf(this._resolverCache,t,i);return Ae(e)?Ji(s,e,void 0,r):s}};function Uf(n,t,e){let i=n.get(t);i||(i=new Map,n.set(t,i));const r=e.join();let s=i.get(r);return s||(s={resolver:zc(t,e),subPrefixes:e.filter(o=>!o.toLowerCase().includes("hover"))},i.set(r,s)),s}const SU=n=>Ae(n)&&Object.getOwnPropertyNames(n).reduce((t,e)=>t||Wn(n[e]),!1);function RU(n,t){const{isScriptable:e,isIndexable:i}=Kp(n);for(const r of t){const s=e(r),a=i(r),o=(a||s)&&n[r];if(s&&(Wn(o)||SU(o))||a&&Ne(o))return!0}return!1}var MU="3.9.1";const DU=["top","bottom","left","right","chartArea"];function Kf(n,t){return n==="top"||n==="bottom"||DU.indexOf(n)===-1&&t==="x"}function qf(n,t){return function(e,i){return e[n]===i[n]?e[t]-i[t]:e[n]-i[n]}}function $f(n){const t=n.chart,e=t.options.animation;t.notifyPlugins("afterRender"),Oe(e&&e.onComplete,[n],t)}function BU(n){const t=n.chart,e=t.options.animation;Oe(e&&e.onProgress,[n],t)}function Cm(n){return im()&&typeof n=="string"?n=document.getElementById(n):n&&n.length&&(n=n[0]),n&&n.canvas&&(n=n.canvas),n}const va={},Im=n=>{const t=Cm(n);return Object.values(va).filter(e=>e.canvas===t).pop()};function GU(n,t,e){const i=Object.keys(n);for(const r of i){const s=+r;if(s>=t){const a=n[r];delete n[r],(e>0||s>t)&&(n[s+e]=a)}}}function OU(n,t,e,i){return!e||n.type==="mouseout"?null:i?t:n}let ln=class{constructor(t,e){const i=this.config=new EU(e),r=Cm(t),s=Im(r);if(s)throw new Error("Canvas is already in use. Chart with ID '"+s.id+"' must be destroyed before the canvas with ID '"+s.canvas.id+"' can be reused.");const a=i.createResolver(i.chartOptionScopes(),this.getContext());this.platform=new(i.platform||mU(r)),this.platform.updateConfig(i);const o=this.platform.acquireContext(r,a.aspectRatio),l=o&&o.canvas,c=l&&l.height,u=l&&l.width;if(this.id=A5(),this.ctx=o,this.canvas=l,this.width=u,this.height=c,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new bU,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=T5(d=>this.update(d),a.resizeDelay||0),this._dataChanges=[],va[this.id]=this,!o||!l){console.error("Failed to create chart: can't acquire context from the given item");return}pn.listen(this,"complete",$f),pn.listen(this,"progress",BU),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:e},width:i,height:r,_aspectRatio:s}=this;return Ee(t)?e&&s?s:r?i/r:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():xf(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Cf(this.canvas,this.ctx),this}stop(){return pn.stop(this),this}resize(t,e){pn.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){const i=this.options,r=this.canvas,s=i.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(r,t,e,s),o=i.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,xf(this,o,!0)&&(this.notifyPlugins("resize",{size:a}),Oe(i.onResize,[this,a],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const e=this.options.scales||{};Re(e,(i,r)=>{i.id=r})}buildOrUpdateScales(){const t=this.options,e=t.scales,i=this.scales,r=Object.keys(i).reduce((a,o)=>(a[o]=!1,a),{});let s=[];e&&(s=s.concat(Object.keys(e).map(a=>{const o=e[a],l=Nl(a,o),c=l==="r",u=l==="x";return{options:o,dposition:c?"chartArea":u?"bottom":"left",dtype:c?"radialLinear":u?"category":"linear"}}))),Re(s,a=>{const o=a.options,l=o.id,c=Nl(l,o),u=ge(o.type,a.dtype);(o.position===void 0||Kf(o.position,c)!==Kf(a.dposition))&&(o.position=a.dposition),r[l]=!0;let d=null;if(l in i&&i[l].type===u)d=i[l];else{const h=nn.getScale(u);d=new h({id:l,type:u,ctx:this.ctx,chart:this}),i[d.id]=d}d.init(o,t)}),Re(r,(a,o)=>{a||delete i[o]}),Re(i,a=>{Lt.configure(this,a,a.options),Lt.addBox(this,a)})}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,i=t.length;if(t.sort((r,s)=>r.index-s.index),i>e){for(let r=e;r<i;++r)this._destroyDatasetMeta(r);t.splice(e,i-e)}this._sortedMetasets=t.slice(0).sort(qf("order","index"))}_removeUnreferencedMetasets(){const{_metasets:t,data:{datasets:e}}=this;t.length>e.length&&delete this._stacks,t.forEach((i,r)=>{e.filter(s=>s===i._dataset).length===0&&this._destroyDatasetMeta(r)})}buildOrUpdateControllers(){const t=[],e=this.data.datasets;let i,r;for(this._removeUnreferencedMetasets(),i=0,r=e.length;i<r;i++){const s=e[i];let a=this.getDatasetMeta(i);const o=s.type||this.config.type;if(a.type&&a.type!==o&&(this._destroyDatasetMeta(i),a=this.getDatasetMeta(i)),a.type=o,a.indexAxis=s.indexAxis||Ol(o,this.options),a.order=s.order||0,a.index=i,a.label=""+s.label,a.visible=this.isDatasetVisible(i),a.controller)a.controller.updateIndex(i),a.controller.linkScales();else{const l=nn.getController(o),{datasetElementType:c,dataElementType:u}=Ce.datasets[o];Object.assign(l.prototype,{dataElementType:nn.getElement(u),datasetElementType:c&&nn.getElement(c)}),a.controller=new l(this,i),t.push(a.controller)}}return this._updateMetasets(),t}_resetElements(){Re(this.data.datasets,(t,e)=>{this.getDatasetMeta(e).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const e=this.config;e.update();const i=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!i.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const s=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let c=0,u=this.data.datasets.length;c<u;c++){const{controller:d}=this.getDatasetMeta(c),h=!r&&s.indexOf(d)===-1;d.buildOrUpdateElements(h),a=Math.max(+d.getMaxOverflow(),a)}a=this._minPadding=i.layout.autoPadding?a:0,this._updateLayout(a),r||Re(s,c=>{c.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(qf("z","_idx"));const{_active:o,_lastEvent:l}=this;l?this._eventHandler(l,!0):o.length&&this._updateHoverStyles(o,o,!0),this.render()}_updateScales(){Re(this.scales,t=>{Lt.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,e=new Set(Object.keys(this._listeners)),i=new Set(t.events);(!cf(e,i)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(const{method:i,start:r,count:s}of e){const a=i==="_removeElements"?-s:s;GU(t,r,a)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const e=this.data.datasets.length,i=s=>new Set(t.filter(a=>a[0]===s).map((a,o)=>o+","+a.splice(1).join(","))),r=i(0);for(let s=1;s<e;s++)if(!cf(r,i(s)))return;return Array.from(r).map(s=>s.split(",")).map(s=>({method:s[1],start:+s[2],count:+s[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;Lt.update(this,this.width,this.height,t);const e=this.chartArea,i=e.width<=0||e.height<=0;this._layers=[],Re(this.boxes,r=>{i&&r.position==="chartArea"||(r.configure&&r.configure(),this._layers.push(...r._layers()))},this),this._layers.forEach((r,s)=>{r._idx=s}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let e=0,i=this.data.datasets.length;e<i;++e)this.getDatasetMeta(e).controller.configure();for(let e=0,i=this.data.datasets.length;e<i;++e)this._updateDataset(e,Wn(t)?t({datasetIndex:e}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,e){const i=this.getDatasetMeta(t),r={meta:i,index:t,mode:e,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",r)!==!1&&(i.controller._update(e),r.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",r))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(pn.has(this)?this.attached&&!pn.running(this)&&pn.start(this):(this.draw(),$f({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){const{width:i,height:r}=this._resizeBeforeDraw;this._resize(i,r),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const e=this._layers;for(t=0;t<e.length&&e[t].z<=0;++t)e[t].draw(this.chartArea);for(this._drawDatasets();t<e.length;++t)e[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){const e=this._sortedMetasets,i=[];let r,s;for(r=0,s=e.length;r<s;++r){const a=e[r];(!t||a.visible)&&i.push(a)}return i}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const t=this.getSortedVisibleDatasetMetas();for(let e=t.length-1;e>=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const e=this.ctx,i=t._clip,r=!i.disabled,s=this.chartArea,a={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",a)!==!1&&(r&&Fa(e,{left:i.left===!1?0:s.left-i.left,right:i.right===!1?this.width:s.right+i.right,top:i.top===!1?0:s.top-i.top,bottom:i.bottom===!1?this.height:s.bottom+i.bottom}),t.controller.draw(),r&&Ha(e),a.cancelable=!1,this.notifyPlugins("afterDatasetDraw",a))}isPointInArea(t){return Vr(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,e,i,r){const s=QQ.modes[e];return typeof s=="function"?s(this,t,i,r):[]}getDatasetMeta(t){const e=this.data.datasets[t],i=this._metasets;let r=i.filter(s=>s&&s._dataset===e).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1},i.push(r)),r}getContext(){return this.$context||(this.$context=Jn(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const e=this.data.datasets[t];if(!e)return!1;const i=this.getDatasetMeta(t);return typeof i.hidden=="boolean"?!i.hidden:!e.hidden}setDatasetVisibility(t,e){const i=this.getDatasetMeta(t);i.hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,e,i){const r=i?"show":"hide",s=this.getDatasetMeta(t),a=s.controller._resolveAnimations(void 0,r);jt(e)?(s.data[e].hidden=!i,this.update()):(this.setDatasetVisibility(t,i),a.update(s,{visible:i}),this.update(o=>o.datasetIndex===t?r:void 0))}hide(t,e){this._updateVisibility(t,e,!1)}show(t,e){this._updateVisibility(t,e,!0)}_destroyDatasetMeta(t){const e=this._metasets[t];e&&e.controller&&e.controller._destroy(),delete this._metasets[t]}_stop(){let t,e;for(this.stop(),pn.remove(this),t=0,e=this.data.datasets.length;t<e;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:t,ctx:e}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),Cf(t,e),this.platform.releaseContext(e),this.canvas=null,this.ctx=null),this.notifyPlugins("destroy"),delete va[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const t=this._listeners,e=this.platform,i=(s,a)=>{e.addEventListener(this,s,a),t[s]=a},r=(s,a,o)=>{s.offsetX=a,s.offsetY=o,this._eventHandler(s)};Re(this.options.events,s=>i(s,r))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,e=this.platform,i=(l,c)=>{e.addEventListener(this,l,c),t[l]=c},r=(l,c)=>{t[l]&&(e.removeEventListener(this,l,c),delete t[l])},s=(l,c)=>{this.canvas&&this.resize(l,c)};let a;const o=()=>{r("attach",o),this.attached=!0,this.resize(),i("resize",s),i("detach",a)};a=()=>{this.attached=!1,r("resize",s),this._stop(),this._resize(0,0),i("attach",o)},e.isAttached(this.canvas)?o():a()}unbindEvents(){Re(this._listeners,(t,e)=>{this.platform.removeEventListener(this,e,t)}),this._listeners={},Re(this._responsiveListeners,(t,e)=>{this.platform.removeEventListener(this,e,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,e,i){const r=i?"set":"remove";let s,a,o,l;for(e==="dataset"&&(s=this.getDatasetMeta(t[0].datasetIndex),s.controller["_"+r+"DatasetHoverStyle"]()),o=0,l=t.length;o<l;++o){a=t[o];const c=a&&this.getDatasetMeta(a.datasetIndex).controller;c&&c[r+"HoverStyle"](a.element,a.datasetIndex,a.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const e=this._active||[],i=t.map(({datasetIndex:s,index:a})=>{const o=this.getDatasetMeta(s);if(!o)throw new Error("No dataset found at index "+s);return{datasetIndex:s,element:o.data[a],index:a}});!da(i,e)&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,e))}notifyPlugins(t,e,i){return this._plugins.notify(this,t,e,i)}_updateHoverStyles(t,e,i){const r=this.options.hover,s=(l,c)=>l.filter(u=>!c.some(d=>u.datasetIndex===d.datasetIndex&&u.index===d.index)),a=s(e,t),o=i?t:s(t,e);a.length&&this.updateHoverStyle(a,r.mode,!1),o.length&&r.mode&&this.updateHoverStyle(o,r.mode,!0)}_eventHandler(t,e){const i={event:t,replay:e,cancelable:!0,inChartArea:this.isPointInArea(t)},r=a=>(a.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",i,r)===!1)return;const s=this._handleEvent(t,e,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,r),(s||i.changed)&&this.render(),this}_handleEvent(t,e,i){const{_active:r=[],options:s}=this,a=e,o=this._getActiveElements(t,r,i,a),l=k5(t),c=OU(t,this._lastEvent,i,l);i&&(this._lastEvent=null,Oe(s.onHover,[t,o,this],this),l&&Oe(s.onClick,[t,o,this],this));const u=!da(o,r);return(u||e)&&(this._active=o,this._updateHoverStyles(o,r,e)),this._lastEvent=c,u}_getActiveElements(t,e,i,r){if(t.type==="mouseout")return[];if(!i)return e;const s=this.options.hover;return this.getElementsAtEventForMode(t,s.mode,s,r)}};const eh=()=>Re(ln.instances,n=>n._plugins.invalidate()),Bn=!0;Object.defineProperties(ln,{defaults:{enumerable:Bn,value:Ce},instances:{enumerable:Bn,value:va},overrides:{enumerable:Bn,value:hi},registry:{enumerable:Bn,value:nn},version:{enumerable:Bn,value:MU},getChart:{enumerable:Bn,value:Im},register:{enumerable:Bn,value:(...n)=>{nn.add(...n),eh()}},unregister:{enumerable:Bn,value:(...n)=>{nn.remove(...n),eh()}}});function wm(n,t,e){const{startAngle:i,pixelMargin:r,x:s,y:a,outerRadius:o,innerRadius:l}=t;let c=r/o;n.beginPath(),n.arc(s,a,o,i-c,e+c),l>r?(c=r/l,n.arc(s,a,l,e+c,i-c,!0)):n.arc(s,a,r,e+Ze,i-Ze),n.closePath(),n.clip()}function NU(n){return Hc(n,["outerStart","outerEnd","innerStart","innerEnd"])}function TU(n,t,e,i){const r=NU(n.options.borderRadius),s=(e-t)/2,a=Math.min(s,i*t/2),o=l=>{const c=(e-Math.min(s,l))*i/2;return ut(l,0,Math.min(s,c))};return{outerStart:o(r.outerStart),outerEnd:o(r.outerEnd),innerStart:ut(r.innerStart,0,a),innerEnd:ut(r.innerEnd,0,a)}}function Mi(n,t,e,i){return{x:e+n*Math.cos(t),y:i+n*Math.sin(t)}}function Tl(n,t,e,i,r,s){const{x:a,y:o,startAngle:l,pixelMargin:c,innerRadius:u}=t,d=Math.max(t.outerRadius+i+e-c,0),h=u>0?u+i+e+c:0;let g=0;const f=r-l;if(i){const G=u>0?u-i:0,F=d>0?d-i:0,P=(G+F)/2,V=P!==0?f*P/(P+i):f;g=(f-V)/2}const p=Math.max(.001,f*d-e/ze)/d,m=(f-p)/2,b=l+m+g,A=r-m-g,{outerStart:y,outerEnd:w,innerStart:C,innerEnd:_}=TU(t,h,d,A-b),S=d-y,z=d-w,R=b+y/S,T=A-w/z,x=h+C,O=h+_,B=b+C/x,L=A-_/O;if(n.beginPath(),s){if(n.arc(a,o,d,R,T),w>0){const P=Mi(z,T,a,o);n.arc(P.x,P.y,w,T,A+Ze)}const G=Mi(O,A,a,o);if(n.lineTo(G.x,G.y),_>0){const P=Mi(O,L,a,o);n.arc(P.x,P.y,_,A+Ze,L+Math.PI)}if(n.arc(a,o,h,A-_/h,b+C/h,!0),C>0){const P=Mi(x,B,a,o);n.arc(P.x,P.y,C,B+Math.PI,b-Ze)}const F=Mi(S,b,a,o);if(n.lineTo(F.x,F.y),y>0){const P=Mi(S,R,a,o);n.arc(P.x,P.y,y,b-Ze,R)}}else{n.moveTo(a,o);const G=Math.cos(R)*d+a,F=Math.sin(R)*d+o;n.lineTo(G,F);const P=Math.cos(T)*d+a,V=Math.sin(T)*d+o;n.lineTo(P,V)}n.closePath()}function LU(n,t,e,i,r){const{fullCircles:s,startAngle:a,circumference:o}=t;let l=t.endAngle;if(s){Tl(n,t,e,i,a+De,r);for(let c=0;c<s;++c)n.fill();isNaN(o)||(l=a+o%De,o%De===0&&(l+=De))}return Tl(n,t,e,i,l,r),n.fill(),l}function jU(n,t,e){const{x:i,y:r,startAngle:s,pixelMargin:a,fullCircles:o}=t,l=Math.max(t.outerRadius-a,0),c=t.innerRadius+a;let u;for(e&&wm(n,t,s+De),n.beginPath(),n.arc(i,r,c,s+De,s,!0),u=0;u<o;++u)n.stroke();for(n.beginPath(),n.arc(i,r,l,s,s+De),u=0;u<o;++u)n.stroke()}function PU(n,t,e,i,r,s){const{options:a}=t,{borderWidth:o,borderJoinStyle:l}=a,c=a.borderAlign==="inner";o&&(c?(n.lineWidth=o*2,n.lineJoin=l||"round"):(n.lineWidth=o,n.lineJoin=l||"bevel"),t.fullCircles&&jU(n,t,c),c&&wm(n,t,r),Tl(n,t,e,i,r,s),n.stroke())}class Xa extends Ut{constructor(t){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,t&&Object.assign(this,t)}inRange(t,e,i){const r=this.getProps(["x","y"],i),{angle:s,distance:a}=Lp(r,{x:t,y:e}),{startAngle:o,endAngle:l,innerRadius:c,outerRadius:u,circumference:d}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],i),h=this.options.spacing/2,f=ge(d,l-o)>=De||Xr(s,o,l),p=In(a,c+h,u+h);return f&&p}getCenterPoint(t){const{x:e,y:i,startAngle:r,endAngle:s,innerRadius:a,outerRadius:o}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],t),{offset:l,spacing:c}=this.options,u=(r+s)/2,d=(a+o+c+l)/2;return{x:e+Math.cos(u)*d,y:i+Math.sin(u)*d}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:e,circumference:i}=this,r=(e.offset||0)/2,s=(e.spacing||0)/2,a=e.circular;if(this.pixelMargin=e.borderAlign==="inner"?.33:0,this.fullCircles=i>De?Math.floor(i/De):0,i===0||this.innerRadius<0||this.outerRadius<0)return;t.save();let o=0;if(r){o=r/2;const c=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(c)*o,Math.sin(c)*o),this.circumference>=ze&&(o=r)}t.fillStyle=e.backgroundColor,t.strokeStyle=e.borderColor;const l=LU(t,this,o,s,a);PU(t,this,o,s,l,a),t.restore()}}Xa.id="arc";Xa.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0};Xa.defaultRoutes={backgroundColor:"backgroundColor"};function xm(n,t,e=t){n.lineCap=ge(e.borderCapStyle,t.borderCapStyle),n.setLineDash(ge(e.borderDash,t.borderDash)),n.lineDashOffset=ge(e.borderDashOffset,t.borderDashOffset),n.lineJoin=ge(e.borderJoinStyle,t.borderJoinStyle),n.lineWidth=ge(e.borderWidth,t.borderWidth),n.strokeStyle=ge(e.borderColor,t.borderColor)}function FU(n,t,e){n.lineTo(e.x,e.y)}function HU(n){return n.stepped?cJ:n.tension||n.cubicInterpolationMode==="monotone"?uJ:FU}function _m(n,t,e={}){const i=n.length,{start:r=0,end:s=i-1}=e,{start:a,end:o}=t,l=Math.max(r,a),c=Math.min(s,o),u=r<a&&s<a||r>o&&s>o;return{count:i,start:l,loop:t.loop,ilen:c<l&&!u?i+c-l:c-l}}function zU(n,t,e,i){const{points:r,options:s}=t,{count:a,start:o,loop:l,ilen:c}=_m(r,e,i),u=HU(s);let{move:d=!0,reverse:h}=i||{},g,f,p;for(g=0;g<=c;++g)f=r[(o+(h?c-g:g))%a],!f.skip&&(d?(n.moveTo(f.x,f.y),d=!1):u(n,p,f,h,s.stepped),p=f);return l&&(f=r[(o+(h?c:0))%a],u(n,p,f,h,s.stepped)),!!l}function ZU(n,t,e,i){const r=t.points,{count:s,start:a,ilen:o}=_m(r,e,i),{move:l=!0,reverse:c}=i||{};let u=0,d=0,h,g,f,p,m,b;const A=w=>(a+(c?o-w:w))%s,y=()=>{p!==m&&(n.lineTo(u,m),n.lineTo(u,p),n.lineTo(u,b))};for(l&&(g=r[A(0)],n.moveTo(g.x,g.y)),h=0;h<=o;++h){if(g=r[A(h)],g.skip)continue;const w=g.x,C=g.y,_=w|0;_===f?(C<p?p=C:C>m&&(m=C),u=(d*u+w)/++d):(y(),n.lineTo(w,C),f=_,d=0,p=m=C),b=C}y()}function Ll(n){const t=n.options,e=t.borderDash&&t.borderDash.length;return!n._decimated&&!n._loop&&!t.tension&&t.cubicInterpolationMode!=="monotone"&&!t.stepped&&!e?ZU:zU}function YU(n){return n.stepped?HJ:n.tension||n.cubicInterpolationMode==="monotone"?zJ:ri}function WU(n,t,e,i){let r=t._path;r||(r=t._path=new Path2D,t.path(r,e,i)&&r.closePath()),xm(n,t.options),n.stroke(r)}function XU(n,t,e,i){const{segments:r,options:s}=t,a=Ll(t);for(const o of r)xm(n,s,o.style),n.beginPath(),a(n,t,o,{start:e,end:e+i-1})&&n.closePath(),n.stroke()}const VU=typeof Path2D=="function";function JU(n,t,e,i){VU&&!t.options.segment?WU(n,t,e,i):XU(n,t,e,i)}class Qn extends Ut{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,e){const i=this.options;if((i.tension||i.cubicInterpolationMode==="monotone")&&!i.stepped&&!this._pointsUpdated){const r=i.spanGaps?this._loop:this._fullLoop;GJ(this._points,i,t,r,e),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=QJ(this,this.options.segment))}first(){const t=this.segments,e=this.points;return t.length&&e[t[0].start]}last(){const t=this.segments,e=this.points,i=t.length;return i&&e[t[i-1].end]}interpolate(t,e){const i=this.options,r=t[e],s=this.points,a=lm(this,{property:e,start:r,end:r});if(!a.length)return;const o=[],l=YU(i);let c,u;for(c=0,u=a.length;c<u;++c){const{start:d,end:h}=a[c],g=s[d],f=s[h];if(g===f){o.push(g);continue}const p=Math.abs((r-g[e])/(f[e]-g[e])),m=l(g,f,p,i.stepped);m[e]=t[e],o.push(m)}return o.length===1?o[0]:o}pathSegment(t,e,i){return Ll(this)(t,this,e,i)}path(t,e,i){const r=this.segments,s=Ll(this);let a=this._loop;e=e||0,i=i||this.points.length-e;for(const o of r)a&=s(t,this,o,{start:e,end:e+i-1});return!!a}draw(t,e,i,r){const s=this.options||{};(this.points||[]).length&&s.borderWidth&&(t.save(),JU(t,this,i,r),t.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}Qn.id="line";Qn.defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};Qn.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};Qn.descriptors={_scriptable:!0,_indexable:n=>n!=="borderDash"&&n!=="fill"};function th(n,t,e,i){const r=n.options,{[e]:s}=n.getProps([e],i);return Math.abs(t-s)<r.radius+r.hitRadius}class Va extends Ut{constructor(t){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,t&&Object.assign(this,t)}inRange(t,e,i){const r=this.options,{x:s,y:a}=this.getProps(["x","y"],i);return Math.pow(t-s,2)+Math.pow(e-a,2)<Math.pow(r.hitRadius+r.radius,2)}inXRange(t,e){return th(this,t,"x",e)}inYRange(t,e){return th(this,t,"y",e)}getCenterPoint(t){const{x:e,y:i}=this.getProps(["x","y"],t);return{x:e,y:i}}size(t){t=t||this.options||{};let e=t.radius||0;e=Math.max(e,e&&t.hoverRadius||0);const i=e&&t.borderWidth||0;return(e+i)*2}draw(t,e){const i=this.options;this.skip||i.radius<.1||!Vr(this,e,this.size(i)/2)||(t.strokeStyle=i.borderColor,t.lineWidth=i.borderWidth,t.fillStyle=i.backgroundColor,Bl(t,i,this.x,this.y))}getRange(){const t=this.options||{};return t.radius+t.hitRadius}}Va.id="point";Va.defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};Va.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};function km(n,t){const{x:e,y:i,base:r,width:s,height:a}=n.getProps(["x","y","base","width","height"],t);let o,l,c,u,d;return n.horizontal?(d=a/2,o=Math.min(e,r),l=Math.max(e,r),c=i-d,u=i+d):(d=s/2,o=e-d,l=e+d,c=Math.min(i,r),u=Math.max(i,r)),{left:o,top:c,right:l,bottom:u}}function Ln(n,t,e,i){return n?0:ut(t,e,i)}function QU(n,t,e){const i=n.options.borderWidth,r=n.borderSkipped,s=Up(i);return{t:Ln(r.top,s.top,0,e),r:Ln(r.right,s.right,0,t),b:Ln(r.bottom,s.bottom,0,e),l:Ln(r.left,s.left,0,t)}}function UU(n,t,e){const{enableBorderRadius:i}=n.getProps(["enableBorderRadius"]),r=n.options.borderRadius,s=ci(r),a=Math.min(t,e),o=n.borderSkipped,l=i||Ae(r);return{topLeft:Ln(!l||o.top||o.left,s.topLeft,0,a),topRight:Ln(!l||o.top||o.right,s.topRight,0,a),bottomLeft:Ln(!l||o.bottom||o.left,s.bottomLeft,0,a),bottomRight:Ln(!l||o.bottom||o.right,s.bottomRight,0,a)}}function KU(n){const t=km(n),e=t.right-t.left,i=t.bottom-t.top,r=QU(n,e/2,i/2),s=UU(n,e/2,i/2);return{outer:{x:t.left,y:t.top,w:e,h:i,radius:s},inner:{x:t.left+r.l,y:t.top+r.t,w:e-r.l-r.r,h:i-r.t-r.b,radius:{topLeft:Math.max(0,s.topLeft-Math.max(r.t,r.l)),topRight:Math.max(0,s.topRight-Math.max(r.t,r.r)),bottomLeft:Math.max(0,s.bottomLeft-Math.max(r.b,r.l)),bottomRight:Math.max(0,s.bottomRight-Math.max(r.b,r.r))}}}}function Po(n,t,e,i){const r=t===null,s=e===null,o=n&&!(r&&s)&&km(n,i);return o&&(r||In(t,o.left,o.right))&&(s||In(e,o.top,o.bottom))}function qU(n){return n.topLeft||n.topRight||n.bottomLeft||n.bottomRight}function $U(n,t){n.rect(t.x,t.y,t.w,t.h)}function Fo(n,t,e={}){const i=n.x!==e.x?-t:0,r=n.y!==e.y?-t:0,s=(n.x+n.w!==e.x+e.w?t:0)-i,a=(n.y+n.h!==e.y+e.h?t:0)-r;return{x:n.x+i,y:n.y+r,w:n.w+s,h:n.h+a,radius:n.radius}}class Ja extends Ut{constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,t&&Object.assign(this,t)}draw(t){const{inflateAmount:e,options:{borderColor:i,backgroundColor:r}}=this,{inner:s,outer:a}=KU(this),o=qU(a.radius)?Jr:$U;t.save(),(a.w!==s.w||a.h!==s.h)&&(t.beginPath(),o(t,Fo(a,e,s)),t.clip(),o(t,Fo(s,-e,a)),t.fillStyle=i,t.fill("evenodd")),t.beginPath(),o(t,Fo(s,e)),t.fillStyle=r,t.fill(),t.restore()}inRange(t,e,i){return Po(this,t,e,i)}inXRange(t,e){return Po(this,t,null,e)}inYRange(t,e){return Po(this,null,t,e)}getCenterPoint(t){const{x:e,y:i,base:r,horizontal:s}=this.getProps(["x","y","base","horizontal"],t);return{x:s?(e+r)/2:e,y:s?i:(i+r)/2}}getRange(t){return t==="x"?this.width/2:this.height/2}}Ja.id="bar";Ja.defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0};Ja.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};function eK(n,t,e){const i=n.segments,r=n.points,s=t.points,a=[];for(const o of i){let{start:l,end:c}=o;c=Kc(l,c,r);const u=jl(e,r[l],r[c],o.loop);if(!t.segments){a.push({source:o,target:u,start:r[l],end:r[c]});continue}const d=lm(t,u);for(const h of d){const g=jl(e,s[h.start],s[h.end],h.loop),f=om(o,r,g);for(const p of f)a.push({source:p,target:h,start:{[e]:nh(u,g,"start",Math.max)},end:{[e]:nh(u,g,"end",Math.min)}})}}return a}function jl(n,t,e,i){if(i)return;let r=t[n],s=e[n];return n==="angle"&&(r=xt(r),s=xt(s)),{property:n,start:r,end:s}}function tK(n,t){const{x:e=null,y:i=null}=n||{},r=t.points,s=[];return t.segments.forEach(({start:a,end:o})=>{o=Kc(a,o,r);const l=r[a],c=r[o];i!==null?(s.push({x:l.x,y:i}),s.push({x:c.x,y:i})):e!==null&&(s.push({x:e,y:l.y}),s.push({x:e,y:c.y}))}),s}function Kc(n,t,e){for(;t>n;t--){const i=e[t];if(!isNaN(i.x)&&!isNaN(i.y))break}return t}function nh(n,t,e,i){return n&&t?i(n[e],t[e]):n?n[e]:t?t[e]:0}function Em(n,t){let e=[],i=!1;return Ne(n)?(i=!0,e=n):e=tK(n,t),e.length?new Qn({points:e,options:{tension:0},_loop:i,_fullLoop:i}):null}function ih(n){return n&&n.fill!==!1}function nK(n,t,e){let r=n[t].fill;const s=[t];let a;if(!e)return r;for(;r!==!1&&s.indexOf(r)===-1;){if(!Je(r))return r;if(a=n[r],!a)return!1;if(a.visible)return r;s.push(r),r=a.fill}return!1}function iK(n,t,e){const i=oK(n);if(Ae(i))return isNaN(i.value)?!1:i;let r=parseFloat(i);return Je(r)&&Math.floor(r)===r?rK(i[0],t,r,e):["origin","start","end","stack","shape"].indexOf(i)>=0&&i}function rK(n,t,e,i){return(n==="-"||n==="+")&&(e=t+e),e===t||e<0||e>=i?!1:e}function sK(n,t){let e=null;return n==="start"?e=t.bottom:n==="end"?e=t.top:Ae(n)?e=t.getPixelForValue(n.value):t.getBasePixel&&(e=t.getBasePixel()),e}function aK(n,t,e){let i;return n==="start"?i=e:n==="end"?i=t.options.reverse?t.min:t.max:Ae(n)?i=n.value:i=t.getBaseValue(),i}function oK(n){const t=n.options,e=t.fill;let i=ge(e&&e.target,e);return i===void 0&&(i=!!t.backgroundColor),i===!1||i===null?!1:i===!0?"origin":i}function lK(n){const{scale:t,index:e,line:i}=n,r=[],s=i.segments,a=i.points,o=cK(t,e);o.push(Em({x:null,y:t.bottom},i));for(let l=0;l<s.length;l++){const c=s[l];for(let u=c.start;u<=c.end;u++)uK(r,a[u],o)}return new Qn({points:r,options:{}})}function cK(n,t){const e=[],i=n.getMatchingVisibleMetas("line");for(let r=0;r<i.length;r++){const s=i[r];if(s.index===t)break;s.hidden||e.unshift(s.dataset)}return e}function uK(n,t,e){const i=[];for(let r=0;r<e.length;r++){const s=e[r],{first:a,last:o,point:l}=dK(s,t,"x");if(!(!l||a&&o)){if(a)i.unshift(l);else if(n.push(l),!o)break}}n.push(...i)}function dK(n,t,e){const i=n.interpolate(t,e);if(!i)return{};const r=i[e],s=n.segments,a=n.points;let o=!1,l=!1;for(let c=0;c<s.length;c++){const u=s[c],d=a[u.start][e],h=a[u.end][e];if(In(r,d,h)){o=r===d,l=r===h;break}}return{first:o,last:l,point:i}}class Sm{constructor(t){this.x=t.x,this.y=t.y,this.radius=t.radius}pathSegment(t,e,i){const{x:r,y:s,radius:a}=this;return e=e||{start:0,end:De},t.arc(r,s,a,e.end,e.start,!0),!i.bounds}interpolate(t){const{x:e,y:i,radius:r}=this,s=t.angle;return{x:e+Math.cos(s)*r,y:i+Math.sin(s)*r,angle:s}}}function fK(n){const{chart:t,fill:e,line:i}=n;if(Je(e))return hK(t,e);if(e==="stack")return lK(n);if(e==="shape")return!0;const r=gK(n);return r instanceof Sm?r:Em(r,i)}function hK(n,t){const e=n.getDatasetMeta(t);return e&&n.isDatasetVisible(t)?e.dataset:null}function gK(n){return(n.scale||{}).getPointPositionForValue?mK(n):pK(n)}function pK(n){const{scale:t={},fill:e}=n,i=sK(e,t);if(Je(i)){const r=t.isHorizontal();return{x:r?i:null,y:r?null:i}}return null}function mK(n){const{scale:t,fill:e}=n,i=t.options,r=t.getLabels().length,s=i.reverse?t.max:t.min,a=aK(e,t,s),o=[];if(i.grid.circular){const l=t.getPointPositionForValue(0,s);return new Sm({x:l.x,y:l.y,radius:t.getDistanceFromCenterForValue(a)})}for(let l=0;l<r;++l)o.push(t.getPointPositionForValue(l,a));return o}function Ho(n,t,e){const i=fK(t),{line:r,scale:s,axis:a}=t,o=r.options,l=o.fill,c=o.backgroundColor,{above:u=c,below:d=c}=l||{};i&&r.points.length&&(Fa(n,e),bK(n,{line:r,target:i,above:u,below:d,area:e,scale:s,axis:a}),Ha(n))}function bK(n,t){const{line:e,target:i,above:r,below:s,area:a,scale:o}=t,l=e._loop?"angle":t.axis;n.save(),l==="x"&&s!==r&&(rh(n,i,a.top),sh(n,{line:e,target:i,color:r,scale:o,property:l}),n.restore(),n.save(),rh(n,i,a.bottom)),sh(n,{line:e,target:i,color:s,scale:o,property:l}),n.restore()}function rh(n,t,e){const{segments:i,points:r}=t;let s=!0,a=!1;n.beginPath();for(const o of i){const{start:l,end:c}=o,u=r[l],d=r[Kc(l,c,r)];s?(n.moveTo(u.x,u.y),s=!1):(n.lineTo(u.x,e),n.lineTo(u.x,u.y)),a=!!t.pathSegment(n,o,{move:a}),a?n.closePath():n.lineTo(d.x,e)}n.lineTo(t.first().x,e),n.closePath(),n.clip()}function sh(n,t){const{line:e,target:i,property:r,color:s,scale:a}=t,o=eK(e,i,r);for(const{source:l,target:c,start:u,end:d}of o){const{style:{backgroundColor:h=s}={}}=l,g=i!==!0;n.save(),n.fillStyle=h,vK(n,a,g&&jl(r,u,d)),n.beginPath();const f=!!e.pathSegment(n,l);let p;if(g){f?n.closePath():ah(n,i,d,r);const m=!!i.pathSegment(n,c,{move:f,reverse:!0});p=f&&m,p||ah(n,i,u,r)}n.closePath(),n.fill(p?"evenodd":"nonzero"),n.restore()}}function vK(n,t,e){const{top:i,bottom:r}=t.chart.chartArea,{property:s,start:a,end:o}=e||{};s==="x"&&(n.beginPath(),n.rect(a,i,o-a,r-i),n.clip())}function ah(n,t,e,i){const r=t.interpolate(e,i);r&&n.lineTo(r.x,r.y)}var yK={id:"filler",afterDatasetsUpdate(n,t,e){const i=(n.data.datasets||[]).length,r=[];let s,a,o,l;for(a=0;a<i;++a)s=n.getDatasetMeta(a),o=s.dataset,l=null,o&&o.options&&o instanceof Qn&&(l={visible:n.isDatasetVisible(a),index:a,fill:iK(o,a,i),chart:n,axis:s.controller.options.indexAxis,scale:s.vScale,line:o}),s.$filler=l,r.push(l);for(a=0;a<i;++a)l=r[a],!(!l||l.fill===!1)&&(l.fill=nK(r,a,e.propagate))},beforeDraw(n,t,e){const i=e.drawTime==="beforeDraw",r=n.getSortedVisibleDatasetMetas(),s=n.chartArea;for(let a=r.length-1;a>=0;--a){const o=r[a].$filler;o&&(o.line.updateControlPoints(s,o.axis),i&&o.fill&&Ho(n.ctx,o,s))}},beforeDatasetsDraw(n,t,e){if(e.drawTime!=="beforeDatasetsDraw")return;const i=n.getSortedVisibleDatasetMetas();for(let r=i.length-1;r>=0;--r){const s=i[r].$filler;ih(s)&&Ho(n.ctx,s,n.chartArea)}},beforeDatasetDraw(n,t,e){const i=t.meta.$filler;!ih(i)||e.drawTime!=="beforeDatasetDraw"||Ho(n.ctx,i,n.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const oh=(n,t)=>{let{boxHeight:e=t,boxWidth:i=t}=n;return n.usePointStyle&&(e=Math.min(e,t),i=n.pointStyleWidth||Math.min(i,t)),{boxWidth:i,boxHeight:e,itemHeight:Math.max(t,e)}},AK=(n,t)=>n!==null&&t!==null&&n.datasetIndex===t.datasetIndex&&n.index===t.index;class lh extends Ut{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e,i){this.maxWidth=t,this.maxHeight=e,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let e=Oe(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter(i=>t.filter(i,this.chart.data))),t.sort&&(e=e.sort((i,r)=>t.sort(i,r,this.chart.data))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:t,ctx:e}=this;if(!t.display){this.width=this.height=0;return}const i=t.labels,r=et(i.font),s=r.size,a=this._computeTitleHeight(),{boxWidth:o,itemHeight:l}=oh(i,s);let c,u;e.font=r.string,this.isHorizontal()?(c=this.maxWidth,u=this._fitRows(a,s,o,l)+10):(u=this.maxHeight,c=this._fitCols(a,s,o,l)+10),this.width=Math.min(c,t.maxWidth||this.maxWidth),this.height=Math.min(u,t.maxHeight||this.maxHeight)}_fitRows(t,e,i,r){const{ctx:s,maxWidth:a,options:{labels:{padding:o}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],u=r+o;let d=t;s.textAlign="left",s.textBaseline="middle";let h=-1,g=-u;return this.legendItems.forEach((f,p)=>{const m=i+e/2+s.measureText(f.text).width;(p===0||c[c.length-1]+m+2*o>a)&&(d+=u,c[c.length-(p>0?0:1)]=0,g+=u,h++),l[p]={left:0,top:g,row:h,width:m,height:r},c[c.length-1]+=m+o}),d}_fitCols(t,e,i,r){const{ctx:s,maxHeight:a,options:{labels:{padding:o}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],u=a-t;let d=o,h=0,g=0,f=0,p=0;return this.legendItems.forEach((m,b)=>{const A=i+e/2+s.measureText(m.text).width;b>0&&g+r+2*o>u&&(d+=h+o,c.push({width:h,height:g}),f+=h+o,p++,h=g=0),l[b]={left:f,top:g,col:p,width:A,height:r},h=Math.max(h,A),g+=r+o}),d+=h,c.push({width:h,height:g}),d}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:i,labels:{padding:r},rtl:s}}=this,a=Hi(s,this.left,this.width);if(this.isHorizontal()){let o=0,l=lt(i,this.left+r,this.right-this.lineWidths[o]);for(const c of e)o!==c.row&&(o=c.row,l=lt(i,this.left+r,this.right-this.lineWidths[o])),c.top+=this.top+t+r,c.left=a.leftForLtr(a.x(l),c.width),l+=c.width+r}else{let o=0,l=lt(i,this.top+t+r,this.bottom-this.columnSizes[o].height);for(const c of e)c.col!==o&&(o=c.col,l=lt(i,this.top+t+r,this.bottom-this.columnSizes[o].height)),c.top=l,c.left+=this.left+r,c.left=a.leftForLtr(a.x(c.left),c.width),l+=c.height+r}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const t=this.ctx;Fa(t,this),this._draw(),Ha(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:i,ctx:r}=this,{align:s,labels:a}=t,o=Ce.color,l=Hi(t.rtl,this.left,this.width),c=et(a.font),{color:u,padding:d}=a,h=c.size,g=h/2;let f;this.drawTitle(),r.textAlign=l.textAlign("left"),r.textBaseline="middle",r.lineWidth=.5,r.font=c.string;const{boxWidth:p,boxHeight:m,itemHeight:b}=oh(a,h),A=function(S,z,R){if(isNaN(p)||p<=0||isNaN(m)||m<0)return;r.save();const T=ge(R.lineWidth,1);if(r.fillStyle=ge(R.fillStyle,o),r.lineCap=ge(R.lineCap,"butt"),r.lineDashOffset=ge(R.lineDashOffset,0),r.lineJoin=ge(R.lineJoin,"miter"),r.lineWidth=T,r.strokeStyle=ge(R.strokeStyle,o),r.setLineDash(ge(R.lineDash,[])),a.usePointStyle){const x={radius:m*Math.SQRT2/2,pointStyle:R.pointStyle,rotation:R.rotation,borderWidth:T},O=l.xPlus(S,p/2),B=z+g;Qp(r,x,O,B,a.pointStyleWidth&&p)}else{const x=z+Math.max((h-m)/2,0),O=l.leftForLtr(S,p),B=ci(R.borderRadius);r.beginPath(),Object.values(B).some(L=>L!==0)?Jr(r,{x:O,y:x,w:p,h:m,radius:B}):r.rect(O,x,p,m),r.fill(),T!==0&&r.stroke()}r.restore()},y=function(S,z,R){gi(r,R.text,S,z+b/2,c,{strikethrough:R.hidden,textAlign:l.textAlign(R.textAlign)})},w=this.isHorizontal(),C=this._computeTitleHeight();w?f={x:lt(s,this.left+d,this.right-i[0]),y:this.top+d+C,line:0}:f={x:this.left+d,y:lt(s,this.top+C+d,this.bottom-e[0].height),line:0},rm(this.ctx,t.textDirection);const _=b+d;this.legendItems.forEach((S,z)=>{r.strokeStyle=S.fontColor||u,r.fillStyle=S.fontColor||u;const R=r.measureText(S.text).width,T=l.textAlign(S.textAlign||(S.textAlign=a.textAlign)),x=p+g+R;let O=f.x,B=f.y;l.setWidth(this.width),w?z>0&&O+x+d>this.right&&(B=f.y+=_,f.line++,O=f.x=lt(s,this.left+d,this.right-i[f.line])):z>0&&B+_>this.bottom&&(O=f.x=O+e[f.line].width+d,f.line++,B=f.y=lt(s,this.top+C+d,this.bottom-e[f.line].height));const L=l.x(O);A(L,B,S),O=L5(T,O+p+g,w?O+x:this.right,t.rtl),y(l.x(O),B,S),w?f.x+=x+d:f.y+=_}),sm(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,i=et(e.font),r=ht(e.padding);if(!e.display)return;const s=Hi(t.rtl,this.left,this.width),a=this.ctx,o=e.position,l=i.size/2,c=r.top+l;let u,d=this.left,h=this.width;if(this.isHorizontal())h=Math.max(...this.lineWidths),u=this.top+c,d=lt(t.align,d,this.right-h);else{const f=this.columnSizes.reduce((p,m)=>Math.max(p,m.height),0);u=c+lt(t.align,this.top,this.bottom-f-t.labels.padding-this._computeTitleHeight())}const g=lt(o,d,d+h);a.textAlign=s.textAlign(Lc(o)),a.textBaseline="middle",a.strokeStyle=e.color,a.fillStyle=e.color,a.font=i.string,gi(a,e.text,g,u,i)}_computeTitleHeight(){const t=this.options.title,e=et(t.font),i=ht(t.padding);return t.display?e.lineHeight+i.height:0}_getLegendItemAt(t,e){let i,r,s;if(In(t,this.left,this.right)&&In(e,this.top,this.bottom)){for(s=this.legendHitBoxes,i=0;i<s.length;++i)if(r=s[i],In(t,r.left,r.left+r.width)&&In(e,r.top,r.top+r.height))return this.legendItems[i]}return null}handleEvent(t){const e=this.options;if(!CK(t.type,e))return;const i=this._getLegendItemAt(t.x,t.y);if(t.type==="mousemove"||t.type==="mouseout"){const r=this._hoveredItem,s=AK(r,i);r&&!s&&Oe(e.onLeave,[t,r,this],this),this._hoveredItem=i,i&&!s&&Oe(e.onHover,[t,i,this],this)}else i&&Oe(e.onClick,[t,i,this],this)}}function CK(n,t){return!!((n==="mousemove"||n==="mouseout")&&(t.onHover||t.onLeave)||t.onClick&&(n==="click"||n==="mouseup"))}var IK={id:"legend",_element:lh,start(n,t,e){const i=n.legend=new lh({ctx:n.ctx,options:e,chart:n});Lt.configure(n,i,e),Lt.addBox(n,i)},stop(n){Lt.removeBox(n,n.legend),delete n.legend},beforeUpdate(n,t,e){const i=n.legend;Lt.configure(n,i,e),i.options=e},afterUpdate(n){const t=n.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(n,t){t.replay||n.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(n,t,e){const i=t.datasetIndex,r=e.chart;r.isDatasetVisible(i)?(r.hide(i),t.hidden=!0):(r.show(i),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:n=>n.chart.options.color,boxWidth:40,padding:10,generateLabels(n){const t=n.data.datasets,{labels:{usePointStyle:e,pointStyle:i,textAlign:r,color:s}}=n.legend.options;return n._getSortedDatasetMetas().map(a=>{const o=a.controller.getStyle(e?0:void 0),l=ht(o.borderWidth);return{text:t[a.index].label,fillStyle:o.backgroundColor,fontColor:s,hidden:!a.visible,lineCap:o.borderCapStyle,lineDash:o.borderDash,lineDashOffset:o.borderDashOffset,lineJoin:o.borderJoinStyle,lineWidth:(l.width+l.height)/4,strokeStyle:o.borderColor,pointStyle:i||o.pointStyle,rotation:o.rotation,textAlign:r||o.textAlign,borderRadius:0,datasetIndex:a.index}},this)}},title:{color:n=>n.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:n=>!n.startsWith("on"),labels:{_scriptable:n=>!["generateLabels","filter","sort"].includes(n)}}};class Rm extends Ut{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e){const i=this.options;if(this.left=0,this.top=0,!i.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=t,this.height=this.bottom=e;const r=Ne(i.text)?i.text.length:1;this._padding=ht(i.padding);const s=r*et(i.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=s:this.width=s}isHorizontal(){const t=this.options.position;return t==="top"||t==="bottom"}_drawArgs(t){const{top:e,left:i,bottom:r,right:s,options:a}=this,o=a.align;let l=0,c,u,d;return this.isHorizontal()?(u=lt(o,i,s),d=e+t,c=s-i):(a.position==="left"?(u=i+t,d=lt(o,r,e),l=ze*-.5):(u=s-t,d=lt(o,e,r),l=ze*.5),c=r-e),{titleX:u,titleY:d,maxWidth:c,rotation:l}}draw(){const t=this.ctx,e=this.options;if(!e.display)return;const i=et(e.font),s=i.lineHeight/2+this._padding.top,{titleX:a,titleY:o,maxWidth:l,rotation:c}=this._drawArgs(s);gi(t,e.text,0,0,i,{color:e.color,maxWidth:l,rotation:c,textAlign:Lc(e.align),textBaseline:"middle",translation:[a,o]})}}function wK(n,t){const e=new Rm({ctx:n.ctx,options:t,chart:n});Lt.configure(n,e,t),Lt.addBox(n,e),n.titleBlock=e}var xK={id:"title",_element:Rm,start(n,t,e){wK(n,e)},stop(n){const t=n.titleBlock;Lt.removeBox(n,t),delete n.titleBlock},beforeUpdate(n,t,e){const i=n.titleBlock;Lt.configure(n,i,e),i.options=e},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Tr={average(n){if(!n.length)return!1;let t,e,i=0,r=0,s=0;for(t=0,e=n.length;t<e;++t){const a=n[t].element;if(a&&a.hasValue()){const o=a.tooltipPosition();i+=o.x,r+=o.y,++s}}return{x:i/s,y:r/s}},nearest(n,t){if(!n.length)return!1;let e=t.x,i=t.y,r=Number.POSITIVE_INFINITY,s,a,o;for(s=0,a=n.length;s<a;++s){const l=n[s].element;if(l&&l.hasValue()){const c=l.getCenterPoint(),u=Rl(t,c);u<r&&(r=u,o=l)}}if(o){const l=o.tooltipPosition();e=l.x,i=l.y}return{x:e,y:i}}};function en(n,t){return t&&(Ne(t)?Array.prototype.push.apply(n,t):n.push(t)),n}function mn(n){return(typeof n=="string"||n instanceof String)&&n.indexOf(`
209
209
  `)>-1?n.split(`
210
- `):n}function _K(n,t){const{element:e,datasetIndex:i,index:r}=t,s=n.getDatasetMeta(i).controller,{label:a,value:o}=s.getLabelAndValue(r);return{chart:n,label:a,parsed:s.getParsed(r),raw:n.data.datasets[i].data[r],formattedValue:o,dataset:s.getDataset(),dataIndex:r,datasetIndex:i,element:e}}function ch(n,t){const e=n.chart.ctx,{body:i,footer:r,title:s}=n,{boxWidth:a,boxHeight:o}=t,l=$e(t.bodyFont),c=$e(t.titleFont),u=$e(t.footerFont),d=s.length,h=r.length,g=i.length,f=ht(t.padding);let p=f.height,m=0,b=i.reduce((w,C)=>w+C.before.length+C.lines.length+C.after.length,0);if(b+=n.beforeBody.length+n.afterBody.length,d&&(p+=d*c.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),b){const w=t.displayColors?Math.max(o,l.lineHeight):l.lineHeight;p+=g*w+(b-g)*l.lineHeight+(b-1)*t.bodySpacing}h&&(p+=t.footerMarginTop+h*u.lineHeight+(h-1)*t.footerSpacing);let A=0;const y=function(w){m=Math.max(m,e.measureText(w).width+A)};return e.save(),e.font=c.string,Re(n.title,y),e.font=l.string,Re(n.beforeBody.concat(n.afterBody),y),A=t.displayColors?a+2+t.boxPadding:0,Re(i,w=>{Re(w.before,y),Re(w.lines,y),Re(w.after,y)}),A=0,e.font=u.string,Re(n.footer,y),e.restore(),m+=f.width,{width:m,height:p}}function kK(n,t){const{y:e,height:i}=t;return e<i/2?"top":e>n.height-i/2?"bottom":"center"}function EK(n,t,e,i){const{x:r,width:s}=i,a=e.caretSize+e.caretPadding;if(n==="left"&&r+s+a>t.width||n==="right"&&r-s-a<0)return!0}function SK(n,t,e,i){const{x:r,width:s}=e,{width:a,chartArea:{left:o,right:l}}=n;let c="center";return i==="center"?c=r<=(o+l)/2?"left":"right":r<=s/2?c="left":r>=a-s/2&&(c="right"),EK(c,n,t,e)&&(c="center"),c}function uh(n,t,e){const i=e.yAlign||t.yAlign||kK(n,e);return{xAlign:e.xAlign||t.xAlign||SK(n,t,e,i),yAlign:i}}function RK(n,t){let{x:e,width:i}=n;return t==="right"?e-=i:t==="center"&&(e-=i/2),e}function MK(n,t,e){let{y:i,height:r}=n;return t==="top"?i+=e:t==="bottom"?i-=r+e:i-=r/2,i}function dh(n,t,e,i){const{caretSize:r,caretPadding:s,cornerRadius:a}=n,{xAlign:o,yAlign:l}=e,c=r+s,{topLeft:u,topRight:d,bottomLeft:h,bottomRight:g}=ci(a);let f=RK(t,o);const p=MK(t,l,c);return l==="center"?o==="left"?f+=c:o==="right"&&(f-=c):o==="left"?f-=Math.max(u,h)+r:o==="right"&&(f+=Math.max(d,g)+r),{x:ut(f,0,i.width-t.width),y:ut(p,0,i.height-t.height)}}function Ls(n,t,e){const i=ht(e.padding);return t==="center"?n.x+n.width/2:t==="right"?n.x+n.width-i.right:n.x+i.left}function fh(n){return en([],mn(n))}function DK(n,t,e){return Jn(n,{tooltip:t,tooltipItems:e,type:"tooltip"})}function hh(n,t){const e=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return e?n.override(e):n}class Pl extends Ut{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart||t._chart,this._chart=this.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const e=this.chart,i=this.options.setContext(this.getContext()),r=i.enabled&&e.options.animation&&i.animations,s=new cm(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(s)),s}getContext(){return this.$context||(this.$context=DK(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,e){const{callbacks:i}=e,r=i.beforeTitle.apply(this,[t]),s=i.title.apply(this,[t]),a=i.afterTitle.apply(this,[t]);let o=[];return o=en(o,mn(r)),o=en(o,mn(s)),o=en(o,mn(a)),o}getBeforeBody(t,e){return fh(e.callbacks.beforeBody.apply(this,[t]))}getBody(t,e){const{callbacks:i}=e,r=[];return Re(t,s=>{const a={before:[],lines:[],after:[]},o=hh(i,s);en(a.before,mn(o.beforeLabel.call(this,s))),en(a.lines,o.label.call(this,s)),en(a.after,mn(o.afterLabel.call(this,s))),r.push(a)}),r}getAfterBody(t,e){return fh(e.callbacks.afterBody.apply(this,[t]))}getFooter(t,e){const{callbacks:i}=e,r=i.beforeFooter.apply(this,[t]),s=i.footer.apply(this,[t]),a=i.afterFooter.apply(this,[t]);let o=[];return o=en(o,mn(r)),o=en(o,mn(s)),o=en(o,mn(a)),o}_createItems(t){const e=this._active,i=this.chart.data,r=[],s=[],a=[];let o=[],l,c;for(l=0,c=e.length;l<c;++l)o.push(_K(this.chart,e[l]));return t.filter&&(o=o.filter((u,d,h)=>t.filter(u,d,h,i))),t.itemSort&&(o=o.sort((u,d)=>t.itemSort(u,d,i))),Re(o,u=>{const d=hh(t.callbacks,u);r.push(d.labelColor.call(this,u)),s.push(d.labelPointStyle.call(this,u)),a.push(d.labelTextColor.call(this,u))}),this.labelColors=r,this.labelPointStyles=s,this.labelTextColors=a,this.dataPoints=o,o}update(t,e){const i=this.options.setContext(this.getContext()),r=this._active;let s,a=[];if(!r.length)this.opacity!==0&&(s={opacity:0});else{const o=Tr[i.position].call(this,r,this._eventPosition);a=this._createItems(i),this.title=this.getTitle(a,i),this.beforeBody=this.getBeforeBody(a,i),this.body=this.getBody(a,i),this.afterBody=this.getAfterBody(a,i),this.footer=this.getFooter(a,i);const l=this._size=ch(this,i),c=Object.assign({},o,l),u=uh(this.chart,i,c),d=dh(i,c,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,s={opacity:1,x:d.x,y:d.y,width:l.width,height:l.height,caretX:o.x,caretY:o.y}}this._tooltipItems=a,this.$context=void 0,s&&this._resolveAnimations().update(this,s),t&&i.external&&i.external.call(this,{chart:this.chart,tooltip:this,replay:e})}drawCaret(t,e,i,r){const s=this.getCaretPosition(t,i,r);e.lineTo(s.x1,s.y1),e.lineTo(s.x2,s.y2),e.lineTo(s.x3,s.y3)}getCaretPosition(t,e,i){const{xAlign:r,yAlign:s}=this,{caretSize:a,cornerRadius:o}=i,{topLeft:l,topRight:c,bottomLeft:u,bottomRight:d}=ci(o),{x:h,y:g}=t,{width:f,height:p}=e;let m,b,A,y,w,C;return s==="center"?(w=g+p/2,r==="left"?(m=h,b=m-a,y=w+a,C=w-a):(m=h+f,b=m+a,y=w-a,C=w+a),A=m):(r==="left"?b=h+Math.max(l,u)+a:r==="right"?b=h+f-Math.max(c,d)-a:b=this.caretX,s==="top"?(y=g,w=y-a,m=b-a,A=b+a):(y=g+p,w=y+a,m=b+a,A=b-a),C=y),{x1:m,x2:b,x3:A,y1:y,y2:w,y3:C}}drawTitle(t,e,i){const r=this.title,s=r.length;let a,o,l;if(s){const c=Hi(i.rtl,this.x,this.width);for(t.x=Ls(this,i.titleAlign,i),e.textAlign=c.textAlign(i.titleAlign),e.textBaseline="middle",a=$e(i.titleFont),o=i.titleSpacing,e.fillStyle=i.titleColor,e.font=a.string,l=0;l<s;++l)e.fillText(r[l],c.x(t.x),t.y+a.lineHeight/2),t.y+=a.lineHeight+o,l+1===s&&(t.y+=i.titleMarginBottom-o)}}_drawColorBox(t,e,i,r,s){const a=this.labelColors[i],o=this.labelPointStyles[i],{boxHeight:l,boxWidth:c,boxPadding:u}=s,d=$e(s.bodyFont),h=Ls(this,"left",s),g=r.x(h),f=l<d.lineHeight?(d.lineHeight-l)/2:0,p=e.y+f;if(s.usePointStyle){const m={radius:Math.min(c,l)/2,pointStyle:o.pointStyle,rotation:o.rotation,borderWidth:1},b=r.leftForLtr(g,c)+c/2,A=p+l/2;t.strokeStyle=s.multiKeyBackground,t.fillStyle=s.multiKeyBackground,Bl(t,m,b,A),t.strokeStyle=a.borderColor,t.fillStyle=a.backgroundColor,Bl(t,m,b,A)}else{t.lineWidth=Ae(a.borderWidth)?Math.max(...Object.values(a.borderWidth)):a.borderWidth||1,t.strokeStyle=a.borderColor,t.setLineDash(a.borderDash||[]),t.lineDashOffset=a.borderDashOffset||0;const m=r.leftForLtr(g,c-u),b=r.leftForLtr(r.xPlus(g,1),c-u-2),A=ci(a.borderRadius);Object.values(A).some(y=>y!==0)?(t.beginPath(),t.fillStyle=s.multiKeyBackground,Jr(t,{x:m,y:p,w:c,h:l,radius:A}),t.fill(),t.stroke(),t.fillStyle=a.backgroundColor,t.beginPath(),Jr(t,{x:b,y:p+1,w:c-2,h:l-2,radius:A}),t.fill()):(t.fillStyle=s.multiKeyBackground,t.fillRect(m,p,c,l),t.strokeRect(m,p,c,l),t.fillStyle=a.backgroundColor,t.fillRect(b,p+1,c-2,l-2))}t.fillStyle=this.labelTextColors[i]}drawBody(t,e,i){const{body:r}=this,{bodySpacing:s,bodyAlign:a,displayColors:o,boxHeight:l,boxWidth:c,boxPadding:u}=i,d=$e(i.bodyFont);let h=d.lineHeight,g=0;const f=Hi(i.rtl,this.x,this.width),p=function(z){e.fillText(z,f.x(t.x+g),t.y+h/2),t.y+=h+s},m=f.textAlign(a);let b,A,y,w,C,_,S;for(e.textAlign=a,e.textBaseline="middle",e.font=d.string,t.x=Ls(this,m,i),e.fillStyle=i.bodyColor,Re(this.beforeBody,p),g=o&&m!=="right"?a==="center"?c/2+u:c+2+u:0,w=0,_=r.length;w<_;++w){for(b=r[w],A=this.labelTextColors[w],e.fillStyle=A,Re(b.before,p),y=b.lines,o&&y.length&&(this._drawColorBox(e,t,w,f,i),h=Math.max(d.lineHeight,l)),C=0,S=y.length;C<S;++C)p(y[C]),h=d.lineHeight;Re(b.after,p)}g=0,h=d.lineHeight,Re(this.afterBody,p),t.y-=s}drawFooter(t,e,i){const r=this.footer,s=r.length;let a,o;if(s){const l=Hi(i.rtl,this.x,this.width);for(t.x=Ls(this,i.footerAlign,i),t.y+=i.footerMarginTop,e.textAlign=l.textAlign(i.footerAlign),e.textBaseline="middle",a=$e(i.footerFont),e.fillStyle=i.footerColor,e.font=a.string,o=0;o<s;++o)e.fillText(r[o],l.x(t.x),t.y+a.lineHeight/2),t.y+=a.lineHeight+i.footerSpacing}}drawBackground(t,e,i,r){const{xAlign:s,yAlign:a}=this,{x:o,y:l}=t,{width:c,height:u}=i,{topLeft:d,topRight:h,bottomLeft:g,bottomRight:f}=ci(r.cornerRadius);e.fillStyle=r.backgroundColor,e.strokeStyle=r.borderColor,e.lineWidth=r.borderWidth,e.beginPath(),e.moveTo(o+d,l),a==="top"&&this.drawCaret(t,e,i,r),e.lineTo(o+c-h,l),e.quadraticCurveTo(o+c,l,o+c,l+h),a==="center"&&s==="right"&&this.drawCaret(t,e,i,r),e.lineTo(o+c,l+u-f),e.quadraticCurveTo(o+c,l+u,o+c-f,l+u),a==="bottom"&&this.drawCaret(t,e,i,r),e.lineTo(o+g,l+u),e.quadraticCurveTo(o,l+u,o,l+u-g),a==="center"&&s==="left"&&this.drawCaret(t,e,i,r),e.lineTo(o,l+d),e.quadraticCurveTo(o,l,o+d,l),e.closePath(),e.fill(),r.borderWidth>0&&e.stroke()}_updateAnimationTarget(t){const e=this.chart,i=this.$animations,r=i&&i.x,s=i&&i.y;if(r||s){const a=Tr[t.position].call(this,this._active,this._eventPosition);if(!a)return;const o=this._size=ch(this,t),l=Object.assign({},a,this._size),c=uh(e,t,l),u=dh(t,l,c,e);(r._to!==u.x||s._to!==u.y)&&(this.xAlign=c.xAlign,this.yAlign=c.yAlign,this.width=o.width,this.height=o.height,this.caretX=a.x,this.caretY=a.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(t){const e=this.options.setContext(this.getContext());let i=this.opacity;if(!i)return;this._updateAnimationTarget(e);const r={width:this.width,height:this.height},s={x:this.x,y:this.y};i=Math.abs(i)<.001?0:i;const a=ht(e.padding),o=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;e.enabled&&o&&(t.save(),t.globalAlpha=i,this.drawBackground(s,t,r,e),rm(t,e.textDirection),s.y+=a.top,this.drawTitle(s,t,e),this.drawBody(s,t,e),this.drawFooter(s,t,e),sm(t,e.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,e){const i=this._active,r=t.map(({datasetIndex:o,index:l})=>{const c=this.chart.getDatasetMeta(o);if(!c)throw new Error("Cannot find a dataset at index "+o);return{datasetIndex:o,element:c.data[l],index:l}}),s=!da(i,r),a=this._positionChanged(r,e);(s||a)&&(this._active=r,this._eventPosition=e,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,e,i=!0){if(e&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const r=this.options,s=this._active||[],a=this._getActiveElements(t,s,e,i),o=this._positionChanged(a,t),l=e||!da(a,s)||o;return l&&(this._active=a,(r.enabled||r.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),l}_getActiveElements(t,e,i,r){const s=this.options;if(t.type==="mouseout")return[];if(!r)return e;const a=this.chart.getElementsAtEventForMode(t,s.mode,s,i);return s.reverse&&a.reverse(),a}_positionChanged(t,e){const{caretX:i,caretY:r,options:s}=this,a=Tr[s.position].call(this,t,e);return a!==!1&&(i!==a.x||r!==a.y)}}Pl.positioners=Tr;var BK={id:"tooltip",_element:Pl,positioners:Tr,afterInit(n,t,e){e&&(n.tooltip=new Pl({chart:n,options:e}))},beforeUpdate(n,t,e){n.tooltip&&n.tooltip.initialize(e)},reset(n,t,e){n.tooltip&&n.tooltip.initialize(e)},afterDraw(n){const t=n.tooltip;if(t&&t._willRender()){const e={tooltip:t};if(n.notifyPlugins("beforeTooltipDraw",e)===!1)return;t.draw(n.ctx),n.notifyPlugins("afterTooltipDraw",e)}},afterEvent(n,t){if(n.tooltip){const e=t.replay;n.tooltip.handleEvent(t.event,e,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(n,t)=>t.bodyFont.size,boxWidth:(n,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:fn,title(n){if(n.length>0){const t=n[0],e=t.chart.data.labels,i=e?e.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(i>0&&t.dataIndex<i)return e[t.dataIndex]}return""},afterTitle:fn,beforeBody:fn,beforeLabel:fn,label(n){if(this&&this.options&&this.options.mode==="dataset")return n.label+": "+n.formattedValue||n.formattedValue;let t=n.dataset.label||"";t&&(t+=": ");const e=n.formattedValue;return Ee(e)||(t+=e),t},labelColor(n){const e=n.chart.getDatasetMeta(n.datasetIndex).controller.getStyle(n.dataIndex);return{borderColor:e.borderColor,backgroundColor:e.backgroundColor,borderWidth:e.borderWidth,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(n){const e=n.chart.getDatasetMeta(n.datasetIndex).controller.getStyle(n.dataIndex);return{pointStyle:e.pointStyle,rotation:e.rotation}},afterLabel:fn,afterBody:fn,beforeFooter:fn,footer:fn,afterFooter:fn}},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:n=>n!=="filter"&&n!=="itemSort"&&n!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const GK=(n,t,e,i)=>(typeof t=="string"?(e=n.push(t)-1,i.unshift({index:e,label:t})):isNaN(t)&&(e=null),e);function OK(n,t,e,i){const r=n.indexOf(t);if(r===-1)return GK(n,t,e,i);const s=n.lastIndexOf(t);return r!==s?e:r}const NK=(n,t)=>n===null?null:ut(Math.round(n),0,t);class ya extends yi{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const e=this._addedLabels;if(e.length){const i=this.getLabels();for(const{index:r,label:s}of e)i[r]===s&&i.splice(r,1);this._addedLabels=[]}super.init(t)}parse(t,e){if(Ee(t))return null;const i=this.getLabels();return e=isFinite(e)&&i[e]===t?e:OK(i,t,ge(e,t),this._addedLabels),NK(e,i.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let{min:i,max:r}=this.getMinMax(!0);this.options.bounds==="ticks"&&(t||(i=0),e||(r=this.getLabels().length-1)),this.min=i,this.max=r}buildTicks(){const t=this.min,e=this.max,i=this.options.offset,r=[];let s=this.getLabels();s=t===0&&e===s.length-1?s:s.slice(t,e+1),this._valueRange=Math.max(s.length-(i?0:1),1),this._startValue=this.min-(i?.5:0);for(let a=t;a<=e;a++)r.push({value:a});return r}getLabelForValue(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return typeof t!="number"&&(t=this.parse(t)),t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}ya.id="category";ya.defaults={ticks:{callback:ya.prototype.getLabelForValue}};function TK(n,t){const e=[],{bounds:r,step:s,min:a,max:o,precision:l,count:c,maxTicks:u,maxDigits:d,includeBounds:h}=n,g=s||1,f=u-1,{min:p,max:m}=t,b=!Ee(a),A=!Ee(o),y=!Ee(c),w=(m-p)/(d+1);let C=df((m-p)/f/g)*g,_,S,z,R;if(C<1e-14&&!b&&!A)return[{value:p},{value:m}];R=Math.ceil(m/C)-Math.floor(p/C),R>f&&(C=df(R*C/f/g)*g),Ee(l)||(_=Math.pow(10,l),C=Math.ceil(C*_)/_),r==="ticks"?(S=Math.floor(p/C)*C,z=Math.ceil(m/C)*C):(S=p,z=m),b&&A&&s&&M5((o-a)/s,C/1e3)?(R=Math.round(Math.min((o-a)/C,u)),C=(o-a)/R,S=a,z=o):y?(S=b?a:S,z=A?o:z,R=c-1,C=(z-S)/R):(R=(z-S)/C,Gr(R,Math.round(R),C/1e3)?R=Math.round(R):R=Math.ceil(R));const T=Math.max(ff(C),ff(S));_=Math.pow(10,Ee(l)?T:l),S=Math.round(S*_)/_,z=Math.round(z*_)/_;let x=0;for(b&&(h&&S!==a?(e.push({value:a}),S<a&&x++,Gr(Math.round((S+x*C)*_)/_,a,gh(a,w,n))&&x++):S<a&&x++);x<R;++x)e.push({value:Math.round((S+x*C)*_)/_});return A&&h&&z!==o?e.length&&Gr(e[e.length-1].value,o,gh(o,w,n))?e[e.length-1].value=o:e.push({value:o}):(!A||z===o)&&e.push({value:z}),e}function gh(n,t,{horizontal:e,minRotation:i}){const r=Yt(i),s=(e?Math.sin(r):Math.cos(r))||.001,a=.75*t*(""+n).length;return Math.min(t/s,a)}class Aa extends yi{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,e){return Ee(t)||(typeof t=="number"||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:e,maxDefined:i}=this.getUserBounds();let{min:r,max:s}=this;const a=l=>r=e?r:l,o=l=>s=i?s:l;if(t){const l=rn(r),c=rn(s);l<0&&c<0?o(0):l>0&&c>0&&a(0)}if(r===s){let l=1;(s>=Number.MAX_SAFE_INTEGER||r<=Number.MIN_SAFE_INTEGER)&&(l=Math.abs(s*.05)),o(s+l),t||a(r-l)}this.min=r,this.max=s}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:e,stepSize:i}=t,r;return i?(r=Math.ceil(this.max/i)-Math.floor(this.min/i)+1,r>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${i} would result generating up to ${r} ticks. Limiting to 1000.`),r=1e3)):(r=this.computeTickLimit(),e=e||11),e&&(r=Math.min(e,r)),r}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,e=t.ticks;let i=this.getTickLimit();i=Math.max(2,i);const r={maxTicks:i,bounds:t.bounds,min:t.min,max:t.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:e.includeBounds!==!1},s=this._range||this,a=TK(r,s);return t.bounds==="ticks"&&Tp(a,this,"value"),t.reverse?(a.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),a}configure(){const t=this.ticks;let e=this.min,i=this.max;if(super.configure(),this.options.offset&&t.length){const r=(i-e)/Math.max(t.length-1,1)/2;e-=r,i+=r}this._startValue=e,this._endValue=i,this._valueRange=i-e}getLabelForValue(t){return ls(t,this.chart.options.locale,this.options.ticks.format)}}class qc extends Aa{determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=Je(t)?t:0,this.max=Je(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),e=t?this.width:this.height,i=Yt(this.options.ticks.minRotation),r=(t?Math.sin(i):Math.cos(i))||.001,s=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,s.lineHeight/r))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}qc.id="linear";qc.defaults={ticks:{callback:Wa.formatters.numeric}};function ph(n){return n/Math.pow(10,Math.floor(Tt(n)))===1}function LK(n,t){const e=Math.floor(Tt(t.max)),i=Math.ceil(t.max/Math.pow(10,e)),r=[];let s=Bt(n.min,Math.pow(10,Math.floor(Tt(t.min)))),a=Math.floor(Tt(s)),o=Math.floor(s/Math.pow(10,a)),l=a<0?Math.pow(10,Math.abs(a)):1;do r.push({value:s,major:ph(s)}),++o,o===10&&(o=1,++a,l=a>=0?1:l),s=Math.round(o*Math.pow(10,a)*l)/l;while(a<e||a===e&&o<i);const c=Bt(n.max,s);return r.push({value:c,major:ph(s)}),r}class Mm extends yi{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,e){const i=Aa.prototype.parse.apply(this,[t,e]);if(i===0){this._zero=!0;return}return Je(i)&&i>0?i:null}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=Je(t)?Math.max(0,t):null,this.max=Je(e)?Math.max(0,e):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let i=this.min,r=this.max;const s=l=>i=t?i:l,a=l=>r=e?r:l,o=(l,c)=>Math.pow(10,Math.floor(Tt(l))+c);i===r&&(i<=0?(s(1),a(10)):(s(o(i,-1)),a(o(r,1)))),i<=0&&s(o(r,-1)),r<=0&&a(o(i,1)),this._zero&&this.min!==this._suggestedMin&&i===o(this.min,0)&&s(o(i,-1)),this.min=i,this.max=r}buildTicks(){const t=this.options,e={min:this._userMin,max:this._userMax},i=LK(e,this);return t.bounds==="ticks"&&Tp(i,this,"value"),t.reverse?(i.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),i}getLabelForValue(t){return t===void 0?"0":ls(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=Tt(t),this._valueRange=Tt(this.max)-Tt(t)}getPixelForValue(t){return(t===void 0||t===0)&&(t=this.min),t===null||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(Tt(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const e=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+e*this._valueRange)}}Mm.id="logarithmic";Mm.defaults={ticks:{callback:Wa.formatters.logarithmic,major:{enabled:!0}}};function Fl(n){const t=n.ticks;if(t.display&&n.display){const e=ht(t.backdropPadding);return ge(t.font&&t.font.size,Ce.font.size)+e.height}return 0}function jK(n,t,e){return e=Ne(e)?e:[e],{w:lJ(n,t.string,e),h:e.length*t.lineHeight}}function mh(n,t,e,i,r){return n===i||n===r?{start:t-e/2,end:t+e/2}:n<i||n>r?{start:t-e,end:t}:{start:t,end:t+e}}function PK(n){const t={l:n.left+n._padding.left,r:n.right-n._padding.right,t:n.top+n._padding.top,b:n.bottom-n._padding.bottom},e=Object.assign({},t),i=[],r=[],s=n._pointLabels.length,a=n.options.pointLabels,o=a.centerPointLabels?ze/s:0;for(let l=0;l<s;l++){const c=a.setContext(n.getPointLabelContext(l));r[l]=c.padding;const u=n.getPointPosition(l,n.drawingArea+r[l],o),d=$e(c.font),h=jK(n.ctx,d,n._pointLabels[l]);i[l]=h;const g=xt(n.getIndexAngle(l)+o),f=Math.round(Nc(g)),p=mh(f,u.x,h.w,0,180),m=mh(f,u.y,h.h,90,270);FK(e,t,g,p,m)}n.setCenterPoint(t.l-e.l,e.r-t.r,t.t-e.t,e.b-t.b),n._pointLabelItems=HK(n,i,r)}function FK(n,t,e,i,r){const s=Math.abs(Math.sin(e)),a=Math.abs(Math.cos(e));let o=0,l=0;i.start<t.l?(o=(t.l-i.start)/s,n.l=Math.min(n.l,t.l-o)):i.end>t.r&&(o=(i.end-t.r)/s,n.r=Math.max(n.r,t.r+o)),r.start<t.t?(l=(t.t-r.start)/a,n.t=Math.min(n.t,t.t-l)):r.end>t.b&&(l=(r.end-t.b)/a,n.b=Math.max(n.b,t.b+l))}function HK(n,t,e){const i=[],r=n._pointLabels.length,s=n.options,a=Fl(s)/2,o=n.drawingArea,l=s.pointLabels.centerPointLabels?ze/r:0;for(let c=0;c<r;c++){const u=n.getPointPosition(c,o+a+e[c],l),d=Math.round(Nc(xt(u.angle+Ze))),h=t[c],g=YK(u.y,h.h,d),f=zK(d),p=ZK(u.x,h.w,f);i.push({x:u.x,y:g,textAlign:f,left:p,top:g,right:p+h.w,bottom:g+h.h})}return i}function zK(n){return n===0||n===180?"center":n<180?"left":"right"}function ZK(n,t,e){return e==="right"?n-=t:e==="center"&&(n-=t/2),n}function YK(n,t,e){return e===90||e===270?n-=t/2:(e>270||e<90)&&(n-=t),n}function WK(n,t){const{ctx:e,options:{pointLabels:i}}=n;for(let r=t-1;r>=0;r--){const s=i.setContext(n.getPointLabelContext(r)),a=$e(s.font),{x:o,y:l,textAlign:c,left:u,top:d,right:h,bottom:g}=n._pointLabelItems[r],{backdropColor:f}=s;if(!Ee(f)){const p=ci(s.borderRadius),m=ht(s.backdropPadding);e.fillStyle=f;const b=u-m.left,A=d-m.top,y=h-u+m.width,w=g-d+m.height;Object.values(p).some(C=>C!==0)?(e.beginPath(),Jr(e,{x:b,y:A,w:y,h:w,radius:p}),e.fill()):e.fillRect(b,A,y,w)}gi(e,n._pointLabels[r],o,l+a.lineHeight/2,a,{color:s.color,textAlign:c,textBaseline:"middle"})}}function Dm(n,t,e,i){const{ctx:r}=n;if(e)r.arc(n.xCenter,n.yCenter,t,0,De);else{let s=n.getPointPosition(0,t);r.moveTo(s.x,s.y);for(let a=1;a<i;a++)s=n.getPointPosition(a,t),r.lineTo(s.x,s.y)}}function XK(n,t,e,i){const r=n.ctx,s=t.circular,{color:a,lineWidth:o}=t;!s&&!i||!a||!o||e<0||(r.save(),r.strokeStyle=a,r.lineWidth=o,r.setLineDash(t.borderDash),r.lineDashOffset=t.borderDashOffset,r.beginPath(),Dm(n,e,s,i),r.closePath(),r.stroke(),r.restore())}function VK(n,t,e){return Jn(n,{label:e,index:t,type:"pointLabel"})}class Qa extends Aa{constructor(t){super(t),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const t=this._padding=ht(Fl(this.options)/2),e=this.width=this.maxWidth-t.width,i=this.height=this.maxHeight-t.height;this.xCenter=Math.floor(this.left+e/2+t.left),this.yCenter=Math.floor(this.top+i/2+t.top),this.drawingArea=Math.floor(Math.min(e,i)/2)}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!1);this.min=Je(t)&&!isNaN(t)?t:0,this.max=Je(e)&&!isNaN(e)?e:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/Fl(this.options))}generateTickLabels(t){Aa.prototype.generateTickLabels.call(this,t),this._pointLabels=this.getLabels().map((e,i)=>{const r=Oe(this.options.pointLabels.callback,[e,i],this);return r||r===0?r:""}).filter((e,i)=>this.chart.getDataVisibility(i))}fit(){const t=this.options;t.display&&t.pointLabels.display?PK(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,e,i,r){this.xCenter+=Math.floor((t-e)/2),this.yCenter+=Math.floor((i-r)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,e,i,r))}getIndexAngle(t){const e=De/(this._pointLabels.length||1),i=this.options.startAngle||0;return xt(t*e+Yt(i))}getDistanceFromCenterForValue(t){if(Ee(t))return NaN;const e=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*e:(t-this.min)*e}getValueForDistanceFromCenter(t){if(Ee(t))return NaN;const e=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-e:this.min+e}getPointLabelContext(t){const e=this._pointLabels||[];if(t>=0&&t<e.length){const i=e[t];return VK(this.getContext(),t,i)}}getPointPosition(t,e,i=0){const r=this.getIndexAngle(t)-Ze+i;return{x:Math.cos(r)*e+this.xCenter,y:Math.sin(r)*e+this.yCenter,angle:r}}getPointPositionForValue(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))}getBasePosition(t){return this.getPointPositionForValue(t||0,this.getBaseValue())}getPointLabelPosition(t){const{left:e,top:i,right:r,bottom:s}=this._pointLabelItems[t];return{left:e,top:i,right:r,bottom:s}}drawBackground(){const{backgroundColor:t,grid:{circular:e}}=this.options;if(t){const i=this.ctx;i.save(),i.beginPath(),Dm(this,this.getDistanceFromCenterForValue(this._endValue),e,this._pointLabels.length),i.closePath(),i.fillStyle=t,i.fill(),i.restore()}}drawGrid(){const t=this.ctx,e=this.options,{angleLines:i,grid:r}=e,s=this._pointLabels.length;let a,o,l;if(e.pointLabels.display&&WK(this,s),r.display&&this.ticks.forEach((c,u)=>{if(u!==0){o=this.getDistanceFromCenterForValue(c.value);const d=r.setContext(this.getContext(u-1));XK(this,d,o,s)}}),i.display){for(t.save(),a=s-1;a>=0;a--){const c=i.setContext(this.getPointLabelContext(a)),{color:u,lineWidth:d}=c;!d||!u||(t.lineWidth=d,t.strokeStyle=u,t.setLineDash(c.borderDash),t.lineDashOffset=c.borderDashOffset,o=this.getDistanceFromCenterForValue(e.ticks.reverse?this.min:this.max),l=this.getPointPosition(a,o),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(l.x,l.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,e=this.options,i=e.ticks;if(!i.display)return;const r=this.getIndexAngle(0);let s,a;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(r),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((o,l)=>{if(l===0&&!e.reverse)return;const c=i.setContext(this.getContext(l)),u=$e(c.font);if(s=this.getDistanceFromCenterForValue(this.ticks[l].value),c.showLabelBackdrop){t.font=u.string,a=t.measureText(o.label).width,t.fillStyle=c.backdropColor;const d=ht(c.backdropPadding);t.fillRect(-a/2-d.left,-s-u.size/2-d.top,a+d.width,u.size+d.height)}gi(t,o.label,0,-s,u,{color:c.color})}),t.restore()}drawTitle(){}}Qa.id="radialLinear";Qa.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Wa.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(n){return n},padding:5,centerPointLabels:!1}};Qa.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};Qa.descriptors={angleLines:{_fallback:"grid"}};const Ua={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},vt=Object.keys(Ua);function JK(n,t){return n-t}function bh(n,t){if(Ee(t))return null;const e=n._adapter,{parser:i,round:r,isoWeekday:s}=n._parseOpts;let a=t;return typeof i=="function"&&(a=i(a)),Je(a)||(a=typeof i=="string"?e.parse(a,i):e.parse(a)),a===null?null:(r&&(a=r==="week"&&(Vi(s)||s===!0)?e.startOf(a,"isoWeek",s):e.startOf(a,r)),+a)}function vh(n,t,e,i){const r=vt.length;for(let s=vt.indexOf(n);s<r-1;++s){const a=Ua[vt[s]],o=a.steps?a.steps:Number.MAX_SAFE_INTEGER;if(a.common&&Math.ceil((e-t)/(o*a.size))<=i)return vt[s]}return vt[r-1]}function QK(n,t,e,i,r){for(let s=vt.length-1;s>=vt.indexOf(e);s--){const a=vt[s];if(Ua[a].common&&n._adapter.diff(r,i,a)>=t-1)return a}return vt[e?vt.indexOf(e):0]}function UK(n){for(let t=vt.indexOf(n)+1,e=vt.length;t<e;++t)if(Ua[vt[t]].common)return vt[t]}function yh(n,t,e){if(!e)n[t]=!0;else if(e.length){const{lo:i,hi:r}=Tc(e,t),s=e[i]>=t?e[i]:e[r];n[s]=!0}}function KK(n,t,e,i){const r=n._adapter,s=+r.startOf(t[0].value,i),a=t[t.length-1].value;let o,l;for(o=s;o<=a;o=+r.add(o,1,i))l=e[o],l>=0&&(t[l].major=!0);return t}function Ah(n,t,e){const i=[],r={},s=t.length;let a,o;for(a=0;a<s;++a)o=t[a],r[o]=a,i.push({value:o,major:!1});return s===0||!e?i:KK(n,i,r,e)}class Ka extends yi{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,e){const i=t.time||(t.time={}),r=this._adapter=new YQ._date(t.adapters.date);r.init(e),Br(i.displayFormats,r.formats()),this._parseOpts={parser:i.parser,round:i.round,isoWeekday:i.isoWeekday},super.init(t),this._normalized=e.normalized}parse(t,e){return t===void 0?null:bh(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,e=this._adapter,i=t.time.unit||"day";let{min:r,max:s,minDefined:a,maxDefined:o}=this.getUserBounds();function l(c){!a&&!isNaN(c.min)&&(r=Math.min(r,c.min)),!o&&!isNaN(c.max)&&(s=Math.max(s,c.max))}(!a||!o)&&(l(this._getLabelBounds()),(t.bounds!=="ticks"||t.ticks.source!=="labels")&&l(this.getMinMax(!1))),r=Je(r)&&!isNaN(r)?r:+e.startOf(Date.now(),i),s=Je(s)&&!isNaN(s)?s:+e.endOf(Date.now(),i)+1,this.min=Math.min(r,s-1),this.max=Math.max(r+1,s)}_getLabelBounds(){const t=this.getLabelTimestamps();let e=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;return t.length&&(e=t[0],i=t[t.length-1]),{min:e,max:i}}buildTicks(){const t=this.options,e=t.time,i=t.ticks,r=i.source==="labels"?this.getLabelTimestamps():this._generate();t.bounds==="ticks"&&r.length&&(this.min=this._userMin||r[0],this.max=this._userMax||r[r.length-1]);const s=this.min,a=this.max,o=O5(r,s,a);return this._unit=e.unit||(i.autoSkip?vh(e.minUnit,this.min,this.max,this._getLabelCapacity(s)):QK(this,o.length,e.minUnit,this.min,this.max)),this._majorUnit=!i.major.enabled||this._unit==="year"?void 0:UK(this._unit),this.initOffsets(r),t.reverse&&o.reverse(),Ah(this,o,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(t=>+t.value))}initOffsets(t){let e=0,i=0,r,s;this.options.offset&&t.length&&(r=this.getDecimalForValue(t[0]),t.length===1?e=1-r:e=(this.getDecimalForValue(t[1])-r)/2,s=this.getDecimalForValue(t[t.length-1]),t.length===1?i=s:i=(s-this.getDecimalForValue(t[t.length-2]))/2);const a=t.length<3?.5:.25;e=ut(e,0,a),i=ut(i,0,a),this._offsets={start:e,end:i,factor:1/(e+1+i)}}_generate(){const t=this._adapter,e=this.min,i=this.max,r=this.options,s=r.time,a=s.unit||vh(s.minUnit,e,i,this._getLabelCapacity(e)),o=ge(s.stepSize,1),l=a==="week"?s.isoWeekday:!1,c=Vi(l)||l===!0,u={};let d=e,h,g;if(c&&(d=+t.startOf(d,"isoWeek",l)),d=+t.startOf(d,c?"day":a),t.diff(i,e,a)>1e5*o)throw new Error(e+" and "+i+" are too far apart with stepSize of "+o+" "+a);const f=r.ticks.source==="data"&&this.getDataTimestamps();for(h=d,g=0;h<i;h=+t.add(h,o,a),g++)yh(u,h,f);return(h===i||r.bounds==="ticks"||g===1)&&yh(u,h,f),Object.keys(u).sort((p,m)=>p-m).map(p=>+p)}getLabelForValue(t){const e=this._adapter,i=this.options.time;return i.tooltipFormat?e.format(t,i.tooltipFormat):e.format(t,i.displayFormats.datetime)}_tickFormatFunction(t,e,i,r){const s=this.options,a=s.time.displayFormats,o=this._unit,l=this._majorUnit,c=o&&a[o],u=l&&a[l],d=i[e],h=l&&u&&d&&d.major,g=this._adapter.format(t,r||(h?u:c)),f=s.ticks.callback;return f?Oe(f,[g,e,i],this):g}generateTickLabels(t){let e,i,r;for(e=0,i=t.length;e<i;++e)r=t[e],r.label=this._tickFormatFunction(r.value,e,t)}getDecimalForValue(t){return t===null?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){const e=this._offsets,i=this.getDecimalForValue(t);return this.getPixelForDecimal((e.start+i)*e.factor)}getValueForPixel(t){const e=this._offsets,i=this.getDecimalForPixel(t)/e.factor-e.end;return this.min+i*(this.max-this.min)}_getLabelSize(t){const e=this.options.ticks,i=this.ctx.measureText(t).width,r=Yt(this.isHorizontal()?e.maxRotation:e.minRotation),s=Math.cos(r),a=Math.sin(r),o=this._resolveTickFontOptions(0).size;return{w:i*s+o*a,h:i*a+o*s}}_getLabelCapacity(t){const e=this.options.time,i=e.displayFormats,r=i[e.unit]||i.millisecond,s=this._tickFormatFunction(t,0,Ah(this,[t],this._majorUnit),r),a=this._getLabelSize(s),o=Math.floor(this.isHorizontal()?this.width/a.w:this.height/a.h)-1;return o>0?o:1}getDataTimestamps(){let t=this._cache.data||[],e,i;if(t.length)return t;const r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(e=0,i=r.length;e<i;++e)t=t.concat(r[e].controller.getAllParsedValues(this));return this._cache.data=this.normalize(t)}getLabelTimestamps(){const t=this._cache.labels||[];let e,i;if(t.length)return t;const r=this.getLabels();for(e=0,i=r.length;e<i;++e)t.push(bh(this,r[e]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return Pp(t.sort(JK))}}Ka.id="time";Ka.defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",major:{enabled:!1}}};function js(n,t,e){let i=0,r=n.length-1,s,a,o,l;e?(t>=n[i].pos&&t<=n[r].pos&&({lo:i,hi:r}=ai(n,"pos",t)),{pos:s,time:o}=n[i],{pos:a,time:l}=n[r]):(t>=n[i].time&&t<=n[r].time&&({lo:i,hi:r}=ai(n,"time",t)),{time:s,pos:o}=n[i],{time:a,pos:l}=n[r]);const c=a-s;return c?o+(l-o)*(t-s)/c:o}class Bm extends Ka{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(t);this._minPos=js(e,this.min),this._tableRange=js(e,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:e,max:i}=this,r=[],s=[];let a,o,l,c,u;for(a=0,o=t.length;a<o;++a)c=t[a],c>=e&&c<=i&&r.push(c);if(r.length<2)return[{time:e,pos:0},{time:i,pos:1}];for(a=0,o=r.length;a<o;++a)u=r[a+1],l=r[a-1],c=r[a],Math.round((u+l)/2)!==c&&s.push({time:c,pos:a/(o-1)});return s}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const e=this.getDataTimestamps(),i=this.getLabelTimestamps();return e.length&&i.length?t=this.normalize(e.concat(i)):t=e.length?e:i,t=this._cache.all=t,t}getDecimalForValue(t){return(js(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const e=this._offsets,i=this.getDecimalForPixel(t)/e.factor-e.end;return js(this._table,i*this._tableRange+this._minPos,!0)}}Bm.id="timeseries";Bm.defaults=Ka.defaults;const Gm="label";function Ch(n,t){typeof n=="function"?n(t):n&&(n.current=t)}function qK(n,t){Object.assign(n.options,t)}function Om(n,t){n.labels=t}function Nm(n,t){let e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Gm;const i=[];n.datasets=t.map(r=>{const s=n.datasets.find(a=>a[e]===r[e]);return!s||!r.data||i.includes(s)?{...r}:(i.push(s),Object.assign(s,r),s)})}function $K(n){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Gm;const e={labels:[],datasets:[]};return Om(e,n.labels),Nm(e,n.datasets,t),e}function e7(n,t){let{height:e=150,width:i=300,redraw:r=!1,datasetIdKey:s,type:a,data:o,options:l,plugins:c=[],fallbackContent:u,updateMode:d,...h}=n;const g=E.useRef(null),f=E.useRef(),p=()=>{g.current&&(f.current=new ln(g.current,{type:a,data:$K(o,s),options:l&&{...l},plugins:c}),Ch(t,f.current))},m=()=>{Ch(t,null),f.current&&(f.current.destroy(),f.current=null)};return E.useEffect(()=>{!r&&f.current&&l&&qK(f.current,l)},[r,l]),E.useEffect(()=>{!r&&f.current&&Om(f.current.config.data,o.labels)},[r,o.labels]),E.useEffect(()=>{!r&&f.current&&o.datasets&&Nm(f.current.config.data,o.datasets,s)},[r,o.datasets]),E.useEffect(()=>{f.current&&(r?(m(),setTimeout(p)):f.current.update(d))},[r,l,o.labels,o.datasets,d]),E.useEffect(()=>{f.current&&(m(),setTimeout(p))},[a]),E.useEffect(()=>(p(),()=>m()),[]),E.createElement("canvas",Object.assign({ref:g,role:"img",height:e,width:i},h),u)}const t7=E.forwardRef(e7);function $c(n,t){return ln.register(t),E.forwardRef((e,i)=>E.createElement(t7,Object.assign({},e,{ref:i,type:n})))}const n7=$c("line",Ya),i7=$c("bar",Za),r7=$c("pie",Jc);function s7({data:n,options:t}){return v.jsx(i7,{options:{responsive:!0,scales:{x:{stacked:!0},y:{stacked:!0}},...t},data:n})}const a7="_legends_yisya_1",o7="_dot_yisya_15",Ih={legends:a7,dot:o7};function l7({items:n,colorMap:t}){const e=i=>i==null?void 0:i.map((r,s)=>v.jsxs("li",{children:[v.jsx("span",{className:Ih.dot,style:{backgroundColor:t[r.text]||"#037cf9"}}),v.jsx("span",{children:r.text})]},s));return v.jsx("ul",{className:Ih.legends,children:e(n)})}function c7({data:n,options:t,lineRef:e=null}){return v.jsx(n7,{options:{responsive:!0,...t},ref:e,data:n})}function u7({data:n,options:t}){var i;function e(r){switch(r){case 0:case 1:return 88;case 2:return 76;case 3:return 63;default:return 50}}return v.jsx(r7,{options:{responsive:!0,elements:{arc:{borderWidth:0,offset:0}},plugins:{filler:{propagate:!1}},cutout:`${e((i=n.datasets)==null?void 0:i.length)}%`,...t},data:n})}const d7={Bar:s7,Pie:u7,Line:c7,Legends:l7};ln.defaults.color="#fff";ln.defaults.borderColor="#3C4560";ln.defaults.responsive=!0;ln.defaults.maintainAspectRatio=!0;ln.register(ya,qc,Ja,Xa,Va,Qn,yK,xK,BK,IK);ln.defaults.plugins.legend.display=!1;const f7="_checkbox_1ie3h_236",h7="_slider_1ie3h_328",g7="_round_1ie3h_375",zo={"icon-applications":"_icon-applications_1ie3h_16","icon-attach":"_icon-attach_1ie3h_20","icon-attachment":"_icon-attachment_1ie3h_24","icon-billing":"_icon-billing_1ie3h_28","icon-box":"_icon-box_1ie3h_32","icon-calendar":"_icon-calendar_1ie3h_36","icon-cart":"_icon-cart_1ie3h_40","icon-certificate":"_icon-certificate_1ie3h_44","icon-check":"_icon-check_1ie3h_48","icon-chevron-left":"_icon-chevron-left_1ie3h_52","icon-chevron-right":"_icon-chevron-right_1ie3h_56","icon-circle-minus":"_icon-circle-minus_1ie3h_60","icon-circle-plus":"_icon-circle-plus_1ie3h_64","icon-clock":"_icon-clock_1ie3h_68","icon-close":"_icon-close_1ie3h_72","icon-copy":"_icon-copy_1ie3h_76","icon-credit-card":"_icon-credit-card_1ie3h_80","icon-document":"_icon-document_1ie3h_84","icon-domain-registration":"_icon-domain-registration_1ie3h_88","icon-domains":"_icon-domains_1ie3h_92","icon-down-arrow":"_icon-down-arrow_1ie3h_96","icon-down-square":"_icon-down-square_1ie3h_100","icon-down":"_icon-down_1ie3h_96","icon-download":"_icon-download_1ie3h_108","icon-edit-outline":"_icon-edit-outline_1ie3h_112","icon-edit":"_icon-edit_1ie3h_112","icon-email":"_icon-email_1ie3h_120","icon-environment":"_icon-environment_1ie3h_124","icon-error-fill":"_icon-error-fill_1ie3h_128","icon-error":"_icon-error_1ie3h_128","icon-fileTextOutlined":"_icon-fileTextOutlined_1ie3h_136","icon-info":"_icon-info_1ie3h_140","icon-install":"_icon-install_1ie3h_144","icon-link":"_icon-link_1ie3h_148","icon-log":"_icon-log_1ie3h_152","icon-menu-close":"_icon-menu-close_1ie3h_156","icon-menu-open":"_icon-menu-open_1ie3h_160","icon-monitoring":"_icon-monitoring_1ie3h_164","icon-network":"_icon-network_1ie3h_168","icon-no-results":"_icon-no-results_1ie3h_172","icon-not-edit":"_icon-not-edit_1ie3h_176","icon-path":"_icon-path_1ie3h_180","icon-plus":"_icon-plus_1ie3h_184","icon-preview":"_icon-preview_1ie3h_188","icon-profile":"_icon-profile_1ie3h_192","icon-project-list":"_icon-project-list_1ie3h_196","icon-projects":"_icon-projects_1ie3h_200","icon-reload":"_icon-reload_1ie3h_204","icon-retry":"_icon-retry_1ie3h_208","icon-search":"_icon-search_1ie3h_212","icon-settings":"_icon-settings_1ie3h_216","icon-support":"_icon-support_1ie3h_220","icon-trash":"_icon-trash_1ie3h_224","icon-users":"_icon-users_1ie3h_228","icon-warning":"_icon-warning_1ie3h_232",checkbox:f7,switch:"_switch_1ie3h_311","text-hide":"_text-hide_1ie3h_318",slider:h7,round:g7},Hl=E.forwardRef(({name:n,label:t,labelAppearance:e,error:i,isDisabled:r=!1,isInline:s,checked:a=!1,onChange:o,wrapperClassName:l,...c})=>{const[u,d]=E.useState(a||!!c.value);E.useEffect(()=>{d(a)},[a]);const h=g=>{!c.readOnly&&!r&&(g.persist(),d(!u),o&&o(g))};return v.jsxs(v.Fragment,{children:[v.jsxs("div",{className:ee(zo.checkbox,l,{[zo.inline]:s}),"data-testid":"checkbox",children:[v.jsx("input",{type:"checkbox",name:n,disabled:r,checked:u,onChange:h,...c}),v.jsx(an,{className:zo.label,name:n,appearance:e,children:t&&v.jsx("span",{children:t})})]}),i&&v.jsx(vi,{...i})]})}),p7="_configWrapper_q9ieu_1",m7="_configItem_q9ieu_5",b7="_configItemTitle_q9ieu_12",_r={configWrapper:p7,configItem:m7,configItemTitle:b7};function v7({config:n,scrollProps:t}){const e=()=>Object.keys(n).map(i=>{var r,s,a;return(r=n[i])!=null&&r.isUrl?v.jsxs("li",{className:_r.configItem,"data-testid":"config-list-item",children:[v.jsx("span",{className:_r.configItemTitle,children:`${i}: `}),v.jsx("a",{className:"link",target:"_blank",rel:"noreferrer",href:(s=n[i])==null?void 0:s.url,children:`${(a=n[i])==null?void 0:a.url}`})]},i):v.jsxs("li",{className:_r.configItem,"data-testid":"config-list-item",children:[v.jsx("span",{className:_r.configItemTitle,children:`${i}: `}),v.jsx("span",{children:`${n[i]}`})]},i)});return v.jsx(Pa,{...t,children:v.jsx("ul",{className:_r.configWrapper,"data-testid":"config-list",children:e()})})}const y7="_modal_1jora_1",A7="_content_1jora_16",C7="_header_1jora_26",I7="_close_1jora_46",w7="_body_1jora_53",x7="_desc_1jora_57",_7="_modal__light_1jora_61",$n={modal:y7,content:A7,header:C7,close:I7,body:w7,desc:x7,modal__light:_7},qa=n=>{const{children:t,header:e,title:i,description:r,className:s,onClose:a,visible:o=!0,appearance:l,headerClass:c,descriptionClass:u}=n,d=()=>{document.body.style.width="calc(100% - 15px)",document.body.className="overflow-hidden"},h=()=>{document.body.className="",document.body.removeAttribute("style")},g=()=>{a()};return E.useEffect(()=>(o&&d(),()=>{h()}),[o]),v.jsx(v.Fragment,{children:o&&v.jsx("div",{className:ee($n.modal,{[$n[`modal__${l}`]]:l}),"data-testid":"modal-container",children:v.jsxs("div",{className:ee(s,$n.content),children:[i||e?v.jsxs("div",{className:ee($n.header,c),children:[i?v.jsx("h2",{children:i}):e,v.jsx("span",{className:$n.close,onClick:g,children:v.jsx(Pe,{name:Ve.Close})})]}):v.jsx(v.Fragment,{}),v.jsxs("div",{className:$n.body,children:[r&&v.jsx("p",{className:ee($n.desc,u),children:r}),t]})]})})})};function Tm(n){const t=E.useId(),e=n||t,i=lc(e);return[()=>{i.show({id:e})},()=>{Sa.remove(e)},i.id]}const k7="_btnWrap_ztmp0_1",E7="_dark_ztmp0_9",wh={btnWrap:k7,dark:E7},S7=n=>{const{t}=yt(),[,e]=Tm(n.id),{onClose:i,okBtnCallback:r,isLoading:s,appearence:a=zn.LIGHT,description:o,descriptionClassName:l,title:c=t("title.warning"),okBtnText:u=t("button.yes_proceed"),cancelBtnText:d=t("button.cancel")}=n,h=()=>{e(),i&&i()};return v.jsxs(qa,{title:c,appearance:a,onClose:h,children:[v.jsx("p",{className:ee(l,{[wh.dark]:zn.DARK}),children:o}),v.jsxs("div",{className:wh.btnWrap,children:[v.jsx(es,{appearance:pi.PRIMARY,onClick:r,isLoading:s,children:u}),v.jsx("a",{className:"link",onClick:h,children:d})]})]})},R7=Sa.create(S7);/*! *****************************************************************************
210
+ `):n}function _K(n,t){const{element:e,datasetIndex:i,index:r}=t,s=n.getDatasetMeta(i).controller,{label:a,value:o}=s.getLabelAndValue(r);return{chart:n,label:a,parsed:s.getParsed(r),raw:n.data.datasets[i].data[r],formattedValue:o,dataset:s.getDataset(),dataIndex:r,datasetIndex:i,element:e}}function ch(n,t){const e=n.chart.ctx,{body:i,footer:r,title:s}=n,{boxWidth:a,boxHeight:o}=t,l=et(t.bodyFont),c=et(t.titleFont),u=et(t.footerFont),d=s.length,h=r.length,g=i.length,f=ht(t.padding);let p=f.height,m=0,b=i.reduce((w,C)=>w+C.before.length+C.lines.length+C.after.length,0);if(b+=n.beforeBody.length+n.afterBody.length,d&&(p+=d*c.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),b){const w=t.displayColors?Math.max(o,l.lineHeight):l.lineHeight;p+=g*w+(b-g)*l.lineHeight+(b-1)*t.bodySpacing}h&&(p+=t.footerMarginTop+h*u.lineHeight+(h-1)*t.footerSpacing);let A=0;const y=function(w){m=Math.max(m,e.measureText(w).width+A)};return e.save(),e.font=c.string,Re(n.title,y),e.font=l.string,Re(n.beforeBody.concat(n.afterBody),y),A=t.displayColors?a+2+t.boxPadding:0,Re(i,w=>{Re(w.before,y),Re(w.lines,y),Re(w.after,y)}),A=0,e.font=u.string,Re(n.footer,y),e.restore(),m+=f.width,{width:m,height:p}}function kK(n,t){const{y:e,height:i}=t;return e<i/2?"top":e>n.height-i/2?"bottom":"center"}function EK(n,t,e,i){const{x:r,width:s}=i,a=e.caretSize+e.caretPadding;if(n==="left"&&r+s+a>t.width||n==="right"&&r-s-a<0)return!0}function SK(n,t,e,i){const{x:r,width:s}=e,{width:a,chartArea:{left:o,right:l}}=n;let c="center";return i==="center"?c=r<=(o+l)/2?"left":"right":r<=s/2?c="left":r>=a-s/2&&(c="right"),EK(c,n,t,e)&&(c="center"),c}function uh(n,t,e){const i=e.yAlign||t.yAlign||kK(n,e);return{xAlign:e.xAlign||t.xAlign||SK(n,t,e,i),yAlign:i}}function RK(n,t){let{x:e,width:i}=n;return t==="right"?e-=i:t==="center"&&(e-=i/2),e}function MK(n,t,e){let{y:i,height:r}=n;return t==="top"?i+=e:t==="bottom"?i-=r+e:i-=r/2,i}function dh(n,t,e,i){const{caretSize:r,caretPadding:s,cornerRadius:a}=n,{xAlign:o,yAlign:l}=e,c=r+s,{topLeft:u,topRight:d,bottomLeft:h,bottomRight:g}=ci(a);let f=RK(t,o);const p=MK(t,l,c);return l==="center"?o==="left"?f+=c:o==="right"&&(f-=c):o==="left"?f-=Math.max(u,h)+r:o==="right"&&(f+=Math.max(d,g)+r),{x:ut(f,0,i.width-t.width),y:ut(p,0,i.height-t.height)}}function Ls(n,t,e){const i=ht(e.padding);return t==="center"?n.x+n.width/2:t==="right"?n.x+n.width-i.right:n.x+i.left}function fh(n){return en([],mn(n))}function DK(n,t,e){return Jn(n,{tooltip:t,tooltipItems:e,type:"tooltip"})}function hh(n,t){const e=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return e?n.override(e):n}class Pl extends Ut{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart||t._chart,this._chart=this.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const e=this.chart,i=this.options.setContext(this.getContext()),r=i.enabled&&e.options.animation&&i.animations,s=new cm(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(s)),s}getContext(){return this.$context||(this.$context=DK(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,e){const{callbacks:i}=e,r=i.beforeTitle.apply(this,[t]),s=i.title.apply(this,[t]),a=i.afterTitle.apply(this,[t]);let o=[];return o=en(o,mn(r)),o=en(o,mn(s)),o=en(o,mn(a)),o}getBeforeBody(t,e){return fh(e.callbacks.beforeBody.apply(this,[t]))}getBody(t,e){const{callbacks:i}=e,r=[];return Re(t,s=>{const a={before:[],lines:[],after:[]},o=hh(i,s);en(a.before,mn(o.beforeLabel.call(this,s))),en(a.lines,o.label.call(this,s)),en(a.after,mn(o.afterLabel.call(this,s))),r.push(a)}),r}getAfterBody(t,e){return fh(e.callbacks.afterBody.apply(this,[t]))}getFooter(t,e){const{callbacks:i}=e,r=i.beforeFooter.apply(this,[t]),s=i.footer.apply(this,[t]),a=i.afterFooter.apply(this,[t]);let o=[];return o=en(o,mn(r)),o=en(o,mn(s)),o=en(o,mn(a)),o}_createItems(t){const e=this._active,i=this.chart.data,r=[],s=[],a=[];let o=[],l,c;for(l=0,c=e.length;l<c;++l)o.push(_K(this.chart,e[l]));return t.filter&&(o=o.filter((u,d,h)=>t.filter(u,d,h,i))),t.itemSort&&(o=o.sort((u,d)=>t.itemSort(u,d,i))),Re(o,u=>{const d=hh(t.callbacks,u);r.push(d.labelColor.call(this,u)),s.push(d.labelPointStyle.call(this,u)),a.push(d.labelTextColor.call(this,u))}),this.labelColors=r,this.labelPointStyles=s,this.labelTextColors=a,this.dataPoints=o,o}update(t,e){const i=this.options.setContext(this.getContext()),r=this._active;let s,a=[];if(!r.length)this.opacity!==0&&(s={opacity:0});else{const o=Tr[i.position].call(this,r,this._eventPosition);a=this._createItems(i),this.title=this.getTitle(a,i),this.beforeBody=this.getBeforeBody(a,i),this.body=this.getBody(a,i),this.afterBody=this.getAfterBody(a,i),this.footer=this.getFooter(a,i);const l=this._size=ch(this,i),c=Object.assign({},o,l),u=uh(this.chart,i,c),d=dh(i,c,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,s={opacity:1,x:d.x,y:d.y,width:l.width,height:l.height,caretX:o.x,caretY:o.y}}this._tooltipItems=a,this.$context=void 0,s&&this._resolveAnimations().update(this,s),t&&i.external&&i.external.call(this,{chart:this.chart,tooltip:this,replay:e})}drawCaret(t,e,i,r){const s=this.getCaretPosition(t,i,r);e.lineTo(s.x1,s.y1),e.lineTo(s.x2,s.y2),e.lineTo(s.x3,s.y3)}getCaretPosition(t,e,i){const{xAlign:r,yAlign:s}=this,{caretSize:a,cornerRadius:o}=i,{topLeft:l,topRight:c,bottomLeft:u,bottomRight:d}=ci(o),{x:h,y:g}=t,{width:f,height:p}=e;let m,b,A,y,w,C;return s==="center"?(w=g+p/2,r==="left"?(m=h,b=m-a,y=w+a,C=w-a):(m=h+f,b=m+a,y=w-a,C=w+a),A=m):(r==="left"?b=h+Math.max(l,u)+a:r==="right"?b=h+f-Math.max(c,d)-a:b=this.caretX,s==="top"?(y=g,w=y-a,m=b-a,A=b+a):(y=g+p,w=y+a,m=b+a,A=b-a),C=y),{x1:m,x2:b,x3:A,y1:y,y2:w,y3:C}}drawTitle(t,e,i){const r=this.title,s=r.length;let a,o,l;if(s){const c=Hi(i.rtl,this.x,this.width);for(t.x=Ls(this,i.titleAlign,i),e.textAlign=c.textAlign(i.titleAlign),e.textBaseline="middle",a=et(i.titleFont),o=i.titleSpacing,e.fillStyle=i.titleColor,e.font=a.string,l=0;l<s;++l)e.fillText(r[l],c.x(t.x),t.y+a.lineHeight/2),t.y+=a.lineHeight+o,l+1===s&&(t.y+=i.titleMarginBottom-o)}}_drawColorBox(t,e,i,r,s){const a=this.labelColors[i],o=this.labelPointStyles[i],{boxHeight:l,boxWidth:c,boxPadding:u}=s,d=et(s.bodyFont),h=Ls(this,"left",s),g=r.x(h),f=l<d.lineHeight?(d.lineHeight-l)/2:0,p=e.y+f;if(s.usePointStyle){const m={radius:Math.min(c,l)/2,pointStyle:o.pointStyle,rotation:o.rotation,borderWidth:1},b=r.leftForLtr(g,c)+c/2,A=p+l/2;t.strokeStyle=s.multiKeyBackground,t.fillStyle=s.multiKeyBackground,Bl(t,m,b,A),t.strokeStyle=a.borderColor,t.fillStyle=a.backgroundColor,Bl(t,m,b,A)}else{t.lineWidth=Ae(a.borderWidth)?Math.max(...Object.values(a.borderWidth)):a.borderWidth||1,t.strokeStyle=a.borderColor,t.setLineDash(a.borderDash||[]),t.lineDashOffset=a.borderDashOffset||0;const m=r.leftForLtr(g,c-u),b=r.leftForLtr(r.xPlus(g,1),c-u-2),A=ci(a.borderRadius);Object.values(A).some(y=>y!==0)?(t.beginPath(),t.fillStyle=s.multiKeyBackground,Jr(t,{x:m,y:p,w:c,h:l,radius:A}),t.fill(),t.stroke(),t.fillStyle=a.backgroundColor,t.beginPath(),Jr(t,{x:b,y:p+1,w:c-2,h:l-2,radius:A}),t.fill()):(t.fillStyle=s.multiKeyBackground,t.fillRect(m,p,c,l),t.strokeRect(m,p,c,l),t.fillStyle=a.backgroundColor,t.fillRect(b,p+1,c-2,l-2))}t.fillStyle=this.labelTextColors[i]}drawBody(t,e,i){const{body:r}=this,{bodySpacing:s,bodyAlign:a,displayColors:o,boxHeight:l,boxWidth:c,boxPadding:u}=i,d=et(i.bodyFont);let h=d.lineHeight,g=0;const f=Hi(i.rtl,this.x,this.width),p=function(z){e.fillText(z,f.x(t.x+g),t.y+h/2),t.y+=h+s},m=f.textAlign(a);let b,A,y,w,C,_,S;for(e.textAlign=a,e.textBaseline="middle",e.font=d.string,t.x=Ls(this,m,i),e.fillStyle=i.bodyColor,Re(this.beforeBody,p),g=o&&m!=="right"?a==="center"?c/2+u:c+2+u:0,w=0,_=r.length;w<_;++w){for(b=r[w],A=this.labelTextColors[w],e.fillStyle=A,Re(b.before,p),y=b.lines,o&&y.length&&(this._drawColorBox(e,t,w,f,i),h=Math.max(d.lineHeight,l)),C=0,S=y.length;C<S;++C)p(y[C]),h=d.lineHeight;Re(b.after,p)}g=0,h=d.lineHeight,Re(this.afterBody,p),t.y-=s}drawFooter(t,e,i){const r=this.footer,s=r.length;let a,o;if(s){const l=Hi(i.rtl,this.x,this.width);for(t.x=Ls(this,i.footerAlign,i),t.y+=i.footerMarginTop,e.textAlign=l.textAlign(i.footerAlign),e.textBaseline="middle",a=et(i.footerFont),e.fillStyle=i.footerColor,e.font=a.string,o=0;o<s;++o)e.fillText(r[o],l.x(t.x),t.y+a.lineHeight/2),t.y+=a.lineHeight+i.footerSpacing}}drawBackground(t,e,i,r){const{xAlign:s,yAlign:a}=this,{x:o,y:l}=t,{width:c,height:u}=i,{topLeft:d,topRight:h,bottomLeft:g,bottomRight:f}=ci(r.cornerRadius);e.fillStyle=r.backgroundColor,e.strokeStyle=r.borderColor,e.lineWidth=r.borderWidth,e.beginPath(),e.moveTo(o+d,l),a==="top"&&this.drawCaret(t,e,i,r),e.lineTo(o+c-h,l),e.quadraticCurveTo(o+c,l,o+c,l+h),a==="center"&&s==="right"&&this.drawCaret(t,e,i,r),e.lineTo(o+c,l+u-f),e.quadraticCurveTo(o+c,l+u,o+c-f,l+u),a==="bottom"&&this.drawCaret(t,e,i,r),e.lineTo(o+g,l+u),e.quadraticCurveTo(o,l+u,o,l+u-g),a==="center"&&s==="left"&&this.drawCaret(t,e,i,r),e.lineTo(o,l+d),e.quadraticCurveTo(o,l,o+d,l),e.closePath(),e.fill(),r.borderWidth>0&&e.stroke()}_updateAnimationTarget(t){const e=this.chart,i=this.$animations,r=i&&i.x,s=i&&i.y;if(r||s){const a=Tr[t.position].call(this,this._active,this._eventPosition);if(!a)return;const o=this._size=ch(this,t),l=Object.assign({},a,this._size),c=uh(e,t,l),u=dh(t,l,c,e);(r._to!==u.x||s._to!==u.y)&&(this.xAlign=c.xAlign,this.yAlign=c.yAlign,this.width=o.width,this.height=o.height,this.caretX=a.x,this.caretY=a.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(t){const e=this.options.setContext(this.getContext());let i=this.opacity;if(!i)return;this._updateAnimationTarget(e);const r={width:this.width,height:this.height},s={x:this.x,y:this.y};i=Math.abs(i)<.001?0:i;const a=ht(e.padding),o=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;e.enabled&&o&&(t.save(),t.globalAlpha=i,this.drawBackground(s,t,r,e),rm(t,e.textDirection),s.y+=a.top,this.drawTitle(s,t,e),this.drawBody(s,t,e),this.drawFooter(s,t,e),sm(t,e.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,e){const i=this._active,r=t.map(({datasetIndex:o,index:l})=>{const c=this.chart.getDatasetMeta(o);if(!c)throw new Error("Cannot find a dataset at index "+o);return{datasetIndex:o,element:c.data[l],index:l}}),s=!da(i,r),a=this._positionChanged(r,e);(s||a)&&(this._active=r,this._eventPosition=e,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,e,i=!0){if(e&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const r=this.options,s=this._active||[],a=this._getActiveElements(t,s,e,i),o=this._positionChanged(a,t),l=e||!da(a,s)||o;return l&&(this._active=a,(r.enabled||r.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),l}_getActiveElements(t,e,i,r){const s=this.options;if(t.type==="mouseout")return[];if(!r)return e;const a=this.chart.getElementsAtEventForMode(t,s.mode,s,i);return s.reverse&&a.reverse(),a}_positionChanged(t,e){const{caretX:i,caretY:r,options:s}=this,a=Tr[s.position].call(this,t,e);return a!==!1&&(i!==a.x||r!==a.y)}}Pl.positioners=Tr;var BK={id:"tooltip",_element:Pl,positioners:Tr,afterInit(n,t,e){e&&(n.tooltip=new Pl({chart:n,options:e}))},beforeUpdate(n,t,e){n.tooltip&&n.tooltip.initialize(e)},reset(n,t,e){n.tooltip&&n.tooltip.initialize(e)},afterDraw(n){const t=n.tooltip;if(t&&t._willRender()){const e={tooltip:t};if(n.notifyPlugins("beforeTooltipDraw",e)===!1)return;t.draw(n.ctx),n.notifyPlugins("afterTooltipDraw",e)}},afterEvent(n,t){if(n.tooltip){const e=t.replay;n.tooltip.handleEvent(t.event,e,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(n,t)=>t.bodyFont.size,boxWidth:(n,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:fn,title(n){if(n.length>0){const t=n[0],e=t.chart.data.labels,i=e?e.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(i>0&&t.dataIndex<i)return e[t.dataIndex]}return""},afterTitle:fn,beforeBody:fn,beforeLabel:fn,label(n){if(this&&this.options&&this.options.mode==="dataset")return n.label+": "+n.formattedValue||n.formattedValue;let t=n.dataset.label||"";t&&(t+=": ");const e=n.formattedValue;return Ee(e)||(t+=e),t},labelColor(n){const e=n.chart.getDatasetMeta(n.datasetIndex).controller.getStyle(n.dataIndex);return{borderColor:e.borderColor,backgroundColor:e.backgroundColor,borderWidth:e.borderWidth,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(n){const e=n.chart.getDatasetMeta(n.datasetIndex).controller.getStyle(n.dataIndex);return{pointStyle:e.pointStyle,rotation:e.rotation}},afterLabel:fn,afterBody:fn,beforeFooter:fn,footer:fn,afterFooter:fn}},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:n=>n!=="filter"&&n!=="itemSort"&&n!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const GK=(n,t,e,i)=>(typeof t=="string"?(e=n.push(t)-1,i.unshift({index:e,label:t})):isNaN(t)&&(e=null),e);function OK(n,t,e,i){const r=n.indexOf(t);if(r===-1)return GK(n,t,e,i);const s=n.lastIndexOf(t);return r!==s?e:r}const NK=(n,t)=>n===null?null:ut(Math.round(n),0,t);class ya extends yi{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const e=this._addedLabels;if(e.length){const i=this.getLabels();for(const{index:r,label:s}of e)i[r]===s&&i.splice(r,1);this._addedLabels=[]}super.init(t)}parse(t,e){if(Ee(t))return null;const i=this.getLabels();return e=isFinite(e)&&i[e]===t?e:OK(i,t,ge(e,t),this._addedLabels),NK(e,i.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let{min:i,max:r}=this.getMinMax(!0);this.options.bounds==="ticks"&&(t||(i=0),e||(r=this.getLabels().length-1)),this.min=i,this.max=r}buildTicks(){const t=this.min,e=this.max,i=this.options.offset,r=[];let s=this.getLabels();s=t===0&&e===s.length-1?s:s.slice(t,e+1),this._valueRange=Math.max(s.length-(i?0:1),1),this._startValue=this.min-(i?.5:0);for(let a=t;a<=e;a++)r.push({value:a});return r}getLabelForValue(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return typeof t!="number"&&(t=this.parse(t)),t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}ya.id="category";ya.defaults={ticks:{callback:ya.prototype.getLabelForValue}};function TK(n,t){const e=[],{bounds:r,step:s,min:a,max:o,precision:l,count:c,maxTicks:u,maxDigits:d,includeBounds:h}=n,g=s||1,f=u-1,{min:p,max:m}=t,b=!Ee(a),A=!Ee(o),y=!Ee(c),w=(m-p)/(d+1);let C=df((m-p)/f/g)*g,_,S,z,R;if(C<1e-14&&!b&&!A)return[{value:p},{value:m}];R=Math.ceil(m/C)-Math.floor(p/C),R>f&&(C=df(R*C/f/g)*g),Ee(l)||(_=Math.pow(10,l),C=Math.ceil(C*_)/_),r==="ticks"?(S=Math.floor(p/C)*C,z=Math.ceil(m/C)*C):(S=p,z=m),b&&A&&s&&M5((o-a)/s,C/1e3)?(R=Math.round(Math.min((o-a)/C,u)),C=(o-a)/R,S=a,z=o):y?(S=b?a:S,z=A?o:z,R=c-1,C=(z-S)/R):(R=(z-S)/C,Gr(R,Math.round(R),C/1e3)?R=Math.round(R):R=Math.ceil(R));const T=Math.max(ff(C),ff(S));_=Math.pow(10,Ee(l)?T:l),S=Math.round(S*_)/_,z=Math.round(z*_)/_;let x=0;for(b&&(h&&S!==a?(e.push({value:a}),S<a&&x++,Gr(Math.round((S+x*C)*_)/_,a,gh(a,w,n))&&x++):S<a&&x++);x<R;++x)e.push({value:Math.round((S+x*C)*_)/_});return A&&h&&z!==o?e.length&&Gr(e[e.length-1].value,o,gh(o,w,n))?e[e.length-1].value=o:e.push({value:o}):(!A||z===o)&&e.push({value:z}),e}function gh(n,t,{horizontal:e,minRotation:i}){const r=Yt(i),s=(e?Math.sin(r):Math.cos(r))||.001,a=.75*t*(""+n).length;return Math.min(t/s,a)}class Aa extends yi{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,e){return Ee(t)||(typeof t=="number"||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:e,maxDefined:i}=this.getUserBounds();let{min:r,max:s}=this;const a=l=>r=e?r:l,o=l=>s=i?s:l;if(t){const l=rn(r),c=rn(s);l<0&&c<0?o(0):l>0&&c>0&&a(0)}if(r===s){let l=1;(s>=Number.MAX_SAFE_INTEGER||r<=Number.MIN_SAFE_INTEGER)&&(l=Math.abs(s*.05)),o(s+l),t||a(r-l)}this.min=r,this.max=s}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:e,stepSize:i}=t,r;return i?(r=Math.ceil(this.max/i)-Math.floor(this.min/i)+1,r>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${i} would result generating up to ${r} ticks. Limiting to 1000.`),r=1e3)):(r=this.computeTickLimit(),e=e||11),e&&(r=Math.min(e,r)),r}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,e=t.ticks;let i=this.getTickLimit();i=Math.max(2,i);const r={maxTicks:i,bounds:t.bounds,min:t.min,max:t.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:e.includeBounds!==!1},s=this._range||this,a=TK(r,s);return t.bounds==="ticks"&&Tp(a,this,"value"),t.reverse?(a.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),a}configure(){const t=this.ticks;let e=this.min,i=this.max;if(super.configure(),this.options.offset&&t.length){const r=(i-e)/Math.max(t.length-1,1)/2;e-=r,i+=r}this._startValue=e,this._endValue=i,this._valueRange=i-e}getLabelForValue(t){return ls(t,this.chart.options.locale,this.options.ticks.format)}}class qc extends Aa{determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=Je(t)?t:0,this.max=Je(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),e=t?this.width:this.height,i=Yt(this.options.ticks.minRotation),r=(t?Math.sin(i):Math.cos(i))||.001,s=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,s.lineHeight/r))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}qc.id="linear";qc.defaults={ticks:{callback:Wa.formatters.numeric}};function ph(n){return n/Math.pow(10,Math.floor(Tt(n)))===1}function LK(n,t){const e=Math.floor(Tt(t.max)),i=Math.ceil(t.max/Math.pow(10,e)),r=[];let s=Bt(n.min,Math.pow(10,Math.floor(Tt(t.min)))),a=Math.floor(Tt(s)),o=Math.floor(s/Math.pow(10,a)),l=a<0?Math.pow(10,Math.abs(a)):1;do r.push({value:s,major:ph(s)}),++o,o===10&&(o=1,++a,l=a>=0?1:l),s=Math.round(o*Math.pow(10,a)*l)/l;while(a<e||a===e&&o<i);const c=Bt(n.max,s);return r.push({value:c,major:ph(s)}),r}class Mm extends yi{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,e){const i=Aa.prototype.parse.apply(this,[t,e]);if(i===0){this._zero=!0;return}return Je(i)&&i>0?i:null}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=Je(t)?Math.max(0,t):null,this.max=Je(e)?Math.max(0,e):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let i=this.min,r=this.max;const s=l=>i=t?i:l,a=l=>r=e?r:l,o=(l,c)=>Math.pow(10,Math.floor(Tt(l))+c);i===r&&(i<=0?(s(1),a(10)):(s(o(i,-1)),a(o(r,1)))),i<=0&&s(o(r,-1)),r<=0&&a(o(i,1)),this._zero&&this.min!==this._suggestedMin&&i===o(this.min,0)&&s(o(i,-1)),this.min=i,this.max=r}buildTicks(){const t=this.options,e={min:this._userMin,max:this._userMax},i=LK(e,this);return t.bounds==="ticks"&&Tp(i,this,"value"),t.reverse?(i.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),i}getLabelForValue(t){return t===void 0?"0":ls(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=Tt(t),this._valueRange=Tt(this.max)-Tt(t)}getPixelForValue(t){return(t===void 0||t===0)&&(t=this.min),t===null||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(Tt(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const e=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+e*this._valueRange)}}Mm.id="logarithmic";Mm.defaults={ticks:{callback:Wa.formatters.logarithmic,major:{enabled:!0}}};function Fl(n){const t=n.ticks;if(t.display&&n.display){const e=ht(t.backdropPadding);return ge(t.font&&t.font.size,Ce.font.size)+e.height}return 0}function jK(n,t,e){return e=Ne(e)?e:[e],{w:lJ(n,t.string,e),h:e.length*t.lineHeight}}function mh(n,t,e,i,r){return n===i||n===r?{start:t-e/2,end:t+e/2}:n<i||n>r?{start:t-e,end:t}:{start:t,end:t+e}}function PK(n){const t={l:n.left+n._padding.left,r:n.right-n._padding.right,t:n.top+n._padding.top,b:n.bottom-n._padding.bottom},e=Object.assign({},t),i=[],r=[],s=n._pointLabels.length,a=n.options.pointLabels,o=a.centerPointLabels?ze/s:0;for(let l=0;l<s;l++){const c=a.setContext(n.getPointLabelContext(l));r[l]=c.padding;const u=n.getPointPosition(l,n.drawingArea+r[l],o),d=et(c.font),h=jK(n.ctx,d,n._pointLabels[l]);i[l]=h;const g=xt(n.getIndexAngle(l)+o),f=Math.round(Nc(g)),p=mh(f,u.x,h.w,0,180),m=mh(f,u.y,h.h,90,270);FK(e,t,g,p,m)}n.setCenterPoint(t.l-e.l,e.r-t.r,t.t-e.t,e.b-t.b),n._pointLabelItems=HK(n,i,r)}function FK(n,t,e,i,r){const s=Math.abs(Math.sin(e)),a=Math.abs(Math.cos(e));let o=0,l=0;i.start<t.l?(o=(t.l-i.start)/s,n.l=Math.min(n.l,t.l-o)):i.end>t.r&&(o=(i.end-t.r)/s,n.r=Math.max(n.r,t.r+o)),r.start<t.t?(l=(t.t-r.start)/a,n.t=Math.min(n.t,t.t-l)):r.end>t.b&&(l=(r.end-t.b)/a,n.b=Math.max(n.b,t.b+l))}function HK(n,t,e){const i=[],r=n._pointLabels.length,s=n.options,a=Fl(s)/2,o=n.drawingArea,l=s.pointLabels.centerPointLabels?ze/r:0;for(let c=0;c<r;c++){const u=n.getPointPosition(c,o+a+e[c],l),d=Math.round(Nc(xt(u.angle+Ze))),h=t[c],g=YK(u.y,h.h,d),f=zK(d),p=ZK(u.x,h.w,f);i.push({x:u.x,y:g,textAlign:f,left:p,top:g,right:p+h.w,bottom:g+h.h})}return i}function zK(n){return n===0||n===180?"center":n<180?"left":"right"}function ZK(n,t,e){return e==="right"?n-=t:e==="center"&&(n-=t/2),n}function YK(n,t,e){return e===90||e===270?n-=t/2:(e>270||e<90)&&(n-=t),n}function WK(n,t){const{ctx:e,options:{pointLabels:i}}=n;for(let r=t-1;r>=0;r--){const s=i.setContext(n.getPointLabelContext(r)),a=et(s.font),{x:o,y:l,textAlign:c,left:u,top:d,right:h,bottom:g}=n._pointLabelItems[r],{backdropColor:f}=s;if(!Ee(f)){const p=ci(s.borderRadius),m=ht(s.backdropPadding);e.fillStyle=f;const b=u-m.left,A=d-m.top,y=h-u+m.width,w=g-d+m.height;Object.values(p).some(C=>C!==0)?(e.beginPath(),Jr(e,{x:b,y:A,w:y,h:w,radius:p}),e.fill()):e.fillRect(b,A,y,w)}gi(e,n._pointLabels[r],o,l+a.lineHeight/2,a,{color:s.color,textAlign:c,textBaseline:"middle"})}}function Dm(n,t,e,i){const{ctx:r}=n;if(e)r.arc(n.xCenter,n.yCenter,t,0,De);else{let s=n.getPointPosition(0,t);r.moveTo(s.x,s.y);for(let a=1;a<i;a++)s=n.getPointPosition(a,t),r.lineTo(s.x,s.y)}}function XK(n,t,e,i){const r=n.ctx,s=t.circular,{color:a,lineWidth:o}=t;!s&&!i||!a||!o||e<0||(r.save(),r.strokeStyle=a,r.lineWidth=o,r.setLineDash(t.borderDash),r.lineDashOffset=t.borderDashOffset,r.beginPath(),Dm(n,e,s,i),r.closePath(),r.stroke(),r.restore())}function VK(n,t,e){return Jn(n,{label:e,index:t,type:"pointLabel"})}class Qa extends Aa{constructor(t){super(t),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const t=this._padding=ht(Fl(this.options)/2),e=this.width=this.maxWidth-t.width,i=this.height=this.maxHeight-t.height;this.xCenter=Math.floor(this.left+e/2+t.left),this.yCenter=Math.floor(this.top+i/2+t.top),this.drawingArea=Math.floor(Math.min(e,i)/2)}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!1);this.min=Je(t)&&!isNaN(t)?t:0,this.max=Je(e)&&!isNaN(e)?e:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/Fl(this.options))}generateTickLabels(t){Aa.prototype.generateTickLabels.call(this,t),this._pointLabels=this.getLabels().map((e,i)=>{const r=Oe(this.options.pointLabels.callback,[e,i],this);return r||r===0?r:""}).filter((e,i)=>this.chart.getDataVisibility(i))}fit(){const t=this.options;t.display&&t.pointLabels.display?PK(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,e,i,r){this.xCenter+=Math.floor((t-e)/2),this.yCenter+=Math.floor((i-r)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,e,i,r))}getIndexAngle(t){const e=De/(this._pointLabels.length||1),i=this.options.startAngle||0;return xt(t*e+Yt(i))}getDistanceFromCenterForValue(t){if(Ee(t))return NaN;const e=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*e:(t-this.min)*e}getValueForDistanceFromCenter(t){if(Ee(t))return NaN;const e=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-e:this.min+e}getPointLabelContext(t){const e=this._pointLabels||[];if(t>=0&&t<e.length){const i=e[t];return VK(this.getContext(),t,i)}}getPointPosition(t,e,i=0){const r=this.getIndexAngle(t)-Ze+i;return{x:Math.cos(r)*e+this.xCenter,y:Math.sin(r)*e+this.yCenter,angle:r}}getPointPositionForValue(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))}getBasePosition(t){return this.getPointPositionForValue(t||0,this.getBaseValue())}getPointLabelPosition(t){const{left:e,top:i,right:r,bottom:s}=this._pointLabelItems[t];return{left:e,top:i,right:r,bottom:s}}drawBackground(){const{backgroundColor:t,grid:{circular:e}}=this.options;if(t){const i=this.ctx;i.save(),i.beginPath(),Dm(this,this.getDistanceFromCenterForValue(this._endValue),e,this._pointLabels.length),i.closePath(),i.fillStyle=t,i.fill(),i.restore()}}drawGrid(){const t=this.ctx,e=this.options,{angleLines:i,grid:r}=e,s=this._pointLabels.length;let a,o,l;if(e.pointLabels.display&&WK(this,s),r.display&&this.ticks.forEach((c,u)=>{if(u!==0){o=this.getDistanceFromCenterForValue(c.value);const d=r.setContext(this.getContext(u-1));XK(this,d,o,s)}}),i.display){for(t.save(),a=s-1;a>=0;a--){const c=i.setContext(this.getPointLabelContext(a)),{color:u,lineWidth:d}=c;!d||!u||(t.lineWidth=d,t.strokeStyle=u,t.setLineDash(c.borderDash),t.lineDashOffset=c.borderDashOffset,o=this.getDistanceFromCenterForValue(e.ticks.reverse?this.min:this.max),l=this.getPointPosition(a,o),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(l.x,l.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,e=this.options,i=e.ticks;if(!i.display)return;const r=this.getIndexAngle(0);let s,a;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(r),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((o,l)=>{if(l===0&&!e.reverse)return;const c=i.setContext(this.getContext(l)),u=et(c.font);if(s=this.getDistanceFromCenterForValue(this.ticks[l].value),c.showLabelBackdrop){t.font=u.string,a=t.measureText(o.label).width,t.fillStyle=c.backdropColor;const d=ht(c.backdropPadding);t.fillRect(-a/2-d.left,-s-u.size/2-d.top,a+d.width,u.size+d.height)}gi(t,o.label,0,-s,u,{color:c.color})}),t.restore()}drawTitle(){}}Qa.id="radialLinear";Qa.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Wa.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(n){return n},padding:5,centerPointLabels:!1}};Qa.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};Qa.descriptors={angleLines:{_fallback:"grid"}};const Ua={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},vt=Object.keys(Ua);function JK(n,t){return n-t}function bh(n,t){if(Ee(t))return null;const e=n._adapter,{parser:i,round:r,isoWeekday:s}=n._parseOpts;let a=t;return typeof i=="function"&&(a=i(a)),Je(a)||(a=typeof i=="string"?e.parse(a,i):e.parse(a)),a===null?null:(r&&(a=r==="week"&&(Vi(s)||s===!0)?e.startOf(a,"isoWeek",s):e.startOf(a,r)),+a)}function vh(n,t,e,i){const r=vt.length;for(let s=vt.indexOf(n);s<r-1;++s){const a=Ua[vt[s]],o=a.steps?a.steps:Number.MAX_SAFE_INTEGER;if(a.common&&Math.ceil((e-t)/(o*a.size))<=i)return vt[s]}return vt[r-1]}function QK(n,t,e,i,r){for(let s=vt.length-1;s>=vt.indexOf(e);s--){const a=vt[s];if(Ua[a].common&&n._adapter.diff(r,i,a)>=t-1)return a}return vt[e?vt.indexOf(e):0]}function UK(n){for(let t=vt.indexOf(n)+1,e=vt.length;t<e;++t)if(Ua[vt[t]].common)return vt[t]}function yh(n,t,e){if(!e)n[t]=!0;else if(e.length){const{lo:i,hi:r}=Tc(e,t),s=e[i]>=t?e[i]:e[r];n[s]=!0}}function KK(n,t,e,i){const r=n._adapter,s=+r.startOf(t[0].value,i),a=t[t.length-1].value;let o,l;for(o=s;o<=a;o=+r.add(o,1,i))l=e[o],l>=0&&(t[l].major=!0);return t}function Ah(n,t,e){const i=[],r={},s=t.length;let a,o;for(a=0;a<s;++a)o=t[a],r[o]=a,i.push({value:o,major:!1});return s===0||!e?i:KK(n,i,r,e)}class Ka extends yi{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,e){const i=t.time||(t.time={}),r=this._adapter=new YQ._date(t.adapters.date);r.init(e),Br(i.displayFormats,r.formats()),this._parseOpts={parser:i.parser,round:i.round,isoWeekday:i.isoWeekday},super.init(t),this._normalized=e.normalized}parse(t,e){return t===void 0?null:bh(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,e=this._adapter,i=t.time.unit||"day";let{min:r,max:s,minDefined:a,maxDefined:o}=this.getUserBounds();function l(c){!a&&!isNaN(c.min)&&(r=Math.min(r,c.min)),!o&&!isNaN(c.max)&&(s=Math.max(s,c.max))}(!a||!o)&&(l(this._getLabelBounds()),(t.bounds!=="ticks"||t.ticks.source!=="labels")&&l(this.getMinMax(!1))),r=Je(r)&&!isNaN(r)?r:+e.startOf(Date.now(),i),s=Je(s)&&!isNaN(s)?s:+e.endOf(Date.now(),i)+1,this.min=Math.min(r,s-1),this.max=Math.max(r+1,s)}_getLabelBounds(){const t=this.getLabelTimestamps();let e=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;return t.length&&(e=t[0],i=t[t.length-1]),{min:e,max:i}}buildTicks(){const t=this.options,e=t.time,i=t.ticks,r=i.source==="labels"?this.getLabelTimestamps():this._generate();t.bounds==="ticks"&&r.length&&(this.min=this._userMin||r[0],this.max=this._userMax||r[r.length-1]);const s=this.min,a=this.max,o=O5(r,s,a);return this._unit=e.unit||(i.autoSkip?vh(e.minUnit,this.min,this.max,this._getLabelCapacity(s)):QK(this,o.length,e.minUnit,this.min,this.max)),this._majorUnit=!i.major.enabled||this._unit==="year"?void 0:UK(this._unit),this.initOffsets(r),t.reverse&&o.reverse(),Ah(this,o,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(t=>+t.value))}initOffsets(t){let e=0,i=0,r,s;this.options.offset&&t.length&&(r=this.getDecimalForValue(t[0]),t.length===1?e=1-r:e=(this.getDecimalForValue(t[1])-r)/2,s=this.getDecimalForValue(t[t.length-1]),t.length===1?i=s:i=(s-this.getDecimalForValue(t[t.length-2]))/2);const a=t.length<3?.5:.25;e=ut(e,0,a),i=ut(i,0,a),this._offsets={start:e,end:i,factor:1/(e+1+i)}}_generate(){const t=this._adapter,e=this.min,i=this.max,r=this.options,s=r.time,a=s.unit||vh(s.minUnit,e,i,this._getLabelCapacity(e)),o=ge(s.stepSize,1),l=a==="week"?s.isoWeekday:!1,c=Vi(l)||l===!0,u={};let d=e,h,g;if(c&&(d=+t.startOf(d,"isoWeek",l)),d=+t.startOf(d,c?"day":a),t.diff(i,e,a)>1e5*o)throw new Error(e+" and "+i+" are too far apart with stepSize of "+o+" "+a);const f=r.ticks.source==="data"&&this.getDataTimestamps();for(h=d,g=0;h<i;h=+t.add(h,o,a),g++)yh(u,h,f);return(h===i||r.bounds==="ticks"||g===1)&&yh(u,h,f),Object.keys(u).sort((p,m)=>p-m).map(p=>+p)}getLabelForValue(t){const e=this._adapter,i=this.options.time;return i.tooltipFormat?e.format(t,i.tooltipFormat):e.format(t,i.displayFormats.datetime)}_tickFormatFunction(t,e,i,r){const s=this.options,a=s.time.displayFormats,o=this._unit,l=this._majorUnit,c=o&&a[o],u=l&&a[l],d=i[e],h=l&&u&&d&&d.major,g=this._adapter.format(t,r||(h?u:c)),f=s.ticks.callback;return f?Oe(f,[g,e,i],this):g}generateTickLabels(t){let e,i,r;for(e=0,i=t.length;e<i;++e)r=t[e],r.label=this._tickFormatFunction(r.value,e,t)}getDecimalForValue(t){return t===null?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){const e=this._offsets,i=this.getDecimalForValue(t);return this.getPixelForDecimal((e.start+i)*e.factor)}getValueForPixel(t){const e=this._offsets,i=this.getDecimalForPixel(t)/e.factor-e.end;return this.min+i*(this.max-this.min)}_getLabelSize(t){const e=this.options.ticks,i=this.ctx.measureText(t).width,r=Yt(this.isHorizontal()?e.maxRotation:e.minRotation),s=Math.cos(r),a=Math.sin(r),o=this._resolveTickFontOptions(0).size;return{w:i*s+o*a,h:i*a+o*s}}_getLabelCapacity(t){const e=this.options.time,i=e.displayFormats,r=i[e.unit]||i.millisecond,s=this._tickFormatFunction(t,0,Ah(this,[t],this._majorUnit),r),a=this._getLabelSize(s),o=Math.floor(this.isHorizontal()?this.width/a.w:this.height/a.h)-1;return o>0?o:1}getDataTimestamps(){let t=this._cache.data||[],e,i;if(t.length)return t;const r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(e=0,i=r.length;e<i;++e)t=t.concat(r[e].controller.getAllParsedValues(this));return this._cache.data=this.normalize(t)}getLabelTimestamps(){const t=this._cache.labels||[];let e,i;if(t.length)return t;const r=this.getLabels();for(e=0,i=r.length;e<i;++e)t.push(bh(this,r[e]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return Pp(t.sort(JK))}}Ka.id="time";Ka.defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",major:{enabled:!1}}};function js(n,t,e){let i=0,r=n.length-1,s,a,o,l;e?(t>=n[i].pos&&t<=n[r].pos&&({lo:i,hi:r}=ai(n,"pos",t)),{pos:s,time:o}=n[i],{pos:a,time:l}=n[r]):(t>=n[i].time&&t<=n[r].time&&({lo:i,hi:r}=ai(n,"time",t)),{time:s,pos:o}=n[i],{time:a,pos:l}=n[r]);const c=a-s;return c?o+(l-o)*(t-s)/c:o}class Bm extends Ka{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(t);this._minPos=js(e,this.min),this._tableRange=js(e,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:e,max:i}=this,r=[],s=[];let a,o,l,c,u;for(a=0,o=t.length;a<o;++a)c=t[a],c>=e&&c<=i&&r.push(c);if(r.length<2)return[{time:e,pos:0},{time:i,pos:1}];for(a=0,o=r.length;a<o;++a)u=r[a+1],l=r[a-1],c=r[a],Math.round((u+l)/2)!==c&&s.push({time:c,pos:a/(o-1)});return s}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const e=this.getDataTimestamps(),i=this.getLabelTimestamps();return e.length&&i.length?t=this.normalize(e.concat(i)):t=e.length?e:i,t=this._cache.all=t,t}getDecimalForValue(t){return(js(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const e=this._offsets,i=this.getDecimalForPixel(t)/e.factor-e.end;return js(this._table,i*this._tableRange+this._minPos,!0)}}Bm.id="timeseries";Bm.defaults=Ka.defaults;const Gm="label";function Ch(n,t){typeof n=="function"?n(t):n&&(n.current=t)}function qK(n,t){Object.assign(n.options,t)}function Om(n,t){n.labels=t}function Nm(n,t){let e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Gm;const i=[];n.datasets=t.map(r=>{const s=n.datasets.find(a=>a[e]===r[e]);return!s||!r.data||i.includes(s)?{...r}:(i.push(s),Object.assign(s,r),s)})}function $K(n){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Gm;const e={labels:[],datasets:[]};return Om(e,n.labels),Nm(e,n.datasets,t),e}function e7(n,t){let{height:e=150,width:i=300,redraw:r=!1,datasetIdKey:s,type:a,data:o,options:l,plugins:c=[],fallbackContent:u,updateMode:d,...h}=n;const g=E.useRef(null),f=E.useRef(),p=()=>{g.current&&(f.current=new ln(g.current,{type:a,data:$K(o,s),options:l&&{...l},plugins:c}),Ch(t,f.current))},m=()=>{Ch(t,null),f.current&&(f.current.destroy(),f.current=null)};return E.useEffect(()=>{!r&&f.current&&l&&qK(f.current,l)},[r,l]),E.useEffect(()=>{!r&&f.current&&Om(f.current.config.data,o.labels)},[r,o.labels]),E.useEffect(()=>{!r&&f.current&&o.datasets&&Nm(f.current.config.data,o.datasets,s)},[r,o.datasets]),E.useEffect(()=>{f.current&&(r?(m(),setTimeout(p)):f.current.update(d))},[r,l,o.labels,o.datasets,d]),E.useEffect(()=>{f.current&&(m(),setTimeout(p))},[a]),E.useEffect(()=>(p(),()=>m()),[]),E.createElement("canvas",Object.assign({ref:g,role:"img",height:e,width:i},h),u)}const t7=E.forwardRef(e7);function $c(n,t){return ln.register(t),E.forwardRef((e,i)=>E.createElement(t7,Object.assign({},e,{ref:i,type:n})))}const n7=$c("line",Ya),i7=$c("bar",Za),r7=$c("pie",Jc);function s7({data:n,options:t}){return v.jsx(i7,{options:{responsive:!0,scales:{x:{stacked:!0},y:{stacked:!0}},...t},data:n})}const a7="_legends_yisya_1",o7="_dot_yisya_15",Ih={legends:a7,dot:o7};function l7({items:n,colorMap:t}){const e=i=>i==null?void 0:i.map((r,s)=>v.jsxs("li",{children:[v.jsx("span",{className:Ih.dot,style:{backgroundColor:t[r.text]||"#037cf9"}}),v.jsx("span",{children:r.text})]},s));return v.jsx("ul",{className:Ih.legends,children:e(n)})}function c7({data:n,options:t,lineRef:e=null}){return v.jsx(n7,{options:{responsive:!0,...t},ref:e,data:n})}function u7({data:n,options:t}){var i;function e(r){switch(r){case 0:case 1:return 88;case 2:return 76;case 3:return 63;default:return 50}}return v.jsx(r7,{options:{responsive:!0,elements:{arc:{borderWidth:0,offset:0}},plugins:{filler:{propagate:!1}},cutout:`${e((i=n.datasets)==null?void 0:i.length)}%`,...t},data:n})}const d7={Bar:s7,Pie:u7,Line:c7,Legends:l7};ln.defaults.color="#fff";ln.defaults.borderColor="#3C4560";ln.defaults.responsive=!0;ln.defaults.maintainAspectRatio=!0;ln.register(ya,qc,Ja,Xa,Va,Qn,yK,xK,BK,IK);ln.defaults.plugins.legend.display=!1;const f7="_checkbox_1ie3h_236",h7="_slider_1ie3h_328",g7="_round_1ie3h_375",zo={"icon-applications":"_icon-applications_1ie3h_16","icon-attach":"_icon-attach_1ie3h_20","icon-attachment":"_icon-attachment_1ie3h_24","icon-billing":"_icon-billing_1ie3h_28","icon-box":"_icon-box_1ie3h_32","icon-calendar":"_icon-calendar_1ie3h_36","icon-cart":"_icon-cart_1ie3h_40","icon-certificate":"_icon-certificate_1ie3h_44","icon-check":"_icon-check_1ie3h_48","icon-chevron-left":"_icon-chevron-left_1ie3h_52","icon-chevron-right":"_icon-chevron-right_1ie3h_56","icon-circle-minus":"_icon-circle-minus_1ie3h_60","icon-circle-plus":"_icon-circle-plus_1ie3h_64","icon-clock":"_icon-clock_1ie3h_68","icon-close":"_icon-close_1ie3h_72","icon-copy":"_icon-copy_1ie3h_76","icon-credit-card":"_icon-credit-card_1ie3h_80","icon-document":"_icon-document_1ie3h_84","icon-domain-registration":"_icon-domain-registration_1ie3h_88","icon-domains":"_icon-domains_1ie3h_92","icon-down-arrow":"_icon-down-arrow_1ie3h_96","icon-down-square":"_icon-down-square_1ie3h_100","icon-down":"_icon-down_1ie3h_96","icon-download":"_icon-download_1ie3h_108","icon-edit-outline":"_icon-edit-outline_1ie3h_112","icon-edit":"_icon-edit_1ie3h_112","icon-email":"_icon-email_1ie3h_120","icon-environment":"_icon-environment_1ie3h_124","icon-error-fill":"_icon-error-fill_1ie3h_128","icon-error":"_icon-error_1ie3h_128","icon-fileTextOutlined":"_icon-fileTextOutlined_1ie3h_136","icon-info":"_icon-info_1ie3h_140","icon-install":"_icon-install_1ie3h_144","icon-link":"_icon-link_1ie3h_148","icon-log":"_icon-log_1ie3h_152","icon-menu-close":"_icon-menu-close_1ie3h_156","icon-menu-open":"_icon-menu-open_1ie3h_160","icon-monitoring":"_icon-monitoring_1ie3h_164","icon-network":"_icon-network_1ie3h_168","icon-no-results":"_icon-no-results_1ie3h_172","icon-not-edit":"_icon-not-edit_1ie3h_176","icon-path":"_icon-path_1ie3h_180","icon-plus":"_icon-plus_1ie3h_184","icon-preview":"_icon-preview_1ie3h_188","icon-profile":"_icon-profile_1ie3h_192","icon-project-list":"_icon-project-list_1ie3h_196","icon-projects":"_icon-projects_1ie3h_200","icon-reload":"_icon-reload_1ie3h_204","icon-retry":"_icon-retry_1ie3h_208","icon-search":"_icon-search_1ie3h_212","icon-settings":"_icon-settings_1ie3h_216","icon-support":"_icon-support_1ie3h_220","icon-trash":"_icon-trash_1ie3h_224","icon-users":"_icon-users_1ie3h_228","icon-warning":"_icon-warning_1ie3h_232",checkbox:f7,switch:"_switch_1ie3h_311","text-hide":"_text-hide_1ie3h_318",slider:h7,round:g7},Hl=E.forwardRef(({name:n,label:t,labelAppearance:e,error:i,isDisabled:r=!1,isInline:s,checked:a=!1,onChange:o,wrapperClassName:l,...c})=>{const[u,d]=E.useState(a||!!c.value);E.useEffect(()=>{d(a)},[a]);const h=g=>{!c.readOnly&&!r&&(g.persist(),d(!u),o&&o(g))};return v.jsxs(v.Fragment,{children:[v.jsxs("div",{className:ee(zo.checkbox,l,{[zo.inline]:s}),"data-testid":"checkbox",children:[v.jsx("input",{type:"checkbox",name:n,disabled:r,checked:u,onChange:h,...c}),v.jsx(an,{className:zo.label,name:n,appearance:e,children:t&&v.jsx("span",{children:t})})]}),i&&v.jsx(vi,{...i})]})}),p7="_configWrapper_q9ieu_1",m7="_configItem_q9ieu_5",b7="_configItemTitle_q9ieu_12",_r={configWrapper:p7,configItem:m7,configItemTitle:b7};function v7({config:n,scrollProps:t}){const e=()=>Object.keys(n).map(i=>{var r,s,a;return(r=n[i])!=null&&r.isUrl?v.jsxs("li",{className:_r.configItem,"data-testid":"config-list-item",children:[v.jsx("span",{className:_r.configItemTitle,children:`${i}: `}),v.jsx("a",{className:"link",target:"_blank",rel:"noreferrer",href:(s=n[i])==null?void 0:s.url,children:`${(a=n[i])==null?void 0:a.url}`})]},i):v.jsxs("li",{className:_r.configItem,"data-testid":"config-list-item",children:[v.jsx("span",{className:_r.configItemTitle,children:`${i}: `}),v.jsx("span",{children:`${n[i]}`})]},i)});return v.jsx(Pa,{...t,children:v.jsx("ul",{className:_r.configWrapper,"data-testid":"config-list",children:e()})})}const y7="_modal_1jora_1",A7="_content_1jora_16",C7="_header_1jora_26",I7="_close_1jora_46",w7="_body_1jora_53",x7="_desc_1jora_57",_7="_modal__light_1jora_61",$n={modal:y7,content:A7,header:C7,close:I7,body:w7,desc:x7,modal__light:_7},qa=n=>{const{children:t,header:e,title:i,description:r,className:s,onClose:a,visible:o=!0,appearance:l,headerClass:c,descriptionClass:u}=n,d=()=>{document.body.style.width="calc(100% - 15px)",document.body.className="overflow-hidden"},h=()=>{document.body.className="",document.body.removeAttribute("style")},g=()=>{a()};return E.useEffect(()=>(o&&d(),()=>{h()}),[o]),v.jsx(v.Fragment,{children:o&&v.jsx("div",{className:ee($n.modal,{[$n[`modal__${l}`]]:l}),"data-testid":"modal-container",children:v.jsxs("div",{className:ee(s,$n.content),children:[i||e?v.jsxs("div",{className:ee($n.header,c),children:[i?v.jsx("h2",{children:i}):e,v.jsx("span",{className:$n.close,onClick:g,children:v.jsx(Pe,{name:Ve.Close})})]}):v.jsx(v.Fragment,{}),v.jsxs("div",{className:$n.body,children:[r&&v.jsx("p",{className:ee($n.desc,u),children:r}),t]})]})})})};function Tm(n){const t=E.useId(),e=n||t,i=lc(e);return[()=>{i.show({id:e})},()=>{Sa.remove(e)},i.id]}const k7="_btnWrap_ztmp0_1",E7="_dark_ztmp0_9",wh={btnWrap:k7,dark:E7},S7=n=>{const{t}=yt(),[,e]=Tm(n.id),{onClose:i,okBtnCallback:r,isLoading:s,appearence:a=zn.LIGHT,description:o,descriptionClassName:l,title:c=t("title.warning"),okBtnText:u=t("button.yes_proceed"),cancelBtnText:d=t("button.cancel")}=n,h=()=>{e(),i&&i()};return v.jsxs(qa,{title:c,appearance:a,onClose:h,children:[v.jsx("p",{className:ee(l,{[wh.dark]:zn.DARK}),children:o}),v.jsxs("div",{className:wh.btnWrap,children:[v.jsx(es,{appearance:pi.PRIMARY,onClick:r,isLoading:s,children:u}),v.jsx("a",{className:"link",onClick:h,children:d})]})]})},R7=Sa.create(S7);/*! *****************************************************************************
211
211
  Copyright (c) Microsoft Corporation. All rights reserved.
212
212
  Licensed under the Apache License, Version 2.0 (the "License"); you may not use
213
213
  this file except in compliance with the License. You may obtain a copy of the
@@ -220,11 +220,11 @@ MERCHANTABLITY OR NON-INFRINGEMENT.
220
220
 
221
221
  See the Apache Version 2.0 License for specific language governing permissions
222
222
  and limitations under the License.
223
- ***************************************************************************** */var Hn=function(){return Hn=Object.assign||function(t){for(var e,i=1,r=arguments.length;i<r;i++){e=arguments[i];for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s])}return t},Hn.apply(this,arguments)};function M7(n,t){var e={};for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&t.indexOf(i)<0&&(e[i]=n[i]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,i=Object.getOwnPropertySymbols(n);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(n,i[r])&&(e[i[r]]=n[i[r]]);return e}var D7=function(){return Math.random().toString(36).substring(6)},Lm=function(n){var t=n.animate,e=n.backgroundColor,i=n.backgroundOpacity,r=n.baseUrl,s=n.children,a=n.foregroundColor,o=n.foregroundOpacity,l=n.gradientRatio,c=n.uniqueKey,u=n.interval,d=n.rtl,h=n.speed,g=n.style,f=n.title,p=M7(n,["animate","backgroundColor","backgroundOpacity","baseUrl","children","foregroundColor","foregroundOpacity","gradientRatio","uniqueKey","interval","rtl","speed","style","title"]),m=c||D7(),b=m+"-diff",A=m+"-animated-diff",y=m+"-aria",w=d?{transform:"scaleX(-1)"}:null,C="0; "+u+"; 1",_=h+"s";return E.createElement("svg",Hn({"aria-labelledby":y,role:"img",style:Hn(Hn({},g),w)},p),f?E.createElement("title",{id:y},f):null,E.createElement("rect",{role:"presentation",x:"0",y:"0",width:"100%",height:"100%",clipPath:"url("+r+"#"+b+")",style:{fill:"url("+r+"#"+A+")"}}),E.createElement("defs",{role:"presentation"},E.createElement("clipPath",{id:b},s),E.createElement("linearGradient",{id:A},E.createElement("stop",{offset:"0%",stopColor:e,stopOpacity:i},t&&E.createElement("animate",{attributeName:"offset",values:-l+"; "+-l+"; 1",keyTimes:C,dur:_,repeatCount:"indefinite"})),E.createElement("stop",{offset:"50%",stopColor:a,stopOpacity:o},t&&E.createElement("animate",{attributeName:"offset",values:-l/2+"; "+-l/2+"; "+(1+l/2),keyTimes:C,dur:_,repeatCount:"indefinite"})),E.createElement("stop",{offset:"100%",stopColor:e,stopOpacity:i},t&&E.createElement("animate",{attributeName:"offset",values:"0; 0; "+(1+l),keyTimes:C,dur:_,repeatCount:"indefinite"})))))};Lm.defaultProps={animate:!0,backgroundColor:"#f5f6f7",backgroundOpacity:1,baseUrl:"",foregroundColor:"#eee",foregroundOpacity:1,gradientRatio:2,id:null,interval:.25,rtl:!1,speed:1.2,style:{},title:"Loading..."};var jm=function(n){return n.children?E.createElement(Lm,Hn({},n)):E.createElement(B7,Hn({},n))},B7=function(n){return E.createElement(jm,Hn({viewBox:"0 0 476 124"},n),E.createElement("rect",{x:"48",y:"8",width:"88",height:"6",rx:"3"}),E.createElement("rect",{x:"48",y:"26",width:"52",height:"6",rx:"3"}),E.createElement("rect",{x:"0",y:"56",width:"410",height:"6",rx:"3"}),E.createElement("rect",{x:"0",y:"72",width:"380",height:"6",rx:"3"}),E.createElement("rect",{x:"0",y:"88",width:"178",height:"6",rx:"3"}),E.createElement("circle",{cx:"20",cy:"20",r:"20"}))};const Pm=jm,G7="_container_18oux_1",O7="_left_18oux_12",N7="_right_18oux_15",T7="_isActiveBorder_18oux_19",L7="_titleWrapper_18oux_31",j7="_title_18oux_31",P7="_description_18oux_52",Di={container:G7,left:O7,right:N7,isActiveBorder:T7,titleWrapper:L7,title:j7,description:P7},F7=n=>{const{title:t,leftClassName:e,leftComponent:i,rightClassName:r,titleClassName:s,titleWrapperClassName:a,component:o,description:l,isActiveBorder:c,isLoading:u,...d}=n;return v.jsxs("div",{className:ee(Di.container,{isActiveBorder:c}),...d,"data-testid":"content-header",children:[v.jsx("div",{className:ee(e,Di.left),children:u?v.jsxs(Pm,{backgroundColor:"#8c919d",foregroundColor:"#dbdbdb",width:150,height:40,viewBox:"0 0 150 40",children:[v.jsx("rect",{x:"0",y:"10",rx:"3",ry:"3",width:"100%",height:"15"}),v.jsx("rect",{x:"0",y:"37",rx:"3",ry:"3",width:"100%",height:"3"})]}):v.jsxs("div",{className:ee(a),children:[t&&v.jsx("div",{className:ee({[Di.titleWrapper]:c}),children:v.jsx("h2",{"data-testid":"content-header-title",className:ee(s,Di.title),children:t})}),i&&i,v.jsx("div",{className:Di.description,children:l})]})}),v.jsx("div",{className:ee(r,Di.right),children:o&&o})]})},Fm=()=>v.jsx(Pm,{backgroundColor:"#ffffff",foregroundColor:"#8c919d",width:55,height:12,viewBox:"0 0 55 12",children:v.jsx("rect",{x:"0",y:"3",rx:"3",ry:"3",width:"100%",height:"9"})});function H7({seconds:n,reset:t,onEnd:e}){const[i,r]=E.useState(n);return E.useEffect(()=>{r(n)},[n,t]),E.useEffect(()=>{if(!i){e&&e();return}const s=setInterval(()=>{r(i-1)},1e3);return()=>clearInterval(s)},[i]),v.jsx("span",{"data-testid":"countdown",children:i})}var z7={exports:{}},Zo={exports:{}},xh;function Hm(){return xh||(xh=1,function(n,t){(function(e,i){n.exports=i()})(tn,function(){var e=1e3,i=6e4,r=36e5,s="millisecond",a="second",o="minute",l="hour",c="day",u="week",d="month",h="quarter",g="year",f="date",p="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,A={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},y=function(B,L,G){var F=String(B);return!F||F.length>=L?B:""+Array(L+1-F.length).join(G)+B},w={s:y,z:function(B){var L=-B.utcOffset(),G=Math.abs(L),F=Math.floor(G/60),P=G%60;return(L<=0?"+":"-")+y(F,2,"0")+":"+y(P,2,"0")},m:function B(L,G){if(L.date()<G.date())return-B(G,L);var F=12*(G.year()-L.year())+(G.month()-L.month()),P=L.clone().add(F,d),V=G-P<0,te=L.clone().add(F+(V?-1:1),d);return+(-(F+(G-P)/(V?P-te:te-P))||0)},a:function(B){return B<0?Math.ceil(B)||0:Math.floor(B)},p:function(B){return{M:d,y:g,w:u,d:c,D:f,h:l,m:o,s:a,ms:s,Q:h}[B]||String(B||"").toLowerCase().replace(/s$/,"")},u:function(B){return B===void 0}},C="en",_={};_[C]=A;var S=function(B){return B instanceof x},z=function B(L,G,F){var P;if(!L)return C;if(typeof L=="string"){var V=L.toLowerCase();_[V]&&(P=V),G&&(_[V]=G,P=V);var te=L.split("-");if(!P&&te.length>1)return B(te[0])}else{var Z=L.name;_[Z]=L,P=Z}return!F&&P&&(C=P),P||!F&&C},R=function(B,L){if(S(B))return B.clone();var G=typeof L=="object"?L:{};return G.date=B,G.args=arguments,new x(G)},T=w;T.l=z,T.i=S,T.w=function(B,L){return R(B,{locale:L.$L,utc:L.$u,x:L.$x,$offset:L.$offset})};var x=function(){function B(G){this.$L=z(G.locale,null,!0),this.parse(G)}var L=B.prototype;return L.parse=function(G){this.$d=function(F){var P=F.date,V=F.utc;if(P===null)return new Date(NaN);if(T.u(P))return new Date;if(P instanceof Date)return new Date(P);if(typeof P=="string"&&!/Z$/i.test(P)){var te=P.match(m);if(te){var Z=te[2]-1||0,W=(te[7]||"0").substring(0,3);return V?new Date(Date.UTC(te[1],Z,te[3]||1,te[4]||0,te[5]||0,te[6]||0,W)):new Date(te[1],Z,te[3]||1,te[4]||0,te[5]||0,te[6]||0,W)}}return new Date(P)}(G),this.$x=G.x||{},this.init()},L.init=function(){var G=this.$d;this.$y=G.getFullYear(),this.$M=G.getMonth(),this.$D=G.getDate(),this.$W=G.getDay(),this.$H=G.getHours(),this.$m=G.getMinutes(),this.$s=G.getSeconds(),this.$ms=G.getMilliseconds()},L.$utils=function(){return T},L.isValid=function(){return this.$d.toString()!==p},L.isSame=function(G,F){var P=R(G);return this.startOf(F)<=P&&P<=this.endOf(F)},L.isAfter=function(G,F){return R(G)<this.startOf(F)},L.isBefore=function(G,F){return this.endOf(F)<R(G)},L.$g=function(G,F,P){return T.u(G)?this[F]:this.set(P,G)},L.unix=function(){return Math.floor(this.valueOf()/1e3)},L.valueOf=function(){return this.$d.getTime()},L.startOf=function(G,F){var P=this,V=!!T.u(F)||F,te=T.p(G),Z=function(X,se){var re=T.w(P.$u?Date.UTC(P.$y,se,X):new Date(P.$y,se,X),P);return V?re:re.endOf(c)},W=function(X,se){return T.w(P.toDate()[X].apply(P.toDate("s"),(V?[0,0,0,0]:[23,59,59,999]).slice(se)),P)},H=this.$W,j=this.$M,Y=this.$D,J="set"+(this.$u?"UTC":"");switch(te){case g:return V?Z(1,0):Z(31,11);case d:return V?Z(1,j):Z(0,j+1);case u:var D=this.$locale().weekStart||0,Q=(H<D?H+7:H)-D;return Z(V?Y-Q:Y+(6-Q),j);case c:case f:return W(J+"Hours",0);case l:return W(J+"Minutes",1);case o:return W(J+"Seconds",2);case a:return W(J+"Milliseconds",3);default:return this.clone()}},L.endOf=function(G){return this.startOf(G,!1)},L.$set=function(G,F){var P,V=T.p(G),te="set"+(this.$u?"UTC":""),Z=(P={},P[c]=te+"Date",P[f]=te+"Date",P[d]=te+"Month",P[g]=te+"FullYear",P[l]=te+"Hours",P[o]=te+"Minutes",P[a]=te+"Seconds",P[s]=te+"Milliseconds",P)[V],W=V===c?this.$D+(F-this.$W):F;if(V===d||V===g){var H=this.clone().set(f,1);H.$d[Z](W),H.init(),this.$d=H.set(f,Math.min(this.$D,H.daysInMonth())).$d}else Z&&this.$d[Z](W);return this.init(),this},L.set=function(G,F){return this.clone().$set(G,F)},L.get=function(G){return this[T.p(G)]()},L.add=function(G,F){var P,V=this;G=Number(G);var te=T.p(F),Z=function(j){var Y=R(V);return T.w(Y.date(Y.date()+Math.round(j*G)),V)};if(te===d)return this.set(d,this.$M+G);if(te===g)return this.set(g,this.$y+G);if(te===c)return Z(1);if(te===u)return Z(7);var W=(P={},P[o]=i,P[l]=r,P[a]=e,P)[te]||1,H=this.$d.getTime()+G*W;return T.w(H,this)},L.subtract=function(G,F){return this.add(-1*G,F)},L.format=function(G){var F=this,P=this.$locale();if(!this.isValid())return P.invalidDate||p;var V=G||"YYYY-MM-DDTHH:mm:ssZ",te=T.z(this),Z=this.$H,W=this.$m,H=this.$M,j=P.weekdays,Y=P.months,J=function(se,re,ue,K){return se&&(se[re]||se(F,V))||ue[re].substr(0,K)},D=function(se){return T.s(Z%12||12,se,"0")},Q=P.meridiem||function(se,re,ue){var K=se<12?"AM":"PM";return ue?K.toLowerCase():K},X={YY:String(this.$y).slice(-2),YYYY:this.$y,M:H+1,MM:T.s(H+1,2,"0"),MMM:J(P.monthsShort,H,Y,3),MMMM:J(Y,H),D:this.$D,DD:T.s(this.$D,2,"0"),d:String(this.$W),dd:J(P.weekdaysMin,this.$W,j,2),ddd:J(P.weekdaysShort,this.$W,j,3),dddd:j[this.$W],H:String(Z),HH:T.s(Z,2,"0"),h:D(1),hh:D(2),a:Q(Z,W,!0),A:Q(Z,W,!1),m:String(W),mm:T.s(W,2,"0"),s:String(this.$s),ss:T.s(this.$s,2,"0"),SSS:T.s(this.$ms,3,"0"),Z:te};return V.replace(b,function(se,re){return re||X[se]||te.replace(":","")})},L.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},L.diff=function(G,F,P){var V,te=T.p(F),Z=R(G),W=(Z.utcOffset()-this.utcOffset())*i,H=this-Z,j=T.m(this,Z);return j=(V={},V[g]=j/12,V[d]=j,V[h]=j/3,V[u]=(H-W)/6048e5,V[c]=(H-W)/864e5,V[l]=H/r,V[o]=H/i,V[a]=H/e,V)[te]||H,P?j:T.a(j)},L.daysInMonth=function(){return this.endOf(d).$D},L.$locale=function(){return _[this.$L]},L.locale=function(G,F){if(!G)return this.$L;var P=this.clone(),V=z(G,F,!0);return V&&(P.$L=V),P},L.clone=function(){return T.w(this.$d,this)},L.toDate=function(){return new Date(this.valueOf())},L.toJSON=function(){return this.isValid()?this.toISOString():null},L.toISOString=function(){return this.$d.toISOString()},L.toString=function(){return this.$d.toUTCString()},B}(),O=x.prototype;return R.prototype=O,[["$ms",s],["$s",a],["$m",o],["$H",l],["$W",c],["$M",d],["$y",g],["$D",f]].forEach(function(B){O[B[1]]=function(L){return this.$g(L,B[0],B[1])}}),R.extend=function(B,L){return B.$i||(B(L,x,R),B.$i=!0),R},R.locale=z,R.isDayjs=S,R.unix=function(B){return R(1e3*B)},R.en=_[C],R.Ls=_,R.p={},R})}(Zo)),Zo.exports}(function(n,t){(function(e,i){n.exports=i(Hm())})(tn,function(e){function i(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var r=i(e),s={name:"tr",weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(a){return a+"."}};return r.default.locale(s,null,!0),s})})(z7);var Z7=Hm();const nt=xn(Z7);var zm={exports:{}};(function(n,t){(function(e,i){n.exports=i()})(tn,function(){return function(e,i,r){var s=i.prototype,a=s.format;r.en.ordinal=function(o){var l=["th","st","nd","rd"],c=o%100;return"["+o+(l[(c-20)%10]||l[c]||l[0])+"]"},s.format=function(o){var l=this,c=this.$locale();if(!this.isValid())return a.bind(this)(o);var u=this.$utils(),d=(o||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(h){switch(h){case"Q":return Math.ceil((l.$M+1)/3);case"Do":return c.ordinal(l.$D);case"gggg":return l.weekYear();case"GGGG":return l.isoWeekYear();case"wo":return c.ordinal(l.week(),"W");case"w":case"ww":return u.s(l.week(),h==="w"?1:2,"0");case"W":case"WW":return u.s(l.isoWeek(),h==="W"?1:2,"0");case"k":case"kk":return u.s(String(l.$H===0?24:l.$H),h==="k"?1:2,"0");case"X":return Math.floor(l.$d.getTime()/1e3);case"x":return l.$d.getTime();case"z":return"["+l.offsetName()+"]";case"zzz":return"["+l.offsetName("long")+"]";default:return h}});return a.bind(this)(d)}}})})(zm);var Y7=zm.exports;const W7=xn(Y7);var Zm={exports:{}};(function(n,t){(function(e,i){n.exports=i()})(tn,function(){var e="minute",i=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g;return function(s,a,o){var l=a.prototype;o.utc=function(p){var m={date:p,utc:!0,args:arguments};return new a(m)},l.utc=function(p){var m=o(this.toDate(),{locale:this.$L,utc:!0});return p?m.add(this.utcOffset(),e):m},l.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var c=l.parse;l.parse=function(p){p.utc&&(this.$u=!0),this.$utils().u(p.$offset)||(this.$offset=p.$offset),c.call(this,p)};var u=l.init;l.init=function(){if(this.$u){var p=this.$d;this.$y=p.getUTCFullYear(),this.$M=p.getUTCMonth(),this.$D=p.getUTCDate(),this.$W=p.getUTCDay(),this.$H=p.getUTCHours(),this.$m=p.getUTCMinutes(),this.$s=p.getUTCSeconds(),this.$ms=p.getUTCMilliseconds()}else u.call(this)};var d=l.utcOffset;l.utcOffset=function(p,m){var b=this.$utils().u;if(b(p))return this.$u?0:b(this.$offset)?d.call(this):this.$offset;if(typeof p=="string"&&(p=function(C){C===void 0&&(C="");var _=C.match(i);if(!_)return null;var S=(""+_[0]).match(r)||["-",0,0],z=S[0],R=60*+S[1]+ +S[2];return R===0?0:z==="+"?R:-R}(p),p===null))return this;var A=Math.abs(p)<=16?60*p:p,y=this;if(m)return y.$offset=A,y.$u=p===0,y;if(p!==0){var w=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(y=this.local().add(A+w,e)).$offset=A,y.$x.$localOffset=w}else y=this.utc();return y};var h=l.format;l.format=function(p){var m=p||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return h.call(this,m)},l.valueOf=function(){var p=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||new Date().getTimezoneOffset());return this.$d.valueOf()-6e4*p},l.isUTC=function(){return!!this.$u},l.toISOString=function(){return this.toDate().toISOString()},l.toString=function(){return this.toDate().toUTCString()};var g=l.toDate;l.toDate=function(p){return p==="s"&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():g.call(this)};var f=l.diff;l.diff=function(p,m,b){if(p&&this.$u===p.$u)return f.call(this,p,m,b);var A=this.local(),y=o(p).local();return f.call(A,y,m,b)}}})})(Zm);var X7=Zm.exports;const V7=xn(X7);nt.extend(V7);nt.extend(W7);nt.locale("tr");const Li="YYYY-MM-DD",Ym="YYYY-MM-DD HH:mm",oi="DD MMM YYYY",Wm="DD MMMM YYYY HH:mm",Xm="DD MMM YY HH:mm",Vm="HH:mm";nt().add(1,"day").toDate();const J7=(n,t="single",e=!1)=>{switch(t){case"datetime":return nt(n,Ym).format(e?Xm:Wm);case"single":return nt(n,oi).format(oi);case"range":return`${nt(n.starDate,Li).format(oi)} - ${nt(n.endDate,Li).format(oi)}`;default:return n}},Q7={weekdays:{shorthand:["Paz","Pzt","Sal","Çar","Per","Cum","Cmt"],longhand:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"]},months:{shorthand:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],longhand:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"]},firstDayOfWeek:1,ordinal:()=>".",rangeSeparator:" - ",weekAbbreviation:"Hf",scrollTitle:"Artırmak için kaydırın",toggleTitle:"Aç/Kapa",amPM:["ÖÖ","ÖS"],time_24hr:!0},U7=Object.freeze(Object.defineProperty({__proto__:null,tr:Q7},Symbol.toStringTag,{value:"Module"}));function eu(){return Xi.language}const K7=(n,t)=>{const e=(n==null?void 0:n.language)||"en";nt.locale(e),Xi.changeLanguage(e),ep(null,t)};function q7(){switch(eu()){case"tr":return bE("tr",U7);default:return"en"}}const $7={},Yo=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],zi={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:typeof window=="object"&&window.navigator.userAgent.indexOf("MSIE")===-1,ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:n=>typeof console<"u"&&console.warn(n),getWeek:n=>{const t=new Date(n.getTime());t.setHours(0,0,0,0),t.setDate(t.getDate()+3-(t.getDay()+6)%7);var e=new Date(t.getFullYear(),0,4);return 1+Math.round(((t.getTime()-e.getTime())/864e5-3+(e.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},Ur={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:n=>{const t=n%100;if(t>3&&t<21)return"th";switch(t%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},bt=(n,t=2)=>`000${n}`.slice(t*-1),Gt=n=>n===!0?1:0;function _h(n,t){let e;return function(){clearTimeout(e),e=setTimeout(()=>n.apply(this,arguments),t)}}const Wo=n=>n instanceof Array?n:[n];function gt(n,t,e){if(e===!0)return n.classList.add(t);n.classList.remove(t)}function we(n,t,e){const i=window.document.createElement(n);return t=t||"",e=e||"",i.className=t,e!==void 0&&(i.textContent=e),i}function Ps(n){for(;n.firstChild;)n.removeChild(n.firstChild)}function Jm(n,t){if(t(n))return n;if(n.parentNode)return Jm(n.parentNode,t)}function Fs(n,t){const e=we("div","numInputWrapper"),i=we("input","numInput "+n),r=we("span","arrowUp"),s=we("span","arrowDown");if(navigator.userAgent.indexOf("MSIE 9.0")===-1?i.type="number":(i.type="text",i.pattern="\\d*"),t!==void 0)for(const a in t)i.setAttribute(a,t[a]);return e.appendChild(i),e.appendChild(r),e.appendChild(s),e}function It(n){try{return typeof n.composedPath=="function"?n.composedPath()[0]:n.target}catch{return n.target}}const Xo=()=>{},Ca=(n,t,e)=>e.months[t?"shorthand":"longhand"][n],e6={D:Xo,F:function(n,t,e){n.setMonth(e.months.longhand.indexOf(t))},G:(n,t)=>{n.setHours(parseFloat(t))},H:(n,t)=>{n.setHours(parseFloat(t))},J:(n,t)=>{n.setDate(parseFloat(t))},K:(n,t,e)=>{n.setHours(n.getHours()%12+12*Gt(new RegExp(e.amPM[1],"i").test(t)))},M:function(n,t,e){n.setMonth(e.months.shorthand.indexOf(t))},S:(n,t)=>{n.setSeconds(parseFloat(t))},U:(n,t)=>new Date(parseFloat(t)*1e3),W:function(n,t,e){const i=parseInt(t),r=new Date(n.getFullYear(),0,2+(i-1)*7,0,0,0,0);return r.setDate(r.getDate()-r.getDay()+e.firstDayOfWeek),r},Y:(n,t)=>{n.setFullYear(parseFloat(t))},Z:(n,t)=>new Date(t),d:(n,t)=>{n.setDate(parseFloat(t))},h:(n,t)=>{n.setHours(parseFloat(t))},i:(n,t)=>{n.setMinutes(parseFloat(t))},j:(n,t)=>{n.setDate(parseFloat(t))},l:Xo,m:(n,t)=>{n.setMonth(parseFloat(t)-1)},n:(n,t)=>{n.setMonth(parseFloat(t)-1)},s:(n,t)=>{n.setSeconds(parseFloat(t))},u:(n,t)=>new Date(parseFloat(t)),w:Xo,y:(n,t)=>{n.setFullYear(2e3+parseFloat(t))}},zl={D:"(\\w+)",F:"(\\w+)",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"(\\w+)",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"(\\w+)",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},Lr={Z:n=>n.toISOString(),D:function(n,t,e){return t.weekdays.shorthand[Lr.w(n,t,e)]},F:function(n,t,e){return Ca(Lr.n(n,t,e)-1,!1,t)},G:function(n,t,e){return bt(Lr.h(n,t,e))},H:n=>bt(n.getHours()),J:function(n,t){return t.ordinal!==void 0?n.getDate()+t.ordinal(n.getDate()):n.getDate()},K:(n,t)=>t.amPM[Gt(n.getHours()>11)],M:function(n,t){return Ca(n.getMonth(),!0,t)},S:n=>bt(n.getSeconds()),U:n=>n.getTime()/1e3,W:function(n,t,e){return e.getWeek(n)},Y:n=>bt(n.getFullYear(),4),d:n=>bt(n.getDate()),h:n=>n.getHours()%12?n.getHours()%12:12,i:n=>bt(n.getMinutes()),j:n=>n.getDate(),l:function(n,t){return t.weekdays.longhand[n.getDay()]},m:n=>bt(n.getMonth()+1),n:n=>n.getMonth()+1,s:n=>n.getSeconds(),u:n=>n.getTime(),w:n=>n.getDay(),y:n=>String(n.getFullYear()).substring(2)},Qm=({config:n=zi,l10n:t=Ur,isMobile:e=!1})=>(i,r,s)=>{const a=s||t;return n.formatDate!==void 0&&!e?n.formatDate(i,r,a):r.split("").map((o,l,c)=>Lr[o]&&c[l-1]!=="\\"?Lr[o](i,a,n):o!=="\\"?o:"").join("")},Zl=({config:n=zi,l10n:t=Ur})=>(e,i,r,s)=>{if(e!==0&&!e)return;const a=s||t;let o;const l=e;if(e instanceof Date)o=new Date(e.getTime());else if(typeof e!="string"&&e.toFixed!==void 0)o=new Date(e);else if(typeof e=="string"){const c=i||(n||zi).dateFormat,u=String(e).trim();if(u==="today")o=new Date,r=!0;else if(/Z$/.test(u)||/GMT$/.test(u))o=new Date(e);else if(n&&n.parseDate)o=n.parseDate(e,c);else{o=!n||!n.noCalendar?new Date(new Date().getFullYear(),0,1,0,0,0,0):new Date(new Date().setHours(0,0,0,0));let d,h=[];for(let g=0,f=0,p="";g<c.length;g++){const m=c[g],b=m==="\\",A=c[g-1]==="\\"||b;if(zl[m]&&!A){p+=zl[m];const y=new RegExp(p).exec(e);y&&(d=!0)&&h[m!=="Y"?"push":"unshift"]({fn:e6[m],val:y[++f]})}else b||(p+=".");h.forEach(({fn:y,val:w})=>o=y(o,w,a)||o)}o=d?o:void 0}}if(!(o instanceof Date&&!isNaN(o.getTime()))){n.errorHandler(new Error(`Invalid date provided: ${l}`));return}return r===!0&&o.setHours(0,0,0,0),o};function wt(n,t,e=!0){return e!==!1?new Date(n.getTime()).setHours(0,0,0,0)-new Date(t.getTime()).setHours(0,0,0,0):n.getTime()-t.getTime()}const t6=(n,t,e)=>n>Math.min(t,e)&&n<Math.max(t,e),n6={DAY:864e5};function Vo(n){let t=n.defaultHour,e=n.defaultMinute,i=n.defaultSeconds;if(n.minDate!==void 0){const r=n.minDate.getHours(),s=n.minDate.getMinutes(),a=n.minDate.getSeconds();t<r&&(t=r),t===r&&e<s&&(e=s),t===r&&e===s&&i<a&&(i=n.minDate.getSeconds())}if(n.maxDate!==void 0){const r=n.maxDate.getHours(),s=n.maxDate.getMinutes();t=Math.min(t,r),t===r&&(e=Math.min(s,e)),t===r&&e===s&&(i=n.maxDate.getSeconds())}return{hours:t,minutes:e,seconds:i}}typeof Object.assign!="function"&&(Object.assign=function(n,...t){if(!n)throw TypeError("Cannot convert undefined or null to object");for(const e of t)e&&Object.keys(e).forEach(i=>n[i]=e[i]);return n});const i6=300;function r6(n,t){const e={config:Object.assign(Object.assign({},zi),Ue.defaultConfig),l10n:Ur};e.parseDate=Zl({config:e.config,l10n:e.l10n}),e._handlers=[],e.pluginElements=[],e.loadedPlugins=[],e._bind=f,e._setHoursFromDate=d,e._positionCalendar=Te,e.changeMonth=Z,e.changeYear=D,e.clear=W,e.close=H,e._createElement=we,e.destroy=j,e.isEnabled=Q,e.jumpToDate=b,e.open=Be,e.redraw=cn,e.set=Ge,e.setDate=Ft,e.toggle=ro;function i(){e.utils={getDaysInMonth(I=e.currentMonth,k=e.currentYear){return I===1&&(k%4===0&&k%100!==0||k%400===0)?29:e.l10n.daysInMonth[I]}}}function r(){e.element=e.input=n,e.isOpen=!1,fe(),be(),gs(),hs(),i(),e.isMobile||w(),m(),(e.selectedDates.length||e.config.noCalendar)&&(e.config.enableTime&&d(e.config.noCalendar?e.latestSelectedDateObj:void 0),Et(!1)),a();const I=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!e.isMobile&&I&&Te(),Le("onReady")}function s(I){return I.bind(e)}function a(){const I=e.config;I.weekNumbers===!1&&I.showMonths===1||I.noCalendar!==!0&&window.requestAnimationFrame(function(){if(e.calendarContainer!==void 0&&(e.calendarContainer.style.visibility="hidden",e.calendarContainer.style.display="block"),e.daysContainer!==void 0){const k=(e.days.offsetWidth+1)*I.showMonths;e.daysContainer.style.width=k+"px",e.calendarContainer.style.width=k+(e.weekWrapper!==void 0?e.weekWrapper.offsetWidth:0)+"px",e.calendarContainer.style.removeProperty("visibility"),e.calendarContainer.style.removeProperty("display")}})}function o(I){if(e.selectedDates.length===0){const N=e.config.minDate===void 0||wt(new Date,e.config.minDate)>=0?new Date:new Date(e.config.minDate.getTime()),U=Vo(e.config);N.setHours(U.hours,U.minutes,U.seconds,N.getMilliseconds()),e.selectedDates=[N],e.latestSelectedDateObj=N}I!==void 0&&I.type!=="blur"&&Mn(I);const k=e._input.value;u(),Et(),e._input.value!==k&&e._debouncedChange()}function l(I,k){return I%12+12*Gt(k===e.l10n.amPM[1])}function c(I){switch(I%24){case 0:case 12:return 12;default:return I%12}}function u(){if(e.hourElement===void 0||e.minuteElement===void 0)return;let I=(parseInt(e.hourElement.value.slice(-2),10)||0)%24,k=(parseInt(e.minuteElement.value,10)||0)%60,N=e.secondElement!==void 0?(parseInt(e.secondElement.value,10)||0)%60:0;e.amPM!==void 0&&(I=l(I,e.amPM.textContent));const U=e.config.minTime!==void 0||e.config.minDate&&e.minDateHasTime&&e.latestSelectedDateObj&&wt(e.latestSelectedDateObj,e.config.minDate,!0)===0;if(e.config.maxTime!==void 0||e.config.maxDate&&e.maxDateHasTime&&e.latestSelectedDateObj&&wt(e.latestSelectedDateObj,e.config.maxDate,!0)===0){const $=e.config.maxTime!==void 0?e.config.maxTime:e.config.maxDate;I=Math.min(I,$.getHours()),I===$.getHours()&&(k=Math.min(k,$.getMinutes())),k===$.getMinutes()&&(N=Math.min(N,$.getSeconds()))}if(U){const $=e.config.minTime!==void 0?e.config.minTime:e.config.minDate;I=Math.max(I,$.getHours()),I===$.getHours()&&k<$.getMinutes()&&(k=$.getMinutes()),k===$.getMinutes()&&(N=Math.max(N,$.getSeconds()))}h(I,k,N)}function d(I){const k=I||e.latestSelectedDateObj;k&&h(k.getHours(),k.getMinutes(),k.getSeconds())}function h(I,k,N){e.latestSelectedDateObj!==void 0&&e.latestSelectedDateObj.setHours(I%24,k,N||0,0),!(!e.hourElement||!e.minuteElement||e.isMobile)&&(e.hourElement.value=bt(e.config.time_24hr?I:(12+I)%12+12*Gt(I%12===0)),e.minuteElement.value=bt(k),e.amPM!==void 0&&(e.amPM.textContent=e.l10n.amPM[Gt(I>=12)]),e.secondElement!==void 0&&(e.secondElement.value=bt(N)))}function g(I){const k=It(I),N=parseInt(k.value)+(I.delta||0);(N/1e3>1||I.key==="Enter"&&!/[^\d]/.test(N.toString()))&&D(N)}function f(I,k,N,U){if(k instanceof Array)return k.forEach(ie=>f(I,ie,N,U));if(I instanceof Array)return I.forEach(ie=>f(ie,k,N,U));I.addEventListener(k,N,U),e._handlers.push({remove:()=>I.removeEventListener(k,N)})}function p(){Le("onChange")}function m(){if(e.config.wrap&&["open","close","toggle","clear"].forEach(k=>{Array.prototype.forEach.call(e.element.querySelectorAll(`[data-${k}]`),N=>f(N,"click",e[k]))}),e.isMobile){cr();return}const I=_h(K,50);if(e._debouncedChange=_h(p,i6),e.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&f(e.daysContainer,"mouseover",k=>{e.config.mode==="range"&&ue(It(k))}),f(window.document.body,"keydown",re),!e.config.inline&&!e.config.static&&f(window,"resize",I),window.ontouchstart!==void 0?f(window.document,"touchstart",J):f(window.document,"mousedown",J),f(window.document,"focus",J,{capture:!0}),e.config.clickOpens===!0&&(f(e._input,"focus",e.open),f(e._input,"click",e.open)),e.daysContainer!==void 0&&(f(e.monthNav,"click",ms),f(e.monthNav,["keyup","increment"],g),f(e.daysContainer,"click",st)),e.timeContainer!==void 0&&e.minuteElement!==void 0&&e.hourElement!==void 0){const k=N=>It(N).select();f(e.timeContainer,["increment"],o),f(e.timeContainer,"blur",o,{capture:!0}),f(e.timeContainer,"click",A),f([e.hourElement,e.minuteElement],["focus","click"],k),e.secondElement!==void 0&&f(e.secondElement,"focus",()=>e.secondElement&&e.secondElement.select()),e.amPM!==void 0&&f(e.amPM,"click",N=>{o(N),p()})}e.config.allowInput&&f(e._input,"blur",se)}function b(I,k){const N=I!==void 0?e.parseDate(I):e.latestSelectedDateObj||(e.config.minDate&&e.config.minDate>e.now?e.config.minDate:e.config.maxDate&&e.config.maxDate<e.now?e.config.maxDate:e.now),U=e.currentYear,ie=e.currentMonth;try{N!==void 0&&(e.currentYear=N.getFullYear(),e.currentMonth=N.getMonth())}catch($){$.message="Invalid date supplied: "+N,e.config.errorHandler($)}k&&e.currentYear!==U&&(Le("onYearChange"),O()),k&&(e.currentYear!==U||e.currentMonth!==ie)&&Le("onMonthChange"),e.redraw()}function A(I){const k=It(I);~k.className.indexOf("arrow")&&y(I,k.classList.contains("arrowUp")?1:-1)}function y(I,k,N){const U=I&&It(I),ie=N||U&&U.parentNode&&U.parentNode.firstChild,$=ur("increment");$.delta=k,ie&&ie.dispatchEvent($)}function w(){const I=window.document.createDocumentFragment();if(e.calendarContainer=we("div","flatpickr-calendar"),e.calendarContainer.tabIndex=-1,!e.config.noCalendar){if(I.appendChild(G()),e.innerContainer=we("div","flatpickr-innerContainer"),e.config.weekNumbers){const{weekWrapper:N,weekNumbers:U}=te();e.innerContainer.appendChild(N),e.weekNumbers=U,e.weekWrapper=N}e.rContainer=we("div","flatpickr-rContainer"),e.rContainer.appendChild(P()),e.daysContainer||(e.daysContainer=we("div","flatpickr-days"),e.daysContainer.tabIndex=-1),x(),e.rContainer.appendChild(e.daysContainer),e.innerContainer.appendChild(e.rContainer),I.appendChild(e.innerContainer)}e.config.enableTime&&I.appendChild(F()),gt(e.calendarContainer,"rangeMode",e.config.mode==="range"),gt(e.calendarContainer,"animate",e.config.animate===!0),gt(e.calendarContainer,"multiMonth",e.config.showMonths>1),e.calendarContainer.appendChild(I);const k=e.config.appendTo!==void 0&&e.config.appendTo.nodeType!==void 0;if((e.config.inline||e.config.static)&&(e.calendarContainer.classList.add(e.config.inline?"inline":"static"),e.config.inline&&(!k&&e.element.parentNode?e.element.parentNode.insertBefore(e.calendarContainer,e._input.nextSibling):e.config.appendTo!==void 0&&e.config.appendTo.appendChild(e.calendarContainer)),e.config.static)){const N=we("div","flatpickr-wrapper");e.element.parentNode&&e.element.parentNode.insertBefore(N,e.element),N.appendChild(e.element),e.altInput&&N.appendChild(e.altInput),N.appendChild(e.calendarContainer)}!e.config.static&&!e.config.inline&&(e.config.appendTo!==void 0?e.config.appendTo:window.document.body).appendChild(e.calendarContainer)}function C(I,k,N,U){const ie=Q(k,!0),$=we("span","flatpickr-day "+I,k.getDate().toString());return $.dateObj=k,$.$i=U,$.setAttribute("aria-label",e.formatDate(k,e.config.ariaDateFormat)),I.indexOf("hidden")===-1&&wt(k,e.now)===0&&(e.todayDateElem=$,$.classList.add("today"),$.setAttribute("aria-current","date")),ie?($.tabIndex=-1,dr(k)&&($.classList.add("selected"),e.selectedDateElem=$,e.config.mode==="range"&&(gt($,"startRange",e.selectedDates[0]&&wt(k,e.selectedDates[0],!0)===0),gt($,"endRange",e.selectedDates[1]&&wt(k,e.selectedDates[1],!0)===0),I==="nextMonthDay"&&$.classList.add("inRange")))):$.classList.add("flatpickr-disabled"),e.config.mode==="range"&&so(k)&&!dr(k)&&$.classList.add("inRange"),e.weekNumbers&&e.config.showMonths===1&&I!=="prevMonthDay"&&N%7===1&&e.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+e.config.getWeek(k)+"</span>"),Le("onDayCreate",$),$}function _(I){I.focus(),e.config.mode==="range"&&ue(I)}function S(I){const k=I>0?0:e.config.showMonths-1,N=I>0?e.config.showMonths:-1;for(let U=k;U!=N;U+=I){const ie=e.daysContainer.children[U],$=I>0?0:ie.children.length-1,oe=I>0?ie.children.length:-1;for(let ae=$;ae!=oe;ae+=I){const he=ie.children[ae];if(he.className.indexOf("hidden")===-1&&Q(he.dateObj))return he}}}function z(I,k){const N=I.className.indexOf("Month")===-1?I.dateObj.getMonth():e.currentMonth,U=k>0?e.config.showMonths:-1,ie=k>0?1:-1;for(let $=N-e.currentMonth;$!=U;$+=ie){const oe=e.daysContainer.children[$],ae=N-e.currentMonth===$?I.$i+k:k<0?oe.children.length-1:0,he=oe.children.length;for(let pe=ae;pe>=0&&pe<he&&pe!=(k>0?he:-1);pe+=ie){const Me=oe.children[pe];if(Me.className.indexOf("hidden")===-1&&Q(Me.dateObj)&&Math.abs(I.$i-pe)>=Math.abs(k))return _(Me)}}e.changeMonth(ie),R(S(ie),0)}function R(I,k){const N=X(document.activeElement||document.body),U=I!==void 0?I:N?document.activeElement:e.selectedDateElem!==void 0&&X(e.selectedDateElem)?e.selectedDateElem:e.todayDateElem!==void 0&&X(e.todayDateElem)?e.todayDateElem:S(k>0?1:-1);U===void 0?e._input.focus():N?z(U,k):_(U)}function T(I,k){const N=(new Date(I,k,1).getDay()-e.l10n.firstDayOfWeek+7)%7,U=e.utils.getDaysInMonth((k-1+12)%12,I),ie=e.utils.getDaysInMonth(k,I),$=window.document.createDocumentFragment(),oe=e.config.showMonths>1,ae=oe?"prevMonthDay hidden":"prevMonthDay",he=oe?"nextMonthDay hidden":"nextMonthDay";let pe=U+1-N,Me=0;for(;pe<=U;pe++,Me++)$.appendChild(C(ae,new Date(I,k-1,pe),pe,Me));for(pe=1;pe<=ie;pe++,Me++)$.appendChild(C("",new Date(I,k,pe),pe,Me));for(let et=ie+1;et<=42-N&&(e.config.showMonths===1||Me%7!==0);et++,Me++)$.appendChild(C(he,new Date(I,k+1,et%ie),et,Me));const pt=we("div","dayContainer");return pt.appendChild($),pt}function x(){if(e.daysContainer===void 0)return;Ps(e.daysContainer),e.weekNumbers&&Ps(e.weekNumbers);const I=document.createDocumentFragment();for(let k=0;k<e.config.showMonths;k++){const N=new Date(e.currentYear,e.currentMonth,1);N.setMonth(e.currentMonth+k),I.appendChild(T(N.getFullYear(),N.getMonth()))}e.daysContainer.appendChild(I),e.days=e.daysContainer.firstChild,e.config.mode==="range"&&e.selectedDates.length===1&&ue()}function O(){if(e.config.showMonths>1||e.config.monthSelectorType!=="dropdown")return;const I=function(k){return e.config.minDate!==void 0&&e.currentYear===e.config.minDate.getFullYear()&&k<e.config.minDate.getMonth()?!1:!(e.config.maxDate!==void 0&&e.currentYear===e.config.maxDate.getFullYear()&&k>e.config.maxDate.getMonth())};e.monthsDropdownContainer.tabIndex=-1,e.monthsDropdownContainer.innerHTML="";for(let k=0;k<12;k++){if(!I(k))continue;const N=we("option","flatpickr-monthDropdown-month");N.value=new Date(e.currentYear,k).getMonth().toString(),N.textContent=Ca(k,e.config.shorthandCurrentMonth,e.l10n),N.tabIndex=-1,e.currentMonth===k&&(N.selected=!0),e.monthsDropdownContainer.appendChild(N)}}function B(){const I=we("div","flatpickr-month"),k=window.document.createDocumentFragment();let N;e.config.showMonths>1||e.config.monthSelectorType==="static"?N=we("span","cur-month"):(e.monthsDropdownContainer=we("select","flatpickr-monthDropdown-months"),e.monthsDropdownContainer.setAttribute("aria-label",e.l10n.monthAriaLabel),f(e.monthsDropdownContainer,"change",oe=>{const ae=It(oe),he=parseInt(ae.value,10);e.changeMonth(he-e.currentMonth),Le("onMonthChange")}),O(),N=e.monthsDropdownContainer);const U=Fs("cur-year",{tabindex:"-1"}),ie=U.getElementsByTagName("input")[0];ie.setAttribute("aria-label",e.l10n.yearAriaLabel),e.config.minDate&&ie.setAttribute("min",e.config.minDate.getFullYear().toString()),e.config.maxDate&&(ie.setAttribute("max",e.config.maxDate.getFullYear().toString()),ie.disabled=!!e.config.minDate&&e.config.minDate.getFullYear()===e.config.maxDate.getFullYear());const $=we("div","flatpickr-current-month");return $.appendChild(N),$.appendChild(U),k.appendChild($),I.appendChild(k),{container:I,yearElement:ie,monthElement:N}}function L(){Ps(e.monthNav),e.monthNav.appendChild(e.prevMonthNav),e.config.showMonths&&(e.yearElements=[],e.monthElements=[]);for(let I=e.config.showMonths;I--;){const k=B();e.yearElements.push(k.yearElement),e.monthElements.push(k.monthElement),e.monthNav.appendChild(k.container)}e.monthNav.appendChild(e.nextMonthNav)}function G(){return e.monthNav=we("div","flatpickr-months"),e.yearElements=[],e.monthElements=[],e.prevMonthNav=we("span","flatpickr-prev-month"),e.prevMonthNav.innerHTML=e.config.prevArrow,e.nextMonthNav=we("span","flatpickr-next-month"),e.nextMonthNav.innerHTML=e.config.nextArrow,L(),Object.defineProperty(e,"_hidePrevMonthArrow",{get:()=>e.__hidePrevMonthArrow,set(I){e.__hidePrevMonthArrow!==I&&(gt(e.prevMonthNav,"flatpickr-disabled",I),e.__hidePrevMonthArrow=I)}}),Object.defineProperty(e,"_hideNextMonthArrow",{get:()=>e.__hideNextMonthArrow,set(I){e.__hideNextMonthArrow!==I&&(gt(e.nextMonthNav,"flatpickr-disabled",I),e.__hideNextMonthArrow=I)}}),e.currentYearElement=e.yearElements[0],Ii(),e.monthNav}function F(){e.calendarContainer.classList.add("hasTime"),e.config.noCalendar&&e.calendarContainer.classList.add("noCalendar");const I=Vo(e.config);e.timeContainer=we("div","flatpickr-time"),e.timeContainer.tabIndex=-1;const k=we("span","flatpickr-time-separator",":"),N=Fs("flatpickr-hour",{"aria-label":e.l10n.hourAriaLabel});e.hourElement=N.getElementsByTagName("input")[0];const U=Fs("flatpickr-minute",{"aria-label":e.l10n.minuteAriaLabel});if(e.minuteElement=U.getElementsByTagName("input")[0],e.hourElement.tabIndex=e.minuteElement.tabIndex=-1,e.hourElement.value=bt(e.latestSelectedDateObj?e.latestSelectedDateObj.getHours():e.config.time_24hr?I.hours:c(I.hours)),e.minuteElement.value=bt(e.latestSelectedDateObj?e.latestSelectedDateObj.getMinutes():I.minutes),e.hourElement.setAttribute("step",e.config.hourIncrement.toString()),e.minuteElement.setAttribute("step",e.config.minuteIncrement.toString()),e.hourElement.setAttribute("min",e.config.time_24hr?"0":"1"),e.hourElement.setAttribute("max",e.config.time_24hr?"23":"12"),e.hourElement.setAttribute("maxlength","2"),e.minuteElement.setAttribute("min","0"),e.minuteElement.setAttribute("max","59"),e.minuteElement.setAttribute("maxlength","2"),e.timeContainer.appendChild(N),e.timeContainer.appendChild(k),e.timeContainer.appendChild(U),e.config.time_24hr&&e.timeContainer.classList.add("time24hr"),e.config.enableSeconds){e.timeContainer.classList.add("hasSeconds");const ie=Fs("flatpickr-second");e.secondElement=ie.getElementsByTagName("input")[0],e.secondElement.value=bt(e.latestSelectedDateObj?e.latestSelectedDateObj.getSeconds():I.seconds),e.secondElement.setAttribute("step",e.minuteElement.getAttribute("step")),e.secondElement.setAttribute("min","0"),e.secondElement.setAttribute("max","59"),e.secondElement.setAttribute("maxlength","2"),e.timeContainer.appendChild(we("span","flatpickr-time-separator",":")),e.timeContainer.appendChild(ie)}return e.config.time_24hr||(e.amPM=we("span","flatpickr-am-pm",e.l10n.amPM[Gt((e.latestSelectedDateObj?e.hourElement.value:e.config.defaultHour)>11)]),e.amPM.title=e.l10n.toggleTitle,e.amPM.tabIndex=-1,e.timeContainer.appendChild(e.amPM)),e.timeContainer}function P(){e.weekdayContainer?Ps(e.weekdayContainer):e.weekdayContainer=we("div","flatpickr-weekdays");for(let I=e.config.showMonths;I--;){const k=we("div","flatpickr-weekdaycontainer");e.weekdayContainer.appendChild(k)}return V(),e.weekdayContainer}function V(){if(!e.weekdayContainer)return;const I=e.l10n.firstDayOfWeek;let k=[...e.l10n.weekdays.shorthand];I>0&&I<k.length&&(k=[...k.splice(I,k.length),...k.splice(0,I)]);for(let N=e.config.showMonths;N--;)e.weekdayContainer.children[N].innerHTML=`
223
+ ***************************************************************************** */var Hn=function(){return Hn=Object.assign||function(t){for(var e,i=1,r=arguments.length;i<r;i++){e=arguments[i];for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s])}return t},Hn.apply(this,arguments)};function M7(n,t){var e={};for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&t.indexOf(i)<0&&(e[i]=n[i]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,i=Object.getOwnPropertySymbols(n);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(n,i[r])&&(e[i[r]]=n[i[r]]);return e}var D7=function(){return Math.random().toString(36).substring(6)},Lm=function(n){var t=n.animate,e=n.backgroundColor,i=n.backgroundOpacity,r=n.baseUrl,s=n.children,a=n.foregroundColor,o=n.foregroundOpacity,l=n.gradientRatio,c=n.uniqueKey,u=n.interval,d=n.rtl,h=n.speed,g=n.style,f=n.title,p=M7(n,["animate","backgroundColor","backgroundOpacity","baseUrl","children","foregroundColor","foregroundOpacity","gradientRatio","uniqueKey","interval","rtl","speed","style","title"]),m=c||D7(),b=m+"-diff",A=m+"-animated-diff",y=m+"-aria",w=d?{transform:"scaleX(-1)"}:null,C="0; "+u+"; 1",_=h+"s";return E.createElement("svg",Hn({"aria-labelledby":y,role:"img",style:Hn(Hn({},g),w)},p),f?E.createElement("title",{id:y},f):null,E.createElement("rect",{role:"presentation",x:"0",y:"0",width:"100%",height:"100%",clipPath:"url("+r+"#"+b+")",style:{fill:"url("+r+"#"+A+")"}}),E.createElement("defs",{role:"presentation"},E.createElement("clipPath",{id:b},s),E.createElement("linearGradient",{id:A},E.createElement("stop",{offset:"0%",stopColor:e,stopOpacity:i},t&&E.createElement("animate",{attributeName:"offset",values:-l+"; "+-l+"; 1",keyTimes:C,dur:_,repeatCount:"indefinite"})),E.createElement("stop",{offset:"50%",stopColor:a,stopOpacity:o},t&&E.createElement("animate",{attributeName:"offset",values:-l/2+"; "+-l/2+"; "+(1+l/2),keyTimes:C,dur:_,repeatCount:"indefinite"})),E.createElement("stop",{offset:"100%",stopColor:e,stopOpacity:i},t&&E.createElement("animate",{attributeName:"offset",values:"0; 0; "+(1+l),keyTimes:C,dur:_,repeatCount:"indefinite"})))))};Lm.defaultProps={animate:!0,backgroundColor:"#f5f6f7",backgroundOpacity:1,baseUrl:"",foregroundColor:"#eee",foregroundOpacity:1,gradientRatio:2,id:null,interval:.25,rtl:!1,speed:1.2,style:{},title:"Loading..."};var jm=function(n){return n.children?E.createElement(Lm,Hn({},n)):E.createElement(B7,Hn({},n))},B7=function(n){return E.createElement(jm,Hn({viewBox:"0 0 476 124"},n),E.createElement("rect",{x:"48",y:"8",width:"88",height:"6",rx:"3"}),E.createElement("rect",{x:"48",y:"26",width:"52",height:"6",rx:"3"}),E.createElement("rect",{x:"0",y:"56",width:"410",height:"6",rx:"3"}),E.createElement("rect",{x:"0",y:"72",width:"380",height:"6",rx:"3"}),E.createElement("rect",{x:"0",y:"88",width:"178",height:"6",rx:"3"}),E.createElement("circle",{cx:"20",cy:"20",r:"20"}))};const Pm=jm,G7="_container_18oux_1",O7="_left_18oux_12",N7="_right_18oux_15",T7="_isActiveBorder_18oux_19",L7="_titleWrapper_18oux_31",j7="_title_18oux_31",P7="_description_18oux_52",Di={container:G7,left:O7,right:N7,isActiveBorder:T7,titleWrapper:L7,title:j7,description:P7},F7=n=>{const{title:t,leftClassName:e,leftComponent:i,rightClassName:r,titleClassName:s,titleWrapperClassName:a,component:o,description:l,isActiveBorder:c,isLoading:u,...d}=n;return v.jsxs("div",{className:ee(Di.container,{isActiveBorder:c}),...d,"data-testid":"content-header",children:[v.jsx("div",{className:ee(e,Di.left),children:u?v.jsxs(Pm,{backgroundColor:"#8c919d",foregroundColor:"#dbdbdb",width:150,height:40,viewBox:"0 0 150 40",children:[v.jsx("rect",{x:"0",y:"10",rx:"3",ry:"3",width:"100%",height:"15"}),v.jsx("rect",{x:"0",y:"37",rx:"3",ry:"3",width:"100%",height:"3"})]}):v.jsxs("div",{className:ee(a),children:[t&&v.jsx("div",{className:ee({[Di.titleWrapper]:c}),children:v.jsx("h2",{"data-testid":"content-header-title",className:ee(s,Di.title),children:t})}),i&&i,v.jsx("div",{className:Di.description,children:l})]})}),v.jsx("div",{className:ee(r,Di.right),children:o&&o})]})},Fm=()=>v.jsx(Pm,{backgroundColor:"#ffffff",foregroundColor:"#8c919d",width:55,height:12,viewBox:"0 0 55 12",children:v.jsx("rect",{x:"0",y:"3",rx:"3",ry:"3",width:"100%",height:"9"})});function H7({seconds:n,reset:t,onEnd:e}){const[i,r]=E.useState(n);return E.useEffect(()=>{r(n)},[n,t]),E.useEffect(()=>{if(!i){e&&e();return}const s=setInterval(()=>{r(i-1)},1e3);return()=>clearInterval(s)},[i]),v.jsx("span",{"data-testid":"countdown",children:i})}var z7={exports:{}},Zo={exports:{}},xh;function Hm(){return xh||(xh=1,function(n,t){(function(e,i){n.exports=i()})(tn,function(){var e=1e3,i=6e4,r=36e5,s="millisecond",a="second",o="minute",l="hour",c="day",u="week",d="month",h="quarter",g="year",f="date",p="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,A={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},y=function(B,L,G){var F=String(B);return!F||F.length>=L?B:""+Array(L+1-F.length).join(G)+B},w={s:y,z:function(B){var L=-B.utcOffset(),G=Math.abs(L),F=Math.floor(G/60),P=G%60;return(L<=0?"+":"-")+y(F,2,"0")+":"+y(P,2,"0")},m:function B(L,G){if(L.date()<G.date())return-B(G,L);var F=12*(G.year()-L.year())+(G.month()-L.month()),P=L.clone().add(F,d),V=G-P<0,te=L.clone().add(F+(V?-1:1),d);return+(-(F+(G-P)/(V?P-te:te-P))||0)},a:function(B){return B<0?Math.ceil(B)||0:Math.floor(B)},p:function(B){return{M:d,y:g,w:u,d:c,D:f,h:l,m:o,s:a,ms:s,Q:h}[B]||String(B||"").toLowerCase().replace(/s$/,"")},u:function(B){return B===void 0}},C="en",_={};_[C]=A;var S=function(B){return B instanceof x},z=function B(L,G,F){var P;if(!L)return C;if(typeof L=="string"){var V=L.toLowerCase();_[V]&&(P=V),G&&(_[V]=G,P=V);var te=L.split("-");if(!P&&te.length>1)return B(te[0])}else{var Z=L.name;_[Z]=L,P=Z}return!F&&P&&(C=P),P||!F&&C},R=function(B,L){if(S(B))return B.clone();var G=typeof L=="object"?L:{};return G.date=B,G.args=arguments,new x(G)},T=w;T.l=z,T.i=S,T.w=function(B,L){return R(B,{locale:L.$L,utc:L.$u,x:L.$x,$offset:L.$offset})};var x=function(){function B(G){this.$L=z(G.locale,null,!0),this.parse(G)}var L=B.prototype;return L.parse=function(G){this.$d=function(F){var P=F.date,V=F.utc;if(P===null)return new Date(NaN);if(T.u(P))return new Date;if(P instanceof Date)return new Date(P);if(typeof P=="string"&&!/Z$/i.test(P)){var te=P.match(m);if(te){var Z=te[2]-1||0,W=(te[7]||"0").substring(0,3);return V?new Date(Date.UTC(te[1],Z,te[3]||1,te[4]||0,te[5]||0,te[6]||0,W)):new Date(te[1],Z,te[3]||1,te[4]||0,te[5]||0,te[6]||0,W)}}return new Date(P)}(G),this.$x=G.x||{},this.init()},L.init=function(){var G=this.$d;this.$y=G.getFullYear(),this.$M=G.getMonth(),this.$D=G.getDate(),this.$W=G.getDay(),this.$H=G.getHours(),this.$m=G.getMinutes(),this.$s=G.getSeconds(),this.$ms=G.getMilliseconds()},L.$utils=function(){return T},L.isValid=function(){return this.$d.toString()!==p},L.isSame=function(G,F){var P=R(G);return this.startOf(F)<=P&&P<=this.endOf(F)},L.isAfter=function(G,F){return R(G)<this.startOf(F)},L.isBefore=function(G,F){return this.endOf(F)<R(G)},L.$g=function(G,F,P){return T.u(G)?this[F]:this.set(P,G)},L.unix=function(){return Math.floor(this.valueOf()/1e3)},L.valueOf=function(){return this.$d.getTime()},L.startOf=function(G,F){var P=this,V=!!T.u(F)||F,te=T.p(G),Z=function(X,se){var re=T.w(P.$u?Date.UTC(P.$y,se,X):new Date(P.$y,se,X),P);return V?re:re.endOf(c)},W=function(X,se){return T.w(P.toDate()[X].apply(P.toDate("s"),(V?[0,0,0,0]:[23,59,59,999]).slice(se)),P)},H=this.$W,j=this.$M,Y=this.$D,J="set"+(this.$u?"UTC":"");switch(te){case g:return V?Z(1,0):Z(31,11);case d:return V?Z(1,j):Z(0,j+1);case u:var D=this.$locale().weekStart||0,Q=(H<D?H+7:H)-D;return Z(V?Y-Q:Y+(6-Q),j);case c:case f:return W(J+"Hours",0);case l:return W(J+"Minutes",1);case o:return W(J+"Seconds",2);case a:return W(J+"Milliseconds",3);default:return this.clone()}},L.endOf=function(G){return this.startOf(G,!1)},L.$set=function(G,F){var P,V=T.p(G),te="set"+(this.$u?"UTC":""),Z=(P={},P[c]=te+"Date",P[f]=te+"Date",P[d]=te+"Month",P[g]=te+"FullYear",P[l]=te+"Hours",P[o]=te+"Minutes",P[a]=te+"Seconds",P[s]=te+"Milliseconds",P)[V],W=V===c?this.$D+(F-this.$W):F;if(V===d||V===g){var H=this.clone().set(f,1);H.$d[Z](W),H.init(),this.$d=H.set(f,Math.min(this.$D,H.daysInMonth())).$d}else Z&&this.$d[Z](W);return this.init(),this},L.set=function(G,F){return this.clone().$set(G,F)},L.get=function(G){return this[T.p(G)]()},L.add=function(G,F){var P,V=this;G=Number(G);var te=T.p(F),Z=function(j){var Y=R(V);return T.w(Y.date(Y.date()+Math.round(j*G)),V)};if(te===d)return this.set(d,this.$M+G);if(te===g)return this.set(g,this.$y+G);if(te===c)return Z(1);if(te===u)return Z(7);var W=(P={},P[o]=i,P[l]=r,P[a]=e,P)[te]||1,H=this.$d.getTime()+G*W;return T.w(H,this)},L.subtract=function(G,F){return this.add(-1*G,F)},L.format=function(G){var F=this,P=this.$locale();if(!this.isValid())return P.invalidDate||p;var V=G||"YYYY-MM-DDTHH:mm:ssZ",te=T.z(this),Z=this.$H,W=this.$m,H=this.$M,j=P.weekdays,Y=P.months,J=function(se,re,ue,K){return se&&(se[re]||se(F,V))||ue[re].substr(0,K)},D=function(se){return T.s(Z%12||12,se,"0")},Q=P.meridiem||function(se,re,ue){var K=se<12?"AM":"PM";return ue?K.toLowerCase():K},X={YY:String(this.$y).slice(-2),YYYY:this.$y,M:H+1,MM:T.s(H+1,2,"0"),MMM:J(P.monthsShort,H,Y,3),MMMM:J(Y,H),D:this.$D,DD:T.s(this.$D,2,"0"),d:String(this.$W),dd:J(P.weekdaysMin,this.$W,j,2),ddd:J(P.weekdaysShort,this.$W,j,3),dddd:j[this.$W],H:String(Z),HH:T.s(Z,2,"0"),h:D(1),hh:D(2),a:Q(Z,W,!0),A:Q(Z,W,!1),m:String(W),mm:T.s(W,2,"0"),s:String(this.$s),ss:T.s(this.$s,2,"0"),SSS:T.s(this.$ms,3,"0"),Z:te};return V.replace(b,function(se,re){return re||X[se]||te.replace(":","")})},L.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},L.diff=function(G,F,P){var V,te=T.p(F),Z=R(G),W=(Z.utcOffset()-this.utcOffset())*i,H=this-Z,j=T.m(this,Z);return j=(V={},V[g]=j/12,V[d]=j,V[h]=j/3,V[u]=(H-W)/6048e5,V[c]=(H-W)/864e5,V[l]=H/r,V[o]=H/i,V[a]=H/e,V)[te]||H,P?j:T.a(j)},L.daysInMonth=function(){return this.endOf(d).$D},L.$locale=function(){return _[this.$L]},L.locale=function(G,F){if(!G)return this.$L;var P=this.clone(),V=z(G,F,!0);return V&&(P.$L=V),P},L.clone=function(){return T.w(this.$d,this)},L.toDate=function(){return new Date(this.valueOf())},L.toJSON=function(){return this.isValid()?this.toISOString():null},L.toISOString=function(){return this.$d.toISOString()},L.toString=function(){return this.$d.toUTCString()},B}(),O=x.prototype;return R.prototype=O,[["$ms",s],["$s",a],["$m",o],["$H",l],["$W",c],["$M",d],["$y",g],["$D",f]].forEach(function(B){O[B[1]]=function(L){return this.$g(L,B[0],B[1])}}),R.extend=function(B,L){return B.$i||(B(L,x,R),B.$i=!0),R},R.locale=z,R.isDayjs=S,R.unix=function(B){return R(1e3*B)},R.en=_[C],R.Ls=_,R.p={},R})}(Zo)),Zo.exports}(function(n,t){(function(e,i){n.exports=i(Hm())})(tn,function(e){function i(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var r=i(e),s={name:"tr",weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(a){return a+"."}};return r.default.locale(s,null,!0),s})})(z7);var Z7=Hm();const $e=xn(Z7);var zm={exports:{}};(function(n,t){(function(e,i){n.exports=i()})(tn,function(){return function(e,i,r){var s=i.prototype,a=s.format;r.en.ordinal=function(o){var l=["th","st","nd","rd"],c=o%100;return"["+o+(l[(c-20)%10]||l[c]||l[0])+"]"},s.format=function(o){var l=this,c=this.$locale();if(!this.isValid())return a.bind(this)(o);var u=this.$utils(),d=(o||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(h){switch(h){case"Q":return Math.ceil((l.$M+1)/3);case"Do":return c.ordinal(l.$D);case"gggg":return l.weekYear();case"GGGG":return l.isoWeekYear();case"wo":return c.ordinal(l.week(),"W");case"w":case"ww":return u.s(l.week(),h==="w"?1:2,"0");case"W":case"WW":return u.s(l.isoWeek(),h==="W"?1:2,"0");case"k":case"kk":return u.s(String(l.$H===0?24:l.$H),h==="k"?1:2,"0");case"X":return Math.floor(l.$d.getTime()/1e3);case"x":return l.$d.getTime();case"z":return"["+l.offsetName()+"]";case"zzz":return"["+l.offsetName("long")+"]";default:return h}});return a.bind(this)(d)}}})})(zm);var Y7=zm.exports;const W7=xn(Y7);var Zm={exports:{}};(function(n,t){(function(e,i){n.exports=i()})(tn,function(){var e="minute",i=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g;return function(s,a,o){var l=a.prototype;o.utc=function(p){var m={date:p,utc:!0,args:arguments};return new a(m)},l.utc=function(p){var m=o(this.toDate(),{locale:this.$L,utc:!0});return p?m.add(this.utcOffset(),e):m},l.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var c=l.parse;l.parse=function(p){p.utc&&(this.$u=!0),this.$utils().u(p.$offset)||(this.$offset=p.$offset),c.call(this,p)};var u=l.init;l.init=function(){if(this.$u){var p=this.$d;this.$y=p.getUTCFullYear(),this.$M=p.getUTCMonth(),this.$D=p.getUTCDate(),this.$W=p.getUTCDay(),this.$H=p.getUTCHours(),this.$m=p.getUTCMinutes(),this.$s=p.getUTCSeconds(),this.$ms=p.getUTCMilliseconds()}else u.call(this)};var d=l.utcOffset;l.utcOffset=function(p,m){var b=this.$utils().u;if(b(p))return this.$u?0:b(this.$offset)?d.call(this):this.$offset;if(typeof p=="string"&&(p=function(C){C===void 0&&(C="");var _=C.match(i);if(!_)return null;var S=(""+_[0]).match(r)||["-",0,0],z=S[0],R=60*+S[1]+ +S[2];return R===0?0:z==="+"?R:-R}(p),p===null))return this;var A=Math.abs(p)<=16?60*p:p,y=this;if(m)return y.$offset=A,y.$u=p===0,y;if(p!==0){var w=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(y=this.local().add(A+w,e)).$offset=A,y.$x.$localOffset=w}else y=this.utc();return y};var h=l.format;l.format=function(p){var m=p||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return h.call(this,m)},l.valueOf=function(){var p=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||new Date().getTimezoneOffset());return this.$d.valueOf()-6e4*p},l.isUTC=function(){return!!this.$u},l.toISOString=function(){return this.toDate().toISOString()},l.toString=function(){return this.toDate().toUTCString()};var g=l.toDate;l.toDate=function(p){return p==="s"&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():g.call(this)};var f=l.diff;l.diff=function(p,m,b){if(p&&this.$u===p.$u)return f.call(this,p,m,b);var A=this.local(),y=o(p).local();return f.call(A,y,m,b)}}})})(Zm);var X7=Zm.exports;const V7=xn(X7);$e.extend(V7);$e.extend(W7);$e.locale("tr");const Li="YYYY-MM-DD",Ym="YYYY-MM-DD HH:mm",oi="DD MMM YYYY",Wm="DD MMMM YYYY HH:mm",Xm="DD MMM YY HH:mm",Vm="HH:mm";$e().add(1,"day").toDate();const J7=(n,t="single",e=!1)=>{switch(t){case"datetime":return $e(n,Ym).format(e?Xm:Wm);case"single":return $e(n,oi).format(oi);case"range":return`${$e(n.starDate,Li).format(oi)} - ${$e(n.endDate,Li).format(oi)}`;default:return n}},Q7={weekdays:{shorthand:["Paz","Pzt","Sal","Çar","Per","Cum","Cmt"],longhand:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"]},months:{shorthand:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],longhand:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"]},firstDayOfWeek:1,ordinal:()=>".",rangeSeparator:" - ",weekAbbreviation:"Hf",scrollTitle:"Artırmak için kaydırın",toggleTitle:"Aç/Kapa",amPM:["ÖÖ","ÖS"],time_24hr:!0},U7=Object.freeze(Object.defineProperty({__proto__:null,tr:Q7},Symbol.toStringTag,{value:"Module"}));function eu(){return Xi.language}const K7=(n,t)=>{const e=(n==null?void 0:n.language)||"en";$e.locale(e),Xi.changeLanguage(e),ep(null,t)};function q7(){switch(eu()){case"tr":return bE("tr",U7);default:return"en"}}const $7={},Yo=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],zi={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:typeof window=="object"&&window.navigator.userAgent.indexOf("MSIE")===-1,ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:n=>typeof console<"u"&&console.warn(n),getWeek:n=>{const t=new Date(n.getTime());t.setHours(0,0,0,0),t.setDate(t.getDate()+3-(t.getDay()+6)%7);var e=new Date(t.getFullYear(),0,4);return 1+Math.round(((t.getTime()-e.getTime())/864e5-3+(e.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},Ur={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:n=>{const t=n%100;if(t>3&&t<21)return"th";switch(t%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},bt=(n,t=2)=>`000${n}`.slice(t*-1),Gt=n=>n===!0?1:0;function _h(n,t){let e;return function(){clearTimeout(e),e=setTimeout(()=>n.apply(this,arguments),t)}}const Wo=n=>n instanceof Array?n:[n];function gt(n,t,e){if(e===!0)return n.classList.add(t);n.classList.remove(t)}function we(n,t,e){const i=window.document.createElement(n);return t=t||"",e=e||"",i.className=t,e!==void 0&&(i.textContent=e),i}function Ps(n){for(;n.firstChild;)n.removeChild(n.firstChild)}function Jm(n,t){if(t(n))return n;if(n.parentNode)return Jm(n.parentNode,t)}function Fs(n,t){const e=we("div","numInputWrapper"),i=we("input","numInput "+n),r=we("span","arrowUp"),s=we("span","arrowDown");if(navigator.userAgent.indexOf("MSIE 9.0")===-1?i.type="number":(i.type="text",i.pattern="\\d*"),t!==void 0)for(const a in t)i.setAttribute(a,t[a]);return e.appendChild(i),e.appendChild(r),e.appendChild(s),e}function It(n){try{return typeof n.composedPath=="function"?n.composedPath()[0]:n.target}catch{return n.target}}const Xo=()=>{},Ca=(n,t,e)=>e.months[t?"shorthand":"longhand"][n],e6={D:Xo,F:function(n,t,e){n.setMonth(e.months.longhand.indexOf(t))},G:(n,t)=>{n.setHours(parseFloat(t))},H:(n,t)=>{n.setHours(parseFloat(t))},J:(n,t)=>{n.setDate(parseFloat(t))},K:(n,t,e)=>{n.setHours(n.getHours()%12+12*Gt(new RegExp(e.amPM[1],"i").test(t)))},M:function(n,t,e){n.setMonth(e.months.shorthand.indexOf(t))},S:(n,t)=>{n.setSeconds(parseFloat(t))},U:(n,t)=>new Date(parseFloat(t)*1e3),W:function(n,t,e){const i=parseInt(t),r=new Date(n.getFullYear(),0,2+(i-1)*7,0,0,0,0);return r.setDate(r.getDate()-r.getDay()+e.firstDayOfWeek),r},Y:(n,t)=>{n.setFullYear(parseFloat(t))},Z:(n,t)=>new Date(t),d:(n,t)=>{n.setDate(parseFloat(t))},h:(n,t)=>{n.setHours(parseFloat(t))},i:(n,t)=>{n.setMinutes(parseFloat(t))},j:(n,t)=>{n.setDate(parseFloat(t))},l:Xo,m:(n,t)=>{n.setMonth(parseFloat(t)-1)},n:(n,t)=>{n.setMonth(parseFloat(t)-1)},s:(n,t)=>{n.setSeconds(parseFloat(t))},u:(n,t)=>new Date(parseFloat(t)),w:Xo,y:(n,t)=>{n.setFullYear(2e3+parseFloat(t))}},zl={D:"(\\w+)",F:"(\\w+)",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"(\\w+)",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"(\\w+)",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},Lr={Z:n=>n.toISOString(),D:function(n,t,e){return t.weekdays.shorthand[Lr.w(n,t,e)]},F:function(n,t,e){return Ca(Lr.n(n,t,e)-1,!1,t)},G:function(n,t,e){return bt(Lr.h(n,t,e))},H:n=>bt(n.getHours()),J:function(n,t){return t.ordinal!==void 0?n.getDate()+t.ordinal(n.getDate()):n.getDate()},K:(n,t)=>t.amPM[Gt(n.getHours()>11)],M:function(n,t){return Ca(n.getMonth(),!0,t)},S:n=>bt(n.getSeconds()),U:n=>n.getTime()/1e3,W:function(n,t,e){return e.getWeek(n)},Y:n=>bt(n.getFullYear(),4),d:n=>bt(n.getDate()),h:n=>n.getHours()%12?n.getHours()%12:12,i:n=>bt(n.getMinutes()),j:n=>n.getDate(),l:function(n,t){return t.weekdays.longhand[n.getDay()]},m:n=>bt(n.getMonth()+1),n:n=>n.getMonth()+1,s:n=>n.getSeconds(),u:n=>n.getTime(),w:n=>n.getDay(),y:n=>String(n.getFullYear()).substring(2)},Qm=({config:n=zi,l10n:t=Ur,isMobile:e=!1})=>(i,r,s)=>{const a=s||t;return n.formatDate!==void 0&&!e?n.formatDate(i,r,a):r.split("").map((o,l,c)=>Lr[o]&&c[l-1]!=="\\"?Lr[o](i,a,n):o!=="\\"?o:"").join("")},Zl=({config:n=zi,l10n:t=Ur})=>(e,i,r,s)=>{if(e!==0&&!e)return;const a=s||t;let o;const l=e;if(e instanceof Date)o=new Date(e.getTime());else if(typeof e!="string"&&e.toFixed!==void 0)o=new Date(e);else if(typeof e=="string"){const c=i||(n||zi).dateFormat,u=String(e).trim();if(u==="today")o=new Date,r=!0;else if(/Z$/.test(u)||/GMT$/.test(u))o=new Date(e);else if(n&&n.parseDate)o=n.parseDate(e,c);else{o=!n||!n.noCalendar?new Date(new Date().getFullYear(),0,1,0,0,0,0):new Date(new Date().setHours(0,0,0,0));let d,h=[];for(let g=0,f=0,p="";g<c.length;g++){const m=c[g],b=m==="\\",A=c[g-1]==="\\"||b;if(zl[m]&&!A){p+=zl[m];const y=new RegExp(p).exec(e);y&&(d=!0)&&h[m!=="Y"?"push":"unshift"]({fn:e6[m],val:y[++f]})}else b||(p+=".");h.forEach(({fn:y,val:w})=>o=y(o,w,a)||o)}o=d?o:void 0}}if(!(o instanceof Date&&!isNaN(o.getTime()))){n.errorHandler(new Error(`Invalid date provided: ${l}`));return}return r===!0&&o.setHours(0,0,0,0),o};function wt(n,t,e=!0){return e!==!1?new Date(n.getTime()).setHours(0,0,0,0)-new Date(t.getTime()).setHours(0,0,0,0):n.getTime()-t.getTime()}const t6=(n,t,e)=>n>Math.min(t,e)&&n<Math.max(t,e),n6={DAY:864e5};function Vo(n){let t=n.defaultHour,e=n.defaultMinute,i=n.defaultSeconds;if(n.minDate!==void 0){const r=n.minDate.getHours(),s=n.minDate.getMinutes(),a=n.minDate.getSeconds();t<r&&(t=r),t===r&&e<s&&(e=s),t===r&&e===s&&i<a&&(i=n.minDate.getSeconds())}if(n.maxDate!==void 0){const r=n.maxDate.getHours(),s=n.maxDate.getMinutes();t=Math.min(t,r),t===r&&(e=Math.min(s,e)),t===r&&e===s&&(i=n.maxDate.getSeconds())}return{hours:t,minutes:e,seconds:i}}typeof Object.assign!="function"&&(Object.assign=function(n,...t){if(!n)throw TypeError("Cannot convert undefined or null to object");for(const e of t)e&&Object.keys(e).forEach(i=>n[i]=e[i]);return n});const i6=300;function r6(n,t){const e={config:Object.assign(Object.assign({},zi),Ue.defaultConfig),l10n:Ur};e.parseDate=Zl({config:e.config,l10n:e.l10n}),e._handlers=[],e.pluginElements=[],e.loadedPlugins=[],e._bind=f,e._setHoursFromDate=d,e._positionCalendar=Te,e.changeMonth=Z,e.changeYear=D,e.clear=W,e.close=H,e._createElement=we,e.destroy=j,e.isEnabled=Q,e.jumpToDate=b,e.open=Be,e.redraw=cn,e.set=Ge,e.setDate=Ft,e.toggle=ro;function i(){e.utils={getDaysInMonth(I=e.currentMonth,k=e.currentYear){return I===1&&(k%4===0&&k%100!==0||k%400===0)?29:e.l10n.daysInMonth[I]}}}function r(){e.element=e.input=n,e.isOpen=!1,fe(),be(),gs(),hs(),i(),e.isMobile||w(),m(),(e.selectedDates.length||e.config.noCalendar)&&(e.config.enableTime&&d(e.config.noCalendar?e.latestSelectedDateObj:void 0),Et(!1)),a();const I=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!e.isMobile&&I&&Te(),Le("onReady")}function s(I){return I.bind(e)}function a(){const I=e.config;I.weekNumbers===!1&&I.showMonths===1||I.noCalendar!==!0&&window.requestAnimationFrame(function(){if(e.calendarContainer!==void 0&&(e.calendarContainer.style.visibility="hidden",e.calendarContainer.style.display="block"),e.daysContainer!==void 0){const k=(e.days.offsetWidth+1)*I.showMonths;e.daysContainer.style.width=k+"px",e.calendarContainer.style.width=k+(e.weekWrapper!==void 0?e.weekWrapper.offsetWidth:0)+"px",e.calendarContainer.style.removeProperty("visibility"),e.calendarContainer.style.removeProperty("display")}})}function o(I){if(e.selectedDates.length===0){const N=e.config.minDate===void 0||wt(new Date,e.config.minDate)>=0?new Date:new Date(e.config.minDate.getTime()),U=Vo(e.config);N.setHours(U.hours,U.minutes,U.seconds,N.getMilliseconds()),e.selectedDates=[N],e.latestSelectedDateObj=N}I!==void 0&&I.type!=="blur"&&Mn(I);const k=e._input.value;u(),Et(),e._input.value!==k&&e._debouncedChange()}function l(I,k){return I%12+12*Gt(k===e.l10n.amPM[1])}function c(I){switch(I%24){case 0:case 12:return 12;default:return I%12}}function u(){if(e.hourElement===void 0||e.minuteElement===void 0)return;let I=(parseInt(e.hourElement.value.slice(-2),10)||0)%24,k=(parseInt(e.minuteElement.value,10)||0)%60,N=e.secondElement!==void 0?(parseInt(e.secondElement.value,10)||0)%60:0;e.amPM!==void 0&&(I=l(I,e.amPM.textContent));const U=e.config.minTime!==void 0||e.config.minDate&&e.minDateHasTime&&e.latestSelectedDateObj&&wt(e.latestSelectedDateObj,e.config.minDate,!0)===0;if(e.config.maxTime!==void 0||e.config.maxDate&&e.maxDateHasTime&&e.latestSelectedDateObj&&wt(e.latestSelectedDateObj,e.config.maxDate,!0)===0){const $=e.config.maxTime!==void 0?e.config.maxTime:e.config.maxDate;I=Math.min(I,$.getHours()),I===$.getHours()&&(k=Math.min(k,$.getMinutes())),k===$.getMinutes()&&(N=Math.min(N,$.getSeconds()))}if(U){const $=e.config.minTime!==void 0?e.config.minTime:e.config.minDate;I=Math.max(I,$.getHours()),I===$.getHours()&&k<$.getMinutes()&&(k=$.getMinutes()),k===$.getMinutes()&&(N=Math.max(N,$.getSeconds()))}h(I,k,N)}function d(I){const k=I||e.latestSelectedDateObj;k&&h(k.getHours(),k.getMinutes(),k.getSeconds())}function h(I,k,N){e.latestSelectedDateObj!==void 0&&e.latestSelectedDateObj.setHours(I%24,k,N||0,0),!(!e.hourElement||!e.minuteElement||e.isMobile)&&(e.hourElement.value=bt(e.config.time_24hr?I:(12+I)%12+12*Gt(I%12===0)),e.minuteElement.value=bt(k),e.amPM!==void 0&&(e.amPM.textContent=e.l10n.amPM[Gt(I>=12)]),e.secondElement!==void 0&&(e.secondElement.value=bt(N)))}function g(I){const k=It(I),N=parseInt(k.value)+(I.delta||0);(N/1e3>1||I.key==="Enter"&&!/[^\d]/.test(N.toString()))&&D(N)}function f(I,k,N,U){if(k instanceof Array)return k.forEach(ie=>f(I,ie,N,U));if(I instanceof Array)return I.forEach(ie=>f(ie,k,N,U));I.addEventListener(k,N,U),e._handlers.push({remove:()=>I.removeEventListener(k,N)})}function p(){Le("onChange")}function m(){if(e.config.wrap&&["open","close","toggle","clear"].forEach(k=>{Array.prototype.forEach.call(e.element.querySelectorAll(`[data-${k}]`),N=>f(N,"click",e[k]))}),e.isMobile){cr();return}const I=_h(K,50);if(e._debouncedChange=_h(p,i6),e.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&f(e.daysContainer,"mouseover",k=>{e.config.mode==="range"&&ue(It(k))}),f(window.document.body,"keydown",re),!e.config.inline&&!e.config.static&&f(window,"resize",I),window.ontouchstart!==void 0?f(window.document,"touchstart",J):f(window.document,"mousedown",J),f(window.document,"focus",J,{capture:!0}),e.config.clickOpens===!0&&(f(e._input,"focus",e.open),f(e._input,"click",e.open)),e.daysContainer!==void 0&&(f(e.monthNav,"click",ms),f(e.monthNav,["keyup","increment"],g),f(e.daysContainer,"click",st)),e.timeContainer!==void 0&&e.minuteElement!==void 0&&e.hourElement!==void 0){const k=N=>It(N).select();f(e.timeContainer,["increment"],o),f(e.timeContainer,"blur",o,{capture:!0}),f(e.timeContainer,"click",A),f([e.hourElement,e.minuteElement],["focus","click"],k),e.secondElement!==void 0&&f(e.secondElement,"focus",()=>e.secondElement&&e.secondElement.select()),e.amPM!==void 0&&f(e.amPM,"click",N=>{o(N),p()})}e.config.allowInput&&f(e._input,"blur",se)}function b(I,k){const N=I!==void 0?e.parseDate(I):e.latestSelectedDateObj||(e.config.minDate&&e.config.minDate>e.now?e.config.minDate:e.config.maxDate&&e.config.maxDate<e.now?e.config.maxDate:e.now),U=e.currentYear,ie=e.currentMonth;try{N!==void 0&&(e.currentYear=N.getFullYear(),e.currentMonth=N.getMonth())}catch($){$.message="Invalid date supplied: "+N,e.config.errorHandler($)}k&&e.currentYear!==U&&(Le("onYearChange"),O()),k&&(e.currentYear!==U||e.currentMonth!==ie)&&Le("onMonthChange"),e.redraw()}function A(I){const k=It(I);~k.className.indexOf("arrow")&&y(I,k.classList.contains("arrowUp")?1:-1)}function y(I,k,N){const U=I&&It(I),ie=N||U&&U.parentNode&&U.parentNode.firstChild,$=ur("increment");$.delta=k,ie&&ie.dispatchEvent($)}function w(){const I=window.document.createDocumentFragment();if(e.calendarContainer=we("div","flatpickr-calendar"),e.calendarContainer.tabIndex=-1,!e.config.noCalendar){if(I.appendChild(G()),e.innerContainer=we("div","flatpickr-innerContainer"),e.config.weekNumbers){const{weekWrapper:N,weekNumbers:U}=te();e.innerContainer.appendChild(N),e.weekNumbers=U,e.weekWrapper=N}e.rContainer=we("div","flatpickr-rContainer"),e.rContainer.appendChild(P()),e.daysContainer||(e.daysContainer=we("div","flatpickr-days"),e.daysContainer.tabIndex=-1),x(),e.rContainer.appendChild(e.daysContainer),e.innerContainer.appendChild(e.rContainer),I.appendChild(e.innerContainer)}e.config.enableTime&&I.appendChild(F()),gt(e.calendarContainer,"rangeMode",e.config.mode==="range"),gt(e.calendarContainer,"animate",e.config.animate===!0),gt(e.calendarContainer,"multiMonth",e.config.showMonths>1),e.calendarContainer.appendChild(I);const k=e.config.appendTo!==void 0&&e.config.appendTo.nodeType!==void 0;if((e.config.inline||e.config.static)&&(e.calendarContainer.classList.add(e.config.inline?"inline":"static"),e.config.inline&&(!k&&e.element.parentNode?e.element.parentNode.insertBefore(e.calendarContainer,e._input.nextSibling):e.config.appendTo!==void 0&&e.config.appendTo.appendChild(e.calendarContainer)),e.config.static)){const N=we("div","flatpickr-wrapper");e.element.parentNode&&e.element.parentNode.insertBefore(N,e.element),N.appendChild(e.element),e.altInput&&N.appendChild(e.altInput),N.appendChild(e.calendarContainer)}!e.config.static&&!e.config.inline&&(e.config.appendTo!==void 0?e.config.appendTo:window.document.body).appendChild(e.calendarContainer)}function C(I,k,N,U){const ie=Q(k,!0),$=we("span","flatpickr-day "+I,k.getDate().toString());return $.dateObj=k,$.$i=U,$.setAttribute("aria-label",e.formatDate(k,e.config.ariaDateFormat)),I.indexOf("hidden")===-1&&wt(k,e.now)===0&&(e.todayDateElem=$,$.classList.add("today"),$.setAttribute("aria-current","date")),ie?($.tabIndex=-1,dr(k)&&($.classList.add("selected"),e.selectedDateElem=$,e.config.mode==="range"&&(gt($,"startRange",e.selectedDates[0]&&wt(k,e.selectedDates[0],!0)===0),gt($,"endRange",e.selectedDates[1]&&wt(k,e.selectedDates[1],!0)===0),I==="nextMonthDay"&&$.classList.add("inRange")))):$.classList.add("flatpickr-disabled"),e.config.mode==="range"&&so(k)&&!dr(k)&&$.classList.add("inRange"),e.weekNumbers&&e.config.showMonths===1&&I!=="prevMonthDay"&&N%7===1&&e.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+e.config.getWeek(k)+"</span>"),Le("onDayCreate",$),$}function _(I){I.focus(),e.config.mode==="range"&&ue(I)}function S(I){const k=I>0?0:e.config.showMonths-1,N=I>0?e.config.showMonths:-1;for(let U=k;U!=N;U+=I){const ie=e.daysContainer.children[U],$=I>0?0:ie.children.length-1,oe=I>0?ie.children.length:-1;for(let ae=$;ae!=oe;ae+=I){const he=ie.children[ae];if(he.className.indexOf("hidden")===-1&&Q(he.dateObj))return he}}}function z(I,k){const N=I.className.indexOf("Month")===-1?I.dateObj.getMonth():e.currentMonth,U=k>0?e.config.showMonths:-1,ie=k>0?1:-1;for(let $=N-e.currentMonth;$!=U;$+=ie){const oe=e.daysContainer.children[$],ae=N-e.currentMonth===$?I.$i+k:k<0?oe.children.length-1:0,he=oe.children.length;for(let pe=ae;pe>=0&&pe<he&&pe!=(k>0?he:-1);pe+=ie){const Me=oe.children[pe];if(Me.className.indexOf("hidden")===-1&&Q(Me.dateObj)&&Math.abs(I.$i-pe)>=Math.abs(k))return _(Me)}}e.changeMonth(ie),R(S(ie),0)}function R(I,k){const N=X(document.activeElement||document.body),U=I!==void 0?I:N?document.activeElement:e.selectedDateElem!==void 0&&X(e.selectedDateElem)?e.selectedDateElem:e.todayDateElem!==void 0&&X(e.todayDateElem)?e.todayDateElem:S(k>0?1:-1);U===void 0?e._input.focus():N?z(U,k):_(U)}function T(I,k){const N=(new Date(I,k,1).getDay()-e.l10n.firstDayOfWeek+7)%7,U=e.utils.getDaysInMonth((k-1+12)%12,I),ie=e.utils.getDaysInMonth(k,I),$=window.document.createDocumentFragment(),oe=e.config.showMonths>1,ae=oe?"prevMonthDay hidden":"prevMonthDay",he=oe?"nextMonthDay hidden":"nextMonthDay";let pe=U+1-N,Me=0;for(;pe<=U;pe++,Me++)$.appendChild(C(ae,new Date(I,k-1,pe),pe,Me));for(pe=1;pe<=ie;pe++,Me++)$.appendChild(C("",new Date(I,k,pe),pe,Me));for(let tt=ie+1;tt<=42-N&&(e.config.showMonths===1||Me%7!==0);tt++,Me++)$.appendChild(C(he,new Date(I,k+1,tt%ie),tt,Me));const pt=we("div","dayContainer");return pt.appendChild($),pt}function x(){if(e.daysContainer===void 0)return;Ps(e.daysContainer),e.weekNumbers&&Ps(e.weekNumbers);const I=document.createDocumentFragment();for(let k=0;k<e.config.showMonths;k++){const N=new Date(e.currentYear,e.currentMonth,1);N.setMonth(e.currentMonth+k),I.appendChild(T(N.getFullYear(),N.getMonth()))}e.daysContainer.appendChild(I),e.days=e.daysContainer.firstChild,e.config.mode==="range"&&e.selectedDates.length===1&&ue()}function O(){if(e.config.showMonths>1||e.config.monthSelectorType!=="dropdown")return;const I=function(k){return e.config.minDate!==void 0&&e.currentYear===e.config.minDate.getFullYear()&&k<e.config.minDate.getMonth()?!1:!(e.config.maxDate!==void 0&&e.currentYear===e.config.maxDate.getFullYear()&&k>e.config.maxDate.getMonth())};e.monthsDropdownContainer.tabIndex=-1,e.monthsDropdownContainer.innerHTML="";for(let k=0;k<12;k++){if(!I(k))continue;const N=we("option","flatpickr-monthDropdown-month");N.value=new Date(e.currentYear,k).getMonth().toString(),N.textContent=Ca(k,e.config.shorthandCurrentMonth,e.l10n),N.tabIndex=-1,e.currentMonth===k&&(N.selected=!0),e.monthsDropdownContainer.appendChild(N)}}function B(){const I=we("div","flatpickr-month"),k=window.document.createDocumentFragment();let N;e.config.showMonths>1||e.config.monthSelectorType==="static"?N=we("span","cur-month"):(e.monthsDropdownContainer=we("select","flatpickr-monthDropdown-months"),e.monthsDropdownContainer.setAttribute("aria-label",e.l10n.monthAriaLabel),f(e.monthsDropdownContainer,"change",oe=>{const ae=It(oe),he=parseInt(ae.value,10);e.changeMonth(he-e.currentMonth),Le("onMonthChange")}),O(),N=e.monthsDropdownContainer);const U=Fs("cur-year",{tabindex:"-1"}),ie=U.getElementsByTagName("input")[0];ie.setAttribute("aria-label",e.l10n.yearAriaLabel),e.config.minDate&&ie.setAttribute("min",e.config.minDate.getFullYear().toString()),e.config.maxDate&&(ie.setAttribute("max",e.config.maxDate.getFullYear().toString()),ie.disabled=!!e.config.minDate&&e.config.minDate.getFullYear()===e.config.maxDate.getFullYear());const $=we("div","flatpickr-current-month");return $.appendChild(N),$.appendChild(U),k.appendChild($),I.appendChild(k),{container:I,yearElement:ie,monthElement:N}}function L(){Ps(e.monthNav),e.monthNav.appendChild(e.prevMonthNav),e.config.showMonths&&(e.yearElements=[],e.monthElements=[]);for(let I=e.config.showMonths;I--;){const k=B();e.yearElements.push(k.yearElement),e.monthElements.push(k.monthElement),e.monthNav.appendChild(k.container)}e.monthNav.appendChild(e.nextMonthNav)}function G(){return e.monthNav=we("div","flatpickr-months"),e.yearElements=[],e.monthElements=[],e.prevMonthNav=we("span","flatpickr-prev-month"),e.prevMonthNav.innerHTML=e.config.prevArrow,e.nextMonthNav=we("span","flatpickr-next-month"),e.nextMonthNav.innerHTML=e.config.nextArrow,L(),Object.defineProperty(e,"_hidePrevMonthArrow",{get:()=>e.__hidePrevMonthArrow,set(I){e.__hidePrevMonthArrow!==I&&(gt(e.prevMonthNav,"flatpickr-disabled",I),e.__hidePrevMonthArrow=I)}}),Object.defineProperty(e,"_hideNextMonthArrow",{get:()=>e.__hideNextMonthArrow,set(I){e.__hideNextMonthArrow!==I&&(gt(e.nextMonthNav,"flatpickr-disabled",I),e.__hideNextMonthArrow=I)}}),e.currentYearElement=e.yearElements[0],Ii(),e.monthNav}function F(){e.calendarContainer.classList.add("hasTime"),e.config.noCalendar&&e.calendarContainer.classList.add("noCalendar");const I=Vo(e.config);e.timeContainer=we("div","flatpickr-time"),e.timeContainer.tabIndex=-1;const k=we("span","flatpickr-time-separator",":"),N=Fs("flatpickr-hour",{"aria-label":e.l10n.hourAriaLabel});e.hourElement=N.getElementsByTagName("input")[0];const U=Fs("flatpickr-minute",{"aria-label":e.l10n.minuteAriaLabel});if(e.minuteElement=U.getElementsByTagName("input")[0],e.hourElement.tabIndex=e.minuteElement.tabIndex=-1,e.hourElement.value=bt(e.latestSelectedDateObj?e.latestSelectedDateObj.getHours():e.config.time_24hr?I.hours:c(I.hours)),e.minuteElement.value=bt(e.latestSelectedDateObj?e.latestSelectedDateObj.getMinutes():I.minutes),e.hourElement.setAttribute("step",e.config.hourIncrement.toString()),e.minuteElement.setAttribute("step",e.config.minuteIncrement.toString()),e.hourElement.setAttribute("min",e.config.time_24hr?"0":"1"),e.hourElement.setAttribute("max",e.config.time_24hr?"23":"12"),e.hourElement.setAttribute("maxlength","2"),e.minuteElement.setAttribute("min","0"),e.minuteElement.setAttribute("max","59"),e.minuteElement.setAttribute("maxlength","2"),e.timeContainer.appendChild(N),e.timeContainer.appendChild(k),e.timeContainer.appendChild(U),e.config.time_24hr&&e.timeContainer.classList.add("time24hr"),e.config.enableSeconds){e.timeContainer.classList.add("hasSeconds");const ie=Fs("flatpickr-second");e.secondElement=ie.getElementsByTagName("input")[0],e.secondElement.value=bt(e.latestSelectedDateObj?e.latestSelectedDateObj.getSeconds():I.seconds),e.secondElement.setAttribute("step",e.minuteElement.getAttribute("step")),e.secondElement.setAttribute("min","0"),e.secondElement.setAttribute("max","59"),e.secondElement.setAttribute("maxlength","2"),e.timeContainer.appendChild(we("span","flatpickr-time-separator",":")),e.timeContainer.appendChild(ie)}return e.config.time_24hr||(e.amPM=we("span","flatpickr-am-pm",e.l10n.amPM[Gt((e.latestSelectedDateObj?e.hourElement.value:e.config.defaultHour)>11)]),e.amPM.title=e.l10n.toggleTitle,e.amPM.tabIndex=-1,e.timeContainer.appendChild(e.amPM)),e.timeContainer}function P(){e.weekdayContainer?Ps(e.weekdayContainer):e.weekdayContainer=we("div","flatpickr-weekdays");for(let I=e.config.showMonths;I--;){const k=we("div","flatpickr-weekdaycontainer");e.weekdayContainer.appendChild(k)}return V(),e.weekdayContainer}function V(){if(!e.weekdayContainer)return;const I=e.l10n.firstDayOfWeek;let k=[...e.l10n.weekdays.shorthand];I>0&&I<k.length&&(k=[...k.splice(I,k.length),...k.splice(0,I)]);for(let N=e.config.showMonths;N--;)e.weekdayContainer.children[N].innerHTML=`
224
224
  <span class='flatpickr-weekday'>
225
225
  ${k.join("</span><span class='flatpickr-weekday'>")}
226
226
  </span>
227
- `}function te(){e.calendarContainer.classList.add("hasWeeks");const I=we("div","flatpickr-weekwrapper");I.appendChild(we("span","flatpickr-weekday",e.l10n.weekAbbreviation));const k=we("div","flatpickr-weeks");return I.appendChild(k),{weekWrapper:I,weekNumbers:k}}function Z(I,k=!0){const N=k?I:I-e.currentMonth;N<0&&e._hidePrevMonthArrow===!0||N>0&&e._hideNextMonthArrow===!0||(e.currentMonth+=N,(e.currentMonth<0||e.currentMonth>11)&&(e.currentYear+=e.currentMonth>11?1:-1,e.currentMonth=(e.currentMonth+12)%12,Le("onYearChange"),O()),x(),Le("onMonthChange"),Ii())}function W(I=!0,k=!0){if(e.input.value="",e.altInput!==void 0&&(e.altInput.value=""),e.mobileInput!==void 0&&(e.mobileInput.value=""),e.selectedDates=[],e.latestSelectedDateObj=void 0,k===!0&&(e.currentYear=e._initialDate.getFullYear(),e.currentMonth=e._initialDate.getMonth()),e.config.enableTime===!0){const{hours:N,minutes:U,seconds:ie}=Vo(e.config);h(N,U,ie)}e.redraw(),I&&Le("onChange")}function H(){e.isOpen=!1,e.isMobile||(e.calendarContainer!==void 0&&e.calendarContainer.classList.remove("open"),e._input!==void 0&&e._input.classList.remove("active")),Le("onClose")}function j(){e.config!==void 0&&Le("onDestroy");for(let I=e._handlers.length;I--;)e._handlers[I].remove();if(e._handlers=[],e.mobileInput)e.mobileInput.parentNode&&e.mobileInput.parentNode.removeChild(e.mobileInput),e.mobileInput=void 0;else if(e.calendarContainer&&e.calendarContainer.parentNode)if(e.config.static&&e.calendarContainer.parentNode){const I=e.calendarContainer.parentNode;if(I.lastChild&&I.removeChild(I.lastChild),I.parentNode){for(;I.firstChild;)I.parentNode.insertBefore(I.firstChild,I);I.parentNode.removeChild(I)}}else e.calendarContainer.parentNode.removeChild(e.calendarContainer);e.altInput&&(e.input.type="text",e.altInput.parentNode&&e.altInput.parentNode.removeChild(e.altInput),delete e.altInput),e.input&&(e.input.type=e.input._type,e.input.classList.remove("flatpickr-input"),e.input.removeAttribute("readonly")),["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach(I=>{try{delete e[I]}catch{}})}function Y(I){return e.config.appendTo&&e.config.appendTo.contains(I)?!0:e.calendarContainer.contains(I)}function J(I){if(e.isOpen&&!e.config.inline){const k=It(I),N=Y(k),U=k===e.input||k===e.altInput||e.element.contains(k)||I.path&&I.path.indexOf&&(~I.path.indexOf(e.input)||~I.path.indexOf(e.altInput)),ie=I.type==="blur"?U&&I.relatedTarget&&!Y(I.relatedTarget):!U&&!N&&!Y(I.relatedTarget),$=!e.config.ignoredFocusElements.some(oe=>oe.contains(k));ie&&$&&(e.timeContainer!==void 0&&e.minuteElement!==void 0&&e.hourElement!==void 0&&e.input.value!==""&&e.input.value!==void 0&&o(),e.close(),e.config&&e.config.mode==="range"&&e.selectedDates.length===1&&(e.clear(!1),e.redraw()))}}function D(I){if(!I||e.config.minDate&&I<e.config.minDate.getFullYear()||e.config.maxDate&&I>e.config.maxDate.getFullYear())return;const k=I,N=e.currentYear!==k;e.currentYear=k||e.currentYear,e.config.maxDate&&e.currentYear===e.config.maxDate.getFullYear()?e.currentMonth=Math.min(e.config.maxDate.getMonth(),e.currentMonth):e.config.minDate&&e.currentYear===e.config.minDate.getFullYear()&&(e.currentMonth=Math.max(e.config.minDate.getMonth(),e.currentMonth)),N&&(e.redraw(),Le("onYearChange"),O())}function Q(I,k=!0){var N;const U=e.parseDate(I,void 0,k);if(e.config.minDate&&U&&wt(U,e.config.minDate,k!==void 0?k:!e.minDateHasTime)<0||e.config.maxDate&&U&&wt(U,e.config.maxDate,k!==void 0?k:!e.maxDateHasTime)>0)return!1;if(!e.config.enable&&e.config.disable.length===0)return!0;if(U===void 0)return!1;const ie=!!e.config.enable,$=(N=e.config.enable)!==null&&N!==void 0?N:e.config.disable;for(let oe=0,ae;oe<$.length;oe++){if(ae=$[oe],typeof ae=="function"&&ae(U))return ie;if(ae instanceof Date&&U!==void 0&&ae.getTime()===U.getTime())return ie;if(typeof ae=="string"){const he=e.parseDate(ae,void 0,!0);return he&&he.getTime()===U.getTime()?ie:!ie}else if(typeof ae=="object"&&U!==void 0&&ae.from&&ae.to&&U.getTime()>=ae.from.getTime()&&U.getTime()<=ae.to.getTime())return ie}return!ie}function X(I){return e.daysContainer!==void 0?I.className.indexOf("hidden")===-1&&I.className.indexOf("flatpickr-disabled")===-1&&e.daysContainer.contains(I):!1}function se(I){I.target===e._input&&(e.selectedDates.length>0||e._input.value.length>0)&&!(I.relatedTarget&&Y(I.relatedTarget))&&e.setDate(e._input.value,!0,I.target===e.altInput?e.config.altFormat:e.config.dateFormat)}function re(I){const k=It(I),N=e.config.wrap?n.contains(k):k===e._input,U=e.config.allowInput,ie=e.isOpen&&(!U||!N),$=e.config.inline&&N&&!U;if(I.keyCode===13&&N){if(U)return e.setDate(e._input.value,!0,k===e.altInput?e.config.altFormat:e.config.dateFormat),k.blur();e.open()}else if(Y(k)||ie||$){const oe=!!e.timeContainer&&e.timeContainer.contains(k);switch(I.keyCode){case 13:oe?(I.preventDefault(),o(),At()):st(I);break;case 27:I.preventDefault(),At();break;case 8:case 46:N&&!e.config.allowInput&&(I.preventDefault(),e.clear());break;case 37:case 39:if(!oe&&!N){if(I.preventDefault(),e.daysContainer!==void 0&&(U===!1||document.activeElement&&X(document.activeElement))){const he=I.keyCode===39?1:-1;I.ctrlKey?(I.stopPropagation(),Z(he),R(S(1),0)):R(void 0,he)}}else e.hourElement&&e.hourElement.focus();break;case 38:case 40:I.preventDefault();const ae=I.keyCode===40?1:-1;e.daysContainer&&k.$i!==void 0||k===e.input||k===e.altInput?I.ctrlKey?(I.stopPropagation(),D(e.currentYear-ae),R(S(1),0)):oe||R(void 0,ae*7):k===e.currentYearElement?D(e.currentYear-ae):e.config.enableTime&&(!oe&&e.hourElement&&e.hourElement.focus(),o(I),e._debouncedChange());break;case 9:if(oe){const he=[e.hourElement,e.minuteElement,e.secondElement,e.amPM].concat(e.pluginElements).filter(Me=>Me),pe=he.indexOf(k);if(pe!==-1){const Me=he[pe+(I.shiftKey?-1:1)];I.preventDefault(),(Me||e._input).focus()}}else!e.config.noCalendar&&e.daysContainer&&e.daysContainer.contains(k)&&I.shiftKey&&(I.preventDefault(),e._input.focus());break}}if(e.amPM!==void 0&&k===e.amPM)switch(I.key){case e.l10n.amPM[0].charAt(0):case e.l10n.amPM[0].charAt(0).toLowerCase():e.amPM.textContent=e.l10n.amPM[0],u(),Et();break;case e.l10n.amPM[1].charAt(0):case e.l10n.amPM[1].charAt(0).toLowerCase():e.amPM.textContent=e.l10n.amPM[1],u(),Et();break}(N||Y(k))&&Le("onKeyDown",I)}function ue(I){if(e.selectedDates.length!==1||I&&(!I.classList.contains("flatpickr-day")||I.classList.contains("flatpickr-disabled")))return;const k=I?I.dateObj.getTime():e.days.firstElementChild.dateObj.getTime(),N=e.parseDate(e.selectedDates[0],void 0,!0).getTime(),U=Math.min(k,e.selectedDates[0].getTime()),ie=Math.max(k,e.selectedDates[0].getTime());let $=!1,oe=0,ae=0;for(let he=U;he<ie;he+=n6.DAY)Q(new Date(he),!0)||($=$||he>U&&he<ie,he<N&&(!oe||he>oe)?oe=he:he>N&&(!ae||he<ae)&&(ae=he));for(let he=0;he<e.config.showMonths;he++){const pe=e.daysContainer.children[he];for(let Me=0,pt=pe.children.length;Me<pt;Me++){const et=pe.children[Me],St=et.dateObj.getTime(),M=oe>0&&St<oe||ae>0&&St>ae;if(M){et.classList.add("notAllowed"),["inRange","startRange","endRange"].forEach(q=>{et.classList.remove(q)});continue}else if($&&!M)continue;["startRange","inRange","endRange","notAllowed"].forEach(q=>{et.classList.remove(q)}),I!==void 0&&(I.classList.add(k<=e.selectedDates[0].getTime()?"startRange":"endRange"),N<k&&St===N?et.classList.add("startRange"):N>k&&St===N&&et.classList.add("endRange"),St>=oe&&(ae===0||St<=ae)&&t6(St,N,k)&&et.classList.add("inRange"))}}}function K(){e.isOpen&&!e.config.static&&!e.config.inline&&Te()}function Be(I,k=e._positionElement){if(e.isMobile===!0){if(I){I.preventDefault();const U=It(I);U&&U.blur()}e.mobileInput!==void 0&&(e.mobileInput.focus(),e.mobileInput.click()),Le("onOpen");return}else if(e._input.disabled||e.config.inline)return;const N=e.isOpen;e.isOpen=!0,N||(e.calendarContainer.classList.add("open"),e._input.classList.add("active"),Le("onOpen"),Te(k)),e.config.enableTime===!0&&e.config.noCalendar===!0&&e.config.allowInput===!1&&(I===void 0||!e.timeContainer.contains(I.relatedTarget))&&setTimeout(()=>e.hourElement.select(),50)}function it(I){return k=>{const N=e.config[`_${I}Date`]=e.parseDate(k,e.config.dateFormat),U=e.config[`_${I==="min"?"max":"min"}Date`];N!==void 0&&(e[I==="min"?"minDateHasTime":"maxDateHasTime"]=N.getHours()>0||N.getMinutes()>0||N.getSeconds()>0),e.selectedDates&&(e.selectedDates=e.selectedDates.filter(ie=>Q(ie)),!e.selectedDates.length&&I==="min"&&d(N),Et()),e.daysContainer&&(cn(),N!==void 0?e.currentYearElement[I]=N.getFullYear().toString():e.currentYearElement.removeAttribute(I),e.currentYearElement.disabled=!!U&&N!==void 0&&U.getFullYear()===N.getFullYear())}}function fe(){const I=["wrap","weekNumbers","allowInput","allowInvalidPreload","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],k=Object.assign(Object.assign({},JSON.parse(JSON.stringify(n.dataset||{}))),t),N={};e.config.parseDate=k.parseDate,e.config.formatDate=k.formatDate,Object.defineProperty(e.config,"enable",{get:()=>e.config._enable,set:$=>{e.config._enable=Ct($)}}),Object.defineProperty(e.config,"disable",{get:()=>e.config._disable,set:$=>{e.config._disable=Ct($)}});const U=k.mode==="time";if(!k.dateFormat&&(k.enableTime||U)){const $=Ue.defaultConfig.dateFormat||zi.dateFormat;N.dateFormat=k.noCalendar||U?"H:i"+(k.enableSeconds?":S":""):$+" H:i"+(k.enableSeconds?":S":"")}if(k.altInput&&(k.enableTime||U)&&!k.altFormat){const $=Ue.defaultConfig.altFormat||zi.altFormat;N.altFormat=k.noCalendar||U?"h:i"+(k.enableSeconds?":S K":" K"):$+` h:i${k.enableSeconds?":S":""} K`}Object.defineProperty(e.config,"minDate",{get:()=>e.config._minDate,set:it("min")}),Object.defineProperty(e.config,"maxDate",{get:()=>e.config._maxDate,set:it("max")});const ie=$=>oe=>{e.config[$==="min"?"_minTime":"_maxTime"]=e.parseDate(oe,"H:i:S")};Object.defineProperty(e.config,"minTime",{get:()=>e.config._minTime,set:ie("min")}),Object.defineProperty(e.config,"maxTime",{get:()=>e.config._maxTime,set:ie("max")}),k.mode==="time"&&(e.config.noCalendar=!0,e.config.enableTime=!0),Object.assign(e.config,N,k);for(let $=0;$<I.length;$++)e.config[I[$]]=e.config[I[$]]===!0||e.config[I[$]]==="true";Yo.filter($=>e.config[$]!==void 0).forEach($=>{e.config[$]=Wo(e.config[$]||[]).map(s)}),e.isMobile=!e.config.disableMobile&&!e.config.inline&&e.config.mode==="single"&&!e.config.disable.length&&!e.config.enable&&!e.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);for(let $=0;$<e.config.plugins.length;$++){const oe=e.config.plugins[$](e)||{};for(const ae in oe)Yo.indexOf(ae)>-1?e.config[ae]=Wo(oe[ae]).map(s).concat(e.config[ae]):typeof k[ae]>"u"&&(e.config[ae]=oe[ae])}k.altInputClass||(e.config.altInputClass=Fe().className+" "+e.config.altInputClass),Le("onParseConfig")}function Fe(){return e.config.wrap?n.querySelector("[data-input]"):n}function be(){typeof e.config.locale!="object"&&typeof Ue.l10ns[e.config.locale]>"u"&&e.config.errorHandler(new Error(`flatpickr: invalid locale ${e.config.locale}`)),e.l10n=Object.assign(Object.assign({},Ue.l10ns.default),typeof e.config.locale=="object"?e.config.locale:e.config.locale!=="default"?Ue.l10ns[e.config.locale]:void 0),zl.K=`(${e.l10n.amPM[0]}|${e.l10n.amPM[1]}|${e.l10n.amPM[0].toLowerCase()}|${e.l10n.amPM[1].toLowerCase()})`,Object.assign(Object.assign({},t),JSON.parse(JSON.stringify(n.dataset||{}))).time_24hr===void 0&&Ue.defaultConfig.time_24hr===void 0&&(e.config.time_24hr=e.l10n.time_24hr),e.formatDate=Qm(e),e.parseDate=Zl({config:e.config,l10n:e.l10n})}function Te(I){if(typeof e.config.position=="function")return void e.config.position(e,I);if(e.calendarContainer===void 0)return;Le("onPreCalendarPosition");const k=I||e._positionElement,N=Array.prototype.reduce.call(e.calendarContainer.children,(ne,ce)=>ne+ce.offsetHeight,0),U=e.calendarContainer.offsetWidth,ie=e.config.position.split(" "),$=ie[0],oe=ie.length>1?ie[1]:null,ae=k.getBoundingClientRect(),he=window.innerHeight-ae.bottom,pe=$==="above"||$!=="below"&&he<N&&ae.top>N,Me=window.pageYOffset+ae.top+(pe?-N-2:k.offsetHeight+2);if(gt(e.calendarContainer,"arrowTop",!pe),gt(e.calendarContainer,"arrowBottom",pe),e.config.inline)return;let pt=window.pageXOffset+ae.left,et=!1,wi=!1;oe==="center"?(pt-=(U-ae.width)/2,et=!0):oe==="right"&&(pt-=U-ae.width,wi=!0),gt(e.calendarContainer,"arrowLeft",!et&&!wi),gt(e.calendarContainer,"arrowCenter",et),gt(e.calendarContainer,"arrowRight",wi);const St=window.document.body.offsetWidth-(window.pageXOffset+ae.right),M=pt+U>window.document.body.offsetWidth,q=St+U>window.document.body.offsetWidth;if(gt(e.calendarContainer,"rightMost",M),!e.config.static)if(e.calendarContainer.style.top=`${Me}px`,!M)e.calendarContainer.style.left=`${pt}px`,e.calendarContainer.style.right="auto";else if(!q)e.calendarContainer.style.left="auto",e.calendarContainer.style.right=`${St}px`;else{const ne=kt();if(ne===void 0)return;const ce=window.document.body.offsetWidth,Ie=Math.max(0,ce/2-U/2),Se=".flatpickr-calendar.centerMost:before",ve=".flatpickr-calendar.centerMost:after",me=ne.cssRules.length,rt=`{left:${ae.left}px;right:auto;}`;gt(e.calendarContainer,"rightMost",!1),gt(e.calendarContainer,"centerMost",!0),ne.insertRule(`${Se},${ve}${rt}`,me),e.calendarContainer.style.left=`${Ie}px`,e.calendarContainer.style.right="auto"}}function kt(){let I=null;for(let k=0;k<document.styleSheets.length;k++){const N=document.styleSheets[k];try{N.cssRules}catch{continue}I=N;break}return I??We()}function We(){const I=document.createElement("style");return document.head.appendChild(I),I.sheet}function cn(){e.config.noCalendar||e.isMobile||(O(),Ii(),x())}function At(){e._input.focus(),window.navigator.userAgent.indexOf("MSIE")!==-1||navigator.msMaxTouchPoints!==void 0?setTimeout(e.close,0):e.close()}function st(I){I.preventDefault(),I.stopPropagation();const k=oe=>oe.classList&&oe.classList.contains("flatpickr-day")&&!oe.classList.contains("flatpickr-disabled")&&!oe.classList.contains("notAllowed"),N=Jm(It(I),k);if(N===void 0)return;const U=N,ie=e.latestSelectedDateObj=new Date(U.dateObj.getTime()),$=(ie.getMonth()<e.currentMonth||ie.getMonth()>e.currentMonth+e.config.showMonths-1)&&e.config.mode!=="range";if(e.selectedDateElem=U,e.config.mode==="single")e.selectedDates=[ie];else if(e.config.mode==="multiple"){const oe=dr(ie);oe?e.selectedDates.splice(parseInt(oe),1):e.selectedDates.push(ie)}else e.config.mode==="range"&&(e.selectedDates.length===2&&e.clear(!1,!1),e.latestSelectedDateObj=ie,e.selectedDates.push(ie),wt(ie,e.selectedDates[0],!0)!==0&&e.selectedDates.sort((oe,ae)=>oe.getTime()-ae.getTime()));if(u(),$){const oe=e.currentYear!==ie.getFullYear();e.currentYear=ie.getFullYear(),e.currentMonth=ie.getMonth(),oe&&(Le("onYearChange"),O()),Le("onMonthChange")}if(Ii(),x(),Et(),!$&&e.config.mode!=="range"&&e.config.showMonths===1?_(U):e.selectedDateElem!==void 0&&e.hourElement===void 0&&e.selectedDateElem&&e.selectedDateElem.focus(),e.hourElement!==void 0&&e.hourElement!==void 0&&e.hourElement.focus(),e.config.closeOnSelect){const oe=e.config.mode==="single"&&!e.config.enableTime,ae=e.config.mode==="range"&&e.selectedDates.length===2&&!e.config.enableTime;(oe||ae)&&At()}p()}const le={locale:[be,V],showMonths:[L,a,P],minDate:[b],maxDate:[b],clickOpens:[()=>{e.config.clickOpens===!0?(f(e._input,"focus",e.open),f(e._input,"click",e.open)):(e._input.removeEventListener("focus",e.open),e._input.removeEventListener("click",e.open))}]};function Ge(I,k){if(I!==null&&typeof I=="object"){Object.assign(e.config,I);for(const N in I)le[N]!==void 0&&le[N].forEach(U=>U())}else e.config[I]=k,le[I]!==void 0?le[I].forEach(N=>N()):Yo.indexOf(I)>-1&&(e.config[I]=Wo(k));e.redraw(),Et(!0)}function un(I,k){let N=[];if(I instanceof Array)N=I.map(U=>e.parseDate(U,k));else if(I instanceof Date||typeof I=="number")N=[e.parseDate(I,k)];else if(typeof I=="string")switch(e.config.mode){case"single":case"time":N=[e.parseDate(I,k)];break;case"multiple":N=I.split(e.config.conjunction).map(U=>e.parseDate(U,k));break;case"range":N=I.split(e.l10n.rangeSeparator).map(U=>e.parseDate(U,k));break}else e.config.errorHandler(new Error(`Invalid date supplied: ${JSON.stringify(I)}`));e.selectedDates=e.config.allowInvalidPreload?N:N.filter(U=>U instanceof Date&&Q(U,!1)),e.config.mode==="range"&&e.selectedDates.sort((U,ie)=>U.getTime()-ie.getTime())}function Ft(I,k=!1,N=e.config.dateFormat){if(I!==0&&!I||I instanceof Array&&I.length===0)return e.clear(k);un(I,N),e.latestSelectedDateObj=e.selectedDates[e.selectedDates.length-1],e.redraw(),b(void 0,k),d(),e.selectedDates.length===0&&e.clear(!1),Et(k),k&&Le("onChange")}function Ct(I){return I.slice().map(k=>typeof k=="string"||typeof k=="number"||k instanceof Date?e.parseDate(k,void 0,!0):k&&typeof k=="object"&&k.from&&k.to?{from:e.parseDate(k.from,void 0),to:e.parseDate(k.to,void 0)}:k).filter(k=>k)}function hs(){e.selectedDates=[],e.now=e.parseDate(e.config.now)||new Date;const I=e.config.defaultDate||((e.input.nodeName==="INPUT"||e.input.nodeName==="TEXTAREA")&&e.input.placeholder&&e.input.value===e.input.placeholder?null:e.input.value);I&&un(I,e.config.dateFormat),e._initialDate=e.selectedDates.length>0?e.selectedDates[0]:e.config.minDate&&e.config.minDate.getTime()>e.now.getTime()?e.config.minDate:e.config.maxDate&&e.config.maxDate.getTime()<e.now.getTime()?e.config.maxDate:e.now,e.currentYear=e._initialDate.getFullYear(),e.currentMonth=e._initialDate.getMonth(),e.selectedDates.length>0&&(e.latestSelectedDateObj=e.selectedDates[0]),e.config.minTime!==void 0&&(e.config.minTime=e.parseDate(e.config.minTime,"H:i")),e.config.maxTime!==void 0&&(e.config.maxTime=e.parseDate(e.config.maxTime,"H:i")),e.minDateHasTime=!!e.config.minDate&&(e.config.minDate.getHours()>0||e.config.minDate.getMinutes()>0||e.config.minDate.getSeconds()>0),e.maxDateHasTime=!!e.config.maxDate&&(e.config.maxDate.getHours()>0||e.config.maxDate.getMinutes()>0||e.config.maxDate.getSeconds()>0)}function gs(){if(e.input=Fe(),!e.input){e.config.errorHandler(new Error("Invalid input element specified"));return}e.input._type=e.input.type,e.input.type="text",e.input.classList.add("flatpickr-input"),e._input=e.input,e.config.altInput&&(e.altInput=we(e.input.nodeName,e.config.altInputClass),e._input=e.altInput,e.altInput.placeholder=e.input.placeholder,e.altInput.disabled=e.input.disabled,e.altInput.required=e.input.required,e.altInput.tabIndex=e.input.tabIndex,e.altInput.type="text",e.input.setAttribute("type","hidden"),!e.config.static&&e.input.parentNode&&e.input.parentNode.insertBefore(e.altInput,e.input.nextSibling)),e.config.allowInput||e._input.setAttribute("readonly","readonly"),e._positionElement=e.config.positionElement||e._input}function cr(){const I=e.config.enableTime?e.config.noCalendar?"time":"datetime-local":"date";e.mobileInput=we("input",e.input.className+" flatpickr-mobile"),e.mobileInput.tabIndex=1,e.mobileInput.type=I,e.mobileInput.disabled=e.input.disabled,e.mobileInput.required=e.input.required,e.mobileInput.placeholder=e.input.placeholder,e.mobileFormatStr=I==="datetime-local"?"Y-m-d\\TH:i:S":I==="date"?"Y-m-d":"H:i:S",e.selectedDates.length>0&&(e.mobileInput.defaultValue=e.mobileInput.value=e.formatDate(e.selectedDates[0],e.mobileFormatStr)),e.config.minDate&&(e.mobileInput.min=e.formatDate(e.config.minDate,"Y-m-d")),e.config.maxDate&&(e.mobileInput.max=e.formatDate(e.config.maxDate,"Y-m-d")),e.input.getAttribute("step")&&(e.mobileInput.step=String(e.input.getAttribute("step"))),e.input.type="hidden",e.altInput!==void 0&&(e.altInput.type="hidden");try{e.input.parentNode&&e.input.parentNode.insertBefore(e.mobileInput,e.input.nextSibling)}catch{}f(e.mobileInput,"change",k=>{e.setDate(It(k).value,!1,e.mobileFormatStr),Le("onChange"),Le("onClose")})}function ro(I){if(e.isOpen===!0)return e.close();e.open(I)}function Le(I,k){if(e.config===void 0)return;const N=e.config[I];if(N!==void 0&&N.length>0)for(let U=0;N[U]&&U<N.length;U++)N[U](e.selectedDates,e.input.value,e,k);I==="onChange"&&(e.input.dispatchEvent(ur("change")),e.input.dispatchEvent(ur("input")))}function ur(I){const k=document.createEvent("Event");return k.initEvent(I,!0,!0),k}function dr(I){for(let k=0;k<e.selectedDates.length;k++)if(wt(e.selectedDates[k],I)===0)return""+k;return!1}function so(I){return e.config.mode!=="range"||e.selectedDates.length<2?!1:wt(I,e.selectedDates[0])>=0&&wt(I,e.selectedDates[1])<=0}function Ii(){e.config.noCalendar||e.isMobile||!e.monthNav||(e.yearElements.forEach((I,k)=>{const N=new Date(e.currentYear,e.currentMonth,1);N.setMonth(e.currentMonth+k),e.config.showMonths>1||e.config.monthSelectorType==="static"?e.monthElements[k].textContent=Ca(N.getMonth(),e.config.shorthandCurrentMonth,e.l10n)+" ":e.monthsDropdownContainer.value=N.getMonth().toString(),I.value=N.getFullYear().toString()}),e._hidePrevMonthArrow=e.config.minDate!==void 0&&(e.currentYear===e.config.minDate.getFullYear()?e.currentMonth<=e.config.minDate.getMonth():e.currentYear<e.config.minDate.getFullYear()),e._hideNextMonthArrow=e.config.maxDate!==void 0&&(e.currentYear===e.config.maxDate.getFullYear()?e.currentMonth+1>e.config.maxDate.getMonth():e.currentYear>e.config.maxDate.getFullYear()))}function ps(I){return e.selectedDates.map(k=>e.formatDate(k,I)).filter((k,N,U)=>e.config.mode!=="range"||e.config.enableTime||U.indexOf(k)===N).join(e.config.mode!=="range"?e.config.conjunction:e.l10n.rangeSeparator)}function Et(I=!0){e.mobileInput!==void 0&&e.mobileFormatStr&&(e.mobileInput.value=e.latestSelectedDateObj!==void 0?e.formatDate(e.latestSelectedDateObj,e.mobileFormatStr):""),e.input.value=ps(e.config.dateFormat),e.altInput!==void 0&&(e.altInput.value=ps(e.config.altFormat)),I!==!1&&Le("onValueUpdate")}function ms(I){const k=It(I),N=e.prevMonthNav.contains(k),U=e.nextMonthNav.contains(k);N||U?Z(N?-1:1):e.yearElements.indexOf(k)>=0?k.select():k.classList.contains("arrowUp")?e.changeYear(e.currentYear+1):k.classList.contains("arrowDown")&&e.changeYear(e.currentYear-1)}function Mn(I){I.preventDefault();const k=I.type==="keydown",N=It(I),U=N;e.amPM!==void 0&&N===e.amPM&&(e.amPM.textContent=e.l10n.amPM[Gt(e.amPM.textContent===e.l10n.amPM[0])]);const ie=parseFloat(U.getAttribute("min")),$=parseFloat(U.getAttribute("max")),oe=parseFloat(U.getAttribute("step")),ae=parseInt(U.value,10),he=I.delta||(k?I.which===38?1:-1:0);let pe=ae+oe*he;if(typeof U.value<"u"&&U.value.length===2){const Me=U===e.hourElement,pt=U===e.minuteElement;pe<ie?(pe=$+pe+Gt(!Me)+(Gt(Me)&&Gt(!e.amPM)),pt&&y(void 0,-1,e.hourElement)):pe>$&&(pe=U===e.hourElement?pe-$-Gt(!e.amPM):ie,pt&&y(void 0,1,e.hourElement)),e.amPM&&Me&&(oe===1?pe+ae===23:Math.abs(pe-ae)>oe)&&(e.amPM.textContent=e.l10n.amPM[Gt(e.amPM.textContent===e.l10n.amPM[0])]),U.value=bt(pe)}}return r(),e}function Zi(n,t){const e=Array.prototype.slice.call(n).filter(r=>r instanceof HTMLElement),i=[];for(let r=0;r<e.length;r++){const s=e[r];try{if(s.getAttribute("data-fp-omit")!==null)continue;s._flatpickr!==void 0&&(s._flatpickr.destroy(),s._flatpickr=void 0),s._flatpickr=r6(s,t||{}),i.push(s._flatpickr)}catch(a){console.error(a)}}return i.length===1?i[0]:i}typeof HTMLElement<"u"&&typeof HTMLCollection<"u"&&typeof NodeList<"u"&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(n){return Zi(this,n)},HTMLElement.prototype.flatpickr=function(n){return Zi([this],n)});var Ue=function(n,t){return typeof n=="string"?Zi(window.document.querySelectorAll(n),t):n instanceof Node?Zi([n],t):Zi(n,t)};Ue.defaultConfig={};Ue.l10ns={en:Object.assign({},Ur),default:Object.assign({},Ur)};Ue.localize=n=>{Ue.l10ns.default=Object.assign(Object.assign({},Ue.l10ns.default),n)};Ue.setDefaults=n=>{Ue.defaultConfig=Object.assign(Object.assign({},Ue.defaultConfig),n)};Ue.parseDate=Zl({});Ue.formatDate=Qm({});Ue.compareDates=wt;typeof jQuery<"u"&&typeof jQuery.fn<"u"&&(jQuery.fn.flatpickr=function(n){return Zi(this,n)});Date.prototype.fp_incr=function(n){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+(typeof n=="string"?parseInt(n,10):n))};typeof window<"u"&&(window.flatpickr=Ue);var Yl={exports:{}};(function(n,t){(function(e,i){i(t)})(tn,function(e){var i=typeof window<"u"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},r={weekdays:{shorthand:["Paz","Pzt","Sal","Çar","Per","Cum","Cmt"],longhand:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"]},months:{shorthand:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],longhand:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"]},firstDayOfWeek:1,ordinal:function(){return"."},rangeSeparator:" - ",weekAbbreviation:"Hf",scrollTitle:"Artırmak için kaydırın",toggleTitle:"Aç/Kapa",amPM:["ÖÖ","ÖS"],time_24hr:!0};i.l10ns.tr=r;var s=i.l10ns;e.Turkish=r,e.default=s,Object.defineProperty(e,"__esModule",{value:!0})})})(Yl,Yl.exports);var s6=Yl.exports;const kh=(n,t,e)=>{if(n)return n;switch(t){case"time":return Vm;case"range":return oi;case"datetime":return e?Wm:Xm;default:return oi}},a6=n=>{switch(n){case"time":return{mode:"time",enableTime:!0};case"datetime":return{mode:"single",enableTime:!0};default:return{mode:n,enableTime:!1}}},o6=E.forwardRef(({value:n,format:t,mode:e="single",hasShortFormat:i,suffix:r,minDate:s,maxDate:a,onChange:o,onClose:l,disable:c=[],enable:u=[],...d},h)=>{var b;const g=E.useRef(null),f=E.useRef(),p=a6(e);E.useEffect(()=>(f.current=Ue(g.current,{...p,dateFormat:kh(t,e,i),defaultDate:n,minDate:s,disable:c,enable:u,hourIncrement:1,minuteIncrement:1,maxDate:a,locale:eu()==="tr"&&s6.Turkish,time_24hr:!0,parseDate:A=>nt(A,Li).toDate(),formatDate:A=>nt(A).format(kh(void 0,e)),onChange:A=>{if(o)switch(e){case"range":o({starDate:nt(A[0]).format(Li),endDate:nt(A[1]).format(Li)});break;case"datetime":o(nt(A[0]).format(Ym));break;default:o(nt(A[0]).format(Li));break}},onClose:A=>{l&&l(A)}}),()=>{var A;(A=f.current)==null||A.destroy()}),[g,f,s,a,u]),E.useEffect(()=>{f&&f.current&&f.current.set("maxDate",a)},[a]);const m=n&&((b=JSON.stringify(n))==null?void 0:b.length)>0?J7(n,e,i):"";return v.jsx("div",{"data-testid":"datepicker",className:$7.container,ref:h,children:v.jsx(ja,{...d,ref:g,value:m,suffix:r||v.jsx(Pe,{name:"calendar"})})})}),l6="_divider_1b99i_1",c6="_grey_1b99i_4",u6="_light_1b99i_7",Jo={divider:l6,grey:c6,light:u6,"margin-15":"_margin-15_1b99i_11","margin-30":"_margin-30_1b99i_15"},d6=({appearance:n=ic.GREY,className:t,margin:e="15"})=>v.jsx("hr",{"data-testid":"divider",className:ee(Jo.divider,t,{[Jo[`${n}`]]:n,[Jo[`margin-${e}`]]:e})}),f6="_dropdownMenu_1unwt_1",h6="_dropdownMenu__lg_1unwt_15",g6="_dropdownMenu__md_1unwt_18",p6="_dropdownMenu__sm_1unwt_21",m6="_active_1unwt_24",b6="_icon_1unwt_55",v6="_title_1unwt_73",y6="_disabled_1unwt_85",Gn={dropdownMenu:f6,dropdownMenu__lg:h6,dropdownMenu__md:g6,dropdownMenu__sm:p6,active:m6,icon:b6,title:v6,disabled:y6};/**
227
+ `}function te(){e.calendarContainer.classList.add("hasWeeks");const I=we("div","flatpickr-weekwrapper");I.appendChild(we("span","flatpickr-weekday",e.l10n.weekAbbreviation));const k=we("div","flatpickr-weeks");return I.appendChild(k),{weekWrapper:I,weekNumbers:k}}function Z(I,k=!0){const N=k?I:I-e.currentMonth;N<0&&e._hidePrevMonthArrow===!0||N>0&&e._hideNextMonthArrow===!0||(e.currentMonth+=N,(e.currentMonth<0||e.currentMonth>11)&&(e.currentYear+=e.currentMonth>11?1:-1,e.currentMonth=(e.currentMonth+12)%12,Le("onYearChange"),O()),x(),Le("onMonthChange"),Ii())}function W(I=!0,k=!0){if(e.input.value="",e.altInput!==void 0&&(e.altInput.value=""),e.mobileInput!==void 0&&(e.mobileInput.value=""),e.selectedDates=[],e.latestSelectedDateObj=void 0,k===!0&&(e.currentYear=e._initialDate.getFullYear(),e.currentMonth=e._initialDate.getMonth()),e.config.enableTime===!0){const{hours:N,minutes:U,seconds:ie}=Vo(e.config);h(N,U,ie)}e.redraw(),I&&Le("onChange")}function H(){e.isOpen=!1,e.isMobile||(e.calendarContainer!==void 0&&e.calendarContainer.classList.remove("open"),e._input!==void 0&&e._input.classList.remove("active")),Le("onClose")}function j(){e.config!==void 0&&Le("onDestroy");for(let I=e._handlers.length;I--;)e._handlers[I].remove();if(e._handlers=[],e.mobileInput)e.mobileInput.parentNode&&e.mobileInput.parentNode.removeChild(e.mobileInput),e.mobileInput=void 0;else if(e.calendarContainer&&e.calendarContainer.parentNode)if(e.config.static&&e.calendarContainer.parentNode){const I=e.calendarContainer.parentNode;if(I.lastChild&&I.removeChild(I.lastChild),I.parentNode){for(;I.firstChild;)I.parentNode.insertBefore(I.firstChild,I);I.parentNode.removeChild(I)}}else e.calendarContainer.parentNode.removeChild(e.calendarContainer);e.altInput&&(e.input.type="text",e.altInput.parentNode&&e.altInput.parentNode.removeChild(e.altInput),delete e.altInput),e.input&&(e.input.type=e.input._type,e.input.classList.remove("flatpickr-input"),e.input.removeAttribute("readonly")),["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach(I=>{try{delete e[I]}catch{}})}function Y(I){return e.config.appendTo&&e.config.appendTo.contains(I)?!0:e.calendarContainer.contains(I)}function J(I){if(e.isOpen&&!e.config.inline){const k=It(I),N=Y(k),U=k===e.input||k===e.altInput||e.element.contains(k)||I.path&&I.path.indexOf&&(~I.path.indexOf(e.input)||~I.path.indexOf(e.altInput)),ie=I.type==="blur"?U&&I.relatedTarget&&!Y(I.relatedTarget):!U&&!N&&!Y(I.relatedTarget),$=!e.config.ignoredFocusElements.some(oe=>oe.contains(k));ie&&$&&(e.timeContainer!==void 0&&e.minuteElement!==void 0&&e.hourElement!==void 0&&e.input.value!==""&&e.input.value!==void 0&&o(),e.close(),e.config&&e.config.mode==="range"&&e.selectedDates.length===1&&(e.clear(!1),e.redraw()))}}function D(I){if(!I||e.config.minDate&&I<e.config.minDate.getFullYear()||e.config.maxDate&&I>e.config.maxDate.getFullYear())return;const k=I,N=e.currentYear!==k;e.currentYear=k||e.currentYear,e.config.maxDate&&e.currentYear===e.config.maxDate.getFullYear()?e.currentMonth=Math.min(e.config.maxDate.getMonth(),e.currentMonth):e.config.minDate&&e.currentYear===e.config.minDate.getFullYear()&&(e.currentMonth=Math.max(e.config.minDate.getMonth(),e.currentMonth)),N&&(e.redraw(),Le("onYearChange"),O())}function Q(I,k=!0){var N;const U=e.parseDate(I,void 0,k);if(e.config.minDate&&U&&wt(U,e.config.minDate,k!==void 0?k:!e.minDateHasTime)<0||e.config.maxDate&&U&&wt(U,e.config.maxDate,k!==void 0?k:!e.maxDateHasTime)>0)return!1;if(!e.config.enable&&e.config.disable.length===0)return!0;if(U===void 0)return!1;const ie=!!e.config.enable,$=(N=e.config.enable)!==null&&N!==void 0?N:e.config.disable;for(let oe=0,ae;oe<$.length;oe++){if(ae=$[oe],typeof ae=="function"&&ae(U))return ie;if(ae instanceof Date&&U!==void 0&&ae.getTime()===U.getTime())return ie;if(typeof ae=="string"){const he=e.parseDate(ae,void 0,!0);return he&&he.getTime()===U.getTime()?ie:!ie}else if(typeof ae=="object"&&U!==void 0&&ae.from&&ae.to&&U.getTime()>=ae.from.getTime()&&U.getTime()<=ae.to.getTime())return ie}return!ie}function X(I){return e.daysContainer!==void 0?I.className.indexOf("hidden")===-1&&I.className.indexOf("flatpickr-disabled")===-1&&e.daysContainer.contains(I):!1}function se(I){I.target===e._input&&(e.selectedDates.length>0||e._input.value.length>0)&&!(I.relatedTarget&&Y(I.relatedTarget))&&e.setDate(e._input.value,!0,I.target===e.altInput?e.config.altFormat:e.config.dateFormat)}function re(I){const k=It(I),N=e.config.wrap?n.contains(k):k===e._input,U=e.config.allowInput,ie=e.isOpen&&(!U||!N),$=e.config.inline&&N&&!U;if(I.keyCode===13&&N){if(U)return e.setDate(e._input.value,!0,k===e.altInput?e.config.altFormat:e.config.dateFormat),k.blur();e.open()}else if(Y(k)||ie||$){const oe=!!e.timeContainer&&e.timeContainer.contains(k);switch(I.keyCode){case 13:oe?(I.preventDefault(),o(),At()):st(I);break;case 27:I.preventDefault(),At();break;case 8:case 46:N&&!e.config.allowInput&&(I.preventDefault(),e.clear());break;case 37:case 39:if(!oe&&!N){if(I.preventDefault(),e.daysContainer!==void 0&&(U===!1||document.activeElement&&X(document.activeElement))){const he=I.keyCode===39?1:-1;I.ctrlKey?(I.stopPropagation(),Z(he),R(S(1),0)):R(void 0,he)}}else e.hourElement&&e.hourElement.focus();break;case 38:case 40:I.preventDefault();const ae=I.keyCode===40?1:-1;e.daysContainer&&k.$i!==void 0||k===e.input||k===e.altInput?I.ctrlKey?(I.stopPropagation(),D(e.currentYear-ae),R(S(1),0)):oe||R(void 0,ae*7):k===e.currentYearElement?D(e.currentYear-ae):e.config.enableTime&&(!oe&&e.hourElement&&e.hourElement.focus(),o(I),e._debouncedChange());break;case 9:if(oe){const he=[e.hourElement,e.minuteElement,e.secondElement,e.amPM].concat(e.pluginElements).filter(Me=>Me),pe=he.indexOf(k);if(pe!==-1){const Me=he[pe+(I.shiftKey?-1:1)];I.preventDefault(),(Me||e._input).focus()}}else!e.config.noCalendar&&e.daysContainer&&e.daysContainer.contains(k)&&I.shiftKey&&(I.preventDefault(),e._input.focus());break}}if(e.amPM!==void 0&&k===e.amPM)switch(I.key){case e.l10n.amPM[0].charAt(0):case e.l10n.amPM[0].charAt(0).toLowerCase():e.amPM.textContent=e.l10n.amPM[0],u(),Et();break;case e.l10n.amPM[1].charAt(0):case e.l10n.amPM[1].charAt(0).toLowerCase():e.amPM.textContent=e.l10n.amPM[1],u(),Et();break}(N||Y(k))&&Le("onKeyDown",I)}function ue(I){if(e.selectedDates.length!==1||I&&(!I.classList.contains("flatpickr-day")||I.classList.contains("flatpickr-disabled")))return;const k=I?I.dateObj.getTime():e.days.firstElementChild.dateObj.getTime(),N=e.parseDate(e.selectedDates[0],void 0,!0).getTime(),U=Math.min(k,e.selectedDates[0].getTime()),ie=Math.max(k,e.selectedDates[0].getTime());let $=!1,oe=0,ae=0;for(let he=U;he<ie;he+=n6.DAY)Q(new Date(he),!0)||($=$||he>U&&he<ie,he<N&&(!oe||he>oe)?oe=he:he>N&&(!ae||he<ae)&&(ae=he));for(let he=0;he<e.config.showMonths;he++){const pe=e.daysContainer.children[he];for(let Me=0,pt=pe.children.length;Me<pt;Me++){const tt=pe.children[Me],St=tt.dateObj.getTime(),M=oe>0&&St<oe||ae>0&&St>ae;if(M){tt.classList.add("notAllowed"),["inRange","startRange","endRange"].forEach(q=>{tt.classList.remove(q)});continue}else if($&&!M)continue;["startRange","inRange","endRange","notAllowed"].forEach(q=>{tt.classList.remove(q)}),I!==void 0&&(I.classList.add(k<=e.selectedDates[0].getTime()?"startRange":"endRange"),N<k&&St===N?tt.classList.add("startRange"):N>k&&St===N&&tt.classList.add("endRange"),St>=oe&&(ae===0||St<=ae)&&t6(St,N,k)&&tt.classList.add("inRange"))}}}function K(){e.isOpen&&!e.config.static&&!e.config.inline&&Te()}function Be(I,k=e._positionElement){if(e.isMobile===!0){if(I){I.preventDefault();const U=It(I);U&&U.blur()}e.mobileInput!==void 0&&(e.mobileInput.focus(),e.mobileInput.click()),Le("onOpen");return}else if(e._input.disabled||e.config.inline)return;const N=e.isOpen;e.isOpen=!0,N||(e.calendarContainer.classList.add("open"),e._input.classList.add("active"),Le("onOpen"),Te(k)),e.config.enableTime===!0&&e.config.noCalendar===!0&&e.config.allowInput===!1&&(I===void 0||!e.timeContainer.contains(I.relatedTarget))&&setTimeout(()=>e.hourElement.select(),50)}function it(I){return k=>{const N=e.config[`_${I}Date`]=e.parseDate(k,e.config.dateFormat),U=e.config[`_${I==="min"?"max":"min"}Date`];N!==void 0&&(e[I==="min"?"minDateHasTime":"maxDateHasTime"]=N.getHours()>0||N.getMinutes()>0||N.getSeconds()>0),e.selectedDates&&(e.selectedDates=e.selectedDates.filter(ie=>Q(ie)),!e.selectedDates.length&&I==="min"&&d(N),Et()),e.daysContainer&&(cn(),N!==void 0?e.currentYearElement[I]=N.getFullYear().toString():e.currentYearElement.removeAttribute(I),e.currentYearElement.disabled=!!U&&N!==void 0&&U.getFullYear()===N.getFullYear())}}function fe(){const I=["wrap","weekNumbers","allowInput","allowInvalidPreload","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],k=Object.assign(Object.assign({},JSON.parse(JSON.stringify(n.dataset||{}))),t),N={};e.config.parseDate=k.parseDate,e.config.formatDate=k.formatDate,Object.defineProperty(e.config,"enable",{get:()=>e.config._enable,set:$=>{e.config._enable=Ct($)}}),Object.defineProperty(e.config,"disable",{get:()=>e.config._disable,set:$=>{e.config._disable=Ct($)}});const U=k.mode==="time";if(!k.dateFormat&&(k.enableTime||U)){const $=Ue.defaultConfig.dateFormat||zi.dateFormat;N.dateFormat=k.noCalendar||U?"H:i"+(k.enableSeconds?":S":""):$+" H:i"+(k.enableSeconds?":S":"")}if(k.altInput&&(k.enableTime||U)&&!k.altFormat){const $=Ue.defaultConfig.altFormat||zi.altFormat;N.altFormat=k.noCalendar||U?"h:i"+(k.enableSeconds?":S K":" K"):$+` h:i${k.enableSeconds?":S":""} K`}Object.defineProperty(e.config,"minDate",{get:()=>e.config._minDate,set:it("min")}),Object.defineProperty(e.config,"maxDate",{get:()=>e.config._maxDate,set:it("max")});const ie=$=>oe=>{e.config[$==="min"?"_minTime":"_maxTime"]=e.parseDate(oe,"H:i:S")};Object.defineProperty(e.config,"minTime",{get:()=>e.config._minTime,set:ie("min")}),Object.defineProperty(e.config,"maxTime",{get:()=>e.config._maxTime,set:ie("max")}),k.mode==="time"&&(e.config.noCalendar=!0,e.config.enableTime=!0),Object.assign(e.config,N,k);for(let $=0;$<I.length;$++)e.config[I[$]]=e.config[I[$]]===!0||e.config[I[$]]==="true";Yo.filter($=>e.config[$]!==void 0).forEach($=>{e.config[$]=Wo(e.config[$]||[]).map(s)}),e.isMobile=!e.config.disableMobile&&!e.config.inline&&e.config.mode==="single"&&!e.config.disable.length&&!e.config.enable&&!e.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);for(let $=0;$<e.config.plugins.length;$++){const oe=e.config.plugins[$](e)||{};for(const ae in oe)Yo.indexOf(ae)>-1?e.config[ae]=Wo(oe[ae]).map(s).concat(e.config[ae]):typeof k[ae]>"u"&&(e.config[ae]=oe[ae])}k.altInputClass||(e.config.altInputClass=Fe().className+" "+e.config.altInputClass),Le("onParseConfig")}function Fe(){return e.config.wrap?n.querySelector("[data-input]"):n}function be(){typeof e.config.locale!="object"&&typeof Ue.l10ns[e.config.locale]>"u"&&e.config.errorHandler(new Error(`flatpickr: invalid locale ${e.config.locale}`)),e.l10n=Object.assign(Object.assign({},Ue.l10ns.default),typeof e.config.locale=="object"?e.config.locale:e.config.locale!=="default"?Ue.l10ns[e.config.locale]:void 0),zl.K=`(${e.l10n.amPM[0]}|${e.l10n.amPM[1]}|${e.l10n.amPM[0].toLowerCase()}|${e.l10n.amPM[1].toLowerCase()})`,Object.assign(Object.assign({},t),JSON.parse(JSON.stringify(n.dataset||{}))).time_24hr===void 0&&Ue.defaultConfig.time_24hr===void 0&&(e.config.time_24hr=e.l10n.time_24hr),e.formatDate=Qm(e),e.parseDate=Zl({config:e.config,l10n:e.l10n})}function Te(I){if(typeof e.config.position=="function")return void e.config.position(e,I);if(e.calendarContainer===void 0)return;Le("onPreCalendarPosition");const k=I||e._positionElement,N=Array.prototype.reduce.call(e.calendarContainer.children,(ne,ce)=>ne+ce.offsetHeight,0),U=e.calendarContainer.offsetWidth,ie=e.config.position.split(" "),$=ie[0],oe=ie.length>1?ie[1]:null,ae=k.getBoundingClientRect(),he=window.innerHeight-ae.bottom,pe=$==="above"||$!=="below"&&he<N&&ae.top>N,Me=window.pageYOffset+ae.top+(pe?-N-2:k.offsetHeight+2);if(gt(e.calendarContainer,"arrowTop",!pe),gt(e.calendarContainer,"arrowBottom",pe),e.config.inline)return;let pt=window.pageXOffset+ae.left,tt=!1,wi=!1;oe==="center"?(pt-=(U-ae.width)/2,tt=!0):oe==="right"&&(pt-=U-ae.width,wi=!0),gt(e.calendarContainer,"arrowLeft",!tt&&!wi),gt(e.calendarContainer,"arrowCenter",tt),gt(e.calendarContainer,"arrowRight",wi);const St=window.document.body.offsetWidth-(window.pageXOffset+ae.right),M=pt+U>window.document.body.offsetWidth,q=St+U>window.document.body.offsetWidth;if(gt(e.calendarContainer,"rightMost",M),!e.config.static)if(e.calendarContainer.style.top=`${Me}px`,!M)e.calendarContainer.style.left=`${pt}px`,e.calendarContainer.style.right="auto";else if(!q)e.calendarContainer.style.left="auto",e.calendarContainer.style.right=`${St}px`;else{const ne=kt();if(ne===void 0)return;const ce=window.document.body.offsetWidth,Ie=Math.max(0,ce/2-U/2),Se=".flatpickr-calendar.centerMost:before",ve=".flatpickr-calendar.centerMost:after",me=ne.cssRules.length,rt=`{left:${ae.left}px;right:auto;}`;gt(e.calendarContainer,"rightMost",!1),gt(e.calendarContainer,"centerMost",!0),ne.insertRule(`${Se},${ve}${rt}`,me),e.calendarContainer.style.left=`${Ie}px`,e.calendarContainer.style.right="auto"}}function kt(){let I=null;for(let k=0;k<document.styleSheets.length;k++){const N=document.styleSheets[k];try{N.cssRules}catch{continue}I=N;break}return I??We()}function We(){const I=document.createElement("style");return document.head.appendChild(I),I.sheet}function cn(){e.config.noCalendar||e.isMobile||(O(),Ii(),x())}function At(){e._input.focus(),window.navigator.userAgent.indexOf("MSIE")!==-1||navigator.msMaxTouchPoints!==void 0?setTimeout(e.close,0):e.close()}function st(I){I.preventDefault(),I.stopPropagation();const k=oe=>oe.classList&&oe.classList.contains("flatpickr-day")&&!oe.classList.contains("flatpickr-disabled")&&!oe.classList.contains("notAllowed"),N=Jm(It(I),k);if(N===void 0)return;const U=N,ie=e.latestSelectedDateObj=new Date(U.dateObj.getTime()),$=(ie.getMonth()<e.currentMonth||ie.getMonth()>e.currentMonth+e.config.showMonths-1)&&e.config.mode!=="range";if(e.selectedDateElem=U,e.config.mode==="single")e.selectedDates=[ie];else if(e.config.mode==="multiple"){const oe=dr(ie);oe?e.selectedDates.splice(parseInt(oe),1):e.selectedDates.push(ie)}else e.config.mode==="range"&&(e.selectedDates.length===2&&e.clear(!1,!1),e.latestSelectedDateObj=ie,e.selectedDates.push(ie),wt(ie,e.selectedDates[0],!0)!==0&&e.selectedDates.sort((oe,ae)=>oe.getTime()-ae.getTime()));if(u(),$){const oe=e.currentYear!==ie.getFullYear();e.currentYear=ie.getFullYear(),e.currentMonth=ie.getMonth(),oe&&(Le("onYearChange"),O()),Le("onMonthChange")}if(Ii(),x(),Et(),!$&&e.config.mode!=="range"&&e.config.showMonths===1?_(U):e.selectedDateElem!==void 0&&e.hourElement===void 0&&e.selectedDateElem&&e.selectedDateElem.focus(),e.hourElement!==void 0&&e.hourElement!==void 0&&e.hourElement.focus(),e.config.closeOnSelect){const oe=e.config.mode==="single"&&!e.config.enableTime,ae=e.config.mode==="range"&&e.selectedDates.length===2&&!e.config.enableTime;(oe||ae)&&At()}p()}const le={locale:[be,V],showMonths:[L,a,P],minDate:[b],maxDate:[b],clickOpens:[()=>{e.config.clickOpens===!0?(f(e._input,"focus",e.open),f(e._input,"click",e.open)):(e._input.removeEventListener("focus",e.open),e._input.removeEventListener("click",e.open))}]};function Ge(I,k){if(I!==null&&typeof I=="object"){Object.assign(e.config,I);for(const N in I)le[N]!==void 0&&le[N].forEach(U=>U())}else e.config[I]=k,le[I]!==void 0?le[I].forEach(N=>N()):Yo.indexOf(I)>-1&&(e.config[I]=Wo(k));e.redraw(),Et(!0)}function un(I,k){let N=[];if(I instanceof Array)N=I.map(U=>e.parseDate(U,k));else if(I instanceof Date||typeof I=="number")N=[e.parseDate(I,k)];else if(typeof I=="string")switch(e.config.mode){case"single":case"time":N=[e.parseDate(I,k)];break;case"multiple":N=I.split(e.config.conjunction).map(U=>e.parseDate(U,k));break;case"range":N=I.split(e.l10n.rangeSeparator).map(U=>e.parseDate(U,k));break}else e.config.errorHandler(new Error(`Invalid date supplied: ${JSON.stringify(I)}`));e.selectedDates=e.config.allowInvalidPreload?N:N.filter(U=>U instanceof Date&&Q(U,!1)),e.config.mode==="range"&&e.selectedDates.sort((U,ie)=>U.getTime()-ie.getTime())}function Ft(I,k=!1,N=e.config.dateFormat){if(I!==0&&!I||I instanceof Array&&I.length===0)return e.clear(k);un(I,N),e.latestSelectedDateObj=e.selectedDates[e.selectedDates.length-1],e.redraw(),b(void 0,k),d(),e.selectedDates.length===0&&e.clear(!1),Et(k),k&&Le("onChange")}function Ct(I){return I.slice().map(k=>typeof k=="string"||typeof k=="number"||k instanceof Date?e.parseDate(k,void 0,!0):k&&typeof k=="object"&&k.from&&k.to?{from:e.parseDate(k.from,void 0),to:e.parseDate(k.to,void 0)}:k).filter(k=>k)}function hs(){e.selectedDates=[],e.now=e.parseDate(e.config.now)||new Date;const I=e.config.defaultDate||((e.input.nodeName==="INPUT"||e.input.nodeName==="TEXTAREA")&&e.input.placeholder&&e.input.value===e.input.placeholder?null:e.input.value);I&&un(I,e.config.dateFormat),e._initialDate=e.selectedDates.length>0?e.selectedDates[0]:e.config.minDate&&e.config.minDate.getTime()>e.now.getTime()?e.config.minDate:e.config.maxDate&&e.config.maxDate.getTime()<e.now.getTime()?e.config.maxDate:e.now,e.currentYear=e._initialDate.getFullYear(),e.currentMonth=e._initialDate.getMonth(),e.selectedDates.length>0&&(e.latestSelectedDateObj=e.selectedDates[0]),e.config.minTime!==void 0&&(e.config.minTime=e.parseDate(e.config.minTime,"H:i")),e.config.maxTime!==void 0&&(e.config.maxTime=e.parseDate(e.config.maxTime,"H:i")),e.minDateHasTime=!!e.config.minDate&&(e.config.minDate.getHours()>0||e.config.minDate.getMinutes()>0||e.config.minDate.getSeconds()>0),e.maxDateHasTime=!!e.config.maxDate&&(e.config.maxDate.getHours()>0||e.config.maxDate.getMinutes()>0||e.config.maxDate.getSeconds()>0)}function gs(){if(e.input=Fe(),!e.input){e.config.errorHandler(new Error("Invalid input element specified"));return}e.input._type=e.input.type,e.input.type="text",e.input.classList.add("flatpickr-input"),e._input=e.input,e.config.altInput&&(e.altInput=we(e.input.nodeName,e.config.altInputClass),e._input=e.altInput,e.altInput.placeholder=e.input.placeholder,e.altInput.disabled=e.input.disabled,e.altInput.required=e.input.required,e.altInput.tabIndex=e.input.tabIndex,e.altInput.type="text",e.input.setAttribute("type","hidden"),!e.config.static&&e.input.parentNode&&e.input.parentNode.insertBefore(e.altInput,e.input.nextSibling)),e.config.allowInput||e._input.setAttribute("readonly","readonly"),e._positionElement=e.config.positionElement||e._input}function cr(){const I=e.config.enableTime?e.config.noCalendar?"time":"datetime-local":"date";e.mobileInput=we("input",e.input.className+" flatpickr-mobile"),e.mobileInput.tabIndex=1,e.mobileInput.type=I,e.mobileInput.disabled=e.input.disabled,e.mobileInput.required=e.input.required,e.mobileInput.placeholder=e.input.placeholder,e.mobileFormatStr=I==="datetime-local"?"Y-m-d\\TH:i:S":I==="date"?"Y-m-d":"H:i:S",e.selectedDates.length>0&&(e.mobileInput.defaultValue=e.mobileInput.value=e.formatDate(e.selectedDates[0],e.mobileFormatStr)),e.config.minDate&&(e.mobileInput.min=e.formatDate(e.config.minDate,"Y-m-d")),e.config.maxDate&&(e.mobileInput.max=e.formatDate(e.config.maxDate,"Y-m-d")),e.input.getAttribute("step")&&(e.mobileInput.step=String(e.input.getAttribute("step"))),e.input.type="hidden",e.altInput!==void 0&&(e.altInput.type="hidden");try{e.input.parentNode&&e.input.parentNode.insertBefore(e.mobileInput,e.input.nextSibling)}catch{}f(e.mobileInput,"change",k=>{e.setDate(It(k).value,!1,e.mobileFormatStr),Le("onChange"),Le("onClose")})}function ro(I){if(e.isOpen===!0)return e.close();e.open(I)}function Le(I,k){if(e.config===void 0)return;const N=e.config[I];if(N!==void 0&&N.length>0)for(let U=0;N[U]&&U<N.length;U++)N[U](e.selectedDates,e.input.value,e,k);I==="onChange"&&(e.input.dispatchEvent(ur("change")),e.input.dispatchEvent(ur("input")))}function ur(I){const k=document.createEvent("Event");return k.initEvent(I,!0,!0),k}function dr(I){for(let k=0;k<e.selectedDates.length;k++)if(wt(e.selectedDates[k],I)===0)return""+k;return!1}function so(I){return e.config.mode!=="range"||e.selectedDates.length<2?!1:wt(I,e.selectedDates[0])>=0&&wt(I,e.selectedDates[1])<=0}function Ii(){e.config.noCalendar||e.isMobile||!e.monthNav||(e.yearElements.forEach((I,k)=>{const N=new Date(e.currentYear,e.currentMonth,1);N.setMonth(e.currentMonth+k),e.config.showMonths>1||e.config.monthSelectorType==="static"?e.monthElements[k].textContent=Ca(N.getMonth(),e.config.shorthandCurrentMonth,e.l10n)+" ":e.monthsDropdownContainer.value=N.getMonth().toString(),I.value=N.getFullYear().toString()}),e._hidePrevMonthArrow=e.config.minDate!==void 0&&(e.currentYear===e.config.minDate.getFullYear()?e.currentMonth<=e.config.minDate.getMonth():e.currentYear<e.config.minDate.getFullYear()),e._hideNextMonthArrow=e.config.maxDate!==void 0&&(e.currentYear===e.config.maxDate.getFullYear()?e.currentMonth+1>e.config.maxDate.getMonth():e.currentYear>e.config.maxDate.getFullYear()))}function ps(I){return e.selectedDates.map(k=>e.formatDate(k,I)).filter((k,N,U)=>e.config.mode!=="range"||e.config.enableTime||U.indexOf(k)===N).join(e.config.mode!=="range"?e.config.conjunction:e.l10n.rangeSeparator)}function Et(I=!0){e.mobileInput!==void 0&&e.mobileFormatStr&&(e.mobileInput.value=e.latestSelectedDateObj!==void 0?e.formatDate(e.latestSelectedDateObj,e.mobileFormatStr):""),e.input.value=ps(e.config.dateFormat),e.altInput!==void 0&&(e.altInput.value=ps(e.config.altFormat)),I!==!1&&Le("onValueUpdate")}function ms(I){const k=It(I),N=e.prevMonthNav.contains(k),U=e.nextMonthNav.contains(k);N||U?Z(N?-1:1):e.yearElements.indexOf(k)>=0?k.select():k.classList.contains("arrowUp")?e.changeYear(e.currentYear+1):k.classList.contains("arrowDown")&&e.changeYear(e.currentYear-1)}function Mn(I){I.preventDefault();const k=I.type==="keydown",N=It(I),U=N;e.amPM!==void 0&&N===e.amPM&&(e.amPM.textContent=e.l10n.amPM[Gt(e.amPM.textContent===e.l10n.amPM[0])]);const ie=parseFloat(U.getAttribute("min")),$=parseFloat(U.getAttribute("max")),oe=parseFloat(U.getAttribute("step")),ae=parseInt(U.value,10),he=I.delta||(k?I.which===38?1:-1:0);let pe=ae+oe*he;if(typeof U.value<"u"&&U.value.length===2){const Me=U===e.hourElement,pt=U===e.minuteElement;pe<ie?(pe=$+pe+Gt(!Me)+(Gt(Me)&&Gt(!e.amPM)),pt&&y(void 0,-1,e.hourElement)):pe>$&&(pe=U===e.hourElement?pe-$-Gt(!e.amPM):ie,pt&&y(void 0,1,e.hourElement)),e.amPM&&Me&&(oe===1?pe+ae===23:Math.abs(pe-ae)>oe)&&(e.amPM.textContent=e.l10n.amPM[Gt(e.amPM.textContent===e.l10n.amPM[0])]),U.value=bt(pe)}}return r(),e}function Zi(n,t){const e=Array.prototype.slice.call(n).filter(r=>r instanceof HTMLElement),i=[];for(let r=0;r<e.length;r++){const s=e[r];try{if(s.getAttribute("data-fp-omit")!==null)continue;s._flatpickr!==void 0&&(s._flatpickr.destroy(),s._flatpickr=void 0),s._flatpickr=r6(s,t||{}),i.push(s._flatpickr)}catch(a){console.error(a)}}return i.length===1?i[0]:i}typeof HTMLElement<"u"&&typeof HTMLCollection<"u"&&typeof NodeList<"u"&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(n){return Zi(this,n)},HTMLElement.prototype.flatpickr=function(n){return Zi([this],n)});var Ue=function(n,t){return typeof n=="string"?Zi(window.document.querySelectorAll(n),t):n instanceof Node?Zi([n],t):Zi(n,t)};Ue.defaultConfig={};Ue.l10ns={en:Object.assign({},Ur),default:Object.assign({},Ur)};Ue.localize=n=>{Ue.l10ns.default=Object.assign(Object.assign({},Ue.l10ns.default),n)};Ue.setDefaults=n=>{Ue.defaultConfig=Object.assign(Object.assign({},Ue.defaultConfig),n)};Ue.parseDate=Zl({});Ue.formatDate=Qm({});Ue.compareDates=wt;typeof jQuery<"u"&&typeof jQuery.fn<"u"&&(jQuery.fn.flatpickr=function(n){return Zi(this,n)});Date.prototype.fp_incr=function(n){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+(typeof n=="string"?parseInt(n,10):n))};typeof window<"u"&&(window.flatpickr=Ue);var Yl={exports:{}};(function(n,t){(function(e,i){i(t)})(tn,function(e){var i=typeof window<"u"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},r={weekdays:{shorthand:["Paz","Pzt","Sal","Çar","Per","Cum","Cmt"],longhand:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"]},months:{shorthand:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],longhand:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"]},firstDayOfWeek:1,ordinal:function(){return"."},rangeSeparator:" - ",weekAbbreviation:"Hf",scrollTitle:"Artırmak için kaydırın",toggleTitle:"Aç/Kapa",amPM:["ÖÖ","ÖS"],time_24hr:!0};i.l10ns.tr=r;var s=i.l10ns;e.Turkish=r,e.default=s,Object.defineProperty(e,"__esModule",{value:!0})})})(Yl,Yl.exports);var s6=Yl.exports;const kh=(n,t,e)=>{if(n)return n;switch(t){case"time":return Vm;case"range":return oi;case"datetime":return e?Wm:Xm;default:return oi}},a6=n=>{switch(n){case"time":return{mode:"time",enableTime:!0};case"datetime":return{mode:"single",enableTime:!0};default:return{mode:n,enableTime:!1}}},o6=E.forwardRef(({value:n,format:t,mode:e="single",hasShortFormat:i,suffix:r,minDate:s,maxDate:a,onChange:o,onClose:l,disable:c=[],enable:u=[],...d},h)=>{var b;const g=E.useRef(null),f=E.useRef(),p=a6(e);E.useEffect(()=>(f.current=Ue(g.current,{...p,dateFormat:kh(t,e,i),defaultDate:n,minDate:s,disable:c,enable:u,hourIncrement:1,minuteIncrement:1,maxDate:a,locale:eu()==="tr"&&s6.Turkish,time_24hr:!0,parseDate:A=>$e(A,Li).toDate(),formatDate:A=>$e(A).format(kh(void 0,e)),onChange:A=>{if(o)switch(e){case"range":o({starDate:$e(A[0]).format(Li),endDate:$e(A[1]).format(Li)});break;case"datetime":o($e(A[0]).format(Ym));break;default:o($e(A[0]).format(Li));break}},onClose:A=>{l&&l(A)}}),()=>{var A;(A=f.current)==null||A.destroy()}),[g,f,s,a,u]),E.useEffect(()=>{f&&f.current&&f.current.set("maxDate",a)},[a]);const m=n&&((b=JSON.stringify(n))==null?void 0:b.length)>0?J7(n,e,i):"";return v.jsx("div",{"data-testid":"datepicker",className:$7.container,ref:h,children:v.jsx(ja,{...d,ref:g,value:m,suffix:r||v.jsx(Pe,{name:"calendar"})})})}),l6="_divider_1b99i_1",c6="_grey_1b99i_4",u6="_light_1b99i_7",Jo={divider:l6,grey:c6,light:u6,"margin-15":"_margin-15_1b99i_11","margin-30":"_margin-30_1b99i_15"},d6=({appearance:n=ic.GREY,className:t,margin:e="15"})=>v.jsx("hr",{"data-testid":"divider",className:ee(Jo.divider,t,{[Jo[`${n}`]]:n,[Jo[`margin-${e}`]]:e})}),f6="_dropdownMenu_1unwt_1",h6="_dropdownMenu__lg_1unwt_15",g6="_dropdownMenu__md_1unwt_18",p6="_dropdownMenu__sm_1unwt_21",m6="_active_1unwt_24",b6="_icon_1unwt_55",v6="_title_1unwt_73",y6="_disabled_1unwt_85",Gn={dropdownMenu:f6,dropdownMenu__lg:h6,dropdownMenu__md:g6,dropdownMenu__sm:p6,active:m6,icon:b6,title:v6,disabled:y6};/**
228
228
  * @remix-run/router v1.15.0
229
229
  *
230
230
  * Copyright (c) Remix Software Inc.
@@ -251,7 +251,7 @@ and limitations under the License.
251
251
  * LICENSE.md file in the root directory of this source tree.
252
252
  *
253
253
  * @license MIT
254
- */function Ki(){return Ki=Object.assign?Object.assign.bind():function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i])}return n},Ki.apply(this,arguments)}function su(n,t){if(n==null)return{};var e={},i=Object.keys(n),r,s;for(s=0;s<i.length;s++)r=i[s],!(t.indexOf(r)>=0)&&(e[r]=n[r]);return e}const Xs="get",Vs="application/x-www-form-urlencoded";function eo(n){return n!=null&&typeof n.tagName=="string"}function j6(n){return eo(n)&&n.tagName.toLowerCase()==="button"}function P6(n){return eo(n)&&n.tagName.toLowerCase()==="form"}function F6(n){return eo(n)&&n.tagName.toLowerCase()==="input"}function H6(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function z6(n,t){return n.button===0&&(!t||t==="_self")&&!H6(n)}let Hs=null;function Z6(){if(Hs===null)try{new FormData(document.createElement("form"),0),Hs=!1}catch{Hs=!0}return Hs}const Y6=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Uo(n){return n!=null&&!Y6.has(n)?(process.env.NODE_ENV!=="production"&&Ai(!1,'"'+n+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` '+('and will default to "'+Vs+'"')),null):n}function W6(n,t){let e,i,r,s,a;if(P6(n)){let o=n.getAttribute("action");i=o?Ui(o,t):null,e=n.getAttribute("method")||Xs,r=Uo(n.getAttribute("enctype"))||Vs,s=new FormData(n)}else if(j6(n)||F6(n)&&(n.type==="submit"||n.type==="image")){let o=n.form;if(o==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let l=n.getAttribute("formaction")||o.getAttribute("action");if(i=l?Ui(l,t):null,e=n.getAttribute("formmethod")||o.getAttribute("method")||Xs,r=Uo(n.getAttribute("formenctype"))||Uo(o.getAttribute("enctype"))||Vs,s=new FormData(o,n),!Z6()){let{name:c,type:u,value:d}=n;if(u==="image"){let h=c?c+".":"";s.append(h+"x","0"),s.append(h+"y","0")}else c&&s.append(c,d)}}else{if(eo(n))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');e=Xs,i=null,r=Vs,a=n}return s&&r==="text/plain"&&(a=s,s=void 0),{action:i,method:e.toLowerCase(),encType:r,formData:s,body:a}}const X6=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],V6=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],J6=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","unstable_viewTransition"],Q6="6";try{window.__reactRouterVersion=Q6}catch{}const ab=de.createContext({isTransitioning:!1});process.env.NODE_ENV!=="production"&&(ab.displayName="ViewTransition");const U6=de.createContext(new Map);process.env.NODE_ENV!=="production"&&(U6.displayName="Fetchers");process.env.NODE_ENV;const K6=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",q6=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,au=de.forwardRef(function(t,e){let{onClick:i,relative:r,reloadDocument:s,replace:a,state:o,target:l,to:c,preventScrollReset:u,unstable_viewTransition:d}=t,h=su(t,X6),{basename:g}=de.useContext(Sn),f,p=!1;if(typeof c=="string"&&q6.test(c)&&(f=c,K6))try{let y=new URL(window.location.href),w=c.startsWith("//")?new URL(y.protocol+c):new URL(c),C=Ui(w.pathname,g);w.origin===y.origin&&C!=null?c=C+w.search+w.hash:p=!0}catch{process.env.NODE_ENV!=="production"&&Ai(!1,'<Link to="'+c+'"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.')}let m=D6(c,{relative:r}),b=tq(c,{replace:a,state:o,target:l,preventScrollReset:u,relative:r,unstable_viewTransition:d});function A(y){i&&i(y),y.defaultPrevented||b(y)}return de.createElement("a",Ki({},h,{href:f||m,onClick:p||s?i:A,ref:e,target:l}))});process.env.NODE_ENV!=="production"&&(au.displayName="Link");const ob=de.forwardRef(function(t,e){let{"aria-current":i="page",caseSensitive:r=!1,className:s="",end:a=!1,style:o,to:l,unstable_viewTransition:c,children:u}=t,d=su(t,V6),h=ds(l,{relative:d.relative}),g=lr(),f=de.useContext(eb),{navigator:p,basename:m}=de.useContext(Sn),b=f!=null&&oq(h)&&c===!0,A=p.encodeLocation?p.encodeLocation(h).pathname:h.pathname,y=g.pathname,w=f&&f.navigation&&f.navigation.location?f.navigation.location.pathname:null;r||(y=y.toLowerCase(),w=w?w.toLowerCase():null,A=A.toLowerCase()),w&&m&&(w=Ui(w,m)||w);const C=A!=="/"&&A.endsWith("/")?A.length-1:A.length;let _=y===A||!a&&y.startsWith(A)&&y.charAt(C)==="/",S=w!=null&&(w===A||!a&&w.startsWith(A)&&w.charAt(A.length)==="/"),z={isActive:_,isPending:S,isTransitioning:b},R=_?i:void 0,T;typeof s=="function"?T=s(z):T=[s,_?"active":null,S?"pending":null,b?"transitioning":null].filter(Boolean).join(" ");let x=typeof o=="function"?o(z):o;return de.createElement(au,Ki({},d,{"aria-current":R,className:T,ref:e,style:x,to:l,unstable_viewTransition:c}),typeof u=="function"?u(z):u)});process.env.NODE_ENV!=="production"&&(ob.displayName="NavLink");const $6=de.forwardRef((n,t)=>{let{fetcherKey:e,navigate:i,reloadDocument:r,replace:s,state:a,method:o=Xs,action:l,onSubmit:c,relative:u,preventScrollReset:d,unstable_viewTransition:h}=n,g=su(n,J6),f=sq(),p=aq(l,{relative:u}),m=o.toLowerCase()==="get"?"get":"post",b=A=>{if(c&&c(A),A.defaultPrevented)return;A.preventDefault();let y=A.nativeEvent.submitter,w=(y==null?void 0:y.getAttribute("formmethod"))||o;f(y||A.currentTarget,{fetcherKey:e,method:w,navigate:i,replace:s,state:a,relative:u,preventScrollReset:d,unstable_viewTransition:h})};return de.createElement("form",Ki({ref:t,method:m,action:p,onSubmit:r?c:b},g))});process.env.NODE_ENV!=="production"&&($6.displayName="Form");process.env.NODE_ENV;var Ia;(function(n){n.UseScrollRestoration="useScrollRestoration",n.UseSubmit="useSubmit",n.UseSubmitFetcher="useSubmitFetcher",n.UseFetcher="useFetcher",n.useViewTransitionState="useViewTransitionState"})(Ia||(Ia={}));var Mh;(function(n){n.UseFetcher="useFetcher",n.UseFetchers="useFetchers",n.UseScrollRestoration="useScrollRestoration"})(Mh||(Mh={}));function eq(n){return n+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function lb(n){let t=de.useContext($a);return t||(process.env.NODE_ENV!=="production"?Ye(!1,eq(n)):Ye(!1)),t}function tq(n,t){let{target:e,replace:i,state:r,preventScrollReset:s,relative:a,unstable_viewTransition:o}=t===void 0?{}:t,l=B6(),c=lr(),u=ds(n,{relative:a});return de.useCallback(d=>{if(z6(d,e)){d.preventDefault();let h=i!==void 0?i:Xl(c)===Xl(u);l(n,{replace:h,state:r,preventScrollReset:s,relative:a,unstable_viewTransition:o})}},[c,l,u,i,r,e,n,s,a,o])}function nq(){if(typeof document>"u")throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}let iq=0,rq=()=>"__"+String(++iq)+"__";function sq(){let{router:n}=lb(Ia.UseSubmit),{basename:t}=de.useContext(Sn),e=T6();return de.useCallback(function(i,r){r===void 0&&(r={}),nq();let{action:s,method:a,encType:o,formData:l,body:c}=W6(i,t);if(r.navigate===!1){let u=r.fetcherKey||rq();n.fetch(u,e,r.action||s,{preventScrollReset:r.preventScrollReset,formData:l,body:c,formMethod:r.method||a,formEncType:r.encType||o,unstable_flushSync:r.unstable_flushSync})}else n.navigate(r.action||s,{preventScrollReset:r.preventScrollReset,formData:l,body:c,formMethod:r.method||a,formEncType:r.encType||o,replace:r.replace,state:r.state,fromRouteId:e,unstable_flushSync:r.unstable_flushSync,unstable_viewTransition:r.unstable_viewTransition})},[n,t,e])}function aq(n,t){let{relative:e}=t===void 0?{}:t,{basename:i}=de.useContext(Sn),r=de.useContext(or);r||(process.env.NODE_ENV!=="production"?Ye(!1,"useFormAction must be used inside a RouteContext"):Ye(!1));let[s]=r.matches.slice(-1),a=Ki({},ds(n||".",{relative:e})),o=lr();if(n==null){a.search=o.search;let l=new URLSearchParams(a.search);l.has("index")&&l.get("index")===""&&(l.delete("index"),a.search=l.toString()?"?"+l.toString():"")}return(!n||n===".")&&s.route.index&&(a.search=a.search?a.search.replace(/^\?/,"?index&"):"?index"),i!=="/"&&(a.pathname=a.pathname==="/"?i:tu([i,a.pathname])),Xl(a)}function oq(n,t){t===void 0&&(t={});let e=de.useContext(ab);e==null&&(process.env.NODE_ENV!=="production"?Ye(!1,"`unstable_useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?"):Ye(!1));let{basename:i}=lb(Ia.useViewTransitionState),r=ds(n,{relative:t.relative});if(!e.isTransitioning)return!1;let s=Ui(e.currentLocation.pathname,i)||e.currentLocation.pathname,a=Ui(e.nextLocation.pathname,i)||e.nextLocation.pathname;return Rh(r.pathname,a)!=null||Rh(r.pathname,s)!=null}const qi=({to:n,params:t,children:e,className:i,activeClassName:r,style:s,onClick:a,state:o,isDisabled:l})=>{const c=A6(n,t),u=d=>{if(l)return d.preventDefault();a&&a()};return v.jsx(ob,{to:o?{pathname:c}:c,style:s,state:o,className:({isActive:d})=>d?`${i} ${r}`:i,onClick:u,children:e})},lq=({buttonChild:n,items:t,footerItem:e,className:i,title:r,titleClass:s,event:a="hover",size:o="lg",isDisabled:l})=>{const[c,u]=E.useState(!1),d=E.useRef(null),h=f=>{const p=d.current;p!=null&&p.contains(f.target)||u(!1)};E.useEffect(()=>(document.addEventListener("mousedown",h),()=>{document.removeEventListener("mousedown",h)}),[]);const g=f=>{l||f==="click"&&u(!c)};return v.jsx("div",{className:ee("h-100 d-flex align-items-center",{[Gn.disabled]:l}),ref:d,"data-testid":"dropdown-list",children:v.jsxs("div",{className:ee(i,Gn.dropdownMenu,{[Gn.disabled]:l}),onMouseLeave:()=>a==="hover"&&u(!1),onMouseEnter:()=>a==="hover"&&u(!0),onClick:()=>g(a),children:[n,v.jsx("div",{className:ee(Gn.dropdownMenu,{[Gn.active]:c,[Gn[`dropdownMenu__${o}`]]:o}),children:v.jsxs("ul",{children:[r&&v.jsx("li",{className:ee(Gn.title,s),children:r}),t.map((f,p)=>v.jsxs("li",{"data-testid":`dropdown-item-${p}`,className:ee(f.className,{[Gn.icon]:f.icon}),children:[f.icon&&v.jsx(Pe,{name:f.icon}),f.to?v.jsx(qi,{to:f.to,children:f.text}):v.jsx("a",{onClick:m=>f.onClick&&f.onClick(m),children:f.text})]},p)),e&&e]})})]})})};function cb(n){var t,e,i="";if(typeof n=="string"||typeof n=="number")i+=n;else if(typeof n=="object")if(Array.isArray(n))for(t=0;t<n.length;t++)n[t]&&(e=cb(n[t]))&&(i&&(i+=" "),i+=e);else for(t in n)n[t]&&(i&&(i+=" "),i+=t);return i}function jn(){for(var n,t,e=0,i="";e<arguments.length;)(n=arguments[e++])&&(t=cb(n))&&(i&&(i+=" "),i+=t);return i}function _t(){return _t=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i])}return n},_t.apply(this,arguments)}function ub(n,t){if(n==null)return{};var e={},i=Object.keys(n),r,s;for(s=0;s<i.length;s++)r=i[s],!(t.indexOf(r)>=0)&&(e[r]=n[r]);return e}function Kr(n){return typeof n=="number"&&!isNaN(n)}function kr(n){return typeof n=="boolean"}function Xn(n){return typeof n=="string"}function dt(n){return typeof n=="function"}function Js(n){return Xn(n)||dt(n)?n:null}function Jl(n){return n===0||n}function cq(n,t){return n===!1||Kr(n)&&n>0?n:t}var db=!!(typeof window<"u"&&window.document&&window.document.createElement);function Ko(n){return E.isValidElement(n)||Xn(n)||dt(n)||Kr(n)}var fb={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},Rn={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"};function uq(n,t,e){e===void 0&&(e=300);var i=n.scrollHeight,r=n.style;requestAnimationFrame(function(){r.minHeight="initial",r.height=i+"px",r.transition="all "+e+"ms",requestAnimationFrame(function(){r.height="0",r.padding="0",r.margin="0",setTimeout(t,e)})})}function dq(n){var t=n.enter,e=n.exit,i=n.appendPosition,r=i===void 0?!1:i,s=n.collapse,a=s===void 0?!0:s,o=n.collapseDuration,l=o===void 0?300:o;return function(u){var d=u.children,h=u.position,g=u.preventExitTransition,f=u.done,p=u.nodeRef,m=u.isIn,b=r?t+"--"+h:t,A=r?e+"--"+h:e,y=E.useRef(),w=E.useRef(0);E.useLayoutEffect(function(){C()},[]),E.useEffect(function(){m||(g?z():S())},[m]);function C(){var R=p.current;y.current=R.className,R.className+=" "+b,R.addEventListener("animationend",_)}function _(R){if(R.target===p.current){var T=p.current;T.removeEventListener("animationend",_),w.current===0&&(T.className=y.current)}}function S(){w.current=1;var R=p.current;R.className+=" "+A,R.addEventListener("animationend",z)}function z(){var R=p.current;R.removeEventListener("animationend",z),a?uq(R,f,l):f()}return E.createElement(E.Fragment,null,d)}}var Jt={list:new Map,emitQueue:new Map,on:function(t,e){return this.list.has(t)||this.list.set(t,[]),this.list.get(t).push(e),this},off:function(t,e){if(e){var i=this.list.get(t).filter(function(r){return r!==e});return this.list.set(t,i),this}return this.list.delete(t),this},cancelEmit:function(t){var e=this.emitQueue.get(t);return e&&(e.forEach(clearTimeout),this.emitQueue.delete(t)),this},emit:function(t){for(var e=this,i=arguments.length,r=new Array(i>1?i-1:0),s=1;s<i;s++)r[s-1]=arguments[s];this.list.has(t)&&this.list.get(t).forEach(function(a){var o=setTimeout(function(){a.apply(void 0,r)},0);e.emitQueue.has(t)||e.emitQueue.set(t,[]),e.emitQueue.get(t).push(o)})}};function ji(n,t){t===void 0&&(t=!1);var e=E.useRef(n);return E.useEffect(function(){t&&(e.current=n)}),e.current}function fq(n,t){switch(t.type){case 0:return[].concat(n,[t.toastId]).filter(function(e){return e!==t.staleId});case 1:return Jl(t.toastId)?n.filter(function(e){return e!==t.toastId}):[]}}var hq=["delay","staleId"];function gq(n){var t=E.useReducer(function(w){return w+1},0),e=t[1],i=E.useReducer(fq,[]),r=i[0],s=i[1],a=E.useRef(null),o=ji(0),l=ji([]),c=ji({}),u=ji({toastKey:1,displayedToast:0,props:n,containerId:null,isToastActive:d,getToast:function(C){return c[C]||null}});E.useEffect(function(){return u.containerId=n.containerId,Jt.cancelEmit(3).on(0,m).on(1,function(w){return a.current&&g(w)}).on(5,h).emit(2,u),function(){return Jt.emit(3,u)}},[]),E.useEffect(function(){u.isToastActive=d,u.displayedToast=r.length,Jt.emit(4,r.length,n.containerId)},[r]),E.useEffect(function(){u.props=n});function d(w){return r.indexOf(w)!==-1}function h(w){var C=w.containerId,_=u.props.limit;_&&(!C||u.containerId===C)&&(o-=l.length,l=[])}function g(w){s({type:1,toastId:w})}function f(){var w=l.shift(),C=w.toastContent,_=w.toastProps,S=w.staleId;b(C,_,S)}function p(w){var C=w.containerId,_=w.toastId,S=w.updateId;return!!(!a.current||u.props.enableMultiContainer&&C!==u.props.containerId||c[_]&&S==null)}function m(w,C){var _,S=C.delay,z=C.staleId,R=ub(C,hq);if(!(!Ko(w)||p(R))){var T=R.toastId,x=R.updateId,O=R.data,B=u.props,L=function(){return g(T)},G=R.updateId==null;G&&o++;var F={toastId:T,updateId:x,isLoading:R.isLoading,theme:R.theme||B.theme,icon:(_=R.icon)!=null?_:B.icon,isIn:!1,key:R.key||u.toastKey++,type:R.type,closeToast:L,closeButton:R.closeButton,rtl:B.rtl,position:R.position||B.position,transition:R.transition||B.transition,className:Js(R.className||B.toastClassName),bodyClassName:Js(R.bodyClassName||B.bodyClassName),style:R.style||B.toastStyle,bodyStyle:R.bodyStyle||B.bodyStyle,onClick:R.onClick||B.onClick,pauseOnHover:kr(R.pauseOnHover)?R.pauseOnHover:B.pauseOnHover,pauseOnFocusLoss:kr(R.pauseOnFocusLoss)?R.pauseOnFocusLoss:B.pauseOnFocusLoss,draggable:kr(R.draggable)?R.draggable:B.draggable,draggablePercent:Kr(R.draggablePercent)?R.draggablePercent:B.draggablePercent,draggableDirection:R.draggableDirection||B.draggableDirection,closeOnClick:kr(R.closeOnClick)?R.closeOnClick:B.closeOnClick,progressClassName:Js(R.progressClassName||B.progressClassName),progressStyle:R.progressStyle||B.progressStyle,autoClose:R.isLoading?!1:cq(R.autoClose,B.autoClose),hideProgressBar:kr(R.hideProgressBar)?R.hideProgressBar:B.hideProgressBar,progress:R.progress,role:Xn(R.role)?R.role:B.role,deleteToast:function(){A(T)}};dt(R.onOpen)&&(F.onOpen=R.onOpen),dt(R.onClose)&&(F.onClose=R.onClose),F.draggableDirection==="y"&&F.draggablePercent===80&&(F.draggablePercent*=1.5);var P=B.closeButton;R.closeButton===!1||Ko(R.closeButton)?P=R.closeButton:R.closeButton===!0&&(P=Ko(B.closeButton)?B.closeButton:!0),F.closeButton=P;var V=w;E.isValidElement(w)&&!Xn(w.type)?V=E.cloneElement(w,{closeToast:L,toastProps:F,data:O}):dt(w)&&(V=w({closeToast:L,toastProps:F,data:O})),B.limit&&B.limit>0&&o>B.limit&&G?l.push({toastContent:V,toastProps:F,staleId:z}):Kr(S)&&S>0?setTimeout(function(){b(V,F,z)},S):b(V,F,z)}}function b(w,C,_){var S=C.toastId;_&&delete c[_],c[S]={content:w,props:C},s({type:0,toastId:S,staleId:_})}function A(w){delete c[w];var C=l.length;if(o=Jl(w)?o-1:o-u.displayedToast,o<0&&(o=0),C>0){var _=Jl(w)?1:u.props.limit;if(C===1||_===1)u.displayedToast++,f();else{var S=_>C?C:_;u.displayedToast=S;for(var z=0;z<S;z++)f()}}else e()}function y(w){for(var C={},_=n.newestOnTop?Object.keys(c).reverse():Object.keys(c),S=0;S<_.length;S++){var z=c[_[S]],R=z.props.position;C[R]||(C[R]=[]),C[R].push(z)}return Object.keys(C).map(function(T){return w(T,C[T])})}return{getToastToRender:y,collection:c,containerRef:a,isToastActive:d}}function Dh(n){return n.targetTouches&&n.targetTouches.length>=1?n.targetTouches[0].clientX:n.clientX}function Bh(n){return n.targetTouches&&n.targetTouches.length>=1?n.targetTouches[0].clientY:n.clientY}function pq(n){var t=E.useState(!0),e=t[0],i=t[1],r=E.useState(!1),s=r[0],a=r[1],o=E.useRef(null),l=ji({start:0,x:0,y:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,boundingRect:null}),c=ji(n,!0),u=n.autoClose,d=n.pauseOnHover,h=n.closeToast,g=n.onClick,f=n.closeOnClick;E.useEffect(function(){return dt(n.onOpen)&&n.onOpen(E.isValidElement(n.children)&&n.children.props),function(){dt(c.onClose)&&c.onClose(E.isValidElement(c.children)&&c.children.props)}},[]),E.useEffect(function(){return n.draggable&&C(),function(){n.draggable&&_()}},[n.draggable]),E.useEffect(function(){return n.pauseOnFocusLoss&&y(),function(){n.pauseOnFocusLoss&&w()}},[n.pauseOnFocusLoss]);function p(T){if(n.draggable){var x=o.current;l.canCloseOnClick=!0,l.canDrag=!0,l.boundingRect=x.getBoundingClientRect(),x.style.transition="",l.x=Dh(T.nativeEvent),l.y=Bh(T.nativeEvent),n.draggableDirection==="x"?(l.start=l.x,l.removalDistance=x.offsetWidth*(n.draggablePercent/100)):(l.start=l.y,l.removalDistance=x.offsetHeight*(n.draggablePercent/100))}}function m(){if(l.boundingRect){var T=l.boundingRect,x=T.top,O=T.bottom,B=T.left,L=T.right;n.pauseOnHover&&l.x>=B&&l.x<=L&&l.y>=x&&l.y<=O?A():b()}}function b(){i(!0)}function A(){i(!1)}function y(){document.hasFocus()||A(),window.addEventListener("focus",b),window.addEventListener("blur",A)}function w(){window.removeEventListener("focus",b),window.removeEventListener("blur",A)}function C(){document.addEventListener("mousemove",S),document.addEventListener("mouseup",z),document.addEventListener("touchmove",S),document.addEventListener("touchend",z)}function _(){document.removeEventListener("mousemove",S),document.removeEventListener("mouseup",z),document.removeEventListener("touchmove",S),document.removeEventListener("touchend",z)}function S(T){if(l.canDrag){T.preventDefault();var x=o.current;e&&A(),l.x=Dh(T),l.y=Bh(T),n.draggableDirection==="x"?l.delta=l.x-l.start:l.delta=l.y-l.start,l.start!==l.x&&(l.canCloseOnClick=!1),x.style.transform="translate"+n.draggableDirection+"("+l.delta+"px)",x.style.opacity=""+(1-Math.abs(l.delta/l.removalDistance))}}function z(){var T=o.current;if(l.canDrag){if(l.canDrag=!1,Math.abs(l.delta)>l.removalDistance){a(!0),n.closeToast();return}T.style.transition="transform 0.2s, opacity 0.2s",T.style.transform="translate"+n.draggableDirection+"(0)",T.style.opacity="1"}}var R={onMouseDown:p,onTouchStart:p,onMouseUp:m,onTouchEnd:m};return u&&d&&(R.onMouseEnter=A,R.onMouseLeave=b),f&&(R.onClick=function(T){g&&g(T),l.canCloseOnClick&&h()}),{playToast:b,pauseToast:A,isRunning:e,preventExitTransition:s,toastRef:o,eventHandlers:R}}function hb(n){var t=n.closeToast,e=n.theme,i=n.ariaLabel,r=i===void 0?"close":i;return E.createElement("button",{className:"Toastify__close-button Toastify__close-button--"+e,type:"button",onClick:function(a){a.stopPropagation(),t(a)},"aria-label":r},E.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},E.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function gb(n){var t,e,i=n.delay,r=n.isRunning,s=n.closeToast,a=n.type,o=n.hide,l=n.className,c=n.style,u=n.controlledProgress,d=n.progress,h=n.rtl,g=n.isIn,f=n.theme,p=_t({},c,{animationDuration:i+"ms",animationPlayState:r?"running":"paused",opacity:o?0:1});u&&(p.transform="scaleX("+d+")");var m=jn("Toastify__progress-bar",u?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated","Toastify__progress-bar-theme--"+f,"Toastify__progress-bar--"+a,(t={},t["Toastify__progress-bar--rtl"]=h,t)),b=dt(l)?l({rtl:h,type:a,defaultClassName:m}):jn(m,l),A=(e={},e[u&&d>=1?"onTransitionEnd":"onAnimationEnd"]=u&&d<1?null:function(){g&&s()},e);return E.createElement("div",Object.assign({role:"progressbar","aria-hidden":o?"true":"false","aria-label":"notification timer",className:b,style:p},A))}gb.defaultProps={type:Rn.DEFAULT,hide:!1};var mq=["theme","type"],to=function(t){var e=t.theme,i=t.type,r=ub(t,mq);return E.createElement("svg",Object.assign({viewBox:"0 0 24 24",width:"100%",height:"100%",fill:e==="colored"?"currentColor":"var(--toastify-icon-color-"+i+")"},r))};function bq(n){return E.createElement(to,Object.assign({},n),E.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))}function vq(n){return E.createElement(to,Object.assign({},n),E.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))}function yq(n){return E.createElement(to,Object.assign({},n),E.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))}function Aq(n){return E.createElement(to,Object.assign({},n),E.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))}function Cq(){return E.createElement("div",{className:"Toastify__spinner"})}var Gh={info:vq,warning:bq,success:yq,error:Aq,spinner:Cq},Iq=function(t){var e,i,r=pq(t),s=r.isRunning,a=r.preventExitTransition,o=r.toastRef,l=r.eventHandlers,c=t.closeButton,u=t.children,d=t.autoClose,h=t.onClick,g=t.type,f=t.hideProgressBar,p=t.closeToast,m=t.transition,b=t.position,A=t.className,y=t.style,w=t.bodyClassName,C=t.bodyStyle,_=t.progressClassName,S=t.progressStyle,z=t.updateId,R=t.role,T=t.progress,x=t.rtl,O=t.toastId,B=t.deleteToast,L=t.isIn,G=t.isLoading,F=t.icon,P=t.theme,V=jn("Toastify__toast","Toastify__toast-theme--"+P,"Toastify__toast--"+g,(e={},e["Toastify__toast--rtl"]=x,e)),te=dt(A)?A({rtl:x,position:b,type:g,defaultClassName:V}):jn(V,A),Z=!!T,W=Gh[g],H={theme:P,type:g},j=W&&W(H);F===!1?j=void 0:dt(F)?j=F(H):E.isValidElement(F)?j=E.cloneElement(F,H):Xn(F)?j=F:G&&(j=Gh.spinner());function Y(J){if(J){var D={closeToast:p,type:g,theme:P};if(dt(J))return J(D);if(E.isValidElement(J))return E.cloneElement(J,D)}}return E.createElement(m,{isIn:L,done:B,position:b,preventExitTransition:a,nodeRef:o},E.createElement("div",Object.assign({id:O,onClick:h,className:te},l,{style:y,ref:o}),E.createElement("div",Object.assign({},L&&{role:R},{className:dt(w)?w({type:g}):jn("Toastify__toast-body",w),style:C}),j&&E.createElement("div",{className:jn("Toastify__toast-icon",(i={},i["Toastify--animate-icon Toastify__zoom-enter"]=!G,i))},j),E.createElement("div",null,u)),Y(c),(d||Z)&&E.createElement(gb,Object.assign({},z&&!Z?{key:"pb-"+z}:{},{rtl:x,theme:P,delay:d,isRunning:s,isIn:L,closeToast:p,hide:f,type:g,style:S,className:_,controlledProgress:Z,progress:T}))))},wq=dq({enter:"Toastify--animate Toastify__bounce-enter",exit:"Toastify--animate Toastify__bounce-exit",appendPosition:!0}),ou=function(t){var e=gq(t),i=e.getToastToRender,r=e.containerRef,s=e.isToastActive,a=t.className,o=t.style,l=t.rtl,c=t.containerId;function u(d){var h,g=jn("Toastify__toast-container","Toastify__toast-container--"+d,(h={},h["Toastify__toast-container--rtl"]=l,h));return dt(a)?a({position:d,rtl:l,defaultClassName:g}):jn(g,Js(a))}return E.createElement("div",{ref:r,className:"Toastify",id:c},i(function(d,h){var g=h.length===0?_t({},o,{pointerEvents:"none"}):_t({},o);return E.createElement("div",{className:u(d),style:g,key:"container-"+d},h.map(function(f){var p=f.content,m=f.props;return E.createElement(Iq,Object.assign({},m,{isIn:s(m.toastId),key:"toast-"+m.key,closeButton:m.closeButton===!0?hb:m.closeButton}),p)}))}))};ou.defaultProps={position:fb.TOP_RIGHT,transition:wq,rtl:!1,autoClose:5e3,hideProgressBar:!1,closeButton:hb,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,newestOnTop:!1,draggable:!0,draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};var Yi=new Map,Ql,jr,pb,Ul=[],Kl=!1;function xq(){return Yi.size>0}function _q(n,t){var e=t.containerId,i=Yi.get(e||Ql);return i?i.getToast(n):null}function mb(){return Math.random().toString(36).substr(2,9)}function kq(n){return n&&(Xn(n.toastId)||Kr(n.toastId))?n.toastId:mb()}function fs(n,t){return xq()?Jt.emit(0,n,t):(Ul.push({content:n,options:t}),Kl&&db&&(Kl=!1,jr=document.createElement("div"),document.body.appendChild(jr),Xh.render(E.createElement(ou,Object.assign({},pb)),jr))),t.toastId}function no(n,t){return _t({},t,{type:t&&t.type||n,toastId:kq(t)})}var io=function(t){return function(e,i){return fs(e,no(t,i))}},He=function(t,e){return fs(t,no(Rn.DEFAULT,e))};He.loading=function(n,t){return fs(n,no(Rn.DEFAULT,_t({isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1},t)))};function Eq(n,t,e){var i=t.pending,r=t.error,s=t.success,a;i&&(a=Xn(i)?He.loading(i,e):He.loading(i.render,_t({},e,i)));var o={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},l=function(d,h,g){var f=_t({type:d},o,e,{data:g}),p=Xn(h)?{render:h}:h;return a?He.update(a,_t({},f,p)):He(p.render,_t({},f,p)),g},c=dt(n)?n():n;return c.then(function(u){return s&&l("success",s,u)}).catch(function(u){return r&&l("error",r,u)}),c}He.promise=Eq;He.success=io(Rn.SUCCESS);He.info=io(Rn.INFO);He.error=io(Rn.ERROR);He.warning=io(Rn.WARNING);He.warn=He.warning;He.dark=function(n,t){return fs(n,no(Rn.DEFAULT,_t({theme:"dark"},t)))};He.dismiss=function(n){return Jt.emit(1,n)};He.clearWaitingQueue=function(n){return n===void 0&&(n={}),Jt.emit(5,n)};He.isActive=function(n){var t=!1;return Yi.forEach(function(e){e.isToastActive&&e.isToastActive(n)&&(t=!0)}),t};He.update=function(n,t){t===void 0&&(t={}),setTimeout(function(){var e=_q(n,t);if(e){var i=e.props,r=e.content,s=_t({},i,t,{toastId:t.toastId||n,updateId:mb()});s.toastId!==n&&(s.staleId=n);var a=s.render||r;delete s.render,fs(a,s)}},0)};He.done=function(n){He.update(n,{progress:1})};He.onChange=function(n){return dt(n)&&Jt.on(4,n),function(){dt(n)&&Jt.off(4,n)}};He.configure=function(n){n===void 0&&(n={}),Kl=!0,pb=n};He.POSITION=fb;He.TYPE=Rn;Jt.on(2,function(n){Ql=n.containerId||n,Yi.set(Ql,n),Ul.forEach(function(t){Jt.emit(0,t.content,t.options)}),Ul=[]}).on(3,function(n){Yi.delete(n.containerId||n),Yi.size===0&&Jt.off(0).off(1).off(5),db&&jr&&document.body.removeChild(jr)});const lu=n=>{const{message:t,type:e,closeTime:i=5e3}=n,r={success:Ve.Check,warning:Ve.Warning,error:Ve.Close};He[e](t,{toastId:t,position:"top-center",autoClose:i,theme:"dark",closeButton:!1,hideProgressBar:!0,closeOnClick:!0,pauseOnHover:!1,draggable:!1,icon:v.jsx(Pe,{name:r[e]})})},Sq=n=>{if(n)return new Promise((t,e)=>{const i=new FileReader;i.readAsDataURL(n),i.onload=()=>t(i.result),i.onerror=r=>e(r)})},Rq="_container_1a5f2_2",Mq="_info_1a5f2_6",Dq="_fieldWrap_1a5f2_15",Bq="_control_1a5f2_23",Gq="_selectedFileWrap_1a5f2_36",Oq="_selectedFileWrap__multiple_1a5f2_44",Nq="_fileGroup_1a5f2_47",Tq="_imageContainer_1a5f2_50",Lq="_fieldWrap__multiple_1a5f2_65",jq="_fileName_1a5f2_96",Pq="_light_1a5f2_108",Fq="_error_1a5f2_125",Hq="_deleteIcon_1a5f2_130",zq="_border__blue_1a5f2_152",Zq="_border__black_1a5f2_156",Yq="_border__none_1a5f2_160",Wq="_lengthCard_1a5f2_164",Xq="_previewModal_1a5f2_179",Vq="_header_1a5f2_183",Jq="_pictureContainer_1a5f2_186",Qq="_previewContainer_1a5f2_192",Uq="_preview_1a5f2_179",Kq="_imagePreviewModal_1a5f2_235",qq="_lengthContainer_1a5f2_250",ke={container:Rq,info:Mq,fieldWrap:Dq,control:Bq,selectedFileWrap:Gq,selectedFileWrap__multiple:Oq,fileGroup:Nq,imageContainer:Tq,fieldWrap__multiple:Lq,fileName:jq,light:Pq,error:Fq,deleteIcon:Hq,"height-40":"_height-40_1a5f2_144","height-80":"_height-80_1a5f2_148",border__blue:zq,border__black:Zq,border__none:Yq,lengthCard:Wq,previewModal:Xq,header:Vq,pictureContainer:Jq,previewContainer:Qq,preview:Uq,imagePreviewModal:Kq,"mr-auto":"_mr-auto_1a5f2_246",lengthContainer:qq},$q="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAMAAAD8CC+4AAADAFBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////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UqlAuikrKr/9cO9vzmQdPqUYPC6hyYdo9d6giZ4HODTkqzJQJwjybMzyRY0RTKjPc6IjcoEcqVC6ATnteyIGkiJRdRCCMZYBViKPxskmTJXtm1j5QtFURzG+XGk46mNCdX4yfSq60JQTW9gerrTzOZRxER+0sRa42kgA3TCJMQilaAGZDUHDmmkj3O+ay7BfpHGXSWviIl3QIXiLWVH5TjS0WrGhYA7nkwhIzrolTLLlDS4AYqhFFQg+cwpNq+UBVESFAuEzC/pOHbpuX5JvzgYl/QTckk/IZf0E/LNHh3UAAwCQBC8poUvCQmP8+8IRRWyOxbGdCDTgUwHMh3IdCDTgXIrmJungnnyVjBvRgUzsiqYlVnBzOwKZudUMCdfBfOzbyc4CMMwEEU/aaErCAQS+P4XRYi1QHsAz7w7xEnGdk0JE1NwOqNmBTRhUhrgFCblBPRhUnrA6buWiptDmJADgH/qWmpwfRdTcdeGyWgB/H7X0vMwhokYeerCRHS87MIk7Hg7h0m48GEbJmDLgwMaHTVvbrBqaJgqnqVIb1X4cgxL7siPfVhqewAXeCmT4u5cTkPHlLtt+bX85722vDbMGdxuS2ocmDV4Wz2l9cCC4tGphKrCouKzns66cOd7Xca1vXu5YRgEggA6wJqfkzj+xf23lIpyzyXgcPCieS2skNhhJF4jfhp5h++K/5459/XuRRRKTGQ7YRKKWb6+dOFpUWPlYVfPrKhk2aVRLljUE7YlFbsLzjnYh1fqceC8xKhGoVvCf3JkHK+KixkNyMy5K+FmQTN5C9zhLs6ELaM1K/vip8EZ/gByIW/jhskvu1gU+wAcY7059dbxWAAAAABJRU5ErkJggg==",bb=({count:n,onCardClick:t})=>v.jsx("div",{"data-testid":"fileupload-lengthcard",className:ke.lengthCard,onClick:t,children:v.jsx("span",{children:`+ ${n}`})}),vb=({onClose:n,src:t})=>{const{t:e}=yt();return v.jsx(qa,{onClose:n,title:e("title.preview"),className:ke.imagePreviewModal,children:v.jsx("img",{src:t})})},yb=({imagePaths:n,onClose:t,onDelete:e})=>{const{t:i}=yt(),[r,s]=E.useState(!1),[a,o]=E.useState(),l=c=>{o(c),s(!0)};return v.jsxs(v.Fragment,{children:[v.jsx(qa,{title:i("title.edit_images"),className:ke.previewModal,onClose:t,headerClass:ke.header,children:v.jsx("div",{className:ke.pictureContainer,children:n.map((c,u)=>v.jsxs("div",{className:ke.previewContainer,children:[v.jsxs("div",{className:ke.preview,children:[v.jsx(Pe,{name:Ve.Preview,onClick:()=>l(c)}),v.jsx(Pe,{name:Ve.Trash,onClick:()=>e(n,c)})]}),v.jsx("img",{src:c})]},u))})}),r&&a&&v.jsx(vb,{src:a,onClose:()=>s(!1)})]})},Ab=E.forwardRef((n,t)=>{var H,j;const{name:e,label:i,id:r,type:s="text",size:a,isDisabled:o,info:l,error:c,appearance:u,description:d,className:h,wrapperClassName:g,height:f="40",value:p,fileName:m,required:b,onChange:A,multiple:y=!1,...w}=n,{t:C}=yt(),_={[ke[`type__${s}`]]:s!=="text"},[S,z]=E.useState(),[R,T]=E.useState(),[x,O]=E.useState([]),[B,L]=E.useState(!1),G=ee("form-group",{[ke[`size__${a}`]]:a,[ke.disabled]:o,[ke.hidden]:s==="hidden"},g),F=Y=>Y[0]&&RE(Y)?new Promise((J,D)=>{const Q=new FileReader;Q.readAsDataURL(Y[0]),Q.onload=()=>J(Q.result),Q.onerror=X=>D(X)}):$q,P=async Y=>{const J=Y.currentTarget.files;let D=[];if(!(x.length+J.length>5)){if(y&&!((x==null?void 0:x.length)>=5)){const Q=Object.values(J);for(let X=0;X<Q.length;X++)D.push(Sq(Q[X]));await Promise.all(D).then(X=>{var re;((re=x.filter(ue=>X.some(K=>ue===K)))==null?void 0:re.length)>0?lu({message:C("text.duplicate_image_error"),type:_a.ERROR}):(A&&A([...x,...X]),O([...x||[],...X]),z(J))});return}J[0]&&!y&&(D=await F(J),A&&A(D),T(D),z(J))}},V=()=>{O([]),T(""),z(""),A&&A("")},te=(Y,J)=>{const D=Y;if(J&&D.length==1){V(),L(!1);return}if(J){const Q=D.filter(X=>X!==J);O(Q),A&&A(Q);return}if(D.length==1){V();return}D.length>=0&&(O(D.slice(0,-1)),A&&A(D.slice(0,-1)))},Z=()=>v.jsxs(v.Fragment,{children:[v.jsxs("div",{className:ke.imageContainer,"data-testid":"fileupload-multipleimages",children:[v.jsx("img",{src:x[x.length-1]}),v.jsx(Pe,{name:Ve.Trash,className:ke.deleteIcon,onClick:()=>te(x)})]}),v.jsx("div",{className:ke.lengthContainer,children:x.length>1&&v.jsx(bb,{onCardClick:()=>L(!0),count:x.length-1})})]}),W=Y=>{Y.target.value=null};return E.useEffect(()=>{p&&T(p),y&&p&&O(p)},[p]),v.jsxs(v.Fragment,{children:[v.jsxs("div",{className:G,"data-testid":"fileupload-container",children:[v.jsxs("div",{className:ee(ke.container,{[ke[`${u}`]]:u,[ke.disabled]:o}),children:[v.jsxs("div",{className:ee("d-flex","w-100",{"justify-content-between":i,"justify-content-start":!i}),children:[i&&v.jsx(an,{appearance:u,name:e,children:i}),(l&&y||l&&!R&&!y)&&v.jsxs(an,{className:ke.info,appearance:u,name:e,children:[b&&"*"," ",l]})]}),v.jsxs("div",{className:ee({[ke.selectedFileWrap]:S||p,[ke.selectedFileWrap__multiple]:p||y&&x.length>0}),children:[!y&&R&&v.jsx("img",{src:R}),y&&x.length>0&&Z(),v.jsxs("div",{className:ke.fileGroup,children:[(S||m)&&!y&&v.jsx(fi,{id:e,tooltipContent:S&&((H=S[0])==null?void 0:H.name)||m,ellipsis:!0,direction:$i.TOP,children:v.jsx("span",{className:ke.fileName,children:S&&((j=S[0])==null?void 0:j.name)||m})}),v.jsxs("div",{className:ee(ke.fieldWrap,{[ke.border__black]:!(p&&!y&&S),[ke.border__blue]:p&&!y&&S,[ke["mr-auto"]]:p&&!y,[ke[`height-${f}`]]:f&&!S&&!R,[ke["height-40"]]:R||S,[ke.fieldWrap__multiple]:p&&y&&x.length>=0}),children:[v.jsx("input",{type:"file",name:e,"data-testid":"fileupload-input",id:r,className:ee(ke.control,_,h),disabled:o,onChange:P,onClick:W,ref:t,multiple:y,...w}),v.jsx("span",{children:p&&!y?C("button.edit"):d})]})]})]})]}),c&&v.jsx(vi,{...c})]}),B&&v.jsx(yb,{imagePaths:x,onDelete:te,onClose:()=>L(!1)})]})});Ab.displayName="FileUpload";const e8=({children:n,auto:t=!1,size:e,sm:i,md:r,lg:s,xl:a,className:o})=>{const l=ee({col:!e&&!t,"col-auto":!e&&t,[`col-xl-${a}`]:a,[`col-lg-${s}`]:s,[`col-md-${r}`]:r,[`col-sm-${i}`]:i,[`col-${e}`]:e&&!t},o);return v.jsx("div",{"data-testid":"column",className:l,children:n})},t8=({children:n,className:t})=>v.jsx("div",{"data-testid":"row",className:ee("row",t),children:n});function Cb({children:n,hasMore:t,height:e=400,loadMore:i,treshold:r=100}){const s=E.useRef(null),[a,o]=E.useState(!1),l=()=>{var u,d,h;s.current&&((u=s==null?void 0:s.current)==null?void 0:u.scrollTop)+((d=s==null?void 0:s.current)==null?void 0:d.clientHeight)>=((h=s==null?void 0:s.current)==null?void 0:h.scrollHeight)-r&&o(!0)},c=()=>{var u;i(),o(!1),(u=s.current)==null||u.scroll(0,s.current.scrollHeight/2)};return E.useEffect(()=>{a&&t&&setTimeout(()=>c(),300)},[a,t]),E.useEffect(()=>{var u;return(u=s.current)==null||u.addEventListener("scroll",l),()=>{var d;return(d=s.current)==null?void 0:d.removeEventListener("scroll",l)}},[]),v.jsx("div",{"data-testid":"infinitescroll",ref:s,style:{overflow:"auto",height:e},onScroll:l,children:n})}const n8="_noResult_19yve_1",i8={noResult:n8};function cu(){const{t:n}=yt();return v.jsx("span",{"data-testid":"noresult",className:i8.noResult,children:n("text.no_result")})}const r8="_typography_1wwcb_1",s8="_ellipsis_1wwcb_6",a8="_success_1wwcb_12",o8="_copy_1wwcb_17",l8="_checkCopy_1wwcb_21",c8="_code_1wwcb_25",Bi={typography:r8,ellipsis:s8,success:a8,copy:o8,checkCopy:l8,code:c8},Ib=n=>{const{children:t,copyable:e,notificationProps:i,className:r,ellipsis:s,id:a,appearance:o,href:l,tooltipContent:c}=n,[u,d]=E.useState(!1),h=E.useRef(null),{t:g}=yt(),f=i||{type:_a.SUCCESS,message:g("text.copied"),closeTime:3e3},p=m=>{u||(navigator.clipboard.writeText(m),d(!0),lu({type:f.type,message:f.message,closeTime:f.closeTime})),setTimeout(()=>d(!1),1e3)};return v.jsxs("p",{"data-testid":"typographytext",ref:h,className:ee(r,Bi.typography,{[Bi.copy]:e,[Bi[`${o}`]]:o}),onClick:()=>l&&window.open(l,"_blank"),children:[c?v.jsx(fi,{id:`tooltipContent${a}`,tooltipContent:c,ellipsis:s,children:t}):v.jsx("span",{className:ee({[Bi.ellipsis]:s}),children:t}),e&&v.jsx(fi,{id:`copyId${a}`,className:"width90",direction:$i.TOP,tooltipContent:u?"Copied":"Copy",children:v.jsx("span",{className:ee(Bi.copy,{[Bi.checkCopy]:u}),onClick:m=>{m.stopPropagation(),p(t)},children:u?v.jsx(Pe,{name:Ve.Check}):v.jsx(Pe,{name:Ve.Copy})})})]},a)},u8="_item_agw97_1",d8="_connectedService_agw97_54",f8="_subUrl_agw97_59",h8={item:u8,connectedService:d8,subUrl:f8},g8=({items:n,isLoading:t,className:e})=>{const i=n.every(({value:r})=>r===void 0);return v.jsx("div",{className:e,"data-testid":"infoboxlist-container",children:i?v.jsx(cu,{}):n.map(({label:r,value:s,copy:a})=>s!==void 0&&v.jsxs("div",{className:h8.item,"data-testid":"infoboxlist-item",children:[v.jsx("div",{children:r}),v.jsx("div",{children:t?v.jsx(Fm,{}):a?v.jsx(Ib,{className:e,ellipsis:!0,href:`${s}`,copyable:!0,children:s}):s})]},r+s))})},p8="_infoDateWrapper_19cyh_1",m8="_time_19cyh_13",qo={infoDateWrapper:p8,time:m8},wb=n=>{const{date:t,time:e=!1,fromNow:i=!1}=n,s=((o,l)=>{var u;let c="";return i?(c=(u=nt(o))==null?void 0:u.fromNow(!0),c):nt(o).format(l)})(t,oi),a=nt(t).format(Vm);return v.jsxs("span",{className:qo.infoDateWrapper,"data-testid":"infodate",children:[v.jsx("span",{className:qo.date,children:s}),e&&v.jsx("span",{className:qo.time,children:a})]})},b8="_infoText_1y9iv_1",v8="_infoIcon_1y9iv_11",Oh={infoText:b8,infoIcon:v8},y8=({text:n,className:t})=>v.jsxs("div",{className:`${Oh.infoText} ${t}`,"data-testid":"infotext",children:[v.jsx(Pe,{name:Ve.Info,className:Oh.infoIcon}),v.jsx("span",{children:n})]}),A8="_wrapper_14erv_1",C8="_content_14erv_11",I8="_iconWrapper_14erv_19",w8="_titleGroup_14erv_30",x8="_title_14erv_30",_8="_textGroup_14erv_46",k8="_footer_14erv_51",ei={wrapper:A8,content:C8,iconWrapper:I8,titleGroup:w8,title:x8,textGroup:_8,footer:k8},E8=n=>{const{t}=yt(),{id:e,to:i,title:r,content:s,icon:a,iconClassName:o,serviceCount:l=0,appCount:c=0}=n;return v.jsx(qi,{to:i,children:v.jsxs("div",{className:ei.wrapper,"data-testid":"navigatorcard",children:[v.jsx("div",{className:ee(ei.iconWrapper,o),children:a||v.jsx(Pe,{name:Ve.Projects})}),v.jsxs("div",{className:ei.content,children:[v.jsxs("div",{children:[v.jsx("div",{className:ei.titleGroup,children:v.jsx(fi,{id:`title-${e}`,className:"width90",tooltipContent:r,ellipsis:!0,children:v.jsxs("h2",{className:ei.title,children:[" ",r]})})}),v.jsxs("div",{className:ei.textGroup,hidden:!s,children:[v.jsx("span",{children:t("label.date_created")}),v.jsx(wb,{date:s})]})]}),v.jsxs("div",{className:ei.footer,children:[v.jsx("span",{hidden:!l,children:t("title.services")+" ("+l+")"}),v.jsx("span",{hidden:!c,children:t("title.applications")+" ("+c+")"})]})]})]})},`link-${e}`)},S8="_breadcrumb_rb55l_1",R8="_breadcrumbItem_rb55l_9",M8="_pageContent_rb55l_29",Er={breadcrumb:S8,breadcrumbItem:R8,pageContent:M8},D8=n=>{const{children:t,breadcrumbs:e,className:i,defaultRoute:r="/"}=n,{t:s}=yt();return v.jsxs("div",{className:ee(Er.pageWrapper,i),"data-testid":"pagewrapper-container",children:[v.jsxs("div",{className:Er.breadcrumb,children:[v.jsx("div",{"data-testid":"breadcrumb-item",className:Er.breadcrumbItem,children:v.jsx(qi,{to:r,children:s("title.home")})},"breadcrumb-item-home"),e.map(({name:a,route:o,state:l},c)=>v.jsx("div",{"data-testid":"breadcrumb-item",className:Er.breadcrumbItem,children:o?v.jsx(qi,{to:o,state:l,children:a}):v.jsx("a",{children:a})},`breadcrumb-item-${c}`))]}),v.jsx("div",{className:Er.pageContent,children:t})]})},B8="_wrap_9gqbd_1",G8="_pager_9gqbd_1",O8="_disabled_9gqbd_20",N8="_inputField_9gqbd_36",T8="_totalPage_9gqbd_58",L8="_dark_9gqbd_65",hn={wrap:B8,pager:G8,disabled:O8,inputField:N8,totalPage:T8,dark:L8},xb=n=>{const{currentPage:t=1,totalCount:e,onChange:i,className:r,pageSize:s=10,appearance:a=zn.LIGHT}=n,[o,l]=E.useState(t),c=Math.ceil(e/s),u=c>=10,d=o===c,h=o===1,g=b=>{l(b),i&&i(b)},f=()=>{o>1&&g(o-1)},p=()=>{c>o&&g(o+1)},m=b=>{const A=b.target.value.slice(0,1),y=Number(u?b.target.value:A);setTimeout(()=>{c>=y&&y>0?g(y):y<=0?g(1):g(c),u||b.target.select()},300)};return E.useEffect(()=>{l(t)},[t]),v.jsx("div",{"data-testid":"pager-container",className:ee(hn.wrap,r,{[hn[a]]:a}),children:v.jsxs("div",{className:hn.pager,children:[v.jsx("a",{"data-testid":"pager-prev",className:ee(hn.prev,{[hn.disabled]:h}),onClick:f,children:v.jsx(Pe,{name:Ve.ChevronLeft})}),v.jsx("input",{name:"pageNumber","data-testid":"pager-input",className:hn.inputField,maxLength:c<=9?1:void 0,value:o,onFocus:b=>{u||b.currentTarget.select()},onClick:b=>{u||(b.currentTarget.setSelectionRange(0,0),b.currentTarget.select())},onChange:b=>{u||(b.target.autofocus=!0),m(b)}}),v.jsxs("span",{className:hn.totalPage,children:["/",c===0?1:c]}),v.jsx("a",{className:ee(hn.next,{[hn.disabled]:d}),onClick:p,"data-testid":"pager-next",children:v.jsx(Pe,{name:Ve.ChevronRight})})]})})},j8="_box_us2fa_1",P8="_header_us2fa_8",F8="_hasBorder_us2fa_28",H8="_body_us2fa_31",z8="_noHeaders_us2fa_35",Z8="_description_us2fa_39",Y8="_dark_us2fa_43",W8="_line_us2fa_55",gn={box:j8,header:P8,hasBorder:F8,body:H8,noHeaders:z8,description:Z8,dark:Y8,line:W8},X8=({title:n,children:t,description:e,className:i,type:r="box",appearance:s=zn.DARK,headerDescription:a,headerRightChild:o,headerClass:l,hasBorder:c,bodyClass:u})=>v.jsxs("div",{"data-testid":"panel-container",className:ee(i,gn.container,{[gn[`${s}`]]:s,[gn[`${r}`]]:r}),children:[n&&v.jsxs("div",{"data-testid":"panel-header",className:ee(gn.header,l,{"d-flex":o,"justify-content-between":o,[gn.hasBorder]:c}),children:[v.jsxs("div",{children:[v.jsx("h1",{children:n}),a&&v.jsx("p",{className:ee("m-0",gn.description),children:a})]}),o]}),v.jsxs("div",{className:ee(u,gn.body,{[gn.noHeaders]:!n}),children:[e&&v.jsx("p",{"data-testid":"panel-description",className:gn.description,children:e}),t]})]}),V8="_container_16kjn_1",J8="_checkmark_16kjn_9",Q8="_inline_16kjn_12",U8="_disabled_16kjn_20",K8="_text_16kjn_44",si={container:V8,checkmark:J8,inline:Q8,disabled:U8,text:K8},_b=({name:n,label:t,isDisabled:e,checked:i,isInline:r,onChange:s,setContext:a,suffixBtn:o,...l})=>{const c=u=>{a&&a({label:`${t}`,value:u.currentTarget.value}),s&&s(u)};return v.jsxs("div",{className:ee("d-flex",si.container),"data-testid":"radio-container",children:[v.jsxs(an,{className:ee({[si.inline]:r,[si.disabled]:e}),name:n,children:[v.jsx("span",{className:si.text,children:t}),v.jsx("input",{type:"radio","data-testid":"radio-input",name:n,disabled:e,defaultChecked:i,...l,onChange:c}),v.jsx("span",{className:si.checkmark,"data-testid":"radio-checkmark"})]}),o]})},q8=({name:n,items:t,value:e,label:i,isInline:r=!0,setContext:s,error:a,className:o,...l})=>v.jsxs("div",{className:"form-group","data-testid":"radiolist",children:[i&&v.jsx(an,{children:i}),v.jsx("div",{className:ee(si.container,o,{[si.error]:a}),children:t.map(({value:c,label:u,isDisabled:d,suffixBtn:h},g)=>v.jsx(_b,{label:u,name:n,checked:e===c,value:c,isDisabled:d,isInline:r,setContext:s,suffixBtn:h,...l},`${e}-${g}`))}),a&&v.jsx(vi,{...a})]});var kb={};function Eb(n){var t={};return function(e){return t[e]===void 0&&(t[e]=n(e)),t[e]}}var $8=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,e$=Eb(function(n){return $8.test(n)||n.charCodeAt(0)===111&&n.charCodeAt(1)===110&&n.charCodeAt(2)<91});function t$(n){if(n.sheet)return n.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===n)return document.styleSheets[t]}function n$(n){var t=document.createElement("style");return t.setAttribute("data-emotion",n.key),n.nonce!==void 0&&t.setAttribute("nonce",n.nonce),t.appendChild(document.createTextNode("")),t}var i$=function(){function n(e){this.isSpeedy=e.speedy===void 0?process.env.NODE_ENV==="production":e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=n.prototype;return t.insert=function(i){if(this.ctr%(this.isSpeedy?65e3:1)===0){var r=n$(this),s;this.tags.length===0?s=this.before:s=this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(r,s),this.tags.push(r)}var a=this.tags[this.tags.length-1];if(this.isSpeedy){var o=t$(a);try{var l=i.charCodeAt(1)===105&&i.charCodeAt(0)===64;o.insertRule(i,l?0:o.cssRules.length)}catch(c){process.env.NODE_ENV!=="production"&&console.warn('There was a problem inserting the following rule: "'+i+'"',c)}}else a.appendChild(document.createTextNode(i));this.ctr++},t.flush=function(){this.tags.forEach(function(i){return i.parentNode.removeChild(i)}),this.tags=[],this.ctr=0},n}();function r$(n){function t(H,j,Y,J,D){for(var Q=0,X=0,se=0,re=0,ue,K,Be=0,it=0,fe,Fe=fe=ue=0,be=0,Te=0,kt=0,We=0,cn=Y.length,At=cn-1,st,le="",Ge="",un="",Ft="",Ct;be<cn;){if(K=Y.charCodeAt(be),be===At&&X+re+se+Q!==0&&(X!==0&&(K=X===47?10:47),re=se=Q=0,cn++,At++),X+re+se+Q===0){if(be===At&&(0<Te&&(le=le.replace(h,"")),0<le.trim().length)){switch(K){case 32:case 9:case 59:case 13:case 10:break;default:le+=Y.charAt(be)}K=59}switch(K){case 123:for(le=le.trim(),ue=le.charCodeAt(0),fe=1,We=++be;be<cn;){switch(K=Y.charCodeAt(be)){case 123:fe++;break;case 125:fe--;break;case 47:switch(K=Y.charCodeAt(be+1)){case 42:case 47:e:{for(Fe=be+1;Fe<At;++Fe)switch(Y.charCodeAt(Fe)){case 47:if(K===42&&Y.charCodeAt(Fe-1)===42&&be+2!==Fe){be=Fe+1;break e}break;case 10:if(K===47){be=Fe+1;break e}}be=Fe}}break;case 91:K++;case 40:K++;case 34:case 39:for(;be++<At&&Y.charCodeAt(be)!==K;);}if(fe===0)break;be++}switch(fe=Y.substring(We,be),ue===0&&(ue=(le=le.replace(d,"").trim()).charCodeAt(0)),ue){case 64:switch(0<Te&&(le=le.replace(h,"")),K=le.charCodeAt(1),K){case 100:case 109:case 115:case 45:Te=j;break;default:Te=F}if(fe=t(j,Te,fe,K,D+1),We=fe.length,0<V&&(Te=e(F,le,kt),Ct=o(3,fe,Te,j,B,O,We,K,D,J),le=Te.join(""),Ct!==void 0&&(We=(fe=Ct.trim()).length)===0&&(K=0,fe="")),0<We)switch(K){case 115:le=le.replace(_,a);case 100:case 109:case 45:fe=le+"{"+fe+"}";break;case 107:le=le.replace(A,"$1 $2"),fe=le+"{"+fe+"}",fe=G===1||G===2&&s("@"+fe,3)?"@-webkit-"+fe+"@"+fe:"@"+fe;break;default:fe=le+fe,J===112&&(fe=(Ge+=fe,""))}else fe="";break;default:fe=t(j,e(j,le,kt),fe,J,D+1)}un+=fe,fe=kt=Te=Fe=ue=0,le="",K=Y.charCodeAt(++be);break;case 125:case 59:if(le=(0<Te?le.replace(h,""):le).trim(),1<(We=le.length))switch(Fe===0&&(ue=le.charCodeAt(0),ue===45||96<ue&&123>ue)&&(We=(le=le.replace(" ",":")).length),0<V&&(Ct=o(1,le,j,H,B,O,Ge.length,J,D,J))!==void 0&&(We=(le=Ct.trim()).length)===0&&(le="\0\0"),ue=le.charCodeAt(0),K=le.charCodeAt(1),ue){case 0:break;case 64:if(K===105||K===99){Ft+=le+Y.charAt(be);break}default:le.charCodeAt(We-1)!==58&&(Ge+=r(le,ue,K,le.charCodeAt(2)))}kt=Te=Fe=ue=0,le="",K=Y.charCodeAt(++be)}}switch(K){case 13:case 10:X===47?X=0:1+ue===0&&J!==107&&0<le.length&&(Te=1,le+="\0"),0<V*Z&&o(0,le,j,H,B,O,Ge.length,J,D,J),O=1,B++;break;case 59:case 125:if(X+re+se+Q===0){O++;break}default:switch(O++,st=Y.charAt(be),K){case 9:case 32:if(re+Q+X===0)switch(Be){case 44:case 58:case 9:case 32:st="";break;default:K!==32&&(st=" ")}break;case 0:st="\\0";break;case 12:st="\\f";break;case 11:st="\\v";break;case 38:re+X+Q===0&&(Te=kt=1,st="\f"+st);break;case 108:if(re+X+Q+L===0&&0<Fe)switch(be-Fe){case 2:Be===112&&Y.charCodeAt(be-3)===58&&(L=Be);case 8:it===111&&(L=it)}break;case 58:re+X+Q===0&&(Fe=be);break;case 44:X+se+re+Q===0&&(Te=1,st+="\r");break;case 34:case 39:X===0&&(re=re===K?0:re===0?K:re);break;case 91:re+X+se===0&&Q++;break;case 93:re+X+se===0&&Q--;break;case 41:re+X+Q===0&&se--;break;case 40:if(re+X+Q===0){if(ue===0)switch(2*Be+3*it){case 533:break;default:ue=1}se++}break;case 64:X+se+re+Q+Fe+fe===0&&(fe=1);break;case 42:case 47:if(!(0<re+Q+se))switch(X){case 0:switch(2*K+3*Y.charCodeAt(be+1)){case 235:X=47;break;case 220:We=be,X=42}break;case 42:K===47&&Be===42&&We+2!==be&&(Y.charCodeAt(We+2)===33&&(Ge+=Y.substring(We,be+1)),st="",X=0)}}X===0&&(le+=st)}it=Be,Be=K,be++}if(We=Ge.length,0<We){if(Te=j,0<V&&(Ct=o(2,Ge,Te,H,B,O,We,J,D,J),Ct!==void 0&&(Ge=Ct).length===0))return Ft+Ge+un;if(Ge=Te.join(",")+"{"+Ge+"}",G*L!==0){switch(G!==2||s(Ge,2)||(L=0),L){case 111:Ge=Ge.replace(w,":-moz-$1")+Ge;break;case 112:Ge=Ge.replace(y,"::-webkit-input-$1")+Ge.replace(y,"::-moz-$1")+Ge.replace(y,":-ms-input-$1")+Ge}L=0}}return Ft+Ge+un}function e(H,j,Y){var J=j.trim().split(m);j=J;var D=J.length,Q=H.length;switch(Q){case 0:case 1:var X=0;for(H=Q===0?"":H[0]+" ";X<D;++X)j[X]=i(H,j[X],Y).trim();break;default:var se=X=0;for(j=[];X<D;++X)for(var re=0;re<Q;++re)j[se++]=i(H[re]+" ",J[X],Y).trim()}return j}function i(H,j,Y){var J=j.charCodeAt(0);switch(33>J&&(J=(j=j.trim()).charCodeAt(0)),J){case 38:return j.replace(b,"$1"+H.trim());case 58:return H.trim()+j.replace(b,"$1"+H.trim());default:if(0<1*Y&&0<j.indexOf("\f"))return j.replace(b,(H.charCodeAt(0)===58?"":"$1")+H.trim())}return H+j}function r(H,j,Y,J){var D=H+";",Q=2*j+3*Y+4*J;if(Q===944){H=D.indexOf(":",9)+1;var X=D.substring(H,D.length-1).trim();return X=D.substring(0,H).trim()+X+";",G===1||G===2&&s(X,1)?"-webkit-"+X+X:X}if(G===0||G===2&&!s(D,1))return D;switch(Q){case 1015:return D.charCodeAt(10)===97?"-webkit-"+D+D:D;case 951:return D.charCodeAt(3)===116?"-webkit-"+D+D:D;case 963:return D.charCodeAt(5)===110?"-webkit-"+D+D:D;case 1009:if(D.charCodeAt(4)!==100)break;case 969:case 942:return"-webkit-"+D+D;case 978:return"-webkit-"+D+"-moz-"+D+D;case 1019:case 983:return"-webkit-"+D+"-moz-"+D+"-ms-"+D+D;case 883:if(D.charCodeAt(8)===45)return"-webkit-"+D+D;if(0<D.indexOf("image-set(",11))return D.replace(x,"$1-webkit-$2")+D;break;case 932:if(D.charCodeAt(4)===45)switch(D.charCodeAt(5)){case 103:return"-webkit-box-"+D.replace("-grow","")+"-webkit-"+D+"-ms-"+D.replace("grow","positive")+D;case 115:return"-webkit-"+D+"-ms-"+D.replace("shrink","negative")+D;case 98:return"-webkit-"+D+"-ms-"+D.replace("basis","preferred-size")+D}return"-webkit-"+D+"-ms-"+D+D;case 964:return"-webkit-"+D+"-ms-flex-"+D+D;case 1023:if(D.charCodeAt(8)!==99)break;return X=D.substring(D.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+X+"-webkit-"+D+"-ms-flex-pack"+X+D;case 1005:return f.test(D)?D.replace(g,":-webkit-")+D.replace(g,":-moz-")+D:D;case 1e3:switch(X=D.substring(13).trim(),j=X.indexOf("-")+1,X.charCodeAt(0)+X.charCodeAt(j)){case 226:X=D.replace(C,"tb");break;case 232:X=D.replace(C,"tb-rl");break;case 220:X=D.replace(C,"lr");break;default:return D}return"-webkit-"+D+"-ms-"+X+D;case 1017:if(D.indexOf("sticky",9)===-1)break;case 975:switch(j=(D=H).length-10,X=(D.charCodeAt(j)===33?D.substring(0,j):D).substring(H.indexOf(":",7)+1).trim(),Q=X.charCodeAt(0)+(X.charCodeAt(7)|0)){case 203:if(111>X.charCodeAt(8))break;case 115:D=D.replace(X,"-webkit-"+X)+";"+D;break;case 207:case 102:D=D.replace(X,"-webkit-"+(102<Q?"inline-":"")+"box")+";"+D.replace(X,"-webkit-"+X)+";"+D.replace(X,"-ms-"+X+"box")+";"+D}return D+";";case 938:if(D.charCodeAt(5)===45)switch(D.charCodeAt(6)){case 105:return X=D.replace("-items",""),"-webkit-"+D+"-webkit-box-"+X+"-ms-flex-"+X+D;case 115:return"-webkit-"+D+"-ms-flex-item-"+D.replace(z,"")+D;default:return"-webkit-"+D+"-ms-flex-line-pack"+D.replace("align-content","").replace(z,"")+D}break;case 973:case 989:if(D.charCodeAt(3)!==45||D.charCodeAt(4)===122)break;case 931:case 953:if(T.test(H)===!0)return(X=H.substring(H.indexOf(":")+1)).charCodeAt(0)===115?r(H.replace("stretch","fill-available"),j,Y,J).replace(":fill-available",":stretch"):D.replace(X,"-webkit-"+X)+D.replace(X,"-moz-"+X.replace("fill-",""))+D;break;case 962:if(D="-webkit-"+D+(D.charCodeAt(5)===102?"-ms-"+D:"")+D,Y+J===211&&D.charCodeAt(13)===105&&0<D.indexOf("transform",10))return D.substring(0,D.indexOf(";",27)+1).replace(p,"$1-webkit-$2")+D}return D}function s(H,j){var Y=H.indexOf(j===1?":":"{"),J=H.substring(0,j!==3?Y:10);return Y=H.substring(Y+1,H.length-1),te(j!==2?J:J.replace(R,"$1"),Y,j)}function a(H,j){var Y=r(j,j.charCodeAt(0),j.charCodeAt(1),j.charCodeAt(2));return Y!==j+";"?Y.replace(S," or ($1)").substring(4):"("+j+")"}function o(H,j,Y,J,D,Q,X,se,re,ue){for(var K=0,Be=j,it;K<V;++K)switch(it=P[K].call(u,H,Be,Y,J,D,Q,X,se,re,ue)){case void 0:case!1:case!0:case null:break;default:Be=it}if(Be!==j)return Be}function l(H){switch(H){case void 0:case null:V=P.length=0;break;default:if(typeof H=="function")P[V++]=H;else if(typeof H=="object")for(var j=0,Y=H.length;j<Y;++j)l(H[j]);else Z=!!H|0}return l}function c(H){return H=H.prefix,H!==void 0&&(te=null,H?typeof H!="function"?G=1:(G=2,te=H):G=0),c}function u(H,j){var Y=H;if(33>Y.charCodeAt(0)&&(Y=Y.trim()),W=Y,Y=[W],0<V){var J=o(-1,j,Y,Y,B,O,0,0,0,0);J!==void 0&&typeof J=="string"&&(j=J)}var D=t(F,Y,j,0,0);return 0<V&&(J=o(-2,D,Y,Y,B,O,D.length,0,0,0),J!==void 0&&(D=J)),W="",L=0,O=B=1,D}var d=/^\0+/g,h=/[\0\r\f]/g,g=/: */g,f=/zoo|gra/,p=/([,: ])(transform)/g,m=/,\r+?/g,b=/([\t\r\n ])*\f?&/g,A=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,w=/:(read-only)/g,C=/[svh]\w+-[tblr]{2}/,_=/\(\s*(.*)\s*\)/g,S=/([\s\S]*?);/g,z=/-self|flex-/g,R=/[^]*?(:[rp][el]a[\w-]+)[^]*/,T=/stretch|:\s*\w+\-(?:conte|avail)/,x=/([^-])(image-set\()/,O=1,B=1,L=0,G=1,F=[],P=[],V=0,te=null,Z=0,W="";return u.use=l,u.set=c,n!==void 0&&c(n),u}var ql="/*|*/",s$=ql+"}";function a$(n){n&&qr.current.insert(n+"}")}var qr={current:null},o$=function(t,e,i,r,s,a,o,l,c,u){switch(t){case 1:{switch(e.charCodeAt(0)){case 64:return qr.current.insert(e+";"),"";case 108:if(e.charCodeAt(2)===98)return""}break}case 2:{if(l===0)return e+ql;break}case 3:switch(l){case 102:case 112:return qr.current.insert(i[0]+e),"";default:return e+(u===0?ql:"")}case-2:e.split(s$).forEach(a$)}},l$=function(t){t===void 0&&(t={});var e=t.key||"css",i;t.prefix!==void 0&&(i={prefix:t.prefix});var r=new r$(i);if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(e))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+e+'" was passed');var s={},a;{a=t.container||document.head;var o=document.querySelectorAll("style[data-emotion-"+e+"]");Array.prototype.forEach.call(o,function(h){var g=h.getAttribute("data-emotion-"+e);g.split(" ").forEach(function(f){s[f]=!0}),h.parentNode!==a&&a.appendChild(h)})}var l;if(r.use(t.stylisPlugins)(o$),l=function(g,f,p,m){var b=f.name;if(qr.current=p,process.env.NODE_ENV!=="production"&&f.map!==void 0){var A=f.map;qr.current={insert:function(w){p.insert(w+A)}}}r(g,f.styles),m&&(d.inserted[b]=!0)},process.env.NODE_ENV!=="production"){var c=/\/\*/g,u=/\*\//g;r.use(function(h,g){switch(h){case-1:{for(;c.test(g);){if(u.lastIndex=c.lastIndex,u.test(g)){c.lastIndex=u.lastIndex;continue}throw new Error('Your styles have an unterminated comment ("/*" without corresponding "*/").')}c.lastIndex=0;break}}}),r.use(function(h,g,f){switch(h){case-1:{var p="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",m=g.match(/(:first|:nth|:nth-last)-child/g);m&&d.compat!==!0&&m.forEach(function(b){var A=new RegExp(b+".*\\/\\* "+p+" \\*\\/"),y=A.test(g);b&&!y&&console.error('The pseudo class "'+b+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+b.split("-child")[0]+'-of-type".')});break}}})}var d={key:e,sheet:new i$({key:e,container:a,nonce:t.nonce,speedy:t.speedy}),nonce:t.nonce,inserted:s,registered:{},insert:l};return d},c$=!0;function Sb(n,t,e){var i="";return e.split(" ").forEach(function(r){n[r]!==void 0?t.push(n[r]):i+=r+" "}),i}var Rb=function(t,e,i){var r=t.key+"-"+e.name;if((i===!1||c$===!1)&&t.registered[r]===void 0&&(t.registered[r]=e.styles),t.inserted[e.name]===void 0){var s=e;do t.insert("."+r,s,t.sheet,!0),s=s.next;while(s!==void 0)}};function u$(n){for(var t=0,e,i=0,r=n.length;r>=4;++i,r-=4)e=n.charCodeAt(i)&255|(n.charCodeAt(++i)&255)<<8|(n.charCodeAt(++i)&255)<<16|(n.charCodeAt(++i)&255)<<24,e=(e&65535)*1540483477+((e>>>16)*59797<<16),e^=e>>>24,t=(e&65535)*1540483477+((e>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(r){case 3:t^=(n.charCodeAt(i+2)&255)<<16;case 2:t^=(n.charCodeAt(i+1)&255)<<8;case 1:t^=n.charCodeAt(i)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var d$={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Nh=`You have illegal escape sequence in your template literal, most likely inside content's property value.
254
+ */function Ki(){return Ki=Object.assign?Object.assign.bind():function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i])}return n},Ki.apply(this,arguments)}function su(n,t){if(n==null)return{};var e={},i=Object.keys(n),r,s;for(s=0;s<i.length;s++)r=i[s],!(t.indexOf(r)>=0)&&(e[r]=n[r]);return e}const Xs="get",Vs="application/x-www-form-urlencoded";function eo(n){return n!=null&&typeof n.tagName=="string"}function j6(n){return eo(n)&&n.tagName.toLowerCase()==="button"}function P6(n){return eo(n)&&n.tagName.toLowerCase()==="form"}function F6(n){return eo(n)&&n.tagName.toLowerCase()==="input"}function H6(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function z6(n,t){return n.button===0&&(!t||t==="_self")&&!H6(n)}let Hs=null;function Z6(){if(Hs===null)try{new FormData(document.createElement("form"),0),Hs=!1}catch{Hs=!0}return Hs}const Y6=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Uo(n){return n!=null&&!Y6.has(n)?(process.env.NODE_ENV!=="production"&&Ai(!1,'"'+n+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` '+('and will default to "'+Vs+'"')),null):n}function W6(n,t){let e,i,r,s,a;if(P6(n)){let o=n.getAttribute("action");i=o?Ui(o,t):null,e=n.getAttribute("method")||Xs,r=Uo(n.getAttribute("enctype"))||Vs,s=new FormData(n)}else if(j6(n)||F6(n)&&(n.type==="submit"||n.type==="image")){let o=n.form;if(o==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let l=n.getAttribute("formaction")||o.getAttribute("action");if(i=l?Ui(l,t):null,e=n.getAttribute("formmethod")||o.getAttribute("method")||Xs,r=Uo(n.getAttribute("formenctype"))||Uo(o.getAttribute("enctype"))||Vs,s=new FormData(o,n),!Z6()){let{name:c,type:u,value:d}=n;if(u==="image"){let h=c?c+".":"";s.append(h+"x","0"),s.append(h+"y","0")}else c&&s.append(c,d)}}else{if(eo(n))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');e=Xs,i=null,r=Vs,a=n}return s&&r==="text/plain"&&(a=s,s=void 0),{action:i,method:e.toLowerCase(),encType:r,formData:s,body:a}}const X6=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],V6=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],J6=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","unstable_viewTransition"],Q6="6";try{window.__reactRouterVersion=Q6}catch{}const ab=de.createContext({isTransitioning:!1});process.env.NODE_ENV!=="production"&&(ab.displayName="ViewTransition");const U6=de.createContext(new Map);process.env.NODE_ENV!=="production"&&(U6.displayName="Fetchers");process.env.NODE_ENV;const K6=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",q6=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,au=de.forwardRef(function(t,e){let{onClick:i,relative:r,reloadDocument:s,replace:a,state:o,target:l,to:c,preventScrollReset:u,unstable_viewTransition:d}=t,h=su(t,X6),{basename:g}=de.useContext(Sn),f,p=!1;if(typeof c=="string"&&q6.test(c)&&(f=c,K6))try{let y=new URL(window.location.href),w=c.startsWith("//")?new URL(y.protocol+c):new URL(c),C=Ui(w.pathname,g);w.origin===y.origin&&C!=null?c=C+w.search+w.hash:p=!0}catch{process.env.NODE_ENV!=="production"&&Ai(!1,'<Link to="'+c+'"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.')}let m=D6(c,{relative:r}),b=tq(c,{replace:a,state:o,target:l,preventScrollReset:u,relative:r,unstable_viewTransition:d});function A(y){i&&i(y),y.defaultPrevented||b(y)}return de.createElement("a",Ki({},h,{href:f||m,onClick:p||s?i:A,ref:e,target:l}))});process.env.NODE_ENV!=="production"&&(au.displayName="Link");const ob=de.forwardRef(function(t,e){let{"aria-current":i="page",caseSensitive:r=!1,className:s="",end:a=!1,style:o,to:l,unstable_viewTransition:c,children:u}=t,d=su(t,V6),h=ds(l,{relative:d.relative}),g=lr(),f=de.useContext(eb),{navigator:p,basename:m}=de.useContext(Sn),b=f!=null&&oq(h)&&c===!0,A=p.encodeLocation?p.encodeLocation(h).pathname:h.pathname,y=g.pathname,w=f&&f.navigation&&f.navigation.location?f.navigation.location.pathname:null;r||(y=y.toLowerCase(),w=w?w.toLowerCase():null,A=A.toLowerCase()),w&&m&&(w=Ui(w,m)||w);const C=A!=="/"&&A.endsWith("/")?A.length-1:A.length;let _=y===A||!a&&y.startsWith(A)&&y.charAt(C)==="/",S=w!=null&&(w===A||!a&&w.startsWith(A)&&w.charAt(A.length)==="/"),z={isActive:_,isPending:S,isTransitioning:b},R=_?i:void 0,T;typeof s=="function"?T=s(z):T=[s,_?"active":null,S?"pending":null,b?"transitioning":null].filter(Boolean).join(" ");let x=typeof o=="function"?o(z):o;return de.createElement(au,Ki({},d,{"aria-current":R,className:T,ref:e,style:x,to:l,unstable_viewTransition:c}),typeof u=="function"?u(z):u)});process.env.NODE_ENV!=="production"&&(ob.displayName="NavLink");const $6=de.forwardRef((n,t)=>{let{fetcherKey:e,navigate:i,reloadDocument:r,replace:s,state:a,method:o=Xs,action:l,onSubmit:c,relative:u,preventScrollReset:d,unstable_viewTransition:h}=n,g=su(n,J6),f=sq(),p=aq(l,{relative:u}),m=o.toLowerCase()==="get"?"get":"post",b=A=>{if(c&&c(A),A.defaultPrevented)return;A.preventDefault();let y=A.nativeEvent.submitter,w=(y==null?void 0:y.getAttribute("formmethod"))||o;f(y||A.currentTarget,{fetcherKey:e,method:w,navigate:i,replace:s,state:a,relative:u,preventScrollReset:d,unstable_viewTransition:h})};return de.createElement("form",Ki({ref:t,method:m,action:p,onSubmit:r?c:b},g))});process.env.NODE_ENV!=="production"&&($6.displayName="Form");process.env.NODE_ENV;var Ia;(function(n){n.UseScrollRestoration="useScrollRestoration",n.UseSubmit="useSubmit",n.UseSubmitFetcher="useSubmitFetcher",n.UseFetcher="useFetcher",n.useViewTransitionState="useViewTransitionState"})(Ia||(Ia={}));var Mh;(function(n){n.UseFetcher="useFetcher",n.UseFetchers="useFetchers",n.UseScrollRestoration="useScrollRestoration"})(Mh||(Mh={}));function eq(n){return n+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function lb(n){let t=de.useContext($a);return t||(process.env.NODE_ENV!=="production"?Ye(!1,eq(n)):Ye(!1)),t}function tq(n,t){let{target:e,replace:i,state:r,preventScrollReset:s,relative:a,unstable_viewTransition:o}=t===void 0?{}:t,l=B6(),c=lr(),u=ds(n,{relative:a});return de.useCallback(d=>{if(z6(d,e)){d.preventDefault();let h=i!==void 0?i:Xl(c)===Xl(u);l(n,{replace:h,state:r,preventScrollReset:s,relative:a,unstable_viewTransition:o})}},[c,l,u,i,r,e,n,s,a,o])}function nq(){if(typeof document>"u")throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}let iq=0,rq=()=>"__"+String(++iq)+"__";function sq(){let{router:n}=lb(Ia.UseSubmit),{basename:t}=de.useContext(Sn),e=T6();return de.useCallback(function(i,r){r===void 0&&(r={}),nq();let{action:s,method:a,encType:o,formData:l,body:c}=W6(i,t);if(r.navigate===!1){let u=r.fetcherKey||rq();n.fetch(u,e,r.action||s,{preventScrollReset:r.preventScrollReset,formData:l,body:c,formMethod:r.method||a,formEncType:r.encType||o,unstable_flushSync:r.unstable_flushSync})}else n.navigate(r.action||s,{preventScrollReset:r.preventScrollReset,formData:l,body:c,formMethod:r.method||a,formEncType:r.encType||o,replace:r.replace,state:r.state,fromRouteId:e,unstable_flushSync:r.unstable_flushSync,unstable_viewTransition:r.unstable_viewTransition})},[n,t,e])}function aq(n,t){let{relative:e}=t===void 0?{}:t,{basename:i}=de.useContext(Sn),r=de.useContext(or);r||(process.env.NODE_ENV!=="production"?Ye(!1,"useFormAction must be used inside a RouteContext"):Ye(!1));let[s]=r.matches.slice(-1),a=Ki({},ds(n||".",{relative:e})),o=lr();if(n==null){a.search=o.search;let l=new URLSearchParams(a.search);l.has("index")&&l.get("index")===""&&(l.delete("index"),a.search=l.toString()?"?"+l.toString():"")}return(!n||n===".")&&s.route.index&&(a.search=a.search?a.search.replace(/^\?/,"?index&"):"?index"),i!=="/"&&(a.pathname=a.pathname==="/"?i:tu([i,a.pathname])),Xl(a)}function oq(n,t){t===void 0&&(t={});let e=de.useContext(ab);e==null&&(process.env.NODE_ENV!=="production"?Ye(!1,"`unstable_useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?"):Ye(!1));let{basename:i}=lb(Ia.useViewTransitionState),r=ds(n,{relative:t.relative});if(!e.isTransitioning)return!1;let s=Ui(e.currentLocation.pathname,i)||e.currentLocation.pathname,a=Ui(e.nextLocation.pathname,i)||e.nextLocation.pathname;return Rh(r.pathname,a)!=null||Rh(r.pathname,s)!=null}const qi=({to:n,params:t,children:e,className:i,activeClassName:r,style:s,onClick:a,state:o,isDisabled:l})=>{const c=A6(n,t),u=d=>{if(l)return d.preventDefault();a&&a()};return v.jsx(ob,{to:o?{pathname:c}:c,style:s,state:o,className:({isActive:d})=>d?`${i} ${r}`:i,onClick:u,children:e})},lq=({buttonChild:n,items:t,footerItem:e,className:i,title:r,titleClass:s,event:a="hover",size:o="lg",isDisabled:l})=>{const[c,u]=E.useState(!1),d=E.useRef(null),h=f=>{const p=d.current;p!=null&&p.contains(f.target)||u(!1)};E.useEffect(()=>(document.addEventListener("mousedown",h),()=>{document.removeEventListener("mousedown",h)}),[]);const g=f=>{l||f==="click"&&u(!c)};return v.jsx("div",{className:ee("h-100 d-flex align-items-center",{[Gn.disabled]:l}),ref:d,"data-testid":"dropdown-list",children:v.jsxs("div",{className:ee(i,Gn.dropdownMenu,{[Gn.disabled]:l}),onMouseLeave:()=>a==="hover"&&u(!1),onMouseEnter:()=>a==="hover"&&u(!0),onClick:()=>g(a),children:[n,v.jsx("div",{className:ee(Gn.dropdownMenu,{[Gn.active]:c,[Gn[`dropdownMenu__${o}`]]:o}),children:v.jsxs("ul",{children:[r&&v.jsx("li",{className:ee(Gn.title,s),children:r}),t.map((f,p)=>v.jsxs("li",{"data-testid":`dropdown-item-${p}`,className:ee(f.className,{[Gn.icon]:f.icon}),children:[f.icon&&v.jsx(Pe,{name:f.icon}),f.to?v.jsx(qi,{to:f.to,children:f.text}):v.jsx("a",{onClick:m=>f.onClick&&f.onClick(m),children:f.text})]},p)),e&&e]})})]})})};function cb(n){var t,e,i="";if(typeof n=="string"||typeof n=="number")i+=n;else if(typeof n=="object")if(Array.isArray(n))for(t=0;t<n.length;t++)n[t]&&(e=cb(n[t]))&&(i&&(i+=" "),i+=e);else for(t in n)n[t]&&(i&&(i+=" "),i+=t);return i}function jn(){for(var n,t,e=0,i="";e<arguments.length;)(n=arguments[e++])&&(t=cb(n))&&(i&&(i+=" "),i+=t);return i}function _t(){return _t=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i])}return n},_t.apply(this,arguments)}function ub(n,t){if(n==null)return{};var e={},i=Object.keys(n),r,s;for(s=0;s<i.length;s++)r=i[s],!(t.indexOf(r)>=0)&&(e[r]=n[r]);return e}function Kr(n){return typeof n=="number"&&!isNaN(n)}function kr(n){return typeof n=="boolean"}function Xn(n){return typeof n=="string"}function dt(n){return typeof n=="function"}function Js(n){return Xn(n)||dt(n)?n:null}function Jl(n){return n===0||n}function cq(n,t){return n===!1||Kr(n)&&n>0?n:t}var db=!!(typeof window<"u"&&window.document&&window.document.createElement);function Ko(n){return E.isValidElement(n)||Xn(n)||dt(n)||Kr(n)}var fb={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},Rn={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"};function uq(n,t,e){e===void 0&&(e=300);var i=n.scrollHeight,r=n.style;requestAnimationFrame(function(){r.minHeight="initial",r.height=i+"px",r.transition="all "+e+"ms",requestAnimationFrame(function(){r.height="0",r.padding="0",r.margin="0",setTimeout(t,e)})})}function dq(n){var t=n.enter,e=n.exit,i=n.appendPosition,r=i===void 0?!1:i,s=n.collapse,a=s===void 0?!0:s,o=n.collapseDuration,l=o===void 0?300:o;return function(u){var d=u.children,h=u.position,g=u.preventExitTransition,f=u.done,p=u.nodeRef,m=u.isIn,b=r?t+"--"+h:t,A=r?e+"--"+h:e,y=E.useRef(),w=E.useRef(0);E.useLayoutEffect(function(){C()},[]),E.useEffect(function(){m||(g?z():S())},[m]);function C(){var R=p.current;y.current=R.className,R.className+=" "+b,R.addEventListener("animationend",_)}function _(R){if(R.target===p.current){var T=p.current;T.removeEventListener("animationend",_),w.current===0&&(T.className=y.current)}}function S(){w.current=1;var R=p.current;R.className+=" "+A,R.addEventListener("animationend",z)}function z(){var R=p.current;R.removeEventListener("animationend",z),a?uq(R,f,l):f()}return E.createElement(E.Fragment,null,d)}}var Jt={list:new Map,emitQueue:new Map,on:function(t,e){return this.list.has(t)||this.list.set(t,[]),this.list.get(t).push(e),this},off:function(t,e){if(e){var i=this.list.get(t).filter(function(r){return r!==e});return this.list.set(t,i),this}return this.list.delete(t),this},cancelEmit:function(t){var e=this.emitQueue.get(t);return e&&(e.forEach(clearTimeout),this.emitQueue.delete(t)),this},emit:function(t){for(var e=this,i=arguments.length,r=new Array(i>1?i-1:0),s=1;s<i;s++)r[s-1]=arguments[s];this.list.has(t)&&this.list.get(t).forEach(function(a){var o=setTimeout(function(){a.apply(void 0,r)},0);e.emitQueue.has(t)||e.emitQueue.set(t,[]),e.emitQueue.get(t).push(o)})}};function ji(n,t){t===void 0&&(t=!1);var e=E.useRef(n);return E.useEffect(function(){t&&(e.current=n)}),e.current}function fq(n,t){switch(t.type){case 0:return[].concat(n,[t.toastId]).filter(function(e){return e!==t.staleId});case 1:return Jl(t.toastId)?n.filter(function(e){return e!==t.toastId}):[]}}var hq=["delay","staleId"];function gq(n){var t=E.useReducer(function(w){return w+1},0),e=t[1],i=E.useReducer(fq,[]),r=i[0],s=i[1],a=E.useRef(null),o=ji(0),l=ji([]),c=ji({}),u=ji({toastKey:1,displayedToast:0,props:n,containerId:null,isToastActive:d,getToast:function(C){return c[C]||null}});E.useEffect(function(){return u.containerId=n.containerId,Jt.cancelEmit(3).on(0,m).on(1,function(w){return a.current&&g(w)}).on(5,h).emit(2,u),function(){return Jt.emit(3,u)}},[]),E.useEffect(function(){u.isToastActive=d,u.displayedToast=r.length,Jt.emit(4,r.length,n.containerId)},[r]),E.useEffect(function(){u.props=n});function d(w){return r.indexOf(w)!==-1}function h(w){var C=w.containerId,_=u.props.limit;_&&(!C||u.containerId===C)&&(o-=l.length,l=[])}function g(w){s({type:1,toastId:w})}function f(){var w=l.shift(),C=w.toastContent,_=w.toastProps,S=w.staleId;b(C,_,S)}function p(w){var C=w.containerId,_=w.toastId,S=w.updateId;return!!(!a.current||u.props.enableMultiContainer&&C!==u.props.containerId||c[_]&&S==null)}function m(w,C){var _,S=C.delay,z=C.staleId,R=ub(C,hq);if(!(!Ko(w)||p(R))){var T=R.toastId,x=R.updateId,O=R.data,B=u.props,L=function(){return g(T)},G=R.updateId==null;G&&o++;var F={toastId:T,updateId:x,isLoading:R.isLoading,theme:R.theme||B.theme,icon:(_=R.icon)!=null?_:B.icon,isIn:!1,key:R.key||u.toastKey++,type:R.type,closeToast:L,closeButton:R.closeButton,rtl:B.rtl,position:R.position||B.position,transition:R.transition||B.transition,className:Js(R.className||B.toastClassName),bodyClassName:Js(R.bodyClassName||B.bodyClassName),style:R.style||B.toastStyle,bodyStyle:R.bodyStyle||B.bodyStyle,onClick:R.onClick||B.onClick,pauseOnHover:kr(R.pauseOnHover)?R.pauseOnHover:B.pauseOnHover,pauseOnFocusLoss:kr(R.pauseOnFocusLoss)?R.pauseOnFocusLoss:B.pauseOnFocusLoss,draggable:kr(R.draggable)?R.draggable:B.draggable,draggablePercent:Kr(R.draggablePercent)?R.draggablePercent:B.draggablePercent,draggableDirection:R.draggableDirection||B.draggableDirection,closeOnClick:kr(R.closeOnClick)?R.closeOnClick:B.closeOnClick,progressClassName:Js(R.progressClassName||B.progressClassName),progressStyle:R.progressStyle||B.progressStyle,autoClose:R.isLoading?!1:cq(R.autoClose,B.autoClose),hideProgressBar:kr(R.hideProgressBar)?R.hideProgressBar:B.hideProgressBar,progress:R.progress,role:Xn(R.role)?R.role:B.role,deleteToast:function(){A(T)}};dt(R.onOpen)&&(F.onOpen=R.onOpen),dt(R.onClose)&&(F.onClose=R.onClose),F.draggableDirection==="y"&&F.draggablePercent===80&&(F.draggablePercent*=1.5);var P=B.closeButton;R.closeButton===!1||Ko(R.closeButton)?P=R.closeButton:R.closeButton===!0&&(P=Ko(B.closeButton)?B.closeButton:!0),F.closeButton=P;var V=w;E.isValidElement(w)&&!Xn(w.type)?V=E.cloneElement(w,{closeToast:L,toastProps:F,data:O}):dt(w)&&(V=w({closeToast:L,toastProps:F,data:O})),B.limit&&B.limit>0&&o>B.limit&&G?l.push({toastContent:V,toastProps:F,staleId:z}):Kr(S)&&S>0?setTimeout(function(){b(V,F,z)},S):b(V,F,z)}}function b(w,C,_){var S=C.toastId;_&&delete c[_],c[S]={content:w,props:C},s({type:0,toastId:S,staleId:_})}function A(w){delete c[w];var C=l.length;if(o=Jl(w)?o-1:o-u.displayedToast,o<0&&(o=0),C>0){var _=Jl(w)?1:u.props.limit;if(C===1||_===1)u.displayedToast++,f();else{var S=_>C?C:_;u.displayedToast=S;for(var z=0;z<S;z++)f()}}else e()}function y(w){for(var C={},_=n.newestOnTop?Object.keys(c).reverse():Object.keys(c),S=0;S<_.length;S++){var z=c[_[S]],R=z.props.position;C[R]||(C[R]=[]),C[R].push(z)}return Object.keys(C).map(function(T){return w(T,C[T])})}return{getToastToRender:y,collection:c,containerRef:a,isToastActive:d}}function Dh(n){return n.targetTouches&&n.targetTouches.length>=1?n.targetTouches[0].clientX:n.clientX}function Bh(n){return n.targetTouches&&n.targetTouches.length>=1?n.targetTouches[0].clientY:n.clientY}function pq(n){var t=E.useState(!0),e=t[0],i=t[1],r=E.useState(!1),s=r[0],a=r[1],o=E.useRef(null),l=ji({start:0,x:0,y:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,boundingRect:null}),c=ji(n,!0),u=n.autoClose,d=n.pauseOnHover,h=n.closeToast,g=n.onClick,f=n.closeOnClick;E.useEffect(function(){return dt(n.onOpen)&&n.onOpen(E.isValidElement(n.children)&&n.children.props),function(){dt(c.onClose)&&c.onClose(E.isValidElement(c.children)&&c.children.props)}},[]),E.useEffect(function(){return n.draggable&&C(),function(){n.draggable&&_()}},[n.draggable]),E.useEffect(function(){return n.pauseOnFocusLoss&&y(),function(){n.pauseOnFocusLoss&&w()}},[n.pauseOnFocusLoss]);function p(T){if(n.draggable){var x=o.current;l.canCloseOnClick=!0,l.canDrag=!0,l.boundingRect=x.getBoundingClientRect(),x.style.transition="",l.x=Dh(T.nativeEvent),l.y=Bh(T.nativeEvent),n.draggableDirection==="x"?(l.start=l.x,l.removalDistance=x.offsetWidth*(n.draggablePercent/100)):(l.start=l.y,l.removalDistance=x.offsetHeight*(n.draggablePercent/100))}}function m(){if(l.boundingRect){var T=l.boundingRect,x=T.top,O=T.bottom,B=T.left,L=T.right;n.pauseOnHover&&l.x>=B&&l.x<=L&&l.y>=x&&l.y<=O?A():b()}}function b(){i(!0)}function A(){i(!1)}function y(){document.hasFocus()||A(),window.addEventListener("focus",b),window.addEventListener("blur",A)}function w(){window.removeEventListener("focus",b),window.removeEventListener("blur",A)}function C(){document.addEventListener("mousemove",S),document.addEventListener("mouseup",z),document.addEventListener("touchmove",S),document.addEventListener("touchend",z)}function _(){document.removeEventListener("mousemove",S),document.removeEventListener("mouseup",z),document.removeEventListener("touchmove",S),document.removeEventListener("touchend",z)}function S(T){if(l.canDrag){T.preventDefault();var x=o.current;e&&A(),l.x=Dh(T),l.y=Bh(T),n.draggableDirection==="x"?l.delta=l.x-l.start:l.delta=l.y-l.start,l.start!==l.x&&(l.canCloseOnClick=!1),x.style.transform="translate"+n.draggableDirection+"("+l.delta+"px)",x.style.opacity=""+(1-Math.abs(l.delta/l.removalDistance))}}function z(){var T=o.current;if(l.canDrag){if(l.canDrag=!1,Math.abs(l.delta)>l.removalDistance){a(!0),n.closeToast();return}T.style.transition="transform 0.2s, opacity 0.2s",T.style.transform="translate"+n.draggableDirection+"(0)",T.style.opacity="1"}}var R={onMouseDown:p,onTouchStart:p,onMouseUp:m,onTouchEnd:m};return u&&d&&(R.onMouseEnter=A,R.onMouseLeave=b),f&&(R.onClick=function(T){g&&g(T),l.canCloseOnClick&&h()}),{playToast:b,pauseToast:A,isRunning:e,preventExitTransition:s,toastRef:o,eventHandlers:R}}function hb(n){var t=n.closeToast,e=n.theme,i=n.ariaLabel,r=i===void 0?"close":i;return E.createElement("button",{className:"Toastify__close-button Toastify__close-button--"+e,type:"button",onClick:function(a){a.stopPropagation(),t(a)},"aria-label":r},E.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},E.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function gb(n){var t,e,i=n.delay,r=n.isRunning,s=n.closeToast,a=n.type,o=n.hide,l=n.className,c=n.style,u=n.controlledProgress,d=n.progress,h=n.rtl,g=n.isIn,f=n.theme,p=_t({},c,{animationDuration:i+"ms",animationPlayState:r?"running":"paused",opacity:o?0:1});u&&(p.transform="scaleX("+d+")");var m=jn("Toastify__progress-bar",u?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated","Toastify__progress-bar-theme--"+f,"Toastify__progress-bar--"+a,(t={},t["Toastify__progress-bar--rtl"]=h,t)),b=dt(l)?l({rtl:h,type:a,defaultClassName:m}):jn(m,l),A=(e={},e[u&&d>=1?"onTransitionEnd":"onAnimationEnd"]=u&&d<1?null:function(){g&&s()},e);return E.createElement("div",Object.assign({role:"progressbar","aria-hidden":o?"true":"false","aria-label":"notification timer",className:b,style:p},A))}gb.defaultProps={type:Rn.DEFAULT,hide:!1};var mq=["theme","type"],to=function(t){var e=t.theme,i=t.type,r=ub(t,mq);return E.createElement("svg",Object.assign({viewBox:"0 0 24 24",width:"100%",height:"100%",fill:e==="colored"?"currentColor":"var(--toastify-icon-color-"+i+")"},r))};function bq(n){return E.createElement(to,Object.assign({},n),E.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))}function vq(n){return E.createElement(to,Object.assign({},n),E.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))}function yq(n){return E.createElement(to,Object.assign({},n),E.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))}function Aq(n){return E.createElement(to,Object.assign({},n),E.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))}function Cq(){return E.createElement("div",{className:"Toastify__spinner"})}var Gh={info:vq,warning:bq,success:yq,error:Aq,spinner:Cq},Iq=function(t){var e,i,r=pq(t),s=r.isRunning,a=r.preventExitTransition,o=r.toastRef,l=r.eventHandlers,c=t.closeButton,u=t.children,d=t.autoClose,h=t.onClick,g=t.type,f=t.hideProgressBar,p=t.closeToast,m=t.transition,b=t.position,A=t.className,y=t.style,w=t.bodyClassName,C=t.bodyStyle,_=t.progressClassName,S=t.progressStyle,z=t.updateId,R=t.role,T=t.progress,x=t.rtl,O=t.toastId,B=t.deleteToast,L=t.isIn,G=t.isLoading,F=t.icon,P=t.theme,V=jn("Toastify__toast","Toastify__toast-theme--"+P,"Toastify__toast--"+g,(e={},e["Toastify__toast--rtl"]=x,e)),te=dt(A)?A({rtl:x,position:b,type:g,defaultClassName:V}):jn(V,A),Z=!!T,W=Gh[g],H={theme:P,type:g},j=W&&W(H);F===!1?j=void 0:dt(F)?j=F(H):E.isValidElement(F)?j=E.cloneElement(F,H):Xn(F)?j=F:G&&(j=Gh.spinner());function Y(J){if(J){var D={closeToast:p,type:g,theme:P};if(dt(J))return J(D);if(E.isValidElement(J))return E.cloneElement(J,D)}}return E.createElement(m,{isIn:L,done:B,position:b,preventExitTransition:a,nodeRef:o},E.createElement("div",Object.assign({id:O,onClick:h,className:te},l,{style:y,ref:o}),E.createElement("div",Object.assign({},L&&{role:R},{className:dt(w)?w({type:g}):jn("Toastify__toast-body",w),style:C}),j&&E.createElement("div",{className:jn("Toastify__toast-icon",(i={},i["Toastify--animate-icon Toastify__zoom-enter"]=!G,i))},j),E.createElement("div",null,u)),Y(c),(d||Z)&&E.createElement(gb,Object.assign({},z&&!Z?{key:"pb-"+z}:{},{rtl:x,theme:P,delay:d,isRunning:s,isIn:L,closeToast:p,hide:f,type:g,style:S,className:_,controlledProgress:Z,progress:T}))))},wq=dq({enter:"Toastify--animate Toastify__bounce-enter",exit:"Toastify--animate Toastify__bounce-exit",appendPosition:!0}),ou=function(t){var e=gq(t),i=e.getToastToRender,r=e.containerRef,s=e.isToastActive,a=t.className,o=t.style,l=t.rtl,c=t.containerId;function u(d){var h,g=jn("Toastify__toast-container","Toastify__toast-container--"+d,(h={},h["Toastify__toast-container--rtl"]=l,h));return dt(a)?a({position:d,rtl:l,defaultClassName:g}):jn(g,Js(a))}return E.createElement("div",{ref:r,className:"Toastify",id:c},i(function(d,h){var g=h.length===0?_t({},o,{pointerEvents:"none"}):_t({},o);return E.createElement("div",{className:u(d),style:g,key:"container-"+d},h.map(function(f){var p=f.content,m=f.props;return E.createElement(Iq,Object.assign({},m,{isIn:s(m.toastId),key:"toast-"+m.key,closeButton:m.closeButton===!0?hb:m.closeButton}),p)}))}))};ou.defaultProps={position:fb.TOP_RIGHT,transition:wq,rtl:!1,autoClose:5e3,hideProgressBar:!1,closeButton:hb,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,newestOnTop:!1,draggable:!0,draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};var Yi=new Map,Ql,jr,pb,Ul=[],Kl=!1;function xq(){return Yi.size>0}function _q(n,t){var e=t.containerId,i=Yi.get(e||Ql);return i?i.getToast(n):null}function mb(){return Math.random().toString(36).substr(2,9)}function kq(n){return n&&(Xn(n.toastId)||Kr(n.toastId))?n.toastId:mb()}function fs(n,t){return xq()?Jt.emit(0,n,t):(Ul.push({content:n,options:t}),Kl&&db&&(Kl=!1,jr=document.createElement("div"),document.body.appendChild(jr),Xh.render(E.createElement(ou,Object.assign({},pb)),jr))),t.toastId}function no(n,t){return _t({},t,{type:t&&t.type||n,toastId:kq(t)})}var io=function(t){return function(e,i){return fs(e,no(t,i))}},He=function(t,e){return fs(t,no(Rn.DEFAULT,e))};He.loading=function(n,t){return fs(n,no(Rn.DEFAULT,_t({isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1},t)))};function Eq(n,t,e){var i=t.pending,r=t.error,s=t.success,a;i&&(a=Xn(i)?He.loading(i,e):He.loading(i.render,_t({},e,i)));var o={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},l=function(d,h,g){var f=_t({type:d},o,e,{data:g}),p=Xn(h)?{render:h}:h;return a?He.update(a,_t({},f,p)):He(p.render,_t({},f,p)),g},c=dt(n)?n():n;return c.then(function(u){return s&&l("success",s,u)}).catch(function(u){return r&&l("error",r,u)}),c}He.promise=Eq;He.success=io(Rn.SUCCESS);He.info=io(Rn.INFO);He.error=io(Rn.ERROR);He.warning=io(Rn.WARNING);He.warn=He.warning;He.dark=function(n,t){return fs(n,no(Rn.DEFAULT,_t({theme:"dark"},t)))};He.dismiss=function(n){return Jt.emit(1,n)};He.clearWaitingQueue=function(n){return n===void 0&&(n={}),Jt.emit(5,n)};He.isActive=function(n){var t=!1;return Yi.forEach(function(e){e.isToastActive&&e.isToastActive(n)&&(t=!0)}),t};He.update=function(n,t){t===void 0&&(t={}),setTimeout(function(){var e=_q(n,t);if(e){var i=e.props,r=e.content,s=_t({},i,t,{toastId:t.toastId||n,updateId:mb()});s.toastId!==n&&(s.staleId=n);var a=s.render||r;delete s.render,fs(a,s)}},0)};He.done=function(n){He.update(n,{progress:1})};He.onChange=function(n){return dt(n)&&Jt.on(4,n),function(){dt(n)&&Jt.off(4,n)}};He.configure=function(n){n===void 0&&(n={}),Kl=!0,pb=n};He.POSITION=fb;He.TYPE=Rn;Jt.on(2,function(n){Ql=n.containerId||n,Yi.set(Ql,n),Ul.forEach(function(t){Jt.emit(0,t.content,t.options)}),Ul=[]}).on(3,function(n){Yi.delete(n.containerId||n),Yi.size===0&&Jt.off(0).off(1).off(5),db&&jr&&document.body.removeChild(jr)});const lu=n=>{const{message:t,type:e,closeTime:i=5e3}=n,r={success:Ve.Check,warning:Ve.Warning,error:Ve.Close};He[e](t,{toastId:t,position:"top-center",autoClose:i,theme:"dark",closeButton:!1,hideProgressBar:!0,closeOnClick:!0,pauseOnHover:!1,draggable:!1,icon:v.jsx(Pe,{name:r[e]})})},Sq=n=>{if(n)return new Promise((t,e)=>{const i=new FileReader;i.readAsDataURL(n),i.onload=()=>t(i.result),i.onerror=r=>e(r)})},Rq="_container_1a5f2_2",Mq="_info_1a5f2_6",Dq="_fieldWrap_1a5f2_15",Bq="_control_1a5f2_23",Gq="_selectedFileWrap_1a5f2_36",Oq="_selectedFileWrap__multiple_1a5f2_44",Nq="_fileGroup_1a5f2_47",Tq="_imageContainer_1a5f2_50",Lq="_fieldWrap__multiple_1a5f2_65",jq="_fileName_1a5f2_96",Pq="_light_1a5f2_108",Fq="_error_1a5f2_125",Hq="_deleteIcon_1a5f2_130",zq="_border__blue_1a5f2_152",Zq="_border__black_1a5f2_156",Yq="_border__none_1a5f2_160",Wq="_lengthCard_1a5f2_164",Xq="_previewModal_1a5f2_179",Vq="_header_1a5f2_183",Jq="_pictureContainer_1a5f2_186",Qq="_previewContainer_1a5f2_192",Uq="_preview_1a5f2_179",Kq="_imagePreviewModal_1a5f2_235",qq="_lengthContainer_1a5f2_250",ke={container:Rq,info:Mq,fieldWrap:Dq,control:Bq,selectedFileWrap:Gq,selectedFileWrap__multiple:Oq,fileGroup:Nq,imageContainer:Tq,fieldWrap__multiple:Lq,fileName:jq,light:Pq,error:Fq,deleteIcon:Hq,"height-40":"_height-40_1a5f2_144","height-80":"_height-80_1a5f2_148",border__blue:zq,border__black:Zq,border__none:Yq,lengthCard:Wq,previewModal:Xq,header:Vq,pictureContainer:Jq,previewContainer:Qq,preview:Uq,imagePreviewModal:Kq,"mr-auto":"_mr-auto_1a5f2_246",lengthContainer:qq},$q="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAMAAAD8CC+4AAADAFBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////+swu3T3/iuw+3U4Pn9/v+tw+/T3/muxO2swe3V4fiwxO77/P+rwu7X4vivxe/4+/+wxezz9/+wxu/1+f+uxO9Tk/9Lj/+yxu1Ylf/X4Pnw9f/t9P+1yO+yx++pwe5to//Z4/izx+9qov9qn/7P3fnR3vno8P9Rkv9Nj/+gu/GnwO/q8v/V4fpnoP9Vlv+lvu+jvfFOkv9JjP9Civ9ln//h7P9QkP9Vk/9inv9fmf9fnP9blv94qf/X5v9vofve6v+Dsf9yp/91p/9knP9wo/+Msfdcmv+Irvdim/9wpv9+rv9GjP9BiP+40/+Ar/+dwf+xxe+cufJ0o/vM2/qIs//l7/+gxP+UtfXI2frU5P9amf+00P+Quf+DrPeuw+98qPvC2f+Pt/6Mt/+3yu/O4f/I3f+Jtf+kw/2Zv/+Fs/9dl/18q/9Gif/F2/+XtvKWvf9+qfdzpP9Yl////vy7zfFZlf3a6P/L3/+81f/S4/+ArP6kxv9EjP+nyP+gwf5nnftnnf+Rs/Tj7v/X4vqUuf63z/yEr/63y/GTvP89iP+80fu/1/96qf6oxf3c6f+rwvCryv+rx/2wzv9gm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DV4Wz2l9cCC4tGphKrCouKzns66cOd7Xca1vXu5YRgEggA6wJqfkzj+xf23lIpyzyXgcPCieS2skNhhJF4jfhp5h++K/5459/XuRRRKTGQ7YRKKWb6+dOFpUWPlYVfPrKhk2aVRLljUE7YlFbsLzjnYh1fqceC8xKhGoVvCf3JkHK+KixkNyMy5K+FmQTN5C9zhLs6ELaM1K/vip8EZ/gByIW/jhskvu1gU+wAcY7059dbxWAAAAABJRU5ErkJggg==",bb=({count:n,onCardClick:t})=>v.jsx("div",{"data-testid":"fileupload-lengthcard",className:ke.lengthCard,onClick:t,children:v.jsx("span",{children:`+ ${n}`})}),vb=({onClose:n,src:t})=>{const{t:e}=yt();return v.jsx(qa,{onClose:n,title:e("title.preview"),className:ke.imagePreviewModal,children:v.jsx("img",{src:t})})},yb=({imagePaths:n,onClose:t,onDelete:e})=>{const{t:i}=yt(),[r,s]=E.useState(!1),[a,o]=E.useState(),l=c=>{o(c),s(!0)};return v.jsxs(v.Fragment,{children:[v.jsx(qa,{title:i("title.edit_images"),className:ke.previewModal,onClose:t,headerClass:ke.header,children:v.jsx("div",{className:ke.pictureContainer,children:n.map((c,u)=>v.jsxs("div",{className:ke.previewContainer,children:[v.jsxs("div",{className:ke.preview,children:[v.jsx(Pe,{name:Ve.Preview,onClick:()=>l(c)}),v.jsx(Pe,{name:Ve.Trash,onClick:()=>e(n,c)})]}),v.jsx("img",{src:c})]},u))})}),r&&a&&v.jsx(vb,{src:a,onClose:()=>s(!1)})]})},Ab=E.forwardRef((n,t)=>{var H,j;const{name:e,label:i,id:r,type:s="text",size:a,isDisabled:o,info:l,error:c,appearance:u,description:d,className:h,wrapperClassName:g,height:f="40",value:p,fileName:m,required:b,onChange:A,multiple:y=!1,...w}=n,{t:C}=yt(),_={[ke[`type__${s}`]]:s!=="text"},[S,z]=E.useState(),[R,T]=E.useState(),[x,O]=E.useState([]),[B,L]=E.useState(!1),G=ee("form-group",{[ke[`size__${a}`]]:a,[ke.disabled]:o,[ke.hidden]:s==="hidden"},g),F=Y=>Y[0]&&RE(Y)?new Promise((J,D)=>{const Q=new FileReader;Q.readAsDataURL(Y[0]),Q.onload=()=>J(Q.result),Q.onerror=X=>D(X)}):$q,P=async Y=>{const J=Y.currentTarget.files;let D=[];if(!(x.length+J.length>5)){if(y&&!((x==null?void 0:x.length)>=5)){const Q=Object.values(J);for(let X=0;X<Q.length;X++)D.push(Sq(Q[X]));await Promise.all(D).then(X=>{var re;((re=x.filter(ue=>X.some(K=>ue===K)))==null?void 0:re.length)>0?lu({message:C("text.duplicate_image_error"),type:_a.ERROR}):(A&&A([...x,...X]),O([...x||[],...X]),z(J))});return}J[0]&&!y&&(D=await F(J),A&&A(D),T(D),z(J))}},V=()=>{O([]),T(""),z(""),A&&A("")},te=(Y,J)=>{const D=Y;if(J&&D.length==1){V(),L(!1);return}if(J){const Q=D.filter(X=>X!==J);O(Q),A&&A(Q);return}if(D.length==1){V();return}D.length>=0&&(O(D.slice(0,-1)),A&&A(D.slice(0,-1)))},Z=()=>v.jsxs(v.Fragment,{children:[v.jsxs("div",{className:ke.imageContainer,"data-testid":"fileupload-multipleimages",children:[v.jsx("img",{src:x[x.length-1]}),v.jsx(Pe,{name:Ve.Trash,className:ke.deleteIcon,onClick:()=>te(x)})]}),v.jsx("div",{className:ke.lengthContainer,children:x.length>1&&v.jsx(bb,{onCardClick:()=>L(!0),count:x.length-1})})]}),W=Y=>{Y.target.value=null};return E.useEffect(()=>{p&&T(p),y&&p&&O(p)},[p]),v.jsxs(v.Fragment,{children:[v.jsxs("div",{className:G,"data-testid":"fileupload-container",children:[v.jsxs("div",{className:ee(ke.container,{[ke[`${u}`]]:u,[ke.disabled]:o}),children:[v.jsxs("div",{className:ee("d-flex","w-100",{"justify-content-between":i,"justify-content-start":!i}),children:[i&&v.jsx(an,{appearance:u,name:e,children:i}),(l&&y||l&&!R&&!y)&&v.jsxs(an,{className:ke.info,appearance:u,name:e,children:[b&&"*"," ",l]})]}),v.jsxs("div",{className:ee({[ke.selectedFileWrap]:S||p,[ke.selectedFileWrap__multiple]:p||y&&x.length>0}),children:[!y&&R&&v.jsx("img",{src:R}),y&&x.length>0&&Z(),v.jsxs("div",{className:ke.fileGroup,children:[(S||m)&&!y&&v.jsx(fi,{id:e,tooltipContent:S&&((H=S[0])==null?void 0:H.name)||m,ellipsis:!0,direction:$i.TOP,children:v.jsx("span",{className:ke.fileName,children:S&&((j=S[0])==null?void 0:j.name)||m})}),v.jsxs("div",{className:ee(ke.fieldWrap,{[ke.border__black]:!(p&&!y&&S),[ke.border__blue]:p&&!y&&S,[ke["mr-auto"]]:p&&!y,[ke[`height-${f}`]]:f&&!S&&!R,[ke["height-40"]]:R||S,[ke.fieldWrap__multiple]:p&&y&&x.length>=0}),children:[v.jsx("input",{type:"file",name:e,"data-testid":"fileupload-input",id:r,className:ee(ke.control,_,h),disabled:o,onChange:P,onClick:W,ref:t,multiple:y,...w}),v.jsx("span",{children:p&&!y?C("button.edit"):d})]})]})]})]}),c&&v.jsx(vi,{...c})]}),B&&v.jsx(yb,{imagePaths:x,onDelete:te,onClose:()=>L(!1)})]})});Ab.displayName="FileUpload";const e8=({children:n,auto:t=!1,size:e,sm:i,md:r,lg:s,xl:a,className:o})=>{const l=ee({col:!e&&!t,"col-auto":!e&&t,[`col-xl-${a}`]:a,[`col-lg-${s}`]:s,[`col-md-${r}`]:r,[`col-sm-${i}`]:i,[`col-${e}`]:e&&!t},o);return v.jsx("div",{"data-testid":"column",className:l,children:n})},t8=({children:n,className:t})=>v.jsx("div",{"data-testid":"row",className:ee("row",t),children:n});function Cb({children:n,hasMore:t,height:e=400,loadMore:i,treshold:r=100}){const s=E.useRef(null),[a,o]=E.useState(!1),l=()=>{var u,d,h;s.current&&((u=s==null?void 0:s.current)==null?void 0:u.scrollTop)+((d=s==null?void 0:s.current)==null?void 0:d.clientHeight)>=((h=s==null?void 0:s.current)==null?void 0:h.scrollHeight)-r&&o(!0)},c=()=>{var u;i(),o(!1),(u=s.current)==null||u.scroll(0,s.current.scrollHeight/2)};return E.useEffect(()=>{a&&t&&setTimeout(()=>c(),300)},[a,t]),E.useEffect(()=>{var u;return(u=s.current)==null||u.addEventListener("scroll",l),()=>{var d;return(d=s.current)==null?void 0:d.removeEventListener("scroll",l)}},[]),v.jsx("div",{"data-testid":"infinitescroll",ref:s,style:{overflow:"auto",height:e},onScroll:l,children:n})}const n8="_noResult_19yve_1",i8={noResult:n8};function cu(){const{t:n}=yt();return v.jsx("span",{"data-testid":"noresult",className:i8.noResult,children:n("text.no_result")})}const r8="_typography_1wwcb_1",s8="_ellipsis_1wwcb_6",a8="_success_1wwcb_12",o8="_copy_1wwcb_17",l8="_checkCopy_1wwcb_21",c8="_code_1wwcb_25",Bi={typography:r8,ellipsis:s8,success:a8,copy:o8,checkCopy:l8,code:c8},Ib=n=>{const{children:t,copyable:e,notificationProps:i,className:r,ellipsis:s,id:a,appearance:o,href:l,tooltipContent:c}=n,[u,d]=E.useState(!1),h=E.useRef(null),{t:g}=yt(),f=i||{type:_a.SUCCESS,message:g("text.copied"),closeTime:3e3},p=m=>{u||(navigator.clipboard.writeText(m),d(!0),lu({type:f.type,message:f.message,closeTime:f.closeTime})),setTimeout(()=>d(!1),1e3)};return v.jsxs("p",{"data-testid":"typographytext",ref:h,className:ee(r,Bi.typography,{[Bi.copy]:e,[Bi[`${o}`]]:o}),onClick:()=>l&&window.open(l,"_blank"),children:[c?v.jsx(fi,{id:`tooltipContent${a}`,tooltipContent:c,ellipsis:s,children:t}):v.jsx("span",{className:ee({[Bi.ellipsis]:s}),children:t}),e&&v.jsx(fi,{id:`copyId${a}`,className:"width90",direction:$i.TOP,tooltipContent:u?"Copied":"Copy",children:v.jsx("span",{className:ee(Bi.copy,{[Bi.checkCopy]:u}),onClick:m=>{m.stopPropagation(),p(t)},children:u?v.jsx(Pe,{name:Ve.Check}):v.jsx(Pe,{name:Ve.Copy})})})]},a)},u8="_item_agw97_1",d8="_connectedService_agw97_54",f8="_subUrl_agw97_59",h8={item:u8,connectedService:d8,subUrl:f8},g8=({items:n,isLoading:t,className:e})=>{const i=n.every(({value:r})=>r===void 0);return v.jsx("div",{className:e,"data-testid":"infoboxlist-container",children:i?v.jsx(cu,{}):n.map(({label:r,value:s,copy:a})=>s!==void 0&&v.jsxs("div",{className:h8.item,"data-testid":"infoboxlist-item",children:[v.jsx("div",{children:r}),v.jsx("div",{children:t?v.jsx(Fm,{}):a?v.jsx(Ib,{className:e,ellipsis:!0,href:`${s}`,copyable:!0,children:s}):s})]},r+s))})},p8="_infoDateWrapper_19cyh_1",m8="_time_19cyh_13",qo={infoDateWrapper:p8,time:m8},wb=n=>{const{date:t,time:e=!1,fromNow:i=!1}=n,s=((o,l)=>{var u;let c="";return i?(c=(u=$e(o))==null?void 0:u.fromNow(!0),c):$e(o).format(l)})(t,oi),a=$e(t).format(Vm);return v.jsxs("span",{className:qo.infoDateWrapper,"data-testid":"infodate",children:[v.jsx("span",{className:qo.date,children:s}),e&&v.jsx("span",{className:qo.time,children:a})]})},b8="_infoText_1y9iv_1",v8="_infoIcon_1y9iv_11",Oh={infoText:b8,infoIcon:v8},y8=({text:n,className:t})=>v.jsxs("div",{className:`${Oh.infoText} ${t}`,"data-testid":"infotext",children:[v.jsx(Pe,{name:Ve.Info,className:Oh.infoIcon}),v.jsx("span",{children:n})]}),A8="_wrapper_14erv_1",C8="_content_14erv_11",I8="_iconWrapper_14erv_19",w8="_titleGroup_14erv_30",x8="_title_14erv_30",_8="_textGroup_14erv_46",k8="_footer_14erv_51",ei={wrapper:A8,content:C8,iconWrapper:I8,titleGroup:w8,title:x8,textGroup:_8,footer:k8},E8=n=>{const{t}=yt(),{id:e,to:i,title:r,content:s,icon:a,iconClassName:o,serviceCount:l=0,appCount:c=0}=n;return v.jsx(qi,{to:i,children:v.jsxs("div",{className:ei.wrapper,"data-testid":"navigatorcard",children:[v.jsx("div",{className:ee(ei.iconWrapper,o),children:a||v.jsx(Pe,{name:Ve.Projects})}),v.jsxs("div",{className:ei.content,children:[v.jsxs("div",{children:[v.jsx("div",{className:ei.titleGroup,children:v.jsx(fi,{id:`title-${e}`,className:"width90",tooltipContent:r,ellipsis:!0,children:v.jsxs("h2",{className:ei.title,children:[" ",r]})})}),v.jsxs("div",{className:ei.textGroup,hidden:!s,children:[v.jsx("span",{children:t("label.date_created")}),v.jsx(wb,{date:s})]})]}),v.jsxs("div",{className:ei.footer,children:[v.jsx("span",{hidden:!l,children:t("title.services")+" ("+l+")"}),v.jsx("span",{hidden:!c,children:t("title.applications")+" ("+c+")"})]})]})]})},`link-${e}`)},S8="_breadcrumb_rb55l_1",R8="_breadcrumbItem_rb55l_9",M8="_pageContent_rb55l_29",Er={breadcrumb:S8,breadcrumbItem:R8,pageContent:M8},D8=n=>{const{children:t,breadcrumbs:e,className:i,defaultRoute:r="/"}=n,{t:s}=yt();return v.jsxs("div",{className:ee(Er.pageWrapper,i),"data-testid":"pagewrapper-container",children:[v.jsxs("div",{className:Er.breadcrumb,children:[v.jsx("div",{"data-testid":"breadcrumb-item",className:Er.breadcrumbItem,children:v.jsx(qi,{to:r,children:s("title.home")})},"breadcrumb-item-home"),e.map(({name:a,route:o,state:l},c)=>v.jsx("div",{"data-testid":"breadcrumb-item",className:Er.breadcrumbItem,children:o?v.jsx(qi,{to:o,state:l,children:a}):v.jsx("a",{children:a})},`breadcrumb-item-${c}`))]}),v.jsx("div",{className:Er.pageContent,children:t})]})},B8="_wrap_9gqbd_1",G8="_pager_9gqbd_1",O8="_disabled_9gqbd_20",N8="_inputField_9gqbd_36",T8="_totalPage_9gqbd_58",L8="_dark_9gqbd_65",hn={wrap:B8,pager:G8,disabled:O8,inputField:N8,totalPage:T8,dark:L8},xb=n=>{const{currentPage:t=1,totalCount:e,onChange:i,className:r,pageSize:s=10,appearance:a=zn.LIGHT}=n,[o,l]=E.useState(t),c=Math.ceil(e/s),u=c>=10,d=o===c,h=o===1,g=b=>{l(b),i&&i(b)},f=()=>{o>1&&g(o-1)},p=()=>{c>o&&g(o+1)},m=b=>{const A=b.target.value.slice(0,1),y=Number(u?b.target.value:A);setTimeout(()=>{c>=y&&y>0?g(y):y<=0?g(1):g(c),u||b.target.select()},300)};return E.useEffect(()=>{l(t)},[t]),v.jsx("div",{"data-testid":"pager-container",className:ee(hn.wrap,r,{[hn[a]]:a}),children:v.jsxs("div",{className:hn.pager,children:[v.jsx("a",{"data-testid":"pager-prev",className:ee(hn.prev,{[hn.disabled]:h}),onClick:f,children:v.jsx(Pe,{name:Ve.ChevronLeft})}),v.jsx("input",{name:"pageNumber","data-testid":"pager-input",className:hn.inputField,maxLength:c<=9?1:void 0,value:o,onFocus:b=>{u||b.currentTarget.select()},onClick:b=>{u||(b.currentTarget.setSelectionRange(0,0),b.currentTarget.select())},onChange:b=>{u||(b.target.autofocus=!0),m(b)}}),v.jsxs("span",{className:hn.totalPage,children:["/",c===0?1:c]}),v.jsx("a",{className:ee(hn.next,{[hn.disabled]:d}),onClick:p,"data-testid":"pager-next",children:v.jsx(Pe,{name:Ve.ChevronRight})})]})})},j8="_box_us2fa_1",P8="_header_us2fa_8",F8="_hasBorder_us2fa_28",H8="_body_us2fa_31",z8="_noHeaders_us2fa_35",Z8="_description_us2fa_39",Y8="_dark_us2fa_43",W8="_line_us2fa_55",gn={box:j8,header:P8,hasBorder:F8,body:H8,noHeaders:z8,description:Z8,dark:Y8,line:W8},X8=({title:n,children:t,description:e,className:i,type:r="box",appearance:s=zn.DARK,headerDescription:a,headerRightChild:o,headerClass:l,hasBorder:c,bodyClass:u})=>v.jsxs("div",{"data-testid":"panel-container",className:ee(i,gn.container,{[gn[`${s}`]]:s,[gn[`${r}`]]:r}),children:[n&&v.jsxs("div",{"data-testid":"panel-header",className:ee(gn.header,l,{"d-flex":o,"justify-content-between":o,[gn.hasBorder]:c}),children:[v.jsxs("div",{children:[v.jsx("h1",{children:n}),a&&v.jsx("p",{className:ee("m-0",gn.description),children:a})]}),o]}),v.jsxs("div",{className:ee(u,gn.body,{[gn.noHeaders]:!n}),children:[e&&v.jsx("p",{"data-testid":"panel-description",className:gn.description,children:e}),t]})]}),V8="_container_16kjn_1",J8="_checkmark_16kjn_9",Q8="_inline_16kjn_12",U8="_disabled_16kjn_20",K8="_text_16kjn_44",si={container:V8,checkmark:J8,inline:Q8,disabled:U8,text:K8},_b=({name:n,label:t,isDisabled:e,checked:i,isInline:r,onChange:s,setContext:a,suffixBtn:o,...l})=>{const c=u=>{a&&a({label:`${t}`,value:u.currentTarget.value}),s&&s(u)};return v.jsxs("div",{className:ee("d-flex",si.container),"data-testid":"radio-container",children:[v.jsxs(an,{className:ee({[si.inline]:r,[si.disabled]:e}),name:n,children:[v.jsx("span",{className:si.text,children:t}),v.jsx("input",{type:"radio","data-testid":"radio-input",name:n,disabled:e,defaultChecked:i,...l,onChange:c}),v.jsx("span",{className:si.checkmark,"data-testid":"radio-checkmark"})]}),o]})},q8=({name:n,items:t,value:e,label:i,isInline:r=!0,setContext:s,error:a,className:o,...l})=>v.jsxs("div",{className:"form-group","data-testid":"radiolist",children:[i&&v.jsx(an,{children:i}),v.jsx("div",{className:ee(si.container,o,{[si.error]:a}),children:t.map(({value:c,label:u,isDisabled:d,suffixBtn:h},g)=>v.jsx(_b,{label:u,name:n,checked:e===c,value:c,isDisabled:d,isInline:r,setContext:s,suffixBtn:h,...l},`${e}-${g}`))}),a&&v.jsx(vi,{...a})]});var kb={};function Eb(n){var t={};return function(e){return t[e]===void 0&&(t[e]=n(e)),t[e]}}var $8=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,e$=Eb(function(n){return $8.test(n)||n.charCodeAt(0)===111&&n.charCodeAt(1)===110&&n.charCodeAt(2)<91});function t$(n){if(n.sheet)return n.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===n)return document.styleSheets[t]}function n$(n){var t=document.createElement("style");return t.setAttribute("data-emotion",n.key),n.nonce!==void 0&&t.setAttribute("nonce",n.nonce),t.appendChild(document.createTextNode("")),t}var i$=function(){function n(e){this.isSpeedy=e.speedy===void 0?process.env.NODE_ENV==="production":e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=n.prototype;return t.insert=function(i){if(this.ctr%(this.isSpeedy?65e3:1)===0){var r=n$(this),s;this.tags.length===0?s=this.before:s=this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(r,s),this.tags.push(r)}var a=this.tags[this.tags.length-1];if(this.isSpeedy){var o=t$(a);try{var l=i.charCodeAt(1)===105&&i.charCodeAt(0)===64;o.insertRule(i,l?0:o.cssRules.length)}catch(c){process.env.NODE_ENV!=="production"&&console.warn('There was a problem inserting the following rule: "'+i+'"',c)}}else a.appendChild(document.createTextNode(i));this.ctr++},t.flush=function(){this.tags.forEach(function(i){return i.parentNode.removeChild(i)}),this.tags=[],this.ctr=0},n}();function r$(n){function t(H,j,Y,J,D){for(var Q=0,X=0,se=0,re=0,ue,K,Be=0,it=0,fe,Fe=fe=ue=0,be=0,Te=0,kt=0,We=0,cn=Y.length,At=cn-1,st,le="",Ge="",un="",Ft="",Ct;be<cn;){if(K=Y.charCodeAt(be),be===At&&X+re+se+Q!==0&&(X!==0&&(K=X===47?10:47),re=se=Q=0,cn++,At++),X+re+se+Q===0){if(be===At&&(0<Te&&(le=le.replace(h,"")),0<le.trim().length)){switch(K){case 32:case 9:case 59:case 13:case 10:break;default:le+=Y.charAt(be)}K=59}switch(K){case 123:for(le=le.trim(),ue=le.charCodeAt(0),fe=1,We=++be;be<cn;){switch(K=Y.charCodeAt(be)){case 123:fe++;break;case 125:fe--;break;case 47:switch(K=Y.charCodeAt(be+1)){case 42:case 47:e:{for(Fe=be+1;Fe<At;++Fe)switch(Y.charCodeAt(Fe)){case 47:if(K===42&&Y.charCodeAt(Fe-1)===42&&be+2!==Fe){be=Fe+1;break e}break;case 10:if(K===47){be=Fe+1;break e}}be=Fe}}break;case 91:K++;case 40:K++;case 34:case 39:for(;be++<At&&Y.charCodeAt(be)!==K;);}if(fe===0)break;be++}switch(fe=Y.substring(We,be),ue===0&&(ue=(le=le.replace(d,"").trim()).charCodeAt(0)),ue){case 64:switch(0<Te&&(le=le.replace(h,"")),K=le.charCodeAt(1),K){case 100:case 109:case 115:case 45:Te=j;break;default:Te=F}if(fe=t(j,Te,fe,K,D+1),We=fe.length,0<V&&(Te=e(F,le,kt),Ct=o(3,fe,Te,j,B,O,We,K,D,J),le=Te.join(""),Ct!==void 0&&(We=(fe=Ct.trim()).length)===0&&(K=0,fe="")),0<We)switch(K){case 115:le=le.replace(_,a);case 100:case 109:case 45:fe=le+"{"+fe+"}";break;case 107:le=le.replace(A,"$1 $2"),fe=le+"{"+fe+"}",fe=G===1||G===2&&s("@"+fe,3)?"@-webkit-"+fe+"@"+fe:"@"+fe;break;default:fe=le+fe,J===112&&(fe=(Ge+=fe,""))}else fe="";break;default:fe=t(j,e(j,le,kt),fe,J,D+1)}un+=fe,fe=kt=Te=Fe=ue=0,le="",K=Y.charCodeAt(++be);break;case 125:case 59:if(le=(0<Te?le.replace(h,""):le).trim(),1<(We=le.length))switch(Fe===0&&(ue=le.charCodeAt(0),ue===45||96<ue&&123>ue)&&(We=(le=le.replace(" ",":")).length),0<V&&(Ct=o(1,le,j,H,B,O,Ge.length,J,D,J))!==void 0&&(We=(le=Ct.trim()).length)===0&&(le="\0\0"),ue=le.charCodeAt(0),K=le.charCodeAt(1),ue){case 0:break;case 64:if(K===105||K===99){Ft+=le+Y.charAt(be);break}default:le.charCodeAt(We-1)!==58&&(Ge+=r(le,ue,K,le.charCodeAt(2)))}kt=Te=Fe=ue=0,le="",K=Y.charCodeAt(++be)}}switch(K){case 13:case 10:X===47?X=0:1+ue===0&&J!==107&&0<le.length&&(Te=1,le+="\0"),0<V*Z&&o(0,le,j,H,B,O,Ge.length,J,D,J),O=1,B++;break;case 59:case 125:if(X+re+se+Q===0){O++;break}default:switch(O++,st=Y.charAt(be),K){case 9:case 32:if(re+Q+X===0)switch(Be){case 44:case 58:case 9:case 32:st="";break;default:K!==32&&(st=" ")}break;case 0:st="\\0";break;case 12:st="\\f";break;case 11:st="\\v";break;case 38:re+X+Q===0&&(Te=kt=1,st="\f"+st);break;case 108:if(re+X+Q+L===0&&0<Fe)switch(be-Fe){case 2:Be===112&&Y.charCodeAt(be-3)===58&&(L=Be);case 8:it===111&&(L=it)}break;case 58:re+X+Q===0&&(Fe=be);break;case 44:X+se+re+Q===0&&(Te=1,st+="\r");break;case 34:case 39:X===0&&(re=re===K?0:re===0?K:re);break;case 91:re+X+se===0&&Q++;break;case 93:re+X+se===0&&Q--;break;case 41:re+X+Q===0&&se--;break;case 40:if(re+X+Q===0){if(ue===0)switch(2*Be+3*it){case 533:break;default:ue=1}se++}break;case 64:X+se+re+Q+Fe+fe===0&&(fe=1);break;case 42:case 47:if(!(0<re+Q+se))switch(X){case 0:switch(2*K+3*Y.charCodeAt(be+1)){case 235:X=47;break;case 220:We=be,X=42}break;case 42:K===47&&Be===42&&We+2!==be&&(Y.charCodeAt(We+2)===33&&(Ge+=Y.substring(We,be+1)),st="",X=0)}}X===0&&(le+=st)}it=Be,Be=K,be++}if(We=Ge.length,0<We){if(Te=j,0<V&&(Ct=o(2,Ge,Te,H,B,O,We,J,D,J),Ct!==void 0&&(Ge=Ct).length===0))return Ft+Ge+un;if(Ge=Te.join(",")+"{"+Ge+"}",G*L!==0){switch(G!==2||s(Ge,2)||(L=0),L){case 111:Ge=Ge.replace(w,":-moz-$1")+Ge;break;case 112:Ge=Ge.replace(y,"::-webkit-input-$1")+Ge.replace(y,"::-moz-$1")+Ge.replace(y,":-ms-input-$1")+Ge}L=0}}return Ft+Ge+un}function e(H,j,Y){var J=j.trim().split(m);j=J;var D=J.length,Q=H.length;switch(Q){case 0:case 1:var X=0;for(H=Q===0?"":H[0]+" ";X<D;++X)j[X]=i(H,j[X],Y).trim();break;default:var se=X=0;for(j=[];X<D;++X)for(var re=0;re<Q;++re)j[se++]=i(H[re]+" ",J[X],Y).trim()}return j}function i(H,j,Y){var J=j.charCodeAt(0);switch(33>J&&(J=(j=j.trim()).charCodeAt(0)),J){case 38:return j.replace(b,"$1"+H.trim());case 58:return H.trim()+j.replace(b,"$1"+H.trim());default:if(0<1*Y&&0<j.indexOf("\f"))return j.replace(b,(H.charCodeAt(0)===58?"":"$1")+H.trim())}return H+j}function r(H,j,Y,J){var D=H+";",Q=2*j+3*Y+4*J;if(Q===944){H=D.indexOf(":",9)+1;var X=D.substring(H,D.length-1).trim();return X=D.substring(0,H).trim()+X+";",G===1||G===2&&s(X,1)?"-webkit-"+X+X:X}if(G===0||G===2&&!s(D,1))return D;switch(Q){case 1015:return D.charCodeAt(10)===97?"-webkit-"+D+D:D;case 951:return D.charCodeAt(3)===116?"-webkit-"+D+D:D;case 963:return D.charCodeAt(5)===110?"-webkit-"+D+D:D;case 1009:if(D.charCodeAt(4)!==100)break;case 969:case 942:return"-webkit-"+D+D;case 978:return"-webkit-"+D+"-moz-"+D+D;case 1019:case 983:return"-webkit-"+D+"-moz-"+D+"-ms-"+D+D;case 883:if(D.charCodeAt(8)===45)return"-webkit-"+D+D;if(0<D.indexOf("image-set(",11))return D.replace(x,"$1-webkit-$2")+D;break;case 932:if(D.charCodeAt(4)===45)switch(D.charCodeAt(5)){case 103:return"-webkit-box-"+D.replace("-grow","")+"-webkit-"+D+"-ms-"+D.replace("grow","positive")+D;case 115:return"-webkit-"+D+"-ms-"+D.replace("shrink","negative")+D;case 98:return"-webkit-"+D+"-ms-"+D.replace("basis","preferred-size")+D}return"-webkit-"+D+"-ms-"+D+D;case 964:return"-webkit-"+D+"-ms-flex-"+D+D;case 1023:if(D.charCodeAt(8)!==99)break;return X=D.substring(D.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+X+"-webkit-"+D+"-ms-flex-pack"+X+D;case 1005:return f.test(D)?D.replace(g,":-webkit-")+D.replace(g,":-moz-")+D:D;case 1e3:switch(X=D.substring(13).trim(),j=X.indexOf("-")+1,X.charCodeAt(0)+X.charCodeAt(j)){case 226:X=D.replace(C,"tb");break;case 232:X=D.replace(C,"tb-rl");break;case 220:X=D.replace(C,"lr");break;default:return D}return"-webkit-"+D+"-ms-"+X+D;case 1017:if(D.indexOf("sticky",9)===-1)break;case 975:switch(j=(D=H).length-10,X=(D.charCodeAt(j)===33?D.substring(0,j):D).substring(H.indexOf(":",7)+1).trim(),Q=X.charCodeAt(0)+(X.charCodeAt(7)|0)){case 203:if(111>X.charCodeAt(8))break;case 115:D=D.replace(X,"-webkit-"+X)+";"+D;break;case 207:case 102:D=D.replace(X,"-webkit-"+(102<Q?"inline-":"")+"box")+";"+D.replace(X,"-webkit-"+X)+";"+D.replace(X,"-ms-"+X+"box")+";"+D}return D+";";case 938:if(D.charCodeAt(5)===45)switch(D.charCodeAt(6)){case 105:return X=D.replace("-items",""),"-webkit-"+D+"-webkit-box-"+X+"-ms-flex-"+X+D;case 115:return"-webkit-"+D+"-ms-flex-item-"+D.replace(z,"")+D;default:return"-webkit-"+D+"-ms-flex-line-pack"+D.replace("align-content","").replace(z,"")+D}break;case 973:case 989:if(D.charCodeAt(3)!==45||D.charCodeAt(4)===122)break;case 931:case 953:if(T.test(H)===!0)return(X=H.substring(H.indexOf(":")+1)).charCodeAt(0)===115?r(H.replace("stretch","fill-available"),j,Y,J).replace(":fill-available",":stretch"):D.replace(X,"-webkit-"+X)+D.replace(X,"-moz-"+X.replace("fill-",""))+D;break;case 962:if(D="-webkit-"+D+(D.charCodeAt(5)===102?"-ms-"+D:"")+D,Y+J===211&&D.charCodeAt(13)===105&&0<D.indexOf("transform",10))return D.substring(0,D.indexOf(";",27)+1).replace(p,"$1-webkit-$2")+D}return D}function s(H,j){var Y=H.indexOf(j===1?":":"{"),J=H.substring(0,j!==3?Y:10);return Y=H.substring(Y+1,H.length-1),te(j!==2?J:J.replace(R,"$1"),Y,j)}function a(H,j){var Y=r(j,j.charCodeAt(0),j.charCodeAt(1),j.charCodeAt(2));return Y!==j+";"?Y.replace(S," or ($1)").substring(4):"("+j+")"}function o(H,j,Y,J,D,Q,X,se,re,ue){for(var K=0,Be=j,it;K<V;++K)switch(it=P[K].call(u,H,Be,Y,J,D,Q,X,se,re,ue)){case void 0:case!1:case!0:case null:break;default:Be=it}if(Be!==j)return Be}function l(H){switch(H){case void 0:case null:V=P.length=0;break;default:if(typeof H=="function")P[V++]=H;else if(typeof H=="object")for(var j=0,Y=H.length;j<Y;++j)l(H[j]);else Z=!!H|0}return l}function c(H){return H=H.prefix,H!==void 0&&(te=null,H?typeof H!="function"?G=1:(G=2,te=H):G=0),c}function u(H,j){var Y=H;if(33>Y.charCodeAt(0)&&(Y=Y.trim()),W=Y,Y=[W],0<V){var J=o(-1,j,Y,Y,B,O,0,0,0,0);J!==void 0&&typeof J=="string"&&(j=J)}var D=t(F,Y,j,0,0);return 0<V&&(J=o(-2,D,Y,Y,B,O,D.length,0,0,0),J!==void 0&&(D=J)),W="",L=0,O=B=1,D}var d=/^\0+/g,h=/[\0\r\f]/g,g=/: */g,f=/zoo|gra/,p=/([,: ])(transform)/g,m=/,\r+?/g,b=/([\t\r\n ])*\f?&/g,A=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,w=/:(read-only)/g,C=/[svh]\w+-[tblr]{2}/,_=/\(\s*(.*)\s*\)/g,S=/([\s\S]*?);/g,z=/-self|flex-/g,R=/[^]*?(:[rp][el]a[\w-]+)[^]*/,T=/stretch|:\s*\w+\-(?:conte|avail)/,x=/([^-])(image-set\()/,O=1,B=1,L=0,G=1,F=[],P=[],V=0,te=null,Z=0,W="";return u.use=l,u.set=c,n!==void 0&&c(n),u}var ql="/*|*/",s$=ql+"}";function a$(n){n&&qr.current.insert(n+"}")}var qr={current:null},o$=function(t,e,i,r,s,a,o,l,c,u){switch(t){case 1:{switch(e.charCodeAt(0)){case 64:return qr.current.insert(e+";"),"";case 108:if(e.charCodeAt(2)===98)return""}break}case 2:{if(l===0)return e+ql;break}case 3:switch(l){case 102:case 112:return qr.current.insert(i[0]+e),"";default:return e+(u===0?ql:"")}case-2:e.split(s$).forEach(a$)}},l$=function(t){t===void 0&&(t={});var e=t.key||"css",i;t.prefix!==void 0&&(i={prefix:t.prefix});var r=new r$(i);if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(e))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+e+'" was passed');var s={},a;{a=t.container||document.head;var o=document.querySelectorAll("style[data-emotion-"+e+"]");Array.prototype.forEach.call(o,function(h){var g=h.getAttribute("data-emotion-"+e);g.split(" ").forEach(function(f){s[f]=!0}),h.parentNode!==a&&a.appendChild(h)})}var l;if(r.use(t.stylisPlugins)(o$),l=function(g,f,p,m){var b=f.name;if(qr.current=p,process.env.NODE_ENV!=="production"&&f.map!==void 0){var A=f.map;qr.current={insert:function(w){p.insert(w+A)}}}r(g,f.styles),m&&(d.inserted[b]=!0)},process.env.NODE_ENV!=="production"){var c=/\/\*/g,u=/\*\//g;r.use(function(h,g){switch(h){case-1:{for(;c.test(g);){if(u.lastIndex=c.lastIndex,u.test(g)){c.lastIndex=u.lastIndex;continue}throw new Error('Your styles have an unterminated comment ("/*" without corresponding "*/").')}c.lastIndex=0;break}}}),r.use(function(h,g,f){switch(h){case-1:{var p="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",m=g.match(/(:first|:nth|:nth-last)-child/g);m&&d.compat!==!0&&m.forEach(function(b){var A=new RegExp(b+".*\\/\\* "+p+" \\*\\/"),y=A.test(g);b&&!y&&console.error('The pseudo class "'+b+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+b.split("-child")[0]+'-of-type".')});break}}})}var d={key:e,sheet:new i$({key:e,container:a,nonce:t.nonce,speedy:t.speedy}),nonce:t.nonce,inserted:s,registered:{},insert:l};return d},c$=!0;function Sb(n,t,e){var i="";return e.split(" ").forEach(function(r){n[r]!==void 0?t.push(n[r]):i+=r+" "}),i}var Rb=function(t,e,i){var r=t.key+"-"+e.name;if((i===!1||c$===!1)&&t.registered[r]===void 0&&(t.registered[r]=e.styles),t.inserted[e.name]===void 0){var s=e;do t.insert("."+r,s,t.sheet,!0),s=s.next;while(s!==void 0)}};function u$(n){for(var t=0,e,i=0,r=n.length;r>=4;++i,r-=4)e=n.charCodeAt(i)&255|(n.charCodeAt(++i)&255)<<8|(n.charCodeAt(++i)&255)<<16|(n.charCodeAt(++i)&255)<<24,e=(e&65535)*1540483477+((e>>>16)*59797<<16),e^=e>>>24,t=(e&65535)*1540483477+((e>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(r){case 3:t^=(n.charCodeAt(i+2)&255)<<16;case 2:t^=(n.charCodeAt(i+1)&255)<<8;case 1:t^=n.charCodeAt(i)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var d$={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Nh=`You have illegal escape sequence in your template literal, most likely inside content's property value.
255
255
  Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
256
256
  You can read more about this here:
257
257
  https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,f$="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",h$=/[A-Z]|^ms/g,Mb=/_EMO_([^_]+?)_([^]*?)_EMO_/g,uu=function(t){return t.charCodeAt(1)===45},Th=function(t){return t!=null&&typeof t!="boolean"},$o=Eb(function(n){return uu(n)?n:n.replace(h$,"-$&").toLowerCase()}),wa=function(t,e){switch(t){case"animation":case"animationName":if(typeof e=="string")return e.replace(Mb,function(i,r,s){return Zt={name:r,styles:s,next:Zt},r})}return d$[t]!==1&&!uu(t)&&typeof e=="number"&&e!==0?e+"px":e};if(process.env.NODE_ENV!=="production"){var g$=/(attr|calc|counters?|url)\(/,p$=["normal","none","counter","open-quote","close-quote","no-open-quote","no-close-quote","initial","inherit","unset"],m$=wa,b$=/^-ms-/,v$=/-(.)/g,Lh={};wa=function(t,e){t==="content"&&(typeof e!="string"||p$.indexOf(e)===-1&&!g$.test(e)&&(e.charAt(0)!==e.charAt(e.length-1)||e.charAt(0)!=='"'&&e.charAt(0)!=="'"))&&console.error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+e+"\"'`");var i=m$(t,e);return i!==""&&!uu(t)&&t.indexOf("-")!==-1&&Lh[t]===void 0&&(Lh[t]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+t.replace(b$,"ms-").replace(v$,function(r,s){return s.toUpperCase()})+"?")),i}}var jh=!0;function $r(n,t,e,i){if(e==null)return"";if(e.__emotion_styles!==void 0){if(process.env.NODE_ENV!=="production"&&e.toString()==="NO_COMPONENT_SELECTOR")throw new Error("Component selectors can only be used in conjunction with babel-plugin-emotion.");return e}switch(typeof e){case"boolean":return"";case"object":{if(e.anim===1)return Zt={name:e.name,styles:e.styles,next:Zt},e.name;if(e.styles!==void 0){var r=e.next;if(r!==void 0)for(;r!==void 0;)Zt={name:r.name,styles:r.styles,next:Zt},r=r.next;var s=e.styles+";";return process.env.NODE_ENV!=="production"&&e.map!==void 0&&(s+=e.map),s}return y$(n,t,e)}case"function":{if(n!==void 0){var a=Zt,o=e(n);return Zt=a,$r(n,t,o,i)}else process.env.NODE_ENV!=="production"&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":if(process.env.NODE_ENV!=="production"){var l=[],c=e.replace(Mb,function(d,h,g){var f="animation"+l.length;return l.push("const "+f+" = keyframes`"+g.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+f+"}"});l.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(l,["`"+c+"`"]).join(`
@@ -291,5 +291,5 @@ You may have forgotten to import it.`);var i,r,s;e!==void 0&&(i=e.label,s=e.targ
291
291
  `:`
292
292
  pointer-events: none;
293
293
  `+(u?"margin: 0 0 0 5px;transform: rotate(180deg);":"")+`
294
- `},";cursor:pointer;svg{width:16px;height:16px;}:hover{path{stroke:",function(l){var c=l.color;return c},";}}:focus{outline:none;path{stroke:",function(l){var c=l.color;return c},";}}"+(process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb21wb25lbnRzL0Ryb3Bkb3duSGFuZGxlLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXdCMEMiLCJmaWxlIjoiLi4vLi4vc3JjL2NvbXBvbmVudHMvRHJvcGRvd25IYW5kbGUuanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IHsgTElCX05BTUUgfSBmcm9tICcuLi9jb25zdGFudHMnO1xuXG5jb25zdCBEcm9wZG93bkhhbmRsZSA9ICh7IHByb3BzLCBzdGF0ZSwgbWV0aG9kcyB9KSA9PiAoXG4gIDxEcm9wZG93bkhhbmRsZUNvbXBvbmVudFxuICAgIH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vbXBvbmVudCA9IHN0eWxlZC5kaXZgXG4gIHRleHQtYWxpZ246IGNlbnRlcjtcbiAgJHsoeyBkcm9wZG93bk9wZW4sIHJvdGF0ZSB9KSA9PlxuICAgIGRyb3Bkb3duT3BlblxuICAgICAgPyBgXG4gICAgICBwb2ludGVyLWV2ZW50czogYWxsO1xuICAgICAgJHtyb3RhdGUgPyAndHJhbnNmb3JtOiByb3RhdGUoMGRlZyk7bWFyZ2luOiAwcHggMCAtM3B4IDVweDsnIDogJyd9XG4gICAgICBgXG4gICAgICA6IGBcbiAgICAgIHBvaW50ZXItZXZlbnRzOiBub25lO1xuICAgICAgJHtyb3RhdGUgPyAnbWFyZ2luOiAwIDAgMCA1cHg7dHJhbnNmb3JtOiByb3RhdGUoMTgwZGVnKTsnIDogJyd9XG4gICAgICBgfTtcbiAgY3Vyc29yOiBwb2ludGVyO1xuXG4gIHN2ZyB7XG4gICAgd2lkdGg6IDE2cHg7XG4gICAgaGVpZ2h0OiAxNnB4O1xuICB9XG5cbiAgOmhvdmVyIHtcbiAgICBwYXRoIHtcbiAgICAgIHN0cm9rZTogJHsoeyBjb2xvciB9KSA9PiBjb2xvcn07XG4gICAgfVxuICB9XG5cbiAgOmZvY3VzIHtcbiAgICBvdXRsaW5lOiBub25lO1xuXG4gICAgcGF0aCB7XG4gICAgICBzdHJva2U6ICR7KHsgY29sb3IgfSkgPT4gY29sb3J9O1xuICAgIH1cbiAgfVxuYDtcblxuZXhwb3J0IGRlZmF1bHQgRHJvcGRvd25IYW5kbGU7XG4iXX0= */")),o=s;n.default=o})(Wb);(function(n){n.__esModule=!0,n.default=n.Select=void 0;var t=p(Kt),e=f(E),i=p(Xh);p(is);var r=p(Nb),s=p(Tb),a=p(Pb),o=p(zb),l=p(Zb),c=p(Yb),u=p(Wb),d=Ci,h=Pt;function g(){if(typeof WeakMap!="function")return null;var S=new WeakMap;return g=function(){return S},S}function f(S){if(S&&S.__esModule)return S;if(S===null||typeof S!="object"&&typeof S!="function")return{default:S};var z=g();if(z&&z.has(S))return z.get(S);var R={},T=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in S)if(Object.prototype.hasOwnProperty.call(S,x)){var O=T?Object.getOwnPropertyDescriptor(S,x):null;O&&(O.get||O.set)?Object.defineProperty(R,x,O):R[x]=S[x]}return R.default=S,z&&z.set(S,R),R}function p(S){return S&&S.__esModule?S:{default:S}}function m(){return m=Object.assign||function(S){for(var z,R=1;R<arguments.length;R++)for(var T in z=arguments[R],z)Object.prototype.hasOwnProperty.call(z,T)&&(S[T]=z[T]);return S},m.apply(this,arguments)}function b(S){if(S===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return S}function A(S,z){S.prototype=Object.create(z.prototype),S.prototype.constructor=S,S.__proto__=z}function y(S,z,R){return z in S?Object.defineProperty(S,z,{value:R,enumerable:!0,configurable:!0,writable:!0}):S[z]=R,S}var w=function(S){function z(T){var x;return x=S.call(this,T)||this,y(b(x),"onDropdownClose",function(){x.setState({cursor:null}),x.props.onDropdownClose()}),y(b(x),"onScroll",function(){x.props.closeOnScroll&&x.dropDown("close"),x.updateSelectBounds()}),y(b(x),"updateSelectBounds",function(){return x.select.current&&x.setState({selectBounds:x.select.current.getBoundingClientRect()})}),y(b(x),"getSelectBounds",function(){return x.state.selectBounds}),y(b(x),"dropDown",function(O,B,L){O===void 0&&(O="toggle"),L===void 0&&(L=!1);var G=B&&B.target||B&&B.srcElement;return x.props.onDropdownCloseRequest!==void 0&&x.state.dropdown&&L===!1&&O==="close"?x.props.onDropdownCloseRequest({props:x.props,methods:x.methods,state:x.state,close:function(){return x.dropDown("close",null,!0)}}):x.props.portal&&!x.props.closeOnScroll&&!x.props.closeOnSelect&&B&&G&&G.offsetParent&&G.offsetParent.classList.contains("react-dropdown-select-dropdown")?void 0:x.props.keepOpen?x.setState({dropdown:!0}):O==="close"&&x.state.dropdown?(x.select.current.blur(),x.setState({dropdown:!1,search:x.props.clearOnBlur?"":x.state.search,searchResults:x.props.options})):O!=="open"||x.state.dropdown?O==="toggle"&&(x.select.current.focus(),x.setState({dropdown:!x.state.dropdown})):x.setState({dropdown:!0})}),y(b(x),"getSelectRef",function(){return x.select.current}),y(b(x),"addItem",function(O){if(x.props.multi){if((0,d.valueExistInSelected)((0,d.getByPath)(O,x.props.valueField),x.state.values,x.props))return x.removeItem(null,O,!1);x.setState({values:[].concat(x.state.values,[O])})}else x.setState({values:[O],dropdown:!1});return x.props.clearOnSelect&&x.setState({search:""}),!0}),y(b(x),"removeItem",function(O,B,L){L===void 0&&(L=!1),O&&L&&(O.preventDefault(),O.stopPropagation(),x.dropDown("close")),x.setState({values:x.state.values.filter(function(G){return(0,d.getByPath)(G,x.props.valueField)!==(0,d.getByPath)(B,x.props.valueField)})})}),y(b(x),"setSearch",function(O){x.setState({cursor:null}),x.setState({search:O.target.value},function(){x.setState({searchResults:x.searchResults()})})}),y(b(x),"getInputSize",function(){return x.state.search?x.state.search.length:0<x.state.values.length?x.props.addPlaceholder.length:x.props.placeholder.length}),y(b(x),"toggleSelectAll",function(){return x.setState({values:x.state.values.length===0?x.selectAll():x.clearAll()})}),y(b(x),"clearAll",function(){x.props.onClearAll(),x.setState({values:[]})}),y(b(x),"selectAll",function(O){O===void 0&&(O=[]),x.props.onSelectAll();var B=0<O.length?O:x.props.options.filter(function(L){return!L.disabled});x.setState({values:B})}),y(b(x),"isSelected",function(O){return!!x.state.values.find(function(B){return(0,d.getByPath)(B,x.props.valueField)===(0,d.getByPath)(O,x.props.valueField)})}),y(b(x),"areAllSelected",function(){return x.state.values.length===x.props.options.filter(function(O){return!O.disabled}).length}),y(b(x),"safeString",function(O){return O.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}),y(b(x),"sortBy",function(){var O=x.props,B=O.sortBy,L=O.options;return B&&L.sort(function(G,F){return(0,d.getProp)(G,B)<(0,d.getProp)(F,B)?-1:(0,d.getProp)(G,B)>(0,d.getProp)(F,B)?1:0}),L}),y(b(x),"searchFn",function(O){var B=O.state,L=O.methods,G=new RegExp(L.safeString(B.search),"i");return L.sortBy().filter(function(F){return G.test((0,d.getByPath)(F,x.props.searchBy)||(0,d.getByPath)(F,x.props.valueField))})}),y(b(x),"searchResults",function(){var O={state:x.state,props:x.props,methods:x.methods};return x.props.searchFn(O)||x.searchFn(O)}),y(b(x),"activeCursorItem",function(O){return x.setState({activeCursorItem:O})}),y(b(x),"handleKeyDown",function(O){var B={event:O,state:x.state,props:x.props,methods:x.methods,setState:x.setState.bind(b(x))};return x.props.handleKeyDownFn(B)||x.handleKeyDownFn(B)}),y(b(x),"handleKeyDownFn",function(O){var B=O.event,L=O.state,G=O.props,F=O.methods,P=O.setState,V=L.cursor,te=L.searchResults,Z=B.key==="Escape",W=B.key==="Enter",H=B.key==="ArrowUp",j=B.key==="ArrowDown",Y=B.key==="Backspace",J=B.key==="Tab"&&!B.shiftKey,D=B.shiftKey&&B.key==="Tab";if(j&&!L.dropdown)return B.preventDefault(),x.dropDown("open"),P({cursor:0});if((j||J&&L.dropdown)&&V===null)return P({cursor:0});if((H||j||D&&L.dropdown||J&&L.dropdown)&&B.preventDefault(),Z&&x.dropDown("close"),W){var Q=te[V];if(Q&&!Q.disabled){if(G.create&&(0,d.valueExistInSelected)(L.search,L.values,G))return null;F.addItem(Q)}}return(j||J&&L.dropdown)&&te.length===V?P({cursor:0}):((j||J&&L.dropdown)&&P(function(X){return{cursor:X.cursor+1}}),(H||D&&L.dropdown)&&0<V&&P(function(X){return{cursor:X.cursor-1}}),(H||D&&L.dropdown)&&V===0&&P({cursor:te.length}),void(Y&&G.backspaceDelete&&x.getInputSize()===0&&x.setState({values:x.state.values.slice(0,-1)})))}),y(b(x),"renderDropdown",function(){return x.props.portal?i.default.createPortal(e.default.createElement(a.default,{props:x.props,state:x.state,methods:x.methods}),x.dropdownRoot):e.default.createElement(a.default,{props:x.props,state:x.state,methods:x.methods})}),y(b(x),"createNew",function(O){var B,L=(B={},B[x.props.labelField]=O,B[x.props.valueField]=O,B);x.addItem(L),x.props.onCreateNew(L),x.setState({search:""})}),x.state={dropdown:!1,values:T.values,search:"",selectBounds:{},cursor:null,searchResults:T.options},x.methods={removeItem:x.removeItem,dropDown:x.dropDown,addItem:x.addItem,setSearch:x.setSearch,getInputSize:x.getInputSize,toggleSelectAll:x.toggleSelectAll,clearAll:x.clearAll,selectAll:x.selectAll,searchResults:x.searchResults,getSelectRef:x.getSelectRef,isSelected:x.isSelected,getSelectBounds:x.getSelectBounds,areAllSelected:x.areAllSelected,handleKeyDown:x.handleKeyDown,activeCursorItem:x.activeCursorItem,createNew:x.createNew,sortBy:x.sortBy,safeString:x.safeString},x.select=e.default.createRef(),x.dropdownRoot=typeof document<"u"&&document.createElement("div"),x}A(z,S);var R=z.prototype;return R.componentDidMount=function(){this.props.portal&&this.props.portal.appendChild(this.dropdownRoot),(0,d.isomorphicWindow)().addEventListener("resize",(0,d.debounce)(this.updateSelectBounds)),(0,d.isomorphicWindow)().addEventListener("scroll",(0,d.debounce)(this.onScroll)),this.dropDown("close"),this.select&&this.updateSelectBounds()},R.componentDidUpdate=function(x,O){var B=this;!this.props.compareValuesFunc(x.values,this.props.values)&&this.props.compareValuesFunc(x.values,O.values)&&(this.setState({values:this.props.values},function(){B.props.onChange(B.state.values)}),this.updateSelectBounds()),x.options!==this.props.options&&this.setState({searchResults:this.searchResults()}),O.values!==this.state.values&&(this.props.onChange(this.state.values),this.updateSelectBounds()),O.search!==this.state.search&&this.updateSelectBounds(),O.values!==this.state.values&&this.props.closeOnSelect&&this.dropDown("close"),x.multi!==this.props.multi&&this.updateSelectBounds(),O.dropdown&&O.dropdown!==this.state.dropdown&&this.onDropdownClose(),O.dropdown||O.dropdown===this.state.dropdown||this.props.onDropdownOpen()},R.componentWillUnmount=function(){this.props.portal&&this.props.portal.removeChild(this.dropdownRoot),(0,d.isomorphicWindow)().removeEventListener("resize",(0,d.debounce)(this.updateSelectBounds,this.props.debounceDelay)),(0,d.isomorphicWindow)().removeEventListener("scroll",(0,d.debounce)(this.onScroll,this.props.debounceDelay))},R.render=function(){var x=this;return e.default.createElement(r.default,{onClickOutside:function(B){return x.dropDown("close",B)}},e.default.createElement(C,m({onKeyDown:this.handleKeyDown,"aria-label":"Dropdown select","aria-expanded":this.state.dropdown,onClick:function(B){return x.dropDown("open",B)},tabIndex:this.props.disabled?"-1":"0",direction:this.props.direction,style:this.props.style,ref:this.select,disabled:this.props.disabled,className:h.LIB_NAME+" "+this.props.className,color:this.props.color},this.props.additionalProps),e.default.createElement(s.default,{props:this.props,state:this.state,methods:this.methods}),(this.props.name||this.props.required)&&e.default.createElement("input",{tabIndex:-1,style:{opacity:0,width:0,position:"absolute"},name:this.props.name,required:this.props.required,pattern:this.props.pattern,defaultValue:this.state.values.map(function(O){return O[x.props.labelField]}).toString()||[],disabled:this.props.disabled}),this.props.loading&&e.default.createElement(o.default,{props:this.props}),this.props.clearable&&e.default.createElement(l.default,{props:this.props,state:this.state,methods:this.methods}),this.props.separator&&e.default.createElement(c.default,{props:this.props,state:this.state,methods:this.methods}),this.props.dropdownHandle&&e.default.createElement(u.default,{onClick:function(){return x.select.current.focus()},props:this.props,state:this.state,methods:this.methods}),this.state.dropdown&&!this.props.disabled&&this.renderDropdown()))},z}(e.Component);n.Select=w,w.defaultProps={addPlaceholder:"",placeholder:"Select...",values:[],options:[],multi:!1,disabled:!1,searchBy:"label",sortBy:null,clearable:!1,searchable:!0,dropdownHandle:!0,separator:!1,keepOpen:void 0,noDataLabel:"No data",createNewLabel:"add {search}",disabledLabel:"disabled",dropdownGap:5,closeOnScroll:!1,debounceDelay:0,labelField:"label",valueField:"value",color:"#0074D9",keepSelectedInList:!0,closeOnSelect:!1,clearOnBlur:!0,clearOnSelect:!0,dropdownPosition:"bottom",dropdownHeight:"300px",autoFocus:!1,portal:null,create:!1,direction:"ltr",name:null,required:!1,pattern:void 0,onChange:function(){},onDropdownOpen:function(){},onDropdownClose:function(){},onDropdownCloseRequest:void 0,onClearAll:function(){},onSelectAll:function(){},onCreateNew:function(){},searchFn:function(){},handleKeyDownFn:function(){},additionalProps:null,backspaceDelete:!0,compareValuesFunc:d.isEqual};var C=(0,t.default)("div",{target:"e1gzf2xs0",label:"ReactDropdownSelect"})("box-sizing:border-box;position:relative;display:flex;border:1px solid #ccc;width:100%;border-radius:2px;padding:2px 5px;flex-direction:row;direction:",function(S){var z=S.direction;return z},";align-items:center;cursor:pointer;min-height:36px;",function(S){var z=S.disabled;return z?"cursor: not-allowed;pointer-events: none;opacity: 0.3;":"pointer-events: all;"},":hover,:focus-within{border-color:",function(S){var z=S.color;return z},";}:focus,:focus-within{outline:0;box-shadow:0 0 0 3px ",function(S){var z=S.color;return(0,d.hexToRGBA)(z,.2)},";}*{box-sizing:border-box;}"+(process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUE0bEJzQyIsImZpbGUiOiIuLi9zcmMvaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QsIHsgQ29tcG9uZW50IH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IFJlYWN0RE9NIGZyb20gJ3JlYWN0LWRvbSc7XG5pbXBvcnQgUHJvcFR5cGVzIGZyb20gJ3Byb3AtdHlwZXMnO1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IENsaWNrT3V0c2lkZSBmcm9tICcuL2NvbXBvbmVudHMvQ2xpY2tPdXRzaWRlJztcblxuaW1wb3J0IENvbnRlbnQgZnJvbSAnLi9jb21wb25lbnRzL0NvbnRlbnQnO1xuaW1wb3J0IERyb3Bkb3duIGZyb20gJy4vY29tcG9uZW50cy9Ecm9wZG93bic7XG5pbXBvcnQgTG9hZGluZyBmcm9tICcuL2NvbXBvbmVudHMvTG9hZGluZyc7XG5pbXBvcnQg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3RoaXMucHJvcHMubmFtZX1cbiAgICAgICAgICAgICAgcmVxdWlyZWQ9e3RoaXMucHJvcHMucmVxdWlyZWR9XG4gICAgICAgICAgICAgIHBhdHRlcm49e3RoaXMucHJvcHMucGF0dGVybn1cbiAgICAgICAgICAgICAgZGVmYXVsdFZhbHVlPXtcbiAgICAgICAgICAgICAgICB0aGlzLnN0YXRlLnZhbHVlcy5tYXAoKHZhbHVlKSA9PiB2YWx1ZVt0aGlzLnByb3BzLmxhYmVsRmllbGRdKS50b1N0cmluZygpIHx8IFtdXG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgZGlzYWJsZWQ9e3RoaXMucHJvcHMuZGlzYWJsZWR9XG4gICAgICAgICAgICAvPlxuICAgICAgICAgICl9XG5cbiAgICAgICAgICB7dGhpcy5wcm9wcy5sb2FkaW5nICYmIDxMb2FkaW5nIHByb3BzPXt0aGlzLnByb3BzfSAvPn1cblxuICAgICAgICAgIHt0aGlzLnByb3BzLmNsZWFyYWJsZSAmJiAoXG4gICAgICAgICAgICA8Q2xlYXIgcHJvcHM9e3RoaXMucHJvcHN9IHN0YXRlPXt0aGlzLnN0YXRlfSBtZXRob2RzPXt0aGlzLm1ldGhvZHN9IC8+XG4gICAgICAgICAgKX1cblxuICAgICAgICAgIHt0aGlzLnByb3BzLnNlcGFyYXRvciAmJiAoXG4gICAgICAgICAgICA8U2VwYXJhdG9yIHByb3BzPXt0aGlzLnByb3BzfSBzdGF0ZT17dGhpcy5zdGF0ZX0gbWV0aG9kcz17dGhpcy5tZXRob2RzfSAvPlxuICAgICAgICAgICl9XG5cbiAgICAgICAgICB7dGhpcy5wcm9wcy5kcm9wZG93bkhhbmRsZSAmJiAoXG4gICAgICAgICAgICA8RHJvcGRvd25IYW5kbGVcbiAgICAgICAgICAgICAgb25DbGljaz17KCkgPT4gdGhpcy5zZWxlY3QuY3VycmVudC5mb2N1cygpfVxuICAgICAgICAgICAgICBwcm9wcz17dGhpcy5wcm9wc31cbiAgICAg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cmRlci1yYWRpdXM6IDJweDtcbiAgcGFkZGluZzogMnB4IDVweDtcbiAgZmxleC1kaXJlY3Rpb246IHJvdztcbiAgZGlyZWN0aW9uOiAkeyh7IGRpcmVjdGlvbiB9KSA9PiBkaXJlY3Rpb259O1xuICBhbGlnbi1pdGVtczogY2VudGVyO1xuICBjdXJzb3I6IHBvaW50ZXI7XG4gIG1pbi1oZWlnaHQ6IDM2cHg7XG4gICR7KHsgZGlzYWJsZWQgfSkgPT5cbiAgICBkaXNhYmxlZCA/ICdjdXJzb3I6IG5vdC1hbGxvd2VkO3BvaW50ZXItZXZlbnRzOiBub25lO29wYWNpdHk6IDAuMzsnIDogJ3BvaW50ZXItZXZlbnRzOiBhbGw7J31cblxuICA6aG92ZXIsXG4gIDpmb2N1cy13aXRoaW4ge1xuICAgIGJvcmRlci1jb2xvcjogJHsoeyBjb2xvciB9KSA9PiBjb2xvcn07XG4gIH1cblxuICA6Zm9jdXMsXG4gIDpmb2N1cy13aXRoaW4ge1xuICAgIG91dGxpbmU6IDA7XG4gICAgYm94LXNoYWRvdzogMCAwIDAgM3B4ICR7KHsgY29sb3IgfSkgPT4gaGV4VG9SR0JBKGNvbG9yLCAwLjIpfTtcbiAgfVxuXG4gICoge1xuICAgIGJveC1zaXppbmc6IGJvcmRlci1ib3g7XG4gIH1cbmA7XG5cbmV4cG9ydCBkZWZhdWx0IFNlbGVjdDtcbiJdfQ== */")),_=w;n.default=_})(kb);const R$=xn(kb),M$="_container_9jq4w_1",D$="_fieldWrap_9jq4w_7",B$="_error_9jq4w_13",G$="_disabled_9jq4w_20",O$="_select_9jq4w_28",N$="_optionItem_9jq4w_63",T$="_selected_9jq4w_66",L$="_multiple_9jq4w_83",j$="_light_9jq4w_102",P$="_radius_9jq4w_144",F$="_itemSuffix_9jq4w_148",H$="_customOptionItem_9jq4w_153",z$="_remove_9jq4w_169",Z$="_noData_9jq4w_179",at={container:M$,"react-dropdown-select-no-data":"_react-dropdown-select-no-data_9jq4w_4",fieldWrap:D$,error:B$,disabled:G$,select:O$,optionItem:N$,selected:T$,multiple:L$,light:j$,radius:P$,itemSuffix:F$,customOptionItem:H$,remove:z$,noData:Z$};function Y$({text:n}){const{t}=yt(),e=n||t("text.no_results");return v.jsx("div",{className:at.noData,"data-testid":"nodata",children:v.jsx("span",{children:e})})}function W$({props:n,item:t,methods:e,onRemoveItem:i}){const r=n.labelField||"label",s=a=>{e.removeItem(a,t,!0),i&&i(t)};return v.jsxs("span",{role:"listitem",className:at.customOptionItem,"data-testid":"option-item",children:[v.jsx("span",{children:t==null?void 0:t[r]}),v.jsx("span",{onClick:s,className:at.remove,children:"x"})]})}const xa=n=>{const{t}=yt(),{name:e,label:i,items:r=[],itemPrefix:s,itemSuffix:a,placeholder:o=t("placeholder.choose"),wrapperClassName:l,infiniteScrollProps:c,className:u,style:d,appearance:h,size:g,value:f,error:p,isDisabled:m,onChange:b,onSearch:A,onAddItem:y,onRemoveItem:w,onDropdownClose:C,required:_,isMulti:S,searchable:z=!0,isAllSelected:R,backspaceDelete:T=!0,customOption:x,noDataRenderer:O,isRadius:B,valueField:L,labelField:G,...F}=n,P=W=>{const H=L||"value",j=W.map(Y=>Y==null?void 0:Y[H],W);S?b&&b(j,W):b&&b(j[0],W[0])},V=({item:W,state:H,methods:j,props:Y,itemIndex:J})=>{var X;const D=Y.labelField||"label",Q=Y.valueField||"value";return R?v.jsx("div",{}):v.jsx("div",{className:ee(at.optionItem,{[at.selected]:(H==null?void 0:H.values[0])&&((X=H==null?void 0:H.values)==null?void 0:X.find(se=>(se==null?void 0:se[Q])===(W==null?void 0:W[Q])))}),onClick:()=>{y&&y({item:W,state:H,methods:j,props:Y,itemIndex:J}),j.addItem(s?{[Q]:W==null?void 0:W[Q],[D]:s+(W==null?void 0:W[D])}:W)},children:a&&(W!=null&&W[a])?v.jsxs("span",{className:at.itemSuffix,children:[W==null?void 0:W[D],v.jsx("span",{children:W[a]})]}):W==null?void 0:W[D]},W.value)},te=({props:W,state:H,methods:j})=>{const Y=j.searchResults();return dd(r)?O?O({props:W,state:H,methods:j}):void 0:v.jsx(Cb,{loadMore:c==null?void 0:c.loadMore,hasMore:c==null?void 0:c.hasMore,children:Y==null?void 0:Y.map(J=>V({item:J,state:H,methods:j}))})},Z=({props:W,state:H})=>{const j=W.labelField||"label";return dd(H.search)?r:(A&&A(H.search),A?W.options:W.options.filter(Y=>{var J;return(J=Y==null?void 0:Y[j])==null?void 0:J.toLowerCase().includes(H.search.toLowerCase())}))};return v.jsxs("div",{"data-testid":"select-container",className:ee(at.container,{[at[`${h}`]]:h,[at.radius]:B,[at[`size__${g}`]]:g},l),children:[i&&v.jsxs(an,{appearance:h,name:e,children:[i," ",_&&"*"]}),v.jsx("div",{className:ee(at.fieldWrap,{[at[`size__${g}`]]:g,[at.error]:p,[at.disabled]:m}),children:v.jsx(R$,{...F,multi:S,options:r,onChange:P,searchFn:Z,noDataLabel:t("text.no_results"),dropdownPosition:"auto",searchable:z,style:d,optionRenderer:x?W=>x(W):({item:W,methods:H,props:j,state:Y})=>W$({item:W,methods:H,props:j,state:Y,onRemoveItem:w}),backspaceDelete:T,disabled:m,dropdownRenderer:c?({props:W,state:H,methods:j})=>te({props:W,state:H,methods:j}):void 0,noDataRenderer:O?W=>O(W):Y$,onDropdownClose:C,dropdownHeight:"150px",className:ee(at.select,u,{[at.multiple]:S}),placeholder:o,valueField:L,labelField:G,values:f?S?f:[f]:[],itemRenderer:V})}),p&&v.jsx(vi,{...p})]})};xa.displayName="Select";const X$="_menu_s98nx_1",V$="_arrow_s98nx_18",J$="_up_s98nx_32",Q$="_selected_s98nx_48",U$="_subMenuWrap_s98nx_51",K$="_opened_s98nx_58",q$="_hover_s98nx_66",$$="_item_s98nx_103",eee="_closeMenu_s98nx_110",tee="_tooltipWrap_s98nx_133",ot={menu:X$,arrow:V$,up:J$,selected:Q$,subMenuWrap:U$,opened:K$,hover:q$,item:$$,closeMenu:eee,tooltipWrap:tee},Qs=({icon:n,title:t,to:e,visibleTooltip:i=!1})=>{const r=()=>e?v.jsxs(qi,{className:ot.item,to:e,children:[n&&v.jsx(Pe,{name:n})," ",v.jsxs("span",{children:[" ",t]})]}):v.jsxs("a",{className:ot.item,"data-testid":"menuitem-link",children:[n&&v.jsx(Pe,{name:n})," ",v.jsxs("span",{children:[" ",t]})]});return v.jsx(fi,{id:`sideItem${e}`,tooltipContent:t,tooltipVisible:i,contentClass:ot.tooltipWrap,direction:$i.RIGHT,children:r()})},nee=({collapsed:n=!1,items:t,className:e,isActiveSubMenu:i})=>{const{pathname:r}=lr(),[s,a]=E.useState(i);return E.useEffect(()=>{n&&a(void 0)},[n]),v.jsx("div",{className:ee(ot.wrap,e),"data-testid":"sidebar-container",children:v.jsx("ul",{className:ee(ot.menu,{[ot.closeMenu]:n}),"data-testid":"sidebar-list",children:t.map(({to:o,icon:l,title:c,permItem:u,permType:d,children:h})=>{var p;const g=o&&((p=r==null?void 0:r.replaceAll("/",""))==null?void 0:p.includes(o==null?void 0:o.replaceAll("/",""))),f=s===c;return v.jsx(yd,{permType:d,permItem:u,children:v.jsx("li",{"data-testid":"sidebar-list-item",className:ee(ot.menuItem,{[ot.selected]:g,[ot.subMenuWrap]:h}),onMouseEnter:()=>{h&&n&&a(c)},onMouseLeave:()=>{h&&n&&a(void 0)},children:h?v.jsxs("div",{className:ee({[ot.opened]:f}),children:[v.jsxs("span",{onClick:()=>{n||a(f?void 0:c)},children:[v.jsx(Qs,{to:o,title:c,icon:l,visibleTooltip:!1}),!n&&v.jsx("span",{className:ee(ot.arrow,{[ot.up]:f}),children:v.jsx(Pe,{name:Ve.DownArrow})})]}),f&&v.jsx("ul",{className:ee(ot.subMenu,{[ot.hover]:n}),"data-testid":"sidebar-submenu-list",children:h==null?void 0:h.map(m=>{var A,y;const b=m.to&&((y=r==null?void 0:r.replaceAll("/",""))==null?void 0:y.includes((A=m==null?void 0:m.to)==null?void 0:A.replaceAll("/","")));return v.jsx(yd,{permType:m.permType,permItem:m.permItem,children:v.jsx("li",{"data-testid":"sidebar-submenu-list-item",onClick:()=>{m.onClick&&m.onClick(),n&&a(void 0)},className:ee(ot.menuItem,{[ot.selected]:b||(m==null?void 0:m.isItemSelected)}),children:v.jsx(Qs,{to:m.to,title:m.title,visibleTooltip:!1})})},m.to)})})]}):v.jsx(Qs,{to:o,title:c,icon:l,visibleTooltip:n})})},c)})})})},iee="_wrapper_1aejq_1",ree="_statusSubText_1aejq_7",see="_spinContainer_1aejq_15",aee="_postfixSpinner_1aejq_15",oee="_spinner_1aejq_20",lee="_warning_1aejq_27",cee="_danger_1aejq_31",uee="_success_1aejq_35",dee="_initializing_1aejq_39",fee="_pending_1aejq_43",hee="_failed_1aejq_47",gee="_queued_1aejq_51",pee="_passed_1aejq_55",$t={wrapper:iee,statusSubText:ree,spinContainer:see,postfixSpinner:aee,spinner:oee,warning:lee,danger:cee,success:uee,initializing:dee,pending:fee,failed:hee,queued:gee,passed:pee};var ec=(n=>(n.addons_initializing="initializing",n.addons_initialization_failed="failed",n.deploying="warning",n.failed="failed",n.deployed="success",n.completed="success",n.initializing="initializing",n.initialization_failed="failed",n.queueing="warning",n.queued="queued",n.pending="pending",n.passed="passed",n))(ec||{});const mee=n=>{const{text:t,type:e=nc.ADDONS_INITIALIZING,extra:i,spin:r,condition:s,spinnerLocation:a="back"}=n,o=t&&t.replace(/\_/g," ");return v.jsx("p",{"data-testid":"statustypography",className:ee($t.wrapper,[$t[ec[e]]]),children:s?v.jsxs(v.Fragment,{children:[v.jsxs("span",{className:$t.spinContainer,children:[r&&a==="front"&&v.jsx(Pi,{className:ee($t.spinner),layer:!1}),o,r&&a==="back"&&v.jsx(Pi,{className:ee($t.spinner,$t.postfixSpinner),layer:!1})]}),v.jsx("p",{className:$t.statusSubText,children:i})]}):ec[e]==="warning"&&r?v.jsxs("span",{className:$t.spinContainer,children:[v.jsx(Pi,{className:$t.spinner,layer:!1}),o]}):v.jsx("span",{className:$t.spinContainer,children:o})})},bee="_container_12lwx_1",vee="_complete_12lwx_16",yee="_active_12lwx_39",el={container:bee,complete:vee,active:yee},Aee=({items:n,selected:t=0,selectAll:e,renderAnchor:i=!0,onChange:r,wrapperClass:s})=>{let a=!0;const o=({index:c,title:u,customIndexItem:d})=>v.jsxs("a",{href:`#step-${c}`,onClick:h=>r&&r(c,h),children:[d||(t>c?v.jsx("span",{children:v.jsx(Pe,{name:Ve.Check})}):v.jsx("span",{children:c+1})),u]}),l=({index:c,title:u,customIndexItem:d,to:h})=>v.jsxs(au,{to:h,onClick:g=>r&&r(c,g),children:[d||(t>c?v.jsx("span",{children:v.jsx(Pe,{name:Ve.Check})}):v.jsx("span",{children:c+1})),u]});return v.jsx("div",{className:ee(el.container,s),"data-testid":"stepper-container",children:v.jsx("ul",{"data-testid":"stepper-list",children:n.map(({title:c,customIndexItem:u,activeClass:d,completeClass:h,to:g},f)=>{e&&(a=!0);const p=f===t;return!e&&p&&(a=!1),v.jsx("li",{"data-testid":"stepper-list-item",className:ee({[el.active]:p,[el.complete]:a,[d]:p,[h]:a}),children:i?o({index:f,title:c,customIndexItem:u}):l({index:f,title:c,customIndexItem:u,to:g})},`stepper-item-${f}`)})})})},Cee="_checked_ptgnt_14",Iee="_disabled_ptgnt_17",wee="_slider_ptgnt_21",xee="_round_ptgnt_75",_ee="_active_ptgnt_83",kee="_passive_ptgnt_87",On={switch:"_switch_ptgnt_1",checked:Cee,disabled:Iee,slider:wee,round:xee,active:_ee,passive:kee},Eee=E.forwardRef(({name:n,label:t,className:e,isDisabled:i,value:r,onChange:s,onLabelClick:a,checkedChildren:o,unCheckedChildren:l,...c},u)=>{const[d,h]=E.useState(r),{t:g}=yt();E.useEffect(()=>{!c.readOnly&&!i&&r!==void 0&&s&&s(d)},[d,r]),E.useEffect(()=>{r&&h(r)},[r]);const f=()=>{!i&&!c.readOnly&&h(!d),!i&&a&&a(!d)};return v.jsxs("div",{className:ee(On.container,e),"data-testid":"switch-container",children:[t&&v.jsx(an,{name:n,children:t}),v.jsx("div",{className:On.block,children:v.jsxs("label",{className:ee(On.switch,{[On.checked]:d,[On.disabled]:i}),htmlFor:n,onClick:()=>f(),children:[v.jsx("input",{type:"checkbox",name:n,value:r,"data-testid":"switch-input",ref:u,checked:d,readOnly:!0,...c}),v.jsx("span",{className:On.slider,children:v.jsx("span",{className:ee({[On.active]:d,[On.passive]:!d}),children:d?o||g("text.active"):l||g("text.passive")})})]})})]})}),See="_tabContainer_1tklp_1",Ree="_titleWrapper_1tklp_4",Mee="_isActive_1tklp_11",Dee="_title_1tklp_4",zs={tabContainer:See,titleWrapper:Ree,isActive:Mee,title:Dee};function Bee({items:n,selected:t,onChange:e}){return v.jsx("div",{className:zs.tabContainer,"data-testid":"tab-container",children:n.map((i,r)=>{const s=t==r;return v.jsx(v.Fragment,{children:v.jsx("div",{"data-testid":"tab-item",onClick:()=>e&&e(r),className:ee(zs.titleWrapper,{[zs.isActive]:s}),children:v.jsx("div",{title:i.title,className:ee(zs.title),"data-testid":"tab-title",children:i.title})},r)})})})}const Gee="_wrapper_1n4i1_1",Oee="_header_1n4i1_4",Nee="_title_1n4i1_7",Tee="_subTitle_1n4i1_13",Lee="_table_1n4i1_18",jee="_fixed_1n4i1_24",Pee="_light_1n4i1_50",Fee="_fixedHeader_1n4i1_55",Hee="_dark_1n4i1_65",zee="_tableWrap_1n4i1_68",Zee="_actionWrap_1n4i1_113",Yee="_tableLoading_1n4i1_117",Wee="_selectedAction_1n4i1_127",Xee="_rightGroup_1n4i1_134",Vee="_pageSizeWrap_1n4i1_138",Jee="_pager_1n4i1_148",Qee="_size_1n4i1_152",Uee="_noResult_1n4i1_156",Kee="_scrollWrap_1n4i1_165",qee="_justifyContentEnd_1n4i1_169",$ee="_width100_1n4i1_173",tt={wrapper:Gee,header:Oee,title:Nee,subTitle:Tee,table:Lee,fixed:jee,light:Pee,fixedHeader:Fee,dark:Hee,tableWrap:zee,actionWrap:Zee,tableLoading:Yee,selectedAction:Wee,rightGroup:Xee,pageSizeWrap:Vee,pager:Jee,size:Qee,noResult:Uee,scrollWrap:Kee,justifyContentEnd:qee,width100:$ee},ete=[{value:"10",label:"10"},{value:"20",label:"20"},{value:"50",label:"50"},{value:"100",label:"100"},{value:"250",label:"250"}],tc=({totalCount:n=0,currentPage:t,title:e,actionOnChange:i,className:r,pagerOnChange:s,pageSizeOnChange:a,pagerVisible:o=!0,pageSizeVisible:l=!0,pageSize:c=10,actionItems:u,pageSizeItems:d=ete,headerLeftItem:h,appearance:g,showItemsText:f})=>{const{t:p}=yt(),[m,b]=E.useState(!0),[A,y]=E.useState({label:c,value:c}),w=_=>[{value:"exportexel",label:_("text.excel_export")}],C=_=>{b(!_),i&&i(_)};return u=u||w(p),E.useEffect(()=>{y({label:c,value:c})},[c]),v.jsxs("div",{"data-testid":"tableheader-container",className:ee(tt.header,r,{"d-flex justify-content-between":e&&!i,"d-flex justify-content-end":!e&&!i}),children:[e&&v.jsxs("div",{children:[v.jsx(Gc,{className:tt.title,children:e}),v.jsxs("p",{className:tt.subTitle,children:[n," ",p("text.results_listing")]})]}),v.jsx("div",{className:ee(tt.actionWrap,{[tt.justifyContentEnd]:!h,[tt.width100]:h}),children:v.jsxs(v.Fragment,{children:[i&&v.jsxs("div",{className:tt.selectedAction,children:[v.jsx(xa,{name:"action",items:u,appearance:Ks.LIGHT,onChange:C}),v.jsx(es,{appearance:pi.PRIMARY,isDisabled:m,children:p("button.apply")})]}),h&&h,v.jsxs("div",{className:tt.rightGroup,children:[l&&v.jsxs("div",{className:tt.pageSizeWrap,children:[v.jsx(xa,{name:"action",value:A,items:d,className:tt.size,showPlaceholder:!1,onAddItem:({item:_})=>{y(_),a&&a(_.value)},appearance:Ks.LIGHT}),v.jsx("span",{children:v.jsx(xy,{i18nKey:"text.show",values:{title:f||e}})})]}),o&&n>0&&v.jsx(xb,{currentPage:t,pageSize:c,totalCount:n,onChange:s,appearance:g,className:tt.pager})]})]})})]})},tte=n=>{const{columns:t=[],dataSource:e=[],totalCount:i,currentPage:r,className:s,wrapperClass:a,title:o,rowSelection:l=!1,actionOnChange:c,rowSelectionChange:u,pagerVisible:d,pagerOnChange:h,pageSizeOnChange:g,pageSize:f,headerVisible:p=!0,headerLeftItem:m,isLoading:b=!1,footerAction:A=!0,pageSizeVisible:y=!0,appearance:w=zn.LIGHT,fixedHeader:C,showItemsText:_,customHeader:S,selectedItems:z=[],scrollClass:R,disabledItems:T=[]}=n,[x,O]=E.useState(z),B=F=>{u&&(F.target.checked?(O(e.filter(P=>!Oi(P,T))),u(e.filter(P=>!Oi(P,T)))):(O([]),u([])))},L=(F,P)=>{u&&(F.target.checked?(O([...x,P]),u([...x,P])):(O(ud(V=>V.pk!==P.pk,x)),u(ud(V=>V.pk!==P.pk,x))))},G=(F,P)=>F==null?void 0:F.map((V,te)=>V.permItem&&V.permType?v.jsx("td",{width:V.width,onClick:Z=>{V!=null&&V.onClick&&(V==null||V.onClick(Z,P,V,te))},className:ee(V.className,V.tdClassName),children:v.jsx(Gp,{id:V.dataIndex,permItem:V.permItem,permType:V.permType,children:V.render?V.render(P[V.dataIndex],P):P[V.dataIndex]})},`col-${te}`):v.jsx("td",{width:V.width,onClick:Z=>{V!=null&&V.onClick&&(V==null||V.onClick(Z,P,V,te))},className:ee(V.className,V.tdClassName),children:V.render?V.render(P[V.dataIndex],P):P[V.dataIndex]},`col-${te}`));return E.useEffect(()=>{u&&u(z.filter(F=>!Oi(F,T)))},[x,T]),v.jsxs("div",{"data-testid":"table-container",className:ee(tt.wrapper,a,{[tt[`${w}`]]:w}),children:[p&&v.jsx(tc,{title:o,showItemsText:_,actionOnChange:c,pageSize:f,pageSizeOnChange:g,pagerOnChange:h,pagerVisible:d,totalCount:i,currentPage:r}),v.jsxs("div",{className:tt.tableWrap,children:[b&&v.jsx(Pi,{wrapperClass:tt.tableLoading,appearance:w===zn.LIGHT?Us.LIGHT:Us.DARK}),S&&S,v.jsx(Pa,{className:R||tt.scrollWrap,children:v.jsxs("table",{"data-testid":"table-content",className:ee(tt.table,s,{[tt.fixed]:C}),children:[v.jsx("thead",{"data-testid":"table-head",children:v.jsxs("tr",{"data-testid":"table-row",children:[l&&v.jsx("th",{style:{width:26},children:v.jsx(Hl,{name:"selectAll",isDisabled:e.length===0,checked:e.length>0&&e.length===x.length,onChange:B})}),t==null?void 0:t.map((F,P)=>{var V;return v.jsx("th",{"data-testid":"table-head-item",style:{width:F.width},className:F.className,children:typeof F.title=="string"||F.title instanceof String?(V=F.title)==null?void 0:V.toString().toLocaleUpperCase():F.title},`table-header-${P}`)})]})}),v.jsx("tbody",{"data-testid":"table-body",children:e.length>0?e.map((F,P)=>v.jsxs("tr",{children:[l&&v.jsx("td",{children:v.jsx(Hl,{checked:Oi(F,x),name:`select-${P}`,onChange:V=>L(V,F),isDisabled:Oi(F,T)})}),G(t,F)]},`row-${P}`)):v.jsx("tr",{children:v.jsx("td",{colSpan:t.length+1,children:v.jsx(cu,{})})})})]})})]}),A&&v.jsx(tc,{className:"mt-0",showItemsText:_,actionOnChange:c,pageSize:f,pageSizeOnChange:g,pagerOnChange:h,pagerVisible:d,pageSizeVisible:y,totalCount:i,headerLeftItem:m,currentPage:r,appearance:w})]})},nte="_counter_1tkwv_1",ite="_container_1tkwv_10",rte="_fieldWrap_1tkwv_10",ste="_control_1tkwv_16",ate="_light_1tkwv_31",ote="_error_1tkwv_38",lte="_disabled_1tkwv_45",Nn={counter:nte,container:ite,fieldWrap:rte,control:ste,light:ate,error:ote,disabled:lte,"size-small":"_size-small_1tkwv_49"},cte=E.forwardRef((n,t)=>{const{name:e,id:i,label:r,isDisabled:s,className:a,wrapperClassName:o,maxLength:l,appearance:c,value:u="",size:d,onChange:h,error:g,readOnly:f,required:p,rows:m=5,...b}=n,[A,y]=E.useState(u),w=_=>_.slice(0,l),C=E.useCallback(_=>{y(w(_)),h&&h(w(_))},[l,y]);return E.useEffect(()=>{y(w(u))},[u]),v.jsxs("div",{"data-testid":"textarea-container",className:ee(Nn.container,{[Nn[`${c}`]]:c,[Nn.error]:g,[Nn.disabled]:s},"form-group",o),children:[v.jsxs("div",{className:Nn.counter,children:[r&&v.jsxs(an,{name:e,appearance:c,children:[r," ",p&&"*"]}),l&&v.jsxs("span",{children:[A?A.toString().length:0,"/",l]})]}),v.jsx("div",{className:Nn.fieldWrap,children:v.jsx("textarea",{name:e,id:i,className:ee(Nn.control,a,{[Nn[`size-${d}`]]:d}),disabled:s,"data-testid":"textarea-input",rows:m,ref:t,readOnly:f,onChange:_=>C(_.currentTarget.value),value:A,...b})}),g&&v.jsx(vi,{...g})]})});function ute(n){const[t,e]=E.useState(!!n),i=E.useCallback(()=>{e(!0)},[]),r=E.useCallback(()=>{e(!1)},[]),s=E.useCallback(()=>{e(a=>!a)},[]);return{isOpen:t,setIsOpen:e,onOpen:i,onClose:r,onToggle:s}}function dte({children:n}){return v.jsxs(v.Fragment,{children:[v.jsx(Sa.Provider,{children:n}),v.jsx(ou,{limit:3})]})}exports.Accordion=DV;exports.AccordionItem=MV;exports.ActionButton=HV;exports.AlertCard=WV;exports.AppAndServicesStatusApperenceType=nc;exports.AppTypeEnum=eg;exports.AppearanceAlertCard=rc;exports.AppearanceButton=pi;exports.AppearanceDirection=$i;exports.AppearanceSpinner=Us;exports.AppearanceTag=Jh;exports.ApplicationTypeSlug=Qh;exports.AuthProvider=ty;exports.Autocomplete=d5;exports.Button=es;exports.Card=y5;exports.Chart=d7;exports.Checkbox=Hl;exports.Column=e8;exports.Config=v7;exports.Confirm=R7;exports.ContentHeader=F7;exports.ContentLoader=Fm;exports.CopyTextStatusEnum=$h;exports.Countdown=H7;exports.Datepicker=o6;exports.Divider=d6;exports.DividerAppearance=ic;exports.DropdownList=lq;exports.FileUpload=Ab;exports.FileUploadImagePreview=vb;exports.FileUploadLengthCard=bb;exports.FileUploadPreviewModal=yb;exports.FormFieldAppearance=Ks;exports.Heading=Gc;exports.Icon=Pe;exports.InfiniteScroll=Cb;exports.InfoBoxList=g8;exports.InfoDate=wb;exports.InfoText=y8;exports.Input=ja;exports.Label=an;exports.Loading=Pi;exports.MenuItem=Qs;exports.Modal=qa;exports.ModalAppearanceType=Vh;exports.NavigatorCard=E8;exports.NiceModal=Sa;exports.NoResult=cu;exports.Notification=lu;exports.NotificationAppearanceType=_a;exports.PageWrapper=D8;exports.Pager=xb;exports.Panel=X8;exports.PermFallBack=kV;exports.PermaLink=qi;exports.Permission=Gp;exports.PodStatusEnum=ig;exports.Provider=dte;exports.Radio=_b;exports.RadioList=q8;exports.ReportStatus=tg;exports.ResultError=dg;exports.Row=t8;exports.ScrollContainer=Pa;exports.Select=xa;exports.Sidebar=nee;exports.Size=Kh;exports.StatusEnum=ng;exports.StatusType=qh;exports.StatusTypography=mee;exports.Stepper=Aee;exports.Switch=Eee;exports.Tab=Bee;exports.Table=tte;exports.TableHeader=tc;exports.Textarea=cte;exports.ThemeAppearance=zn;exports.Tooltip=fi;exports.TypographyText=Ib;exports.ValidationError=vi;exports.changeLanguage=K7;exports.getAuth=Ec;exports.getCurrentLanguage=eu;exports.getDatepickerLocale=q7;exports.i18n=Xi;exports.isActiveColor=Uh;exports.t=bl;exports.useAuth=uc;exports.useDisclosure=ute;exports.useNiceModal=Tm;
294
+ `},";cursor:pointer;svg{width:16px;height:16px;}:hover{path{stroke:",function(l){var c=l.color;return c},";}}:focus{outline:none;path{stroke:",function(l){var c=l.color;return c},";}}"+(process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb21wb25lbnRzL0Ryb3Bkb3duSGFuZGxlLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXdCMEMiLCJmaWxlIjoiLi4vLi4vc3JjL2NvbXBvbmVudHMvRHJvcGRvd25IYW5kbGUuanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1w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NC0xMC40cS4zLS4yLjYtLjJ0LjUuMmwxMC40IDEwLjRxLjIuMi4yLjV6XCIgLz5cbiAgICAgIDwvc3ZnPlxuICAgICl9XG4gIDwvRHJvcGRvd25IYW5kbGVDb21wb25lbnQ+XG4pO1xuXG5jb25zdCBEcm9wZG93bkhhbmRsZUNvbXBvbmVudCA9IHN0eWxlZC5kaXZgXG4gIHRleHQtYWxpZ246IGNlbnRlcjtcbiAgJHsoeyBkcm9wZG93bk9wZW4sIHJvdGF0ZSB9KSA9PlxuICAgIGRyb3Bkb3duT3BlblxuICAgICAgPyBgXG4gICAgICBwb2ludGVyLWV2ZW50czogYWxsO1xuICAgICAgJHtyb3RhdGUgPyAndHJhbnNmb3JtOiByb3RhdGUoMGRlZyk7bWFyZ2luOiAwcHggMCAtM3B4IDVweDsnIDogJyd9XG4gICAgICBgXG4gICAgICA6IGBcbiAgICAgIHBvaW50ZXItZXZlbnRzOiBub25lO1xuICAgICAgJHtyb3RhdGUgPyAnbWFyZ2luOiAwIDAgMCA1cHg7dHJhbnNmb3JtOiByb3RhdGUoMTgwZGVnKTsnIDogJyd9XG4gICAgICBgfTtcbiAgY3Vyc29yOiBwb2ludGVyO1xuXG4gIHN2ZyB7XG4gICAgd2lkdGg6IDE2cHg7XG4gICAgaGVpZ2h0OiAxNnB4O1xuICB9XG5cbiAgOmhvdmVyIHtcbiAgICBwYXRoIHtcbiAgICAgIHN0cm9rZTogJHsoeyBjb2xvciB9KSA9PiBjb2xvcn07XG4gICAgfVxuICB9XG5cbiAgOmZvY3VzIHtcbiAgICBvdXRsaW5lOiBub25lO1xuXG4gICAgcGF0aCB7XG4gICAgICBzdHJva2U6ICR7KHsgY29sb3IgfSkgPT4gY29sb3J9O1xuICAgIH1cbiAgfVxuYDtcblxuZXhwb3J0IGRlZmF1bHQgRHJvcGRvd25IYW5kbGU7XG4iXX0= */")),o=s;n.default=o})(Wb);(function(n){n.__esModule=!0,n.default=n.Select=void 0;var t=p(Kt),e=f(E),i=p(Xh);p(is);var r=p(Nb),s=p(Tb),a=p(Pb),o=p(zb),l=p(Zb),c=p(Yb),u=p(Wb),d=Ci,h=Pt;function g(){if(typeof WeakMap!="function")return null;var S=new WeakMap;return g=function(){return S},S}function f(S){if(S&&S.__esModule)return S;if(S===null||typeof S!="object"&&typeof S!="function")return{default:S};var z=g();if(z&&z.has(S))return z.get(S);var R={},T=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in S)if(Object.prototype.hasOwnProperty.call(S,x)){var O=T?Object.getOwnPropertyDescriptor(S,x):null;O&&(O.get||O.set)?Object.defineProperty(R,x,O):R[x]=S[x]}return R.default=S,z&&z.set(S,R),R}function p(S){return S&&S.__esModule?S:{default:S}}function m(){return m=Object.assign||function(S){for(var z,R=1;R<arguments.length;R++)for(var T in z=arguments[R],z)Object.prototype.hasOwnProperty.call(z,T)&&(S[T]=z[T]);return S},m.apply(this,arguments)}function b(S){if(S===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return S}function A(S,z){S.prototype=Object.create(z.prototype),S.prototype.constructor=S,S.__proto__=z}function y(S,z,R){return z in S?Object.defineProperty(S,z,{value:R,enumerable:!0,configurable:!0,writable:!0}):S[z]=R,S}var w=function(S){function z(T){var x;return x=S.call(this,T)||this,y(b(x),"onDropdownClose",function(){x.setState({cursor:null}),x.props.onDropdownClose()}),y(b(x),"onScroll",function(){x.props.closeOnScroll&&x.dropDown("close"),x.updateSelectBounds()}),y(b(x),"updateSelectBounds",function(){return x.select.current&&x.setState({selectBounds:x.select.current.getBoundingClientRect()})}),y(b(x),"getSelectBounds",function(){return x.state.selectBounds}),y(b(x),"dropDown",function(O,B,L){O===void 0&&(O="toggle"),L===void 0&&(L=!1);var G=B&&B.target||B&&B.srcElement;return x.props.onDropdownCloseRequest!==void 0&&x.state.dropdown&&L===!1&&O==="close"?x.props.onDropdownCloseRequest({props:x.props,methods:x.methods,state:x.state,close:function(){return x.dropDown("close",null,!0)}}):x.props.portal&&!x.props.closeOnScroll&&!x.props.closeOnSelect&&B&&G&&G.offsetParent&&G.offsetParent.classList.contains("react-dropdown-select-dropdown")?void 0:x.props.keepOpen?x.setState({dropdown:!0}):O==="close"&&x.state.dropdown?(x.select.current.blur(),x.setState({dropdown:!1,search:x.props.clearOnBlur?"":x.state.search,searchResults:x.props.options})):O!=="open"||x.state.dropdown?O==="toggle"&&(x.select.current.focus(),x.setState({dropdown:!x.state.dropdown})):x.setState({dropdown:!0})}),y(b(x),"getSelectRef",function(){return x.select.current}),y(b(x),"addItem",function(O){if(x.props.multi){if((0,d.valueExistInSelected)((0,d.getByPath)(O,x.props.valueField),x.state.values,x.props))return x.removeItem(null,O,!1);x.setState({values:[].concat(x.state.values,[O])})}else x.setState({values:[O],dropdown:!1});return x.props.clearOnSelect&&x.setState({search:""}),!0}),y(b(x),"removeItem",function(O,B,L){L===void 0&&(L=!1),O&&L&&(O.preventDefault(),O.stopPropagation(),x.dropDown("close")),x.setState({values:x.state.values.filter(function(G){return(0,d.getByPath)(G,x.props.valueField)!==(0,d.getByPath)(B,x.props.valueField)})})}),y(b(x),"setSearch",function(O){x.setState({cursor:null}),x.setState({search:O.target.value},function(){x.setState({searchResults:x.searchResults()})})}),y(b(x),"getInputSize",function(){return x.state.search?x.state.search.length:0<x.state.values.length?x.props.addPlaceholder.length:x.props.placeholder.length}),y(b(x),"toggleSelectAll",function(){return x.setState({values:x.state.values.length===0?x.selectAll():x.clearAll()})}),y(b(x),"clearAll",function(){x.props.onClearAll(),x.setState({values:[]})}),y(b(x),"selectAll",function(O){O===void 0&&(O=[]),x.props.onSelectAll();var B=0<O.length?O:x.props.options.filter(function(L){return!L.disabled});x.setState({values:B})}),y(b(x),"isSelected",function(O){return!!x.state.values.find(function(B){return(0,d.getByPath)(B,x.props.valueField)===(0,d.getByPath)(O,x.props.valueField)})}),y(b(x),"areAllSelected",function(){return x.state.values.length===x.props.options.filter(function(O){return!O.disabled}).length}),y(b(x),"safeString",function(O){return O.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}),y(b(x),"sortBy",function(){var O=x.props,B=O.sortBy,L=O.options;return B&&L.sort(function(G,F){return(0,d.getProp)(G,B)<(0,d.getProp)(F,B)?-1:(0,d.getProp)(G,B)>(0,d.getProp)(F,B)?1:0}),L}),y(b(x),"searchFn",function(O){var B=O.state,L=O.methods,G=new RegExp(L.safeString(B.search),"i");return L.sortBy().filter(function(F){return G.test((0,d.getByPath)(F,x.props.searchBy)||(0,d.getByPath)(F,x.props.valueField))})}),y(b(x),"searchResults",function(){var O={state:x.state,props:x.props,methods:x.methods};return x.props.searchFn(O)||x.searchFn(O)}),y(b(x),"activeCursorItem",function(O){return x.setState({activeCursorItem:O})}),y(b(x),"handleKeyDown",function(O){var B={event:O,state:x.state,props:x.props,methods:x.methods,setState:x.setState.bind(b(x))};return x.props.handleKeyDownFn(B)||x.handleKeyDownFn(B)}),y(b(x),"handleKeyDownFn",function(O){var B=O.event,L=O.state,G=O.props,F=O.methods,P=O.setState,V=L.cursor,te=L.searchResults,Z=B.key==="Escape",W=B.key==="Enter",H=B.key==="ArrowUp",j=B.key==="ArrowDown",Y=B.key==="Backspace",J=B.key==="Tab"&&!B.shiftKey,D=B.shiftKey&&B.key==="Tab";if(j&&!L.dropdown)return B.preventDefault(),x.dropDown("open"),P({cursor:0});if((j||J&&L.dropdown)&&V===null)return P({cursor:0});if((H||j||D&&L.dropdown||J&&L.dropdown)&&B.preventDefault(),Z&&x.dropDown("close"),W){var Q=te[V];if(Q&&!Q.disabled){if(G.create&&(0,d.valueExistInSelected)(L.search,L.values,G))return null;F.addItem(Q)}}return(j||J&&L.dropdown)&&te.length===V?P({cursor:0}):((j||J&&L.dropdown)&&P(function(X){return{cursor:X.cursor+1}}),(H||D&&L.dropdown)&&0<V&&P(function(X){return{cursor:X.cursor-1}}),(H||D&&L.dropdown)&&V===0&&P({cursor:te.length}),void(Y&&G.backspaceDelete&&x.getInputSize()===0&&x.setState({values:x.state.values.slice(0,-1)})))}),y(b(x),"renderDropdown",function(){return x.props.portal?i.default.createPortal(e.default.createElement(a.default,{props:x.props,state:x.state,methods:x.methods}),x.dropdownRoot):e.default.createElement(a.default,{props:x.props,state:x.state,methods:x.methods})}),y(b(x),"createNew",function(O){var B,L=(B={},B[x.props.labelField]=O,B[x.props.valueField]=O,B);x.addItem(L),x.props.onCreateNew(L),x.setState({search:""})}),x.state={dropdown:!1,values:T.values,search:"",selectBounds:{},cursor:null,searchResults:T.options},x.methods={removeItem:x.removeItem,dropDown:x.dropDown,addItem:x.addItem,setSearch:x.setSearch,getInputSize:x.getInputSize,toggleSelectAll:x.toggleSelectAll,clearAll:x.clearAll,selectAll:x.selectAll,searchResults:x.searchResults,getSelectRef:x.getSelectRef,isSelected:x.isSelected,getSelectBounds:x.getSelectBounds,areAllSelected:x.areAllSelected,handleKeyDown:x.handleKeyDown,activeCursorItem:x.activeCursorItem,createNew:x.createNew,sortBy:x.sortBy,safeString:x.safeString},x.select=e.default.createRef(),x.dropdownRoot=typeof document<"u"&&document.createElement("div"),x}A(z,S);var R=z.prototype;return R.componentDidMount=function(){this.props.portal&&this.props.portal.appendChild(this.dropdownRoot),(0,d.isomorphicWindow)().addEventListener("resize",(0,d.debounce)(this.updateSelectBounds)),(0,d.isomorphicWindow)().addEventListener("scroll",(0,d.debounce)(this.onScroll)),this.dropDown("close"),this.select&&this.updateSelectBounds()},R.componentDidUpdate=function(x,O){var B=this;!this.props.compareValuesFunc(x.values,this.props.values)&&this.props.compareValuesFunc(x.values,O.values)&&(this.setState({values:this.props.values},function(){B.props.onChange(B.state.values)}),this.updateSelectBounds()),x.options!==this.props.options&&this.setState({searchResults:this.searchResults()}),O.values!==this.state.values&&(this.props.onChange(this.state.values),this.updateSelectBounds()),O.search!==this.state.search&&this.updateSelectBounds(),O.values!==this.state.values&&this.props.closeOnSelect&&this.dropDown("close"),x.multi!==this.props.multi&&this.updateSelectBounds(),O.dropdown&&O.dropdown!==this.state.dropdown&&this.onDropdownClose(),O.dropdown||O.dropdown===this.state.dropdown||this.props.onDropdownOpen()},R.componentWillUnmount=function(){this.props.portal&&this.props.portal.removeChild(this.dropdownRoot),(0,d.isomorphicWindow)().removeEventListener("resize",(0,d.debounce)(this.updateSelectBounds,this.props.debounceDelay)),(0,d.isomorphicWindow)().removeEventListener("scroll",(0,d.debounce)(this.onScroll,this.props.debounceDelay))},R.render=function(){var x=this;return e.default.createElement(r.default,{onClickOutside:function(B){return x.dropDown("close",B)}},e.default.createElement(C,m({onKeyDown:this.handleKeyDown,"aria-label":"Dropdown select","aria-expanded":this.state.dropdown,onClick:function(B){return x.dropDown("open",B)},tabIndex:this.props.disabled?"-1":"0",direction:this.props.direction,style:this.props.style,ref:this.select,disabled:this.props.disabled,className:h.LIB_NAME+" "+this.props.className,color:this.props.color},this.props.additionalProps),e.default.createElement(s.default,{props:this.props,state:this.state,methods:this.methods}),(this.props.name||this.props.required)&&e.default.createElement("input",{tabIndex:-1,style:{opacity:0,width:0,position:"absolute"},name:this.props.name,required:this.props.required,pattern:this.props.pattern,defaultValue:this.state.values.map(function(O){return O[x.props.labelField]}).toString()||[],disabled:this.props.disabled}),this.props.loading&&e.default.createElement(o.default,{props:this.props}),this.props.clearable&&e.default.createElement(l.default,{props:this.props,state:this.state,methods:this.methods}),this.props.separator&&e.default.createElement(c.default,{props:this.props,state:this.state,methods:this.methods}),this.props.dropdownHandle&&e.default.createElement(u.default,{onClick:function(){return x.select.current.focus()},props:this.props,state:this.state,methods:this.methods}),this.state.dropdown&&!this.props.disabled&&this.renderDropdown()))},z}(e.Component);n.Select=w,w.defaultProps={addPlaceholder:"",placeholder:"Select...",values:[],options:[],multi:!1,disabled:!1,searchBy:"label",sortBy:null,clearable:!1,searchable:!0,dropdownHandle:!0,separator:!1,keepOpen:void 0,noDataLabel:"No data",createNewLabel:"add {search}",disabledLabel:"disabled",dropdownGap:5,closeOnScroll:!1,debounceDelay:0,labelField:"label",valueField:"value",color:"#0074D9",keepSelectedInList:!0,closeOnSelect:!1,clearOnBlur:!0,clearOnSelect:!0,dropdownPosition:"bottom",dropdownHeight:"300px",autoFocus:!1,portal:null,create:!1,direction:"ltr",name:null,required:!1,pattern:void 0,onChange:function(){},onDropdownOpen:function(){},onDropdownClose:function(){},onDropdownCloseRequest:void 0,onClearAll:function(){},onSelectAll:function(){},onCreateNew:function(){},searchFn:function(){},handleKeyDownFn:function(){},additionalProps:null,backspaceDelete:!0,compareValuesFunc:d.isEqual};var C=(0,t.default)("div",{target:"e1gzf2xs0",label:"ReactDropdownSelect"})("box-sizing:border-box;position:relative;display:flex;border:1px solid #ccc;width:100%;border-radius:2px;padding:2px 5px;flex-direction:row;direction:",function(S){var z=S.direction;return z},";align-items:center;cursor:pointer;min-height:36px;",function(S){var z=S.disabled;return z?"cursor: not-allowed;pointer-events: none;opacity: 0.3;":"pointer-events: all;"},":hover,:focus-within{border-color:",function(S){var z=S.color;return z},";}:focus,:focus-within{outline:0;box-shadow:0 0 0 3px ",function(S){var z=S.color;return(0,d.hexToRGBA)(z,.2)},";}*{box-sizing:border-box;}"+(process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUE0bEJzQyIsImZpbGUiOiIuLi9zcmMvaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QsIHsgQ29tcG9uZW50IH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IFJlYWN0RE9NIGZyb20gJ3JlYWN0LWRvbSc7XG5pbXBvcnQgUHJvcFR5cGVzIGZyb20gJ3Byb3AtdHlwZXMnO1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IENsaWNrT3V0c2lkZSBmcm9tICcuL2NvbXBvbmVudHMvQ2xpY2tPdXRzaWRlJztcblxuaW1wb3J0IENvbnRlb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ICAgICAgICAgICAgPGlucHV0XG4gICAgICAgICAgICAgIHRhYkluZGV4PXstMX1cbiAgICAgICAgICAgICAgc3R5bGU9e3sgb3BhY2l0eTogMCwgd2lkdGg6IDAsIHBvc2l0aW9uOiAnYWJzb2x1dGUnIH19XG4gICAgICAgICAgICAgIG5hbWU9e3RoaXMucHJvcHMubmFtZX1cbiAgICAgICAgICAgICAgcmVxdWlyZWQ9e3RoaXMucHJvcHMucmVxdWlyZWR9XG4gICAgICAgICAgICAgIHBhdHRlcm49e3RoaXMucHJvcHMucGF0dGVybn1cbiAgICAgICAgICAgICAgZGVmYXVsdFZhbHVlPXtcbiAgICAgICAgICAgICAgICB0aGlzLnN0YXRlLnZhbHVlcy5tYXAoKHZhbHVlKSA9PiB2YWx1ZVt0aGlzLnByb3BzLmxhYmVsRmllbGRdKS50b1N0cmluZygpIHx8IFtdXG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgZGlzYWJsZWQ9e3RoaXMucHJvcHMuZGlzYWJsZWR9XG4gICAgICAgICAgICAvPlxuICAgICAgICAgICl9XG5cbiAgICAgICAgICB7dGhpcy5wcm9wcy5sb2FkaW5nICYmIDxMb2FkaW5nIHByb3BzPXt0aGlzLnByb3BzfSAvPn1cblxuICAgICAgICAgIHt0aGlzLnByb3BzLmNsZWFyYWJsZSAmJiAoXG4gICAgICAgICAgICA8Q2xlYXIgcHJvcHM9e3RoaXMucHJvcHN9IHN0YXRlPXt0aGlzLnN0YXRlfSBtZXRob2RzPXt0aGlzLm1ldGhvZHN9IC8+XG4gICAgICAgICAgKX1cblxuICAgICAgICAgIHt0aGlzLnByb3BzLnNlcGFyYXRvciAmJiAoXG4gICAgICAgICAgICA8U2VwYXJhdG9yIHByb3BzPXt0aGlzLnByb3BzfSBzdGF0ZT17dGhpcy5zdGF0ZX0gbWV0aG9kcz17dGhpcy5tZXRob2RzfSAvPlxuICAgICAgICAgICl9XG5cbiAgICAgICAgICB7dGhpcy5wcm9wcy5kcm9wZG93b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A9IHN0eWxlZC5kaXZgXG4gIGJveC1zaXppbmc6IGJvcmRlci1ib3g7XG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgZGlzcGxheTogZmxleDtcbiAgYm9yZGVyOiAxcHggc29saWQgI2NjYztcbiAgd2lkdGg6IDEwMCU7XG4gIGJvcmRlci1yYWRpdXM6IDJweDtcbiAgcGFkZGluZzogMnB4IDVweDtcbiAgZmxleC1kaXJlY3Rpb246IHJvdztcbiAgZGlyZWN0aW9uOiAkeyh7IGRpcmVjdGlvbiB9KSA9PiBkaXJlY3Rpb259O1xuICBhbGlnbi1pdGVtczogY2VudGVyO1xuICBjdXJzb3I6IHBvaW50ZXI7XG4gIG1pbi1oZWlnaHQ6IDM2cHg7XG4gICR7KHsgZGlzYWJsZWQgfSkgPT5cbiAgICBkaXNhYmxlZCA/ICdjdXJzb3I6IG5vdC1hbGxvd2VkO3BvaW50ZXItZXZlbnRzOiBub25lO29wYWNpdHk6IDAuMzsnIDogJ3BvaW50ZXItZXZlbnRzOiBhbGw7J31cblxuICA6aG92ZXIsXG4gIDpmb2N1cy13aXRoaW4ge1xuICAgIGJvcmRlci1jb2xvcjogJHsoeyBjb2xvciB9KSA9PiBjb2xvcn07XG4gIH1cblxuICA6Zm9jdXMsXG4gIDpmb2N1cy13aXRoaW4ge1xuICAgIG91dGxpbmU6IDA7XG4gICAgYm94LXNoYWRvdzogMCAwIDAgM3B4ICR7KHsgY29sb3IgfSkgPT4gaGV4VG9SR0JBKGNvbG9yLCAwLjIpfTtcbiAgfVxuXG4gICoge1xuICAgIGJveC1zaXppbmc6IGJvcmRlci1ib3g7XG4gIH1cbmA7XG5cbmV4cG9ydCBkZWZhdWx0IFNlbGVjdDtcbiJdfQ== */")),_=w;n.default=_})(kb);const R$=xn(kb),M$="_container_9jq4w_1",D$="_fieldWrap_9jq4w_7",B$="_error_9jq4w_13",G$="_disabled_9jq4w_20",O$="_select_9jq4w_28",N$="_optionItem_9jq4w_63",T$="_selected_9jq4w_66",L$="_multiple_9jq4w_83",j$="_light_9jq4w_102",P$="_radius_9jq4w_144",F$="_itemSuffix_9jq4w_148",H$="_customOptionItem_9jq4w_153",z$="_remove_9jq4w_169",Z$="_noData_9jq4w_179",at={container:M$,"react-dropdown-select-no-data":"_react-dropdown-select-no-data_9jq4w_4",fieldWrap:D$,error:B$,disabled:G$,select:O$,optionItem:N$,selected:T$,multiple:L$,light:j$,radius:P$,itemSuffix:F$,customOptionItem:H$,remove:z$,noData:Z$};function Y$({text:n}){const{t}=yt(),e=n||t("text.no_results");return v.jsx("div",{className:at.noData,"data-testid":"nodata",children:v.jsx("span",{children:e})})}function W$({props:n,item:t,methods:e,onRemoveItem:i}){const r=n.labelField||"label",s=a=>{e.removeItem(a,t,!0),i&&i(t)};return v.jsxs("span",{role:"listitem",className:at.customOptionItem,"data-testid":"option-item",children:[v.jsx("span",{children:t==null?void 0:t[r]}),v.jsx("span",{onClick:s,className:at.remove,children:"x"})]})}const xa=n=>{const{t}=yt(),{name:e,label:i,items:r=[],itemPrefix:s,itemSuffix:a,placeholder:o=t("placeholder.choose"),wrapperClassName:l,infiniteScrollProps:c,className:u,style:d,appearance:h,size:g,value:f,error:p,isDisabled:m,onChange:b,onSearch:A,onAddItem:y,onRemoveItem:w,onDropdownClose:C,required:_,isMulti:S,searchable:z=!0,isAllSelected:R,backspaceDelete:T=!0,customOption:x,noDataRenderer:O,isRadius:B,valueField:L,labelField:G,...F}=n,P=W=>{const H=L||"value",j=W.map(Y=>Y==null?void 0:Y[H],W);S?b&&b(j,W):b&&b(j[0],W[0])},V=({item:W,state:H,methods:j,props:Y,itemIndex:J})=>{var X;const D=Y.labelField||"label",Q=Y.valueField||"value";return R?v.jsx("div",{}):v.jsx("div",{className:ee(at.optionItem,{[at.selected]:(H==null?void 0:H.values[0])&&((X=H==null?void 0:H.values)==null?void 0:X.find(se=>(se==null?void 0:se[Q])===(W==null?void 0:W[Q])))}),onClick:()=>{y&&y({item:W,state:H,methods:j,props:Y,itemIndex:J}),j.addItem(s?{[Q]:W==null?void 0:W[Q],[D]:s+(W==null?void 0:W[D])}:W)},children:a&&(W!=null&&W[a])?v.jsxs("span",{className:at.itemSuffix,children:[W==null?void 0:W[D],v.jsx("span",{children:W[a]})]}):W==null?void 0:W[D]},W.value)},te=({props:W,state:H,methods:j})=>{const Y=j.searchResults();return dd(r)?O?O({props:W,state:H,methods:j}):void 0:v.jsx(Cb,{loadMore:c==null?void 0:c.loadMore,hasMore:c==null?void 0:c.hasMore,children:Y==null?void 0:Y.map(J=>V({item:J,state:H,methods:j}))})},Z=({props:W,state:H})=>{const j=W.labelField||"label";return dd(H.search)?r:(A&&A(H.search),A?W.options:W.options.filter(Y=>{var J;return(J=Y==null?void 0:Y[j])==null?void 0:J.toLowerCase().includes(H.search.toLowerCase())}))};return v.jsxs("div",{"data-testid":"select-container",className:ee(at.container,{[at[`${h}`]]:h,[at.radius]:B,[at[`size__${g}`]]:g},l),children:[i&&v.jsxs(an,{appearance:h,name:e,children:[i," ",_&&"*"]}),v.jsx("div",{className:ee(at.fieldWrap,{[at[`size__${g}`]]:g,[at.error]:p,[at.disabled]:m}),children:v.jsx(R$,{...F,multi:S,options:r,onChange:P,searchFn:Z,noDataLabel:t("text.no_results"),dropdownPosition:"auto",searchable:z,style:d,optionRenderer:x?W=>x(W):({item:W,methods:H,props:j,state:Y})=>W$({item:W,methods:H,props:j,state:Y,onRemoveItem:w}),backspaceDelete:T,disabled:m,dropdownRenderer:c?({props:W,state:H,methods:j})=>te({props:W,state:H,methods:j}):void 0,noDataRenderer:O?W=>O(W):Y$,onDropdownClose:C,dropdownHeight:"150px",className:ee(at.select,u,{[at.multiple]:S}),placeholder:o,valueField:L,labelField:G,values:f?S?f:[f]:[],itemRenderer:V})}),p&&v.jsx(vi,{...p})]})};xa.displayName="Select";const X$="_menu_s98nx_1",V$="_arrow_s98nx_18",J$="_up_s98nx_32",Q$="_selected_s98nx_48",U$="_subMenuWrap_s98nx_51",K$="_opened_s98nx_58",q$="_hover_s98nx_66",$$="_item_s98nx_103",eee="_closeMenu_s98nx_110",tee="_tooltipWrap_s98nx_133",ot={menu:X$,arrow:V$,up:J$,selected:Q$,subMenuWrap:U$,opened:K$,hover:q$,item:$$,closeMenu:eee,tooltipWrap:tee},Qs=({icon:n,title:t,to:e,visibleTooltip:i=!1})=>{const r=()=>e?v.jsxs(qi,{className:ot.item,to:e,children:[n&&v.jsx(Pe,{name:n})," ",v.jsxs("span",{children:[" ",t]})]}):v.jsxs("a",{className:ot.item,"data-testid":"menuitem-link",children:[n&&v.jsx(Pe,{name:n})," ",v.jsxs("span",{children:[" ",t]})]});return v.jsx(fi,{id:`sideItem${e}`,tooltipContent:t,tooltipVisible:i,contentClass:ot.tooltipWrap,direction:$i.RIGHT,children:r()})},nee=({collapsed:n=!1,items:t,className:e,isActiveSubMenu:i})=>{const{pathname:r}=lr(),[s,a]=E.useState(i);return E.useEffect(()=>{n&&a(void 0)},[n]),v.jsx("div",{className:ee(ot.wrap,e),"data-testid":"sidebar-container",children:v.jsx("ul",{className:ee(ot.menu,{[ot.closeMenu]:n}),"data-testid":"sidebar-list",children:t.map(({to:o,icon:l,title:c,permItem:u,permType:d,children:h})=>{var p;const g=o&&((p=r==null?void 0:r.replaceAll("/",""))==null?void 0:p.includes(o==null?void 0:o.replaceAll("/",""))),f=s===c;return v.jsx(yd,{permType:d,permItem:u,children:v.jsx("li",{"data-testid":"sidebar-list-item",className:ee(ot.menuItem,{[ot.selected]:g,[ot.subMenuWrap]:h}),onMouseEnter:()=>{h&&n&&a(c)},onMouseLeave:()=>{h&&n&&a(void 0)},children:h?v.jsxs("div",{className:ee({[ot.opened]:f}),children:[v.jsxs("span",{onClick:()=>{n||a(f?void 0:c)},children:[v.jsx(Qs,{to:o,title:c,icon:l,visibleTooltip:!1}),!n&&v.jsx("span",{className:ee(ot.arrow,{[ot.up]:f}),children:v.jsx(Pe,{name:Ve.DownArrow})})]}),f&&v.jsx("ul",{className:ee(ot.subMenu,{[ot.hover]:n}),"data-testid":"sidebar-submenu-list",children:h==null?void 0:h.map(m=>{var A,y;const b=m.to&&((y=r==null?void 0:r.replaceAll("/",""))==null?void 0:y.includes((A=m==null?void 0:m.to)==null?void 0:A.replaceAll("/","")));return v.jsx(yd,{permType:m.permType,permItem:m.permItem,children:v.jsx("li",{"data-testid":"sidebar-submenu-list-item",onClick:()=>{m.onClick&&m.onClick(),n&&a(void 0)},className:ee(ot.menuItem,{[ot.selected]:b||(m==null?void 0:m.isItemSelected)}),children:v.jsx(Qs,{to:m.to,title:m.title,visibleTooltip:!1})})},m.to)})})]}):v.jsx(Qs,{to:o,title:c,icon:l,visibleTooltip:n})})},c)})})})},iee="_wrapper_1aejq_1",ree="_statusSubText_1aejq_7",see="_spinContainer_1aejq_15",aee="_postfixSpinner_1aejq_15",oee="_spinner_1aejq_20",lee="_warning_1aejq_27",cee="_danger_1aejq_31",uee="_success_1aejq_35",dee="_initializing_1aejq_39",fee="_pending_1aejq_43",hee="_failed_1aejq_47",gee="_queued_1aejq_51",pee="_passed_1aejq_55",$t={wrapper:iee,statusSubText:ree,spinContainer:see,postfixSpinner:aee,spinner:oee,warning:lee,danger:cee,success:uee,initializing:dee,pending:fee,failed:hee,queued:gee,passed:pee};var ec=(n=>(n.addons_initializing="initializing",n.addons_initialization_failed="failed",n.deploying="warning",n.failed="failed",n.deployed="success",n.completed="success",n.initializing="initializing",n.initialization_failed="failed",n.queueing="warning",n.queued="queued",n.pending="pending",n.passed="passed",n))(ec||{});const mee=n=>{const{text:t,type:e=nc.ADDONS_INITIALIZING,extra:i,spin:r,condition:s,spinnerLocation:a="back"}=n,o=t&&t.replace(/\_/g," ");return v.jsx("p",{"data-testid":"statustypography",className:ee($t.wrapper,[$t[ec[e]]]),children:s?v.jsxs(v.Fragment,{children:[v.jsxs("span",{className:$t.spinContainer,children:[r&&a==="front"&&v.jsx(Pi,{className:ee($t.spinner),layer:!1}),o,r&&a==="back"&&v.jsx(Pi,{className:ee($t.spinner,$t.postfixSpinner),layer:!1})]}),v.jsx("p",{className:$t.statusSubText,children:i})]}):ec[e]==="warning"&&r?v.jsxs("span",{className:$t.spinContainer,children:[v.jsx(Pi,{className:$t.spinner,layer:!1}),o]}):v.jsx("span",{className:$t.spinContainer,children:o})})},bee="_container_12lwx_1",vee="_complete_12lwx_16",yee="_active_12lwx_39",el={container:bee,complete:vee,active:yee},Aee=({items:n,selected:t=0,selectAll:e,renderAnchor:i=!0,onChange:r,wrapperClass:s})=>{let a=!0;const o=({index:c,title:u,customIndexItem:d})=>v.jsxs("a",{href:`#step-${c}`,onClick:h=>r&&r(c,h),children:[d||(t>c?v.jsx("span",{children:v.jsx(Pe,{name:Ve.Check})}):v.jsx("span",{children:c+1})),u]}),l=({index:c,title:u,customIndexItem:d,to:h})=>v.jsxs(au,{to:h,onClick:g=>r&&r(c,g),children:[d||(t>c?v.jsx("span",{children:v.jsx(Pe,{name:Ve.Check})}):v.jsx("span",{children:c+1})),u]});return v.jsx("div",{className:ee(el.container,s),"data-testid":"stepper-container",children:v.jsx("ul",{"data-testid":"stepper-list",children:n.map(({title:c,customIndexItem:u,activeClass:d,completeClass:h,to:g},f)=>{e&&(a=!0);const p=f===t;return!e&&p&&(a=!1),v.jsx("li",{"data-testid":"stepper-list-item",className:ee({[el.active]:p,[el.complete]:a,[d]:p,[h]:a}),children:i?o({index:f,title:c,customIndexItem:u}):l({index:f,title:c,customIndexItem:u,to:g})},`stepper-item-${f}`)})})})},Cee="_checked_ptgnt_14",Iee="_disabled_ptgnt_17",wee="_slider_ptgnt_21",xee="_round_ptgnt_75",_ee="_active_ptgnt_83",kee="_passive_ptgnt_87",On={switch:"_switch_ptgnt_1",checked:Cee,disabled:Iee,slider:wee,round:xee,active:_ee,passive:kee},Eee=E.forwardRef(({name:n,label:t,className:e,isDisabled:i,value:r,onChange:s,onLabelClick:a,checkedChildren:o,unCheckedChildren:l,...c},u)=>{const[d,h]=E.useState(r),{t:g}=yt();E.useEffect(()=>{!c.readOnly&&!i&&r!==void 0&&s&&s(d)},[d,r]),E.useEffect(()=>{r&&h(r)},[r]);const f=()=>{!i&&!c.readOnly&&h(!d),!i&&a&&a(!d)};return v.jsxs("div",{className:ee(On.container,e),"data-testid":"switch-container",children:[t&&v.jsx(an,{name:n,children:t}),v.jsx("div",{className:On.block,children:v.jsxs("label",{className:ee(On.switch,{[On.checked]:d,[On.disabled]:i}),htmlFor:n,onClick:()=>f(),children:[v.jsx("input",{type:"checkbox",name:n,value:r,"data-testid":"switch-input",ref:u,checked:d,readOnly:!0,...c}),v.jsx("span",{className:On.slider,children:v.jsx("span",{className:ee({[On.active]:d,[On.passive]:!d}),children:d?o||g("text.active"):l||g("text.passive")})})]})})]})}),See="_tabContainer_1tklp_1",Ree="_titleWrapper_1tklp_4",Mee="_isActive_1tklp_11",Dee="_title_1tklp_4",zs={tabContainer:See,titleWrapper:Ree,isActive:Mee,title:Dee};function Bee({items:n,selected:t,onChange:e}){return v.jsx("div",{className:zs.tabContainer,"data-testid":"tab-container",children:n.map((i,r)=>{const s=t==r;return v.jsx(v.Fragment,{children:v.jsx("div",{"data-testid":"tab-item",onClick:()=>e&&e(r),className:ee(zs.titleWrapper,{[zs.isActive]:s}),children:v.jsx("div",{title:i.title,className:ee(zs.title),"data-testid":"tab-title",children:i.title})},r)})})})}const Gee="_wrapper_1n4i1_1",Oee="_header_1n4i1_4",Nee="_title_1n4i1_7",Tee="_subTitle_1n4i1_13",Lee="_table_1n4i1_18",jee="_fixed_1n4i1_24",Pee="_light_1n4i1_50",Fee="_fixedHeader_1n4i1_55",Hee="_dark_1n4i1_65",zee="_tableWrap_1n4i1_68",Zee="_actionWrap_1n4i1_113",Yee="_tableLoading_1n4i1_117",Wee="_selectedAction_1n4i1_127",Xee="_rightGroup_1n4i1_134",Vee="_pageSizeWrap_1n4i1_138",Jee="_pager_1n4i1_148",Qee="_size_1n4i1_152",Uee="_noResult_1n4i1_156",Kee="_scrollWrap_1n4i1_165",qee="_justifyContentEnd_1n4i1_169",$ee="_width100_1n4i1_173",nt={wrapper:Gee,header:Oee,title:Nee,subTitle:Tee,table:Lee,fixed:jee,light:Pee,fixedHeader:Fee,dark:Hee,tableWrap:zee,actionWrap:Zee,tableLoading:Yee,selectedAction:Wee,rightGroup:Xee,pageSizeWrap:Vee,pager:Jee,size:Qee,noResult:Uee,scrollWrap:Kee,justifyContentEnd:qee,width100:$ee},ete=[{value:"10",label:"10"},{value:"20",label:"20"},{value:"50",label:"50"},{value:"100",label:"100"},{value:"250",label:"250"}],tc=({totalCount:n=0,currentPage:t,title:e,actionOnChange:i,className:r,pagerOnChange:s,pageSizeOnChange:a,pagerVisible:o=!0,pageSizeVisible:l=!0,pageSize:c=10,actionItems:u,pageSizeItems:d=ete,headerLeftItem:h,appearance:g,showItemsText:f})=>{const{t:p}=yt(),[m,b]=E.useState(!0),[A,y]=E.useState({label:c,value:c}),w=_=>[{value:"exportexel",label:_("text.excel_export")}],C=_=>{b(!_),i&&i(_)};return u=u||w(p),E.useEffect(()=>{y({label:c,value:c})},[c]),v.jsxs("div",{"data-testid":"tableheader-container",className:ee(nt.header,r,{"d-flex justify-content-between":e&&!i,"d-flex justify-content-end":!e&&!i}),children:[e&&v.jsxs("div",{children:[v.jsx(Gc,{className:nt.title,children:e}),v.jsxs("p",{className:nt.subTitle,children:[n," ",p("text.results_listing")]})]}),v.jsx("div",{className:ee(nt.actionWrap,{[nt.justifyContentEnd]:!h,[nt.width100]:h}),children:v.jsxs(v.Fragment,{children:[i&&v.jsxs("div",{className:nt.selectedAction,children:[v.jsx(xa,{name:"action",items:u,appearance:Ks.LIGHT,onChange:C}),v.jsx(es,{appearance:pi.PRIMARY,isDisabled:m,children:p("button.apply")})]}),h&&h,v.jsxs("div",{className:nt.rightGroup,children:[l&&v.jsxs("div",{className:nt.pageSizeWrap,children:[v.jsx(xa,{name:"action",value:A,items:d,className:nt.size,showPlaceholder:!1,onAddItem:({item:_})=>{y(_),a&&a(_.value)},appearance:Ks.LIGHT}),v.jsx("span",{children:v.jsx(xy,{i18nKey:"text.show",values:{title:f||e}})})]}),o&&n>0&&v.jsx(xb,{currentPage:t,pageSize:c,totalCount:n,onChange:s,appearance:g,className:nt.pager})]})]})})]})},tte=n=>{const{columns:t=[],dataSource:e=[],totalCount:i,currentPage:r,className:s,wrapperClass:a,title:o,rowSelection:l=!1,actionOnChange:c,rowSelectionChange:u,pagerVisible:d,pagerOnChange:h,pageSizeOnChange:g,pageSize:f,headerVisible:p=!0,headerLeftItem:m,isLoading:b=!1,footerAction:A=!0,pageSizeVisible:y=!0,appearance:w=zn.LIGHT,fixedHeader:C,showItemsText:_,customHeader:S,selectedItems:z=[],scrollClass:R,disabledItems:T=[]}=n,[x,O]=E.useState(z),B=F=>{u&&(F.target.checked?(O(e.filter(P=>!Oi(P,T))),u(e.filter(P=>!Oi(P,T)))):(O([]),u([])))},L=(F,P)=>{u&&(F.target.checked?(O([...x,P]),u([...x,P])):(O(ud(V=>V.pk!==P.pk,x)),u(ud(V=>V.pk!==P.pk,x))))},G=(F,P)=>F==null?void 0:F.map((V,te)=>V.permItem&&V.permType?v.jsx("td",{width:V.width,onClick:Z=>{V!=null&&V.onClick&&(V==null||V.onClick(Z,P,V,te))},className:ee(V.className,V.tdClassName),children:v.jsx(Gp,{id:V.dataIndex,permItem:V.permItem,permType:V.permType,children:V.render?V.render(P[V.dataIndex],P):P[V.dataIndex]})},`col-${te}`):v.jsx("td",{width:V.width,onClick:Z=>{V!=null&&V.onClick&&(V==null||V.onClick(Z,P,V,te))},className:ee(V.className,V.tdClassName),children:V.render?V.render(P[V.dataIndex],P):P[V.dataIndex]},`col-${te}`));return E.useEffect(()=>{u&&u(z.filter(F=>!Oi(F,T)))},[x,T]),v.jsxs("div",{"data-testid":"table-container",className:ee(nt.wrapper,a,{[nt[`${w}`]]:w}),children:[p&&v.jsx(tc,{title:o,showItemsText:_,actionOnChange:c,pageSize:f,pageSizeOnChange:g,pagerOnChange:h,pagerVisible:d,totalCount:i,currentPage:r}),v.jsxs("div",{className:nt.tableWrap,children:[b&&v.jsx(Pi,{wrapperClass:nt.tableLoading,appearance:w===zn.LIGHT?Us.LIGHT:Us.DARK}),S&&S,v.jsx(Pa,{className:R||nt.scrollWrap,children:v.jsxs("table",{"data-testid":"table-content",className:ee(nt.table,s,{[nt.fixed]:C}),children:[v.jsx("thead",{"data-testid":"table-head",children:v.jsxs("tr",{"data-testid":"table-row",children:[l&&v.jsx("th",{style:{width:26},children:v.jsx(Hl,{name:"selectAll",isDisabled:e.length===0,checked:e.length>0&&e.length===x.length,onChange:B})}),t==null?void 0:t.map((F,P)=>{var V;return v.jsx("th",{"data-testid":"table-head-item",style:{width:F.width},className:F.className,children:typeof F.title=="string"||F.title instanceof String?(V=F.title)==null?void 0:V.toString().toLocaleUpperCase():F.title},`table-header-${P}`)})]})}),v.jsx("tbody",{"data-testid":"table-body",children:e.length>0?e.map((F,P)=>v.jsxs("tr",{children:[l&&v.jsx("td",{children:v.jsx(Hl,{checked:Oi(F,x),name:`select-${P}`,onChange:V=>L(V,F),isDisabled:Oi(F,T)})}),G(t,F)]},`row-${P}`)):v.jsx("tr",{children:v.jsx("td",{colSpan:t.length+1,children:v.jsx(cu,{})})})})]})})]}),A&&v.jsx(tc,{className:"mt-0",showItemsText:_,actionOnChange:c,pageSize:f,pageSizeOnChange:g,pagerOnChange:h,pagerVisible:d,pageSizeVisible:y,totalCount:i,headerLeftItem:m,currentPage:r,appearance:w})]})},nte="_counter_1tkwv_1",ite="_container_1tkwv_10",rte="_fieldWrap_1tkwv_10",ste="_control_1tkwv_16",ate="_light_1tkwv_31",ote="_error_1tkwv_38",lte="_disabled_1tkwv_45",Nn={counter:nte,container:ite,fieldWrap:rte,control:ste,light:ate,error:ote,disabled:lte,"size-small":"_size-small_1tkwv_49"},cte=E.forwardRef((n,t)=>{const{name:e,id:i,label:r,isDisabled:s,className:a,wrapperClassName:o,maxLength:l,appearance:c,value:u="",size:d,onChange:h,error:g,readOnly:f,required:p,rows:m=5,...b}=n,[A,y]=E.useState(u),w=_=>_.slice(0,l),C=E.useCallback(_=>{y(w(_)),h&&h(w(_))},[l,y]);return E.useEffect(()=>{y(w(u))},[u]),v.jsxs("div",{"data-testid":"textarea-container",className:ee(Nn.container,{[Nn[`${c}`]]:c,[Nn.error]:g,[Nn.disabled]:s},"form-group",o),children:[v.jsxs("div",{className:Nn.counter,children:[r&&v.jsxs(an,{name:e,appearance:c,children:[r," ",p&&"*"]}),l&&v.jsxs("span",{children:[A?A.toString().length:0,"/",l]})]}),v.jsx("div",{className:Nn.fieldWrap,children:v.jsx("textarea",{name:e,id:i,className:ee(Nn.control,a,{[Nn[`size-${d}`]]:d}),disabled:s,"data-testid":"textarea-input",rows:m,ref:t,readOnly:f,onChange:_=>C(_.currentTarget.value),value:A,...b})}),g&&v.jsx(vi,{...g})]})});function ute(n){const[t,e]=E.useState(!!n),i=E.useCallback(()=>{e(!0)},[]),r=E.useCallback(()=>{e(!1)},[]),s=E.useCallback(()=>{e(a=>!a)},[]);return{isOpen:t,setIsOpen:e,onOpen:i,onClose:r,onToggle:s}}function dte({children:n}){return v.jsxs(v.Fragment,{children:[v.jsx(Sa.Provider,{children:n}),v.jsx(ou,{limit:3})]})}exports.Accordion=DV;exports.AccordionItem=MV;exports.ActionButton=HV;exports.AlertCard=WV;exports.AppAndServicesStatusApperenceType=nc;exports.AppTypeEnum=eg;exports.AppearanceAlertCard=rc;exports.AppearanceButton=pi;exports.AppearanceDirection=$i;exports.AppearanceSpinner=Us;exports.AppearanceTag=Jh;exports.ApplicationTypeSlug=Qh;exports.AuthProvider=ty;exports.Autocomplete=d5;exports.Button=es;exports.Card=y5;exports.Chart=d7;exports.Checkbox=Hl;exports.Column=e8;exports.Config=v7;exports.Confirm=R7;exports.ContentHeader=F7;exports.ContentLoader=Fm;exports.CopyTextStatusEnum=$h;exports.Countdown=H7;exports.Datepicker=o6;exports.Divider=d6;exports.DividerAppearance=ic;exports.DropdownList=lq;exports.FileUpload=Ab;exports.FileUploadImagePreview=vb;exports.FileUploadLengthCard=bb;exports.FileUploadPreviewModal=yb;exports.FormFieldAppearance=Ks;exports.Heading=Gc;exports.Icon=Pe;exports.InfiniteScroll=Cb;exports.InfoBoxList=g8;exports.InfoDate=wb;exports.InfoText=y8;exports.Input=ja;exports.Label=an;exports.Loading=Pi;exports.MenuItem=Qs;exports.Modal=qa;exports.ModalAppearanceType=Vh;exports.NavigatorCard=E8;exports.NiceModal=Sa;exports.NoResult=cu;exports.Notification=lu;exports.NotificationAppearanceType=_a;exports.PageWrapper=D8;exports.Pager=xb;exports.Panel=X8;exports.PermFallBack=kV;exports.PermaLink=qi;exports.Permission=Gp;exports.PodStatusEnum=ig;exports.Provider=dte;exports.Radio=_b;exports.RadioList=q8;exports.ReportStatus=tg;exports.ResultError=dg;exports.Row=t8;exports.ScrollContainer=Pa;exports.Select=xa;exports.Sidebar=nee;exports.Size=Kh;exports.StatusEnum=ng;exports.StatusType=qh;exports.StatusTypography=mee;exports.Stepper=Aee;exports.Switch=Eee;exports.Tab=Bee;exports.Table=tte;exports.TableHeader=tc;exports.Textarea=cte;exports.ThemeAppearance=zn;exports.Tooltip=fi;exports.TypographyText=Ib;exports.ValidationError=vi;exports.changeLanguage=K7;exports.dayjs=$e;exports.getAuth=Ec;exports.getCurrentLanguage=eu;exports.getDatepickerLocale=q7;exports.i18n=Xi;exports.isActiveColor=Uh;exports.t=bl;exports.useAuth=uc;exports.useDisclosure=ute;exports.useNiceModal=Tm;
295
295
  //# sourceMappingURL=index.cjs.js.map