From 3375ff93cae55b98b01c419e8b2acc849cd15e48 Mon Sep 17 00:00:00 2001 From: Sam Date: Sat, 16 Dec 2023 14:36:38 +0100 Subject: [PATCH] build dist files --- fittrackee/dist/index.html | 11 +- ...{charts-ed4ceed1.js => charts-_RwsDDkL.js} | 16 +- ...{index-876437dd.css => index-kyYSvvW8.css} | 2 +- fittrackee/dist/static/css/maps-69420918.css | 1 - fittrackee/dist/static/css/maps-B7qTrBCW.css | 1 + ...f2 => pt-sans-v9-latin-700-BC8QGIrG.woff2} | Bin ....ttf => pt-sans-v9-latin-700-TR0YiIVK.ttf} | Bin ....svg => pt-sans-v9-latin-700-Xyyq4crW.svg} | 0 ....eot => pt-sans-v9-latin-700-skEWD7W_.eot} | Bin ...off => pt-sans-v9-latin-700-tcZ3J-O8.woff} | Bin ...=> pt-sans-v9-latin-italic-1FTPleHH.woff2} | Bin ...t => pt-sans-v9-latin-italic-4DDtZWYF.eot} | Bin ... => pt-sans-v9-latin-italic-DwGwmXuQ.woff} | Bin ...f => pt-sans-v9-latin-italic-I2gXY_1s.ttf} | Bin ...g => pt-sans-v9-latin-italic-YH_Gnq5o.svg} | 0 ... => pt-sans-v9-latin-regular-21U27O2x.svg} | 0 ...> pt-sans-v9-latin-regular-45aO1uf0.woff2} | Bin ...=> pt-sans-v9-latin-regular-IXe2Axuj.woff} | Bin ... => pt-sans-v9-latin-regular-T9JcUGms.eot} | Bin ... => pt-sans-v9-latin-regular-pqSZZJmj.ttf} | Bin .../{map-5e472f63.svg => map-3oCLAjmu.svg} | 0 fittrackee/dist/static/index-0EDbp-Wc.js | 457 ++++++++++++++++++ fittrackee/dist/static/index-45ac8e8f.js | 452 ----------------- fittrackee/dist/static/maps-ZyuCPqes.js | 7 + fittrackee/dist/static/maps-c37c70d1.js | 7 - ...e22ecd9.js => password.common-7m77ow97.js} | 0 ...de-7378acff.js => password.de-qoep7B_f.js} | 0 ...en-ea77b3f2.js => password.en-lIq_N4yZ.js} | 0 ...0bf2f189.js => password.es-es--6AdGpRj.js} | 0 ...fr-7fa93aa6.js => password.fr-1uJe1-pR.js} | 0 ...it-436063d6.js => password.it-ImDc22WR.js} | 0 ...pl-26ee86c2.js => password.pl-Ipz4x2MM.js} | 0 32 files changed, 479 insertions(+), 475 deletions(-) rename fittrackee/dist/static/{charts-ed4ceed1.js => charts-_RwsDDkL.js} (51%) rename fittrackee/dist/static/css/{index-876437dd.css => index-kyYSvvW8.css} (65%) delete mode 100644 fittrackee/dist/static/css/maps-69420918.css create mode 100644 fittrackee/dist/static/css/maps-B7qTrBCW.css rename fittrackee/dist/static/fonts/{pt-sans-v9-latin-700-080d87ea.woff2 => pt-sans-v9-latin-700-BC8QGIrG.woff2} (100%) rename fittrackee/dist/static/fonts/{pt-sans-v9-latin-700-ae254009.ttf => pt-sans-v9-latin-700-TR0YiIVK.ttf} (100%) rename fittrackee/dist/static/fonts/{pt-sans-v9-latin-700-870a604e.svg => pt-sans-v9-latin-700-Xyyq4crW.svg} (100%) rename fittrackee/dist/static/fonts/{pt-sans-v9-latin-700-9ea1a9d8.eot => pt-sans-v9-latin-700-skEWD7W_.eot} (100%) rename fittrackee/dist/static/fonts/{pt-sans-v9-latin-700-a61d5b9a.woff => pt-sans-v9-latin-700-tcZ3J-O8.woff} (100%) rename fittrackee/dist/static/fonts/{pt-sans-v9-latin-italic-b0c71d14.woff2 => pt-sans-v9-latin-italic-1FTPleHH.woff2} (100%) rename fittrackee/dist/static/fonts/{pt-sans-v9-latin-italic-d64e4cc3.eot => pt-sans-v9-latin-italic-4DDtZWYF.eot} (100%) rename fittrackee/dist/static/fonts/{pt-sans-v9-latin-italic-6ba71e58.woff => pt-sans-v9-latin-italic-DwGwmXuQ.woff} (100%) rename fittrackee/dist/static/fonts/{pt-sans-v9-latin-italic-1d78cd1f.ttf => pt-sans-v9-latin-italic-I2gXY_1s.ttf} (100%) rename fittrackee/dist/static/fonts/{pt-sans-v9-latin-italic-0b2a1680.svg => pt-sans-v9-latin-italic-YH_Gnq5o.svg} (100%) rename fittrackee/dist/static/fonts/{pt-sans-v9-latin-regular-96f1a1a9.svg => pt-sans-v9-latin-regular-21U27O2x.svg} (100%) rename fittrackee/dist/static/fonts/{pt-sans-v9-latin-regular-143c5c01.woff2 => pt-sans-v9-latin-regular-45aO1uf0.woff2} (100%) rename fittrackee/dist/static/fonts/{pt-sans-v9-latin-regular-ecf0da3b.woff => pt-sans-v9-latin-regular-IXe2Axuj.woff} (100%) rename fittrackee/dist/static/fonts/{pt-sans-v9-latin-regular-60032a5a.eot => pt-sans-v9-latin-regular-T9JcUGms.eot} (100%) rename fittrackee/dist/static/fonts/{pt-sans-v9-latin-regular-ed3b51f6.ttf => pt-sans-v9-latin-regular-pqSZZJmj.ttf} (100%) rename fittrackee/dist/static/img/{map-5e472f63.svg => map-3oCLAjmu.svg} (100%) create mode 100644 fittrackee/dist/static/index-0EDbp-Wc.js delete mode 100644 fittrackee/dist/static/index-45ac8e8f.js create mode 100644 fittrackee/dist/static/maps-ZyuCPqes.js delete mode 100644 fittrackee/dist/static/maps-c37c70d1.js rename fittrackee/dist/static/{password.common-1e22ecd9.js => password.common-7m77ow97.js} (100%) rename fittrackee/dist/static/{password.de-7378acff.js => password.de-qoep7B_f.js} (100%) rename fittrackee/dist/static/{password.en-ea77b3f2.js => password.en-lIq_N4yZ.js} (100%) rename fittrackee/dist/static/{password.es-es-0bf2f189.js => password.es-es--6AdGpRj.js} (100%) rename fittrackee/dist/static/{password.fr-7fa93aa6.js => password.fr-1uJe1-pR.js} (100%) rename fittrackee/dist/static/{password.it-436063d6.js => password.it-ImDc22WR.js} (100%) rename fittrackee/dist/static/{password.pl-26ee86c2.js => password.pl-Ipz4x2MM.js} (100%) diff --git a/fittrackee/dist/index.html b/fittrackee/dist/index.html index d2165f27..72f390f3 100644 --- a/fittrackee/dist/index.html +++ b/fittrackee/dist/index.html @@ -7,14 +7,13 @@ FitTrackee - - - - - + + + + +
- diff --git a/fittrackee/dist/static/charts-ed4ceed1.js b/fittrackee/dist/static/charts-_RwsDDkL.js similarity index 51% rename from fittrackee/dist/static/charts-ed4ceed1.js rename to fittrackee/dist/static/charts-_RwsDDkL.js index 3bc528dd..b6764a73 100644 --- a/fittrackee/dist/static/charts-ed4ceed1.js +++ b/fittrackee/dist/static/charts-_RwsDDkL.js @@ -3,22 +3,22 @@ var lo=Object.defineProperty;var co=(i,t,e)=>t in i?lo(i,t,{enumerable:!0,config * https://github.com/kurkle/color#readme * (c) 2023 Jukka Kurkela * Released under the MIT License - */function me(i){return i+.5|0}const bt=(i,t,e)=>Math.max(Math.min(i,e),t);function te(i){return bt(me(i*2.55),0,255)}function xt(i){return bt(me(i*255),0,255)}function gt(i){return bt(me(i/2.55)/100,0,1)}function Hi(i){return bt(me(i*100),0,100)}const et={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},ui=[..."0123456789ABCDEF"],ho=i=>ui[i&15],fo=i=>ui[(i&240)>>4]+ui[i&15],xe=i=>(i&240)>>4===(i&15),uo=i=>xe(i.r)&&xe(i.g)&&xe(i.b)&&xe(i.a);function go(i){var t=i.length,e;return i[0]==="#"&&(t===4||t===5?e={r:255&et[i[1]]*17,g:255&et[i[2]]*17,b:255&et[i[3]]*17,a:t===5?et[i[4]]*17:255}:(t===7||t===9)&&(e={r:et[i[1]]<<4|et[i[2]],g:et[i[3]]<<4|et[i[4]],b:et[i[5]]<<4|et[i[6]],a:t===9?et[i[7]]<<4|et[i[8]]:255})),e}const po=(i,t)=>i<255?t(i):"";function mo(i){var t=uo(i)?ho:fo;return i?"#"+t(i.r)+t(i.g)+t(i.b)+po(i.a,t):void 0}const bo=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function cn(i,t,e){const s=t*Math.min(e,1-e),n=(o,r=(o+i/30)%12)=>e-s*Math.max(Math.min(r-3,9-r,1),-1);return[n(0),n(8),n(4)]}function _o(i,t,e){const s=(n,o=(n+i/60)%6)=>e-e*t*Math.max(Math.min(o,4-o,1),0);return[s(5),s(3),s(1)]}function xo(i,t,e){const s=cn(i,1,.5);let n;for(t+e>1&&(n=1/(t+e),t*=n,e*=n),n=0;n<3;n++)s[n]*=1-t-e,s[n]+=t;return s}function yo(i,t,e,s,n){return i===n?(t-e)/s+(t.5?h/(2-o-r):h/(o+r),l=yo(e,s,n,h,o),l=l*60+.5),[l|0,c||0,a]}function Si(i,t,e,s){return(Array.isArray(t)?i(t[0],t[1],t[2]):i(t,e,s)).map(xt)}function Pi(i,t,e){return Si(cn,i,t,e)}function vo(i,t,e){return Si(xo,i,t,e)}function ko(i,t,e){return Si(_o,i,t,e)}function hn(i){return(i%360+360)%360}function wo(i){const t=bo.exec(i);let e=255,s;if(!t)return;t[5]!==s&&(e=t[6]?te(+t[5]):xt(+t[5]));const n=hn(+t[2]),o=+t[3]/100,r=+t[4]/100;return t[1]==="hwb"?s=vo(n,o,r):t[1]==="hsv"?s=ko(n,o,r):s=Pi(n,o,r),{r:s[0],g:s[1],b:s[2],a:e}}function Mo(i,t){var e=Mi(i);e[0]=hn(e[0]+t),e=Pi(e),i.r=e[0],i.g=e[1],i.b=e[2]}function So(i){if(!i)return;const t=Mi(i),e=t[0],s=Hi(t[1]),n=Hi(t[2]);return i.a<255?`hsla(${e}, ${s}%, ${n}%, ${gt(i.a)})`:`hsl(${e}, ${s}%, ${n}%)`}const Wi={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"},Ni={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 Po(){const i={},t=Object.keys(Ni),e=Object.keys(Wi);let s,n,o,r,a;for(s=0;s>16&255,o>>8&255,o&255]}return i}let ye;function Co(i){ye||(ye=Po(),ye.transparent=[0,0,0,0]);const t=ye[i.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}const Do=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function Oo(i){const t=Do.exec(i);let e=255,s,n,o;if(t){if(t[7]!==s){const r=+t[7];e=t[8]?te(r):bt(r*255,0,255)}return s=+t[1],n=+t[3],o=+t[5],s=255&(t[2]?te(s):bt(s,0,255)),n=255&(t[4]?te(n):bt(n,0,255)),o=255&(t[6]?te(o):bt(o,0,255)),{r:s,g:n,b:o,a:e}}}function To(i){return i&&(i.a<255?`rgba(${i.r}, ${i.g}, ${i.b}, ${gt(i.a)})`:`rgb(${i.r}, ${i.g}, ${i.b})`)}const Je=i=>i<=.0031308?i*12.92:Math.pow(i,1/2.4)*1.055-.055,Ft=i=>i<=.04045?i/12.92:Math.pow((i+.055)/1.055,2.4);function Ao(i,t,e){const s=Ft(gt(i.r)),n=Ft(gt(i.g)),o=Ft(gt(i.b));return{r:xt(Je(s+e*(Ft(gt(t.r))-s))),g:xt(Je(n+e*(Ft(gt(t.g))-n))),b:xt(Je(o+e*(Ft(gt(t.b))-o))),a:i.a+e*(t.a-i.a)}}function ve(i,t,e){if(i){let s=Mi(i);s[t]=Math.max(0,Math.min(s[t]+s[t]*e,t===0?360:1)),s=Pi(s),i.r=s[0],i.g=s[1],i.b=s[2]}}function dn(i,t){return i&&Object.assign(t||{},i)}function Vi(i){var t={r:0,g:0,b:0,a:255};return Array.isArray(i)?i.length>=3&&(t={r:i[0],g:i[1],b:i[2],a:255},i.length>3&&(t.a=xt(i[3]))):(t=dn(i,{r:0,g:0,b:0,a:1}),t.a=xt(t.a)),t}function Ro(i){return i.charAt(0)==="r"?Oo(i):wo(i)}class he{constructor(t){if(t instanceof he)return t;const e=typeof t;let s;e==="object"?s=Vi(t):e==="string"&&(s=go(t)||Co(t)||Ro(t)),this._rgb=s,this._valid=!!s}get valid(){return this._valid}get rgb(){var t=dn(this._rgb);return t&&(t.a=gt(t.a)),t}set rgb(t){this._rgb=Vi(t)}rgbString(){return this._valid?To(this._rgb):void 0}hexString(){return this._valid?mo(this._rgb):void 0}hslString(){return this._valid?So(this._rgb):void 0}mix(t,e){if(t){const s=this.rgb,n=t.rgb;let o;const r=e===o?.5:e,a=2*r-1,l=s.a-n.a,c=((a*l===-1?a:(a+l)/(1+a*l))+1)/2;o=1-c,s.r=255&c*s.r+o*n.r+.5,s.g=255&c*s.g+o*n.g+.5,s.b=255&c*s.b+o*n.b+.5,s.a=r*s.a+(1-r)*n.a,this.rgb=s}return this}interpolate(t,e){return t&&(this._rgb=Ao(this._rgb,t._rgb,e)),this}clone(){return new he(this.rgb)}alpha(t){return this._rgb.a=xt(t),this}clearer(t){const e=this._rgb;return e.a*=1-t,this}greyscale(){const t=this._rgb,e=me(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 ve(this._rgb,2,t),this}darken(t){return ve(this._rgb,2,-t),this}saturate(t){return ve(this._rgb,1,t),this}desaturate(t){return ve(this._rgb,1,-t),this}rotate(t){return Mo(this._rgb,t),this}}/*! - * Chart.js v4.4.0 + */function me(i){return i+.5|0}const bt=(i,t,e)=>Math.max(Math.min(i,e),t);function te(i){return bt(me(i*2.55),0,255)}function xt(i){return bt(me(i*255),0,255)}function gt(i){return bt(me(i/2.55)/100,0,1)}function Wi(i){return bt(me(i*100),0,100)}const et={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},ui=[..."0123456789ABCDEF"],ho=i=>ui[i&15],fo=i=>ui[(i&240)>>4]+ui[i&15],xe=i=>(i&240)>>4===(i&15),uo=i=>xe(i.r)&&xe(i.g)&&xe(i.b)&&xe(i.a);function go(i){var t=i.length,e;return i[0]==="#"&&(t===4||t===5?e={r:255&et[i[1]]*17,g:255&et[i[2]]*17,b:255&et[i[3]]*17,a:t===5?et[i[4]]*17:255}:(t===7||t===9)&&(e={r:et[i[1]]<<4|et[i[2]],g:et[i[3]]<<4|et[i[4]],b:et[i[5]]<<4|et[i[6]],a:t===9?et[i[7]]<<4|et[i[8]]:255})),e}const po=(i,t)=>i<255?t(i):"";function mo(i){var t=uo(i)?ho:fo;return i?"#"+t(i.r)+t(i.g)+t(i.b)+po(i.a,t):void 0}const bo=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function hn(i,t,e){const s=t*Math.min(e,1-e),n=(o,r=(o+i/30)%12)=>e-s*Math.max(Math.min(r-3,9-r,1),-1);return[n(0),n(8),n(4)]}function _o(i,t,e){const s=(n,o=(n+i/60)%6)=>e-e*t*Math.max(Math.min(o,4-o,1),0);return[s(5),s(3),s(1)]}function xo(i,t,e){const s=hn(i,1,.5);let n;for(t+e>1&&(n=1/(t+e),t*=n,e*=n),n=0;n<3;n++)s[n]*=1-t-e,s[n]+=t;return s}function yo(i,t,e,s,n){return i===n?(t-e)/s+(t.5?h/(2-o-r):h/(o+r),l=yo(e,s,n,h,o),l=l*60+.5),[l|0,c||0,a]}function Si(i,t,e,s){return(Array.isArray(t)?i(t[0],t[1],t[2]):i(t,e,s)).map(xt)}function Pi(i,t,e){return Si(hn,i,t,e)}function vo(i,t,e){return Si(xo,i,t,e)}function ko(i,t,e){return Si(_o,i,t,e)}function dn(i){return(i%360+360)%360}function wo(i){const t=bo.exec(i);let e=255,s;if(!t)return;t[5]!==s&&(e=t[6]?te(+t[5]):xt(+t[5]));const n=dn(+t[2]),o=+t[3]/100,r=+t[4]/100;return t[1]==="hwb"?s=vo(n,o,r):t[1]==="hsv"?s=ko(n,o,r):s=Pi(n,o,r),{r:s[0],g:s[1],b:s[2],a:e}}function Mo(i,t){var e=Mi(i);e[0]=dn(e[0]+t),e=Pi(e),i.r=e[0],i.g=e[1],i.b=e[2]}function So(i){if(!i)return;const t=Mi(i),e=t[0],s=Wi(t[1]),n=Wi(t[2]);return i.a<255?`hsla(${e}, ${s}%, ${n}%, ${gt(i.a)})`:`hsl(${e}, ${s}%, ${n}%)`}const Ni={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"},Vi={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 Po(){const i={},t=Object.keys(Vi),e=Object.keys(Ni);let s,n,o,r,a;for(s=0;s>16&255,o>>8&255,o&255]}return i}let ye;function Co(i){ye||(ye=Po(),ye.transparent=[0,0,0,0]);const t=ye[i.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}const Do=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function Oo(i){const t=Do.exec(i);let e=255,s,n,o;if(t){if(t[7]!==s){const r=+t[7];e=t[8]?te(r):bt(r*255,0,255)}return s=+t[1],n=+t[3],o=+t[5],s=255&(t[2]?te(s):bt(s,0,255)),n=255&(t[4]?te(n):bt(n,0,255)),o=255&(t[6]?te(o):bt(o,0,255)),{r:s,g:n,b:o,a:e}}}function To(i){return i&&(i.a<255?`rgba(${i.r}, ${i.g}, ${i.b}, ${gt(i.a)})`:`rgb(${i.r}, ${i.g}, ${i.b})`)}const Je=i=>i<=.0031308?i*12.92:Math.pow(i,1/2.4)*1.055-.055,zt=i=>i<=.04045?i/12.92:Math.pow((i+.055)/1.055,2.4);function Ao(i,t,e){const s=zt(gt(i.r)),n=zt(gt(i.g)),o=zt(gt(i.b));return{r:xt(Je(s+e*(zt(gt(t.r))-s))),g:xt(Je(n+e*(zt(gt(t.g))-n))),b:xt(Je(o+e*(zt(gt(t.b))-o))),a:i.a+e*(t.a-i.a)}}function ve(i,t,e){if(i){let s=Mi(i);s[t]=Math.max(0,Math.min(s[t]+s[t]*e,t===0?360:1)),s=Pi(s),i.r=s[0],i.g=s[1],i.b=s[2]}}function fn(i,t){return i&&Object.assign(t||{},i)}function ji(i){var t={r:0,g:0,b:0,a:255};return Array.isArray(i)?i.length>=3&&(t={r:i[0],g:i[1],b:i[2],a:255},i.length>3&&(t.a=xt(i[3]))):(t=fn(i,{r:0,g:0,b:0,a:1}),t.a=xt(t.a)),t}function Ro(i){return i.charAt(0)==="r"?Oo(i):wo(i)}class he{constructor(t){if(t instanceof he)return t;const e=typeof t;let s;e==="object"?s=ji(t):e==="string"&&(s=go(t)||Co(t)||Ro(t)),this._rgb=s,this._valid=!!s}get valid(){return this._valid}get rgb(){var t=fn(this._rgb);return t&&(t.a=gt(t.a)),t}set rgb(t){this._rgb=ji(t)}rgbString(){return this._valid?To(this._rgb):void 0}hexString(){return this._valid?mo(this._rgb):void 0}hslString(){return this._valid?So(this._rgb):void 0}mix(t,e){if(t){const s=this.rgb,n=t.rgb;let o;const r=e===o?.5:e,a=2*r-1,l=s.a-n.a,c=((a*l===-1?a:(a+l)/(1+a*l))+1)/2;o=1-c,s.r=255&c*s.r+o*n.r+.5,s.g=255&c*s.g+o*n.g+.5,s.b=255&c*s.b+o*n.b+.5,s.a=r*s.a+(1-r)*n.a,this.rgb=s}return this}interpolate(t,e){return t&&(this._rgb=Ao(this._rgb,t._rgb,e)),this}clone(){return new he(this.rgb)}alpha(t){return this._rgb.a=xt(t),this}clearer(t){const e=this._rgb;return e.a*=1-t,this}greyscale(){const t=this._rgb,e=me(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 ve(this._rgb,2,t),this}darken(t){return ve(this._rgb,2,-t),this}saturate(t){return ve(this._rgb,1,t),this}desaturate(t){return ve(this._rgb,1,-t),this}rotate(t){return Mo(this._rgb,t),this}}/*! + * Chart.js v4.4.1 * https://www.chartjs.org * (c) 2023 Chart.js Contributors * Released under the MIT License - */function dt(){}const Lo=(()=>{let i=0;return()=>i++})();function R(i){return i===null||typeof i>"u"}function W(i){if(Array.isArray&&Array.isArray(i))return!0;const t=Object.prototype.toString.call(i);return t.slice(0,7)==="[object"&&t.slice(-6)==="Array]"}function T(i){return i!==null&&Object.prototype.toString.call(i)==="[object Object]"}function q(i){return(typeof i=="number"||i instanceof Number)&&isFinite(+i)}function ot(i,t){return q(i)?i:t}function D(i,t){return typeof i>"u"?t:i}const Io=(i,t)=>typeof i=="string"&&i.endsWith("%")?parseFloat(i)/100*t:+i;function F(i,t,e){if(i&&typeof i.call=="function")return i.apply(e,t)}function L(i,t,e,s){let n,o,r;if(W(i))if(o=i.length,s)for(n=o-1;n>=0;n--)t.call(e,i[n],n);else for(n=0;ni,x:i=>i.x,y:i=>i.y};function zo(i){const t=i.split("."),e=[];let s="";for(const n of t)s+=n,s.endsWith("\\")?s=s.slice(0,-1)+".":(e.push(s),s="");return e}function Bo(i){const t=zo(i);return e=>{for(const s of t){if(s==="")break;e=e&&e[s]}return e}}function Wt(i,t){return(ji[t]||(ji[t]=Bo(t)))(i)}function Ci(i){return i.charAt(0).toUpperCase()+i.slice(1)}const de=i=>typeof i<"u",yt=i=>typeof i=="function",$i=(i,t)=>{if(i.size!==t.size)return!1;for(const e of i)if(!t.has(e))return!1;return!0};function Ho(i){return i.type==="mouseup"||i.type==="click"||i.type==="contextmenu"}const N=Math.PI,V=2*N,Wo=V+N,Ve=Number.POSITIVE_INFINITY,No=N/180,$=N/2,vt=N/4,Yi=N*2/3,gi=Math.log10,ct=Math.sign;function oe(i,t,e){return Math.abs(i-t)n-o).pop(),t}function fe(i){return!isNaN(parseFloat(i))&&isFinite(i)}function jo(i,t){const e=Math.round(i);return e-t<=i&&e+t>=i}function $o(i,t,e){let s,n,o;for(s=0,n=i.length;sl&&c=Math.min(t,e)-s&&i<=Math.max(t,e)+s}function Oi(i,t,e){e=e||(r=>i[r]1;)o=n+s>>1,e(o)?n=o:s=o;return{lo:n,hi:s}}const Dt=(i,t,e,s)=>Oi(i,e,s?n=>{const o=i[n][t];return oi[n][t]Oi(i,e,s=>i[s][t]>=e);function qo(i,t,e){let s=0,n=i.length;for(;ss&&i[n-1]>e;)n--;return s>0||n{const s="_onData"+Ci(e),n=i[e];Object.defineProperty(i,e,{configurable:!0,enumerable:!1,value(...o){const r=n.apply(this,o);return i._chartjs.listeners.forEach(a=>{typeof a[s]=="function"&&a[s](...o)}),r}})})}function Ki(i,t){const e=i._chartjs;if(!e)return;const s=e.listeners,n=s.indexOf(t);n!==-1&&s.splice(n,1),!(s.length>0)&&(gn.forEach(o=>{delete i[o]}),delete i._chartjs)}function pn(i){const t=new Set(i);return t.size===i.length?i:Array.from(t)}const mn=function(){return typeof window>"u"?function(i){return i()}:window.requestAnimationFrame}();function bn(i,t){let e=[],s=!1;return function(...n){e=n,s||(s=!0,mn.call(window,()=>{s=!1,i.apply(t,e)}))}}function Zo(i,t){let e;return function(...s){return t?(clearTimeout(e),e=setTimeout(i,t,s)):i.apply(this,s),t}}const Ti=i=>i==="start"?"left":i==="end"?"right":"center",X=(i,t,e)=>i==="start"?t:i==="end"?e:(t+e)/2,Jo=(i,t,e,s)=>i===(s?"left":"right")?e:i==="center"?(t+e)/2:t;function Qo(i,t,e){const s=t.length;let n=0,o=s;if(i._sorted){const{iScale:r,_parsed:a}=i,l=r.axis,{min:c,max:h,minDefined:d,maxDefined:f}=r.getUserBounds();d&&(n=K(Math.min(Dt(a,l,c).lo,e?s:Dt(t,l,r.getPixelForValue(c)).lo),0,s-1)),f?o=K(Math.max(Dt(a,r.axis,h,!0).hi+1,e?0:Dt(t,l,r.getPixelForValue(h),!0).hi+1),n,s)-n:o=s-n}return{start:n,count:o}}function tr(i){const{xScale:t,yScale:e,_scaleRanges:s}=i,n={xmin:t.min,xmax:t.max,ymin:e.min,ymax:e.max};if(!s)return i._scaleRanges=n,!0;const o=s.xmin!==t.min||s.xmax!==t.max||s.ymin!==e.min||s.ymax!==e.max;return Object.assign(s,n),o}const ke=i=>i===0||i===1,qi=(i,t,e)=>-(Math.pow(2,10*(i-=1))*Math.sin((i-t)*V/e)),Gi=(i,t,e)=>Math.pow(2,-10*i)*Math.sin((i-t)*V/e)+1,re={linear:i=>i,easeInQuad:i=>i*i,easeOutQuad:i=>-i*(i-2),easeInOutQuad:i=>(i/=.5)<1?.5*i*i:-.5*(--i*(i-2)-1),easeInCubic:i=>i*i*i,easeOutCubic:i=>(i-=1)*i*i+1,easeInOutCubic:i=>(i/=.5)<1?.5*i*i*i:.5*((i-=2)*i*i+2),easeInQuart:i=>i*i*i*i,easeOutQuart:i=>-((i-=1)*i*i*i-1),easeInOutQuart:i=>(i/=.5)<1?.5*i*i*i*i:-.5*((i-=2)*i*i*i-2),easeInQuint:i=>i*i*i*i*i,easeOutQuint:i=>(i-=1)*i*i*i*i+1,easeInOutQuint:i=>(i/=.5)<1?.5*i*i*i*i*i:.5*((i-=2)*i*i*i*i+2),easeInSine:i=>-Math.cos(i*$)+1,easeOutSine:i=>Math.sin(i*$),easeInOutSine:i=>-.5*(Math.cos(N*i)-1),easeInExpo:i=>i===0?0:Math.pow(2,10*(i-1)),easeOutExpo:i=>i===1?1:-Math.pow(2,-10*i)+1,easeInOutExpo:i=>ke(i)?i:i<.5?.5*Math.pow(2,10*(i*2-1)):.5*(-Math.pow(2,-10*(i*2-1))+2),easeInCirc:i=>i>=1?i:-(Math.sqrt(1-i*i)-1),easeOutCirc:i=>Math.sqrt(1-(i-=1)*i),easeInOutCirc:i=>(i/=.5)<1?-.5*(Math.sqrt(1-i*i)-1):.5*(Math.sqrt(1-(i-=2)*i)+1),easeInElastic:i=>ke(i)?i:qi(i,.075,.3),easeOutElastic:i=>ke(i)?i:Gi(i,.075,.3),easeInOutElastic(i){return ke(i)?i:i<.5?.5*qi(i*2,.1125,.45):.5+.5*Gi(i*2-1,.1125,.45)},easeInBack(i){return i*i*((1.70158+1)*i-1.70158)},easeOutBack(i){return(i-=1)*i*((1.70158+1)*i+1.70158)+1},easeInOutBack(i){let t=1.70158;return(i/=.5)<1?.5*(i*i*(((t*=1.525)+1)*i-t)):.5*((i-=2)*i*(((t*=1.525)+1)*i+t)+2)},easeInBounce:i=>1-re.easeOutBounce(1-i),easeOutBounce(i){return i<1/2.75?7.5625*i*i:i<2/2.75?7.5625*(i-=1.5/2.75)*i+.75:i<2.5/2.75?7.5625*(i-=2.25/2.75)*i+.9375:7.5625*(i-=2.625/2.75)*i+.984375},easeInOutBounce:i=>i<.5?re.easeInBounce(i*2)*.5:re.easeOutBounce(i*2-1)*.5+.5};function Ai(i){if(i&&typeof i=="object"){const t=i.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function Zi(i){return Ai(i)?i:new he(i)}function Qe(i){return Ai(i)?i:new he(i).saturate(.5).darken(.1).hexString()}const er=["x","y","borderWidth","radius","tension"],ir=["color","borderColor","backgroundColor"];function sr(i){i.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),i.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>t!=="onProgress"&&t!=="onComplete"&&t!=="fn"}),i.set("animations",{colors:{type:"color",properties:ir},numbers:{type:"number",properties:er}}),i.describe("animations",{_fallback:"animation"}),i.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>t|0}}}})}function nr(i){i.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const Ji=new Map;function or(i,t){t=t||{};const e=i+JSON.stringify(t);let s=Ji.get(e);return s||(s=new Intl.NumberFormat(i,t),Ji.set(e,s)),s}function _n(i,t,e){return or(t,e).format(i)}const xn={values(i){return W(i)?i:""+i},numeric(i,t,e){if(i===0)return"0";const s=this.chart.options.locale;let n,o=i;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)&&(n="scientific"),o=rr(i,e)}const r=gi(Math.abs(o)),a=isNaN(r)?1:Math.max(Math.min(-1*Math.floor(r),20),0),l={notation:n,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),_n(i,s,l)},logarithmic(i,t,e){if(i===0)return"0";const s=e[t].significand||i/Math.pow(10,Math.floor(gi(i)));return[1,2,3,5,10,15].includes(s)||t>.8*e.length?xn.numeric.call(this,i,t,e):""}};function rr(i,t){let e=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(e)>=1&&i!==Math.floor(i)&&(e=i-Math.floor(i)),e}var yn={formatters:xn};function ar(i){i.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:yn.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),i.route("scale.ticks","color","","color"),i.route("scale.grid","color","","borderColor"),i.route("scale.border","color","","borderColor"),i.route("scale.title","color","","color"),i.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&t!=="callback"&&t!=="parser",_indexable:t=>t!=="borderDash"&&t!=="tickBorderDash"&&t!=="dash"}),i.describe("scales",{_fallback:"scale"}),i.describe("scale.ticks",{_scriptable:t=>t!=="backdropPadding"&&t!=="callback",_indexable:t=>t!=="backdropPadding"})}const At=Object.create(null),mi=Object.create(null);function ae(i,t){if(!t)return i;const e=t.split(".");for(let s=0,n=e.length;ss.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=(s,n)=>Qe(n.backgroundColor),this.hoverBorderColor=(s,n)=>Qe(n.borderColor),this.hoverColor=(s,n)=>Qe(n.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(e)}set(t,e){return ti(this,t,e)}get(t){return ae(this,t)}describe(t,e){return ti(mi,t,e)}override(t,e){return ti(At,t,e)}route(t,e,s,n){const o=ae(this,t),r=ae(this,s),a="_"+e;Object.defineProperties(o,{[a]:{value:o[e],writable:!0},[e]:{enumerable:!0,get(){const l=this[a],c=r[n];return T(l)?Object.assign({},c,l):D(l,c)},set(l){this[a]=l}}})}apply(t){t.forEach(e=>e(this))}}var B=new lr({_scriptable:i=>!i.startsWith("on"),_indexable:i=>i!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[sr,nr,ar]);function cr(i){return!i||R(i.size)||R(i.family)?null:(i.style?i.style+" ":"")+(i.weight?i.weight+" ":"")+i.size+"px "+i.family}function Qi(i,t,e,s,n){let o=t[n];return o||(o=t[n]=i.measureText(n).width,e.push(n)),o>s&&(s=o),s}function kt(i,t,e){const s=i.currentDevicePixelRatio,n=e!==0?Math.max(e/2,.5):0;return Math.round((t-n)*s)/s+n}function ts(i,t){t=t||i.getContext("2d"),t.save(),t.resetTransform(),t.clearRect(0,0,i.width,i.height),t.restore()}function bi(i,t,e,s){vn(i,t,e,s,null)}function vn(i,t,e,s,n){let o,r,a,l,c,h,d,f;const u=t.pointStyle,p=t.rotation,g=t.radius;let m=(p||0)*No;if(u&&typeof u=="object"&&(o=u.toString(),o==="[object HTMLImageElement]"||o==="[object HTMLCanvasElement]")){i.save(),i.translate(e,s),i.rotate(m),i.drawImage(u,-u.width/2,-u.height/2,u.width,u.height),i.restore();return}if(!(isNaN(g)||g<=0)){switch(i.beginPath(),u){default:n?i.ellipse(e,s,n/2,g,0,0,V):i.arc(e,s,g,0,V),i.closePath();break;case"triangle":h=n?n/2:g,i.moveTo(e+Math.sin(m)*h,s-Math.cos(m)*g),m+=Yi,i.lineTo(e+Math.sin(m)*h,s-Math.cos(m)*g),m+=Yi,i.lineTo(e+Math.sin(m)*h,s-Math.cos(m)*g),i.closePath();break;case"rectRounded":c=g*.516,l=g-c,r=Math.cos(m+vt)*l,d=Math.cos(m+vt)*(n?n/2-c:l),a=Math.sin(m+vt)*l,f=Math.sin(m+vt)*(n?n/2-c:l),i.arc(e-d,s-a,c,m-N,m-$),i.arc(e+f,s-r,c,m-$,m),i.arc(e+d,s+a,c,m,m+$),i.arc(e-f,s+r,c,m+$,m+N),i.closePath();break;case"rect":if(!p){l=Math.SQRT1_2*g,h=n?n/2:l,i.rect(e-h,s-l,2*h,2*l);break}m+=vt;case"rectRot":d=Math.cos(m)*(n?n/2:g),r=Math.cos(m)*g,a=Math.sin(m)*g,f=Math.sin(m)*(n?n/2:g),i.moveTo(e-d,s-a),i.lineTo(e+f,s-r),i.lineTo(e+d,s+a),i.lineTo(e-f,s+r),i.closePath();break;case"crossRot":m+=vt;case"cross":d=Math.cos(m)*(n?n/2:g),r=Math.cos(m)*g,a=Math.sin(m)*g,f=Math.sin(m)*(n?n/2:g),i.moveTo(e-d,s-a),i.lineTo(e+d,s+a),i.moveTo(e+f,s-r),i.lineTo(e-f,s+r);break;case"star":d=Math.cos(m)*(n?n/2:g),r=Math.cos(m)*g,a=Math.sin(m)*g,f=Math.sin(m)*(n?n/2:g),i.moveTo(e-d,s-a),i.lineTo(e+d,s+a),i.moveTo(e+f,s-r),i.lineTo(e-f,s+r),m+=vt,d=Math.cos(m)*(n?n/2:g),r=Math.cos(m)*g,a=Math.sin(m)*g,f=Math.sin(m)*(n?n/2:g),i.moveTo(e-d,s-a),i.lineTo(e+d,s+a),i.moveTo(e+f,s-r),i.lineTo(e-f,s+r);break;case"line":r=n?n/2:Math.cos(m)*g,a=Math.sin(m)*g,i.moveTo(e-r,s-a),i.lineTo(e+r,s+a);break;case"dash":i.moveTo(e,s),i.lineTo(e+Math.cos(m)*(n?n/2:g),s+Math.sin(m)*g);break;case!1:i.closePath();break}i.fill(),t.borderWidth>0&&i.stroke()}}function ue(i,t,e){return e=e||.5,!t||i&&i.x>t.left-e&&i.xt.top-e&&i.y0&&o.strokeColor!=="";let l,c;for(i.save(),i.font=n.string,fr(i,o),l=0;l+i||0;function Ri(i,t){const e={},s=T(t),n=s?Object.keys(t):t,o=T(i)?s?r=>D(i[r],i[t[r]]):r=>i[r]:()=>i;for(const r of n)e[r]=_r(o(r));return e}function kn(i){return Ri(i,{top:"y",right:"x",bottom:"y",left:"x"})}function zt(i){return Ri(i,["topLeft","topRight","bottomLeft","bottomRight"])}function tt(i){const t=kn(i);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function Y(i,t){i=i||{},t=t||B.font;let e=D(i.size,t.size);typeof e=="string"&&(e=parseInt(e,10));let s=D(i.style,t.style);s&&!(""+s).match(mr)&&(console.warn('Invalid font style specified: "'+s+'"'),s=void 0);const n={family:D(i.family,t.family),lineHeight:br(D(i.lineHeight,t.lineHeight),e),size:e,style:s,weight:D(i.weight,t.weight),string:""};return n.string=cr(n),n}function z(i,t,e,s){let n=!0,o,r,a;for(o=0,r=i.length;oe&&a===0?0:a+l;return{min:r(s,-Math.abs(o)),max:r(n,o)}}function Rt(i,t){return Object.assign(Object.create(i),t)}function Li(i,t=[""],e,s,n=()=>i[0]){const o=e||i;typeof s>"u"&&(s=Pn("_fallback",i));const r={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:i,_rootScopes:o,_fallback:s,_getTarget:n,override:a=>Li([a,...i],t,o,s)};return new Proxy(r,{deleteProperty(a,l){return delete a[l],delete a._keys,delete i[0][l],!0},get(a,l){return Mn(a,l,()=>Cr(l,t,i,a))},getOwnPropertyDescriptor(a,l){return Reflect.getOwnPropertyDescriptor(a._scopes[0],l)},getPrototypeOf(){return Reflect.getPrototypeOf(i[0])},has(a,l){return is(a).includes(l)},ownKeys(a){return is(a)},set(a,l,c){const h=a._storage||(a._storage=n());return a[l]=h[l]=c,delete a._keys,!0}})}function Nt(i,t,e,s){const n={_cacheable:!1,_proxy:i,_context:t,_subProxy:e,_stack:new Set,_descriptors:wn(i,s),setContext:o=>Nt(i,o,e,s),override:o=>Nt(i.override(o),t,e,s)};return new Proxy(n,{deleteProperty(o,r){return delete o[r],delete i[r],!0},get(o,r,a){return Mn(o,r,()=>vr(o,r,a))},getOwnPropertyDescriptor(o,r){return o._descriptors.allKeys?Reflect.has(i,r)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(i,r)},getPrototypeOf(){return Reflect.getPrototypeOf(i)},has(o,r){return Reflect.has(i,r)},ownKeys(){return Reflect.ownKeys(i)},set(o,r,a){return i[r]=a,delete o[r],!0}})}function wn(i,t={scriptable:!0,indexable:!0}){const{_scriptable:e=t.scriptable,_indexable:s=t.indexable,_allKeys:n=t.allKeys}=i;return{allKeys:n,scriptable:e,indexable:s,isScriptable:yt(e)?e:()=>e,isIndexable:yt(s)?s:()=>s}}const yr=(i,t)=>i?i+Ci(t):t,Ii=(i,t)=>T(t)&&i!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function Mn(i,t,e){if(Object.prototype.hasOwnProperty.call(i,t))return i[t];const s=e();return i[t]=s,s}function vr(i,t,e){const{_proxy:s,_context:n,_subProxy:o,_descriptors:r}=i;let a=s[t];return yt(a)&&r.isScriptable(t)&&(a=kr(t,a,i,e)),W(a)&&a.length&&(a=wr(t,a,i,r.isIndexable)),Ii(t,a)&&(a=Nt(a,n,o&&o[t],r)),a}function kr(i,t,e,s){const{_proxy:n,_context:o,_subProxy:r,_stack:a}=e;if(a.has(i))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+i);a.add(i);let l=t(o,r||s);return a.delete(i),Ii(i,l)&&(l=Fi(n._scopes,n,i,l)),l}function wr(i,t,e,s){const{_proxy:n,_context:o,_subProxy:r,_descriptors:a}=e;if(typeof o.index<"u"&&s(i))return t[o.index%t.length];if(T(t[0])){const l=t,c=n._scopes.filter(h=>h!==l);t=[];for(const h of l){const d=Fi(c,n,i,h);t.push(Nt(d,o,r&&r[i],a))}}return t}function Sn(i,t,e){return yt(i)?i(t,e):i}const Mr=(i,t)=>i===!0?t:typeof i=="string"?Wt(t,i):void 0;function Sr(i,t,e,s,n){for(const o of t){const r=Mr(e,o);if(r){i.add(r);const a=Sn(r._fallback,e,n);if(typeof a<"u"&&a!==e&&a!==s)return a}else if(r===!1&&typeof s<"u"&&e!==s)return null}return!1}function Fi(i,t,e,s){const n=t._rootScopes,o=Sn(t._fallback,e,s),r=[...i,...n],a=new Set;a.add(s);let l=es(a,r,e,o||e,s);return l===null||typeof o<"u"&&o!==e&&(l=es(a,r,o,l,s),l===null)?!1:Li(Array.from(a),[""],n,o,()=>Pr(t,e,s))}function es(i,t,e,s,n){for(;e;)e=Sr(i,t,e,s,n);return e}function Pr(i,t,e){const s=i._getTarget();t in s||(s[t]={});const n=s[t];return W(n)&&T(e)?e:n||{}}function Cr(i,t,e,s){let n;for(const o of t)if(n=Pn(yr(o,i),e),typeof n<"u")return Ii(i,n)?Fi(e,s,i,n):n}function Pn(i,t){for(const e of t){if(!e)continue;const s=e[i];if(typeof s<"u")return s}}function is(i){let t=i._keys;return t||(t=i._keys=Dr(i._scopes)),t}function Dr(i){const t=new Set;for(const e of i)for(const s of Object.keys(e).filter(n=>!n.startsWith("_")))t.add(s);return Array.from(t)}const Or=Number.EPSILON||1e-14,Vt=(i,t)=>ti==="x"?"y":"x";function Tr(i,t,e,s){const n=i.skip?t:i,o=t,r=e.skip?t:e,a=pi(o,n),l=pi(r,o);let c=a/(a+l),h=l/(a+l);c=isNaN(c)?0:c,h=isNaN(h)?0:h;const d=s*c,f=s*h;return{previous:{x:o.x-d*(r.x-n.x),y:o.y-d*(r.y-n.y)},next:{x:o.x+f*(r.x-n.x),y:o.y+f*(r.y-n.y)}}}function Ar(i,t,e){const s=i.length;let n,o,r,a,l,c=Vt(i,0);for(let h=0;h!c.skip)),t.cubicInterpolationMode==="monotone")Lr(i,n);else{let c=s?i[i.length-1]:i[0];for(o=0,r=i.length;oi.ownerDocument.defaultView.getComputedStyle(i,null);function Er(i,t){return Ge(i).getPropertyValue(t)}const zr=["top","right","bottom","left"];function Tt(i,t,e){const s={};e=e?"-"+e:"";for(let n=0;n<4;n++){const o=zr[n];s[o]=parseFloat(i[t+"-"+o+e])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}const Br=(i,t,e)=>(i>0||t>0)&&(!e||!e.shadowRoot);function Hr(i,t){const e=i.touches,s=e&&e.length?e[0]:i,{offsetX:n,offsetY:o}=s;let r=!1,a,l;if(Br(n,o,i.target))a=n,l=o;else{const c=t.getBoundingClientRect();a=s.clientX-c.left,l=s.clientY-c.top,r=!0}return{x:a,y:l,box:r}}function Mt(i,t){if("native"in i)return i;const{canvas:e,currentDevicePixelRatio:s}=t,n=Ge(e),o=n.boxSizing==="border-box",r=Tt(n,"padding"),a=Tt(n,"border","width"),{x:l,y:c,box:h}=Hr(i,e),d=r.left+(h&&a.left),f=r.top+(h&&a.top);let{width:u,height:p}=t;return o&&(u-=r.width+a.width,p-=r.height+a.height),{x:Math.round((l-d)/u*e.width/s),y:Math.round((c-f)/p*e.height/s)}}function Wr(i,t,e){let s,n;if(t===void 0||e===void 0){const o=Ei(i);if(!o)t=i.clientWidth,e=i.clientHeight;else{const r=o.getBoundingClientRect(),a=Ge(o),l=Tt(a,"border","width"),c=Tt(a,"padding");t=r.width-c.width-l.width,e=r.height-c.height-l.height,s=$e(a.maxWidth,o,"clientWidth"),n=$e(a.maxHeight,o,"clientHeight")}}return{width:t,height:e,maxWidth:s||Ve,maxHeight:n||Ve}}const Me=i=>Math.round(i*10)/10;function Nr(i,t,e,s){const n=Ge(i),o=Tt(n,"margin"),r=$e(n.maxWidth,i,"clientWidth")||Ve,a=$e(n.maxHeight,i,"clientHeight")||Ve,l=Wr(i,t,e);let{width:c,height:h}=l;if(n.boxSizing==="content-box"){const f=Tt(n,"border","width"),u=Tt(n,"padding");c-=u.width+f.width,h-=u.height+f.height}return c=Math.max(0,c-o.width),h=Math.max(0,s?c/s:h-o.height),c=Me(Math.min(c,r,l.maxWidth)),h=Me(Math.min(h,a,l.maxHeight)),c&&!h&&(h=Me(c/2)),(t!==void 0||e!==void 0)&&s&&l.height&&h>l.height&&(h=l.height,c=Me(Math.floor(h*s))),{width:c,height:h}}function ss(i,t,e){const s=t||1,n=Math.floor(i.height*s),o=Math.floor(i.width*s);i.height=Math.floor(i.height),i.width=Math.floor(i.width);const r=i.canvas;return r.style&&(e||!r.style.height&&!r.style.width)&&(r.style.height=`${i.height}px`,r.style.width=`${i.width}px`),i.currentDevicePixelRatio!==s||r.height!==n||r.width!==o?(i.currentDevicePixelRatio=s,r.height=n,r.width=o,i.ctx.setTransform(s,0,0,s,0,0),!0):!1}const Vr=function(){let i=!1;try{const t={get passive(){return i=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch{}return i}();function ns(i,t){const e=Er(i,t),s=e&&e.match(/^(\d+)(\.\d+)?px$/);return s?+s[1]:void 0}function St(i,t,e,s){return{x:i.x+e*(t.x-i.x),y:i.y+e*(t.y-i.y)}}function jr(i,t,e,s){return{x:i.x+e*(t.x-i.x),y:s==="middle"?e<.5?i.y:t.y:s==="after"?e<1?i.y:t.y:e>0?t.y:i.y}}function $r(i,t,e,s){const n={x:i.cp2x,y:i.cp2y},o={x:t.cp1x,y:t.cp1y},r=St(i,n,e),a=St(n,o,e),l=St(o,t,e),c=St(r,a,e),h=St(a,l,e);return St(c,h,e)}const Yr=function(i,t){return{x(e){return i+i+t-e},setWidth(e){t=e},textAlign(e){return e==="center"?e:e==="right"?"left":"right"},xPlus(e,s){return e-s},leftForLtr(e,s){return e-s}}},Ur=function(){return{x(i){return i},setWidth(i){},textAlign(i){return i},xPlus(i,t){return i+t},leftForLtr(i,t){return i}}};function Bt(i,t,e){return i?Yr(t,e):Ur()}function On(i,t){let e,s;(t==="ltr"||t==="rtl")&&(e=i.canvas.style,s=[e.getPropertyValue("direction"),e.getPropertyPriority("direction")],e.setProperty("direction",t,"important"),i.prevTextDirection=s)}function Tn(i,t){t!==void 0&&(delete i.prevTextDirection,i.canvas.style.setProperty("direction",t[0],t[1]))}function An(i){return i==="angle"?{between:Di,compare:Uo,normalize:lt}:{between:pt,compare:(t,e)=>t-e,normalize:t=>t}}function os({start:i,end:t,count:e,loop:s,style:n}){return{start:i%e,end:t%e,loop:s&&(t-i+1)%e===0,style:n}}function Xr(i,t,e){const{property:s,start:n,end:o}=e,{between:r,normalize:a}=An(s),l=t.length;let{start:c,end:h,loop:d}=i,f,u;if(d){for(c+=l,h+=l,f=0,u=l;fl(n,y,b)&&a(n,y)!==0,x=()=>a(o,b)===0||l(o,y,b),w=()=>g||v(),M=()=>!g||x();for(let k=h,P=h;k<=d;++k)_=t[k%r],!_.skip&&(b=c(_[s]),b!==y&&(g=l(b,n,o),m===null&&w()&&(m=a(b,n)===0?k:P),m!==null&&M()&&(p.push(os({start:m,end:k,loop:f,count:r,style:u})),m=null),P=k,y=b));return m!==null&&p.push(os({start:m,end:d,loop:f,count:r,style:u})),p}function Ln(i,t){const e=[],s=i.segments;for(let n=0;nn&&i[o%t].skip;)o--;return o%=t,{start:n,end:o}}function qr(i,t,e,s){const n=i.length,o=[];let r=t,a=i[t],l;for(l=t+1;l<=e;++l){const c=i[l%n];c.skip||c.stop?a.skip||(s=!1,o.push({start:t%n,end:(l-1)%n,loop:s}),t=r=c.stop?l:null):(r=l,a.skip&&(t=l)),a=c}return r!==null&&o.push({start:t%n,end:r%n,loop:s}),o}function Gr(i,t){const e=i.points,s=i.options.spanGaps,n=e.length;if(!n)return[];const o=!!i._loop,{start:r,end:a}=Kr(e,n,o,s);if(s===!0)return rs(i,[{start:r,end:a,loop:o}],e,t);const l=a{let i=0;return()=>i++})();function R(i){return i===null||typeof i>"u"}function W(i){if(Array.isArray&&Array.isArray(i))return!0;const t=Object.prototype.toString.call(i);return t.slice(0,7)==="[object"&&t.slice(-6)==="Array]"}function T(i){return i!==null&&Object.prototype.toString.call(i)==="[object Object]"}function q(i){return(typeof i=="number"||i instanceof Number)&&isFinite(+i)}function ot(i,t){return q(i)?i:t}function D(i,t){return typeof i>"u"?t:i}const Io=(i,t)=>typeof i=="string"&&i.endsWith("%")?parseFloat(i)/100*t:+i;function F(i,t,e){if(i&&typeof i.call=="function")return i.apply(e,t)}function L(i,t,e,s){let n,o,r;if(W(i))if(o=i.length,s)for(n=o-1;n>=0;n--)t.call(e,i[n],n);else for(n=0;ni,x:i=>i.x,y:i=>i.y};function zo(i){const t=i.split("."),e=[];let s="";for(const n of t)s+=n,s.endsWith("\\")?s=s.slice(0,-1)+".":(e.push(s),s="");return e}function Bo(i){const t=zo(i);return e=>{for(const s of t){if(s==="")break;e=e&&e[s]}return e}}function Vt(i,t){return($i[t]||($i[t]=Bo(t)))(i)}function Ci(i){return i.charAt(0).toUpperCase()+i.slice(1)}const de=i=>typeof i<"u",yt=i=>typeof i=="function",Yi=(i,t)=>{if(i.size!==t.size)return!1;for(const e of i)if(!t.has(e))return!1;return!0};function Ho(i){return i.type==="mouseup"||i.type==="click"||i.type==="contextmenu"}const N=Math.PI,V=2*N,Wo=V+N,Ve=Number.POSITIVE_INFINITY,No=N/180,$=N/2,wt=N/4,Ui=N*2/3,gi=Math.log10,ct=Math.sign;function oe(i,t,e){return Math.abs(i-t)n-o).pop(),t}function fe(i){return!isNaN(parseFloat(i))&&isFinite(i)}function jo(i,t){const e=Math.round(i);return e-t<=i&&e+t>=i}function $o(i,t,e){let s,n,o;for(s=0,n=i.length;sl&&c=Math.min(t,e)-s&&i<=Math.max(t,e)+s}function Oi(i,t,e){e=e||(r=>i[r]1;)o=n+s>>1,e(o)?n=o:s=o;return{lo:n,hi:s}}const Tt=(i,t,e,s)=>Oi(i,e,s?n=>{const o=i[n][t];return oi[n][t]Oi(i,e,s=>i[s][t]>=e);function qo(i,t,e){let s=0,n=i.length;for(;ss&&i[n-1]>e;)n--;return s>0||n{const s="_onData"+Ci(e),n=i[e];Object.defineProperty(i,e,{configurable:!0,enumerable:!1,value(...o){const r=n.apply(this,o);return i._chartjs.listeners.forEach(a=>{typeof a[s]=="function"&&a[s](...o)}),r}})})}function qi(i,t){const e=i._chartjs;if(!e)return;const s=e.listeners,n=s.indexOf(t);n!==-1&&s.splice(n,1),!(s.length>0)&&(pn.forEach(o=>{delete i[o]}),delete i._chartjs)}function mn(i){const t=new Set(i);return t.size===i.length?i:Array.from(t)}const bn=function(){return typeof window>"u"?function(i){return i()}:window.requestAnimationFrame}();function _n(i,t){let e=[],s=!1;return function(...n){e=n,s||(s=!0,bn.call(window,()=>{s=!1,i.apply(t,e)}))}}function Zo(i,t){let e;return function(...s){return t?(clearTimeout(e),e=setTimeout(i,t,s)):i.apply(this,s),t}}const Ti=i=>i==="start"?"left":i==="end"?"right":"center",X=(i,t,e)=>i==="start"?t:i==="end"?e:(t+e)/2,Jo=(i,t,e,s)=>i===(s?"left":"right")?e:i==="center"?(t+e)/2:t;function Qo(i,t,e){const s=t.length;let n=0,o=s;if(i._sorted){const{iScale:r,_parsed:a}=i,l=r.axis,{min:c,max:h,minDefined:d,maxDefined:f}=r.getUserBounds();d&&(n=K(Math.min(Tt(a,l,c).lo,e?s:Tt(t,l,r.getPixelForValue(c)).lo),0,s-1)),f?o=K(Math.max(Tt(a,r.axis,h,!0).hi+1,e?0:Tt(t,l,r.getPixelForValue(h),!0).hi+1),n,s)-n:o=s-n}return{start:n,count:o}}function tr(i){const{xScale:t,yScale:e,_scaleRanges:s}=i,n={xmin:t.min,xmax:t.max,ymin:e.min,ymax:e.max};if(!s)return i._scaleRanges=n,!0;const o=s.xmin!==t.min||s.xmax!==t.max||s.ymin!==e.min||s.ymax!==e.max;return Object.assign(s,n),o}const ke=i=>i===0||i===1,Gi=(i,t,e)=>-(Math.pow(2,10*(i-=1))*Math.sin((i-t)*V/e)),Zi=(i,t,e)=>Math.pow(2,-10*i)*Math.sin((i-t)*V/e)+1,re={linear:i=>i,easeInQuad:i=>i*i,easeOutQuad:i=>-i*(i-2),easeInOutQuad:i=>(i/=.5)<1?.5*i*i:-.5*(--i*(i-2)-1),easeInCubic:i=>i*i*i,easeOutCubic:i=>(i-=1)*i*i+1,easeInOutCubic:i=>(i/=.5)<1?.5*i*i*i:.5*((i-=2)*i*i+2),easeInQuart:i=>i*i*i*i,easeOutQuart:i=>-((i-=1)*i*i*i-1),easeInOutQuart:i=>(i/=.5)<1?.5*i*i*i*i:-.5*((i-=2)*i*i*i-2),easeInQuint:i=>i*i*i*i*i,easeOutQuint:i=>(i-=1)*i*i*i*i+1,easeInOutQuint:i=>(i/=.5)<1?.5*i*i*i*i*i:.5*((i-=2)*i*i*i*i+2),easeInSine:i=>-Math.cos(i*$)+1,easeOutSine:i=>Math.sin(i*$),easeInOutSine:i=>-.5*(Math.cos(N*i)-1),easeInExpo:i=>i===0?0:Math.pow(2,10*(i-1)),easeOutExpo:i=>i===1?1:-Math.pow(2,-10*i)+1,easeInOutExpo:i=>ke(i)?i:i<.5?.5*Math.pow(2,10*(i*2-1)):.5*(-Math.pow(2,-10*(i*2-1))+2),easeInCirc:i=>i>=1?i:-(Math.sqrt(1-i*i)-1),easeOutCirc:i=>Math.sqrt(1-(i-=1)*i),easeInOutCirc:i=>(i/=.5)<1?-.5*(Math.sqrt(1-i*i)-1):.5*(Math.sqrt(1-(i-=2)*i)+1),easeInElastic:i=>ke(i)?i:Gi(i,.075,.3),easeOutElastic:i=>ke(i)?i:Zi(i,.075,.3),easeInOutElastic(i){return ke(i)?i:i<.5?.5*Gi(i*2,.1125,.45):.5+.5*Zi(i*2-1,.1125,.45)},easeInBack(i){return i*i*((1.70158+1)*i-1.70158)},easeOutBack(i){return(i-=1)*i*((1.70158+1)*i+1.70158)+1},easeInOutBack(i){let t=1.70158;return(i/=.5)<1?.5*(i*i*(((t*=1.525)+1)*i-t)):.5*((i-=2)*i*(((t*=1.525)+1)*i+t)+2)},easeInBounce:i=>1-re.easeOutBounce(1-i),easeOutBounce(i){return i<1/2.75?7.5625*i*i:i<2/2.75?7.5625*(i-=1.5/2.75)*i+.75:i<2.5/2.75?7.5625*(i-=2.25/2.75)*i+.9375:7.5625*(i-=2.625/2.75)*i+.984375},easeInOutBounce:i=>i<.5?re.easeInBounce(i*2)*.5:re.easeOutBounce(i*2-1)*.5+.5};function Ai(i){if(i&&typeof i=="object"){const t=i.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function Ji(i){return Ai(i)?i:new he(i)}function Qe(i){return Ai(i)?i:new he(i).saturate(.5).darken(.1).hexString()}const er=["x","y","borderWidth","radius","tension"],ir=["color","borderColor","backgroundColor"];function sr(i){i.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),i.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>t!=="onProgress"&&t!=="onComplete"&&t!=="fn"}),i.set("animations",{colors:{type:"color",properties:ir},numbers:{type:"number",properties:er}}),i.describe("animations",{_fallback:"animation"}),i.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>t|0}}}})}function nr(i){i.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const Qi=new Map;function or(i,t){t=t||{};const e=i+JSON.stringify(t);let s=Qi.get(e);return s||(s=new Intl.NumberFormat(i,t),Qi.set(e,s)),s}function xn(i,t,e){return or(t,e).format(i)}const yn={values(i){return W(i)?i:""+i},numeric(i,t,e){if(i===0)return"0";const s=this.chart.options.locale;let n,o=i;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)&&(n="scientific"),o=rr(i,e)}const r=gi(Math.abs(o)),a=isNaN(r)?1:Math.max(Math.min(-1*Math.floor(r),20),0),l={notation:n,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),xn(i,s,l)},logarithmic(i,t,e){if(i===0)return"0";const s=e[t].significand||i/Math.pow(10,Math.floor(gi(i)));return[1,2,3,5,10,15].includes(s)||t>.8*e.length?yn.numeric.call(this,i,t,e):""}};function rr(i,t){let e=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(e)>=1&&i!==Math.floor(i)&&(e=i-Math.floor(i)),e}var vn={formatters:yn};function ar(i){i.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:vn.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),i.route("scale.ticks","color","","color"),i.route("scale.grid","color","","borderColor"),i.route("scale.border","color","","borderColor"),i.route("scale.title","color","","color"),i.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&t!=="callback"&&t!=="parser",_indexable:t=>t!=="borderDash"&&t!=="tickBorderDash"&&t!=="dash"}),i.describe("scales",{_fallback:"scale"}),i.describe("scale.ticks",{_scriptable:t=>t!=="backdropPadding"&&t!=="callback",_indexable:t=>t!=="backdropPadding"})}const Lt=Object.create(null),mi=Object.create(null);function ae(i,t){if(!t)return i;const e=t.split(".");for(let s=0,n=e.length;ss.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=(s,n)=>Qe(n.backgroundColor),this.hoverBorderColor=(s,n)=>Qe(n.borderColor),this.hoverColor=(s,n)=>Qe(n.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(e)}set(t,e){return ti(this,t,e)}get(t){return ae(this,t)}describe(t,e){return ti(mi,t,e)}override(t,e){return ti(Lt,t,e)}route(t,e,s,n){const o=ae(this,t),r=ae(this,s),a="_"+e;Object.defineProperties(o,{[a]:{value:o[e],writable:!0},[e]:{enumerable:!0,get(){const l=this[a],c=r[n];return T(l)?Object.assign({},c,l):D(l,c)},set(l){this[a]=l}}})}apply(t){t.forEach(e=>e(this))}}var B=new lr({_scriptable:i=>!i.startsWith("on"),_indexable:i=>i!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[sr,nr,ar]);function cr(i){return!i||R(i.size)||R(i.family)?null:(i.style?i.style+" ":"")+(i.weight?i.weight+" ":"")+i.size+"px "+i.family}function ts(i,t,e,s,n){let o=t[n];return o||(o=t[n]=i.measureText(n).width,e.push(n)),o>s&&(s=o),s}function Mt(i,t,e){const s=i.currentDevicePixelRatio,n=e!==0?Math.max(e/2,.5):0;return Math.round((t-n)*s)/s+n}function es(i,t){t=t||i.getContext("2d"),t.save(),t.resetTransform(),t.clearRect(0,0,i.width,i.height),t.restore()}function bi(i,t,e,s){kn(i,t,e,s,null)}function kn(i,t,e,s,n){let o,r,a,l,c,h,d,f;const u=t.pointStyle,p=t.rotation,g=t.radius;let m=(p||0)*No;if(u&&typeof u=="object"&&(o=u.toString(),o==="[object HTMLImageElement]"||o==="[object HTMLCanvasElement]")){i.save(),i.translate(e,s),i.rotate(m),i.drawImage(u,-u.width/2,-u.height/2,u.width,u.height),i.restore();return}if(!(isNaN(g)||g<=0)){switch(i.beginPath(),u){default:n?i.ellipse(e,s,n/2,g,0,0,V):i.arc(e,s,g,0,V),i.closePath();break;case"triangle":h=n?n/2:g,i.moveTo(e+Math.sin(m)*h,s-Math.cos(m)*g),m+=Ui,i.lineTo(e+Math.sin(m)*h,s-Math.cos(m)*g),m+=Ui,i.lineTo(e+Math.sin(m)*h,s-Math.cos(m)*g),i.closePath();break;case"rectRounded":c=g*.516,l=g-c,r=Math.cos(m+wt)*l,d=Math.cos(m+wt)*(n?n/2-c:l),a=Math.sin(m+wt)*l,f=Math.sin(m+wt)*(n?n/2-c:l),i.arc(e-d,s-a,c,m-N,m-$),i.arc(e+f,s-r,c,m-$,m),i.arc(e+d,s+a,c,m,m+$),i.arc(e-f,s+r,c,m+$,m+N),i.closePath();break;case"rect":if(!p){l=Math.SQRT1_2*g,h=n?n/2:l,i.rect(e-h,s-l,2*h,2*l);break}m+=wt;case"rectRot":d=Math.cos(m)*(n?n/2:g),r=Math.cos(m)*g,a=Math.sin(m)*g,f=Math.sin(m)*(n?n/2:g),i.moveTo(e-d,s-a),i.lineTo(e+f,s-r),i.lineTo(e+d,s+a),i.lineTo(e-f,s+r),i.closePath();break;case"crossRot":m+=wt;case"cross":d=Math.cos(m)*(n?n/2:g),r=Math.cos(m)*g,a=Math.sin(m)*g,f=Math.sin(m)*(n?n/2:g),i.moveTo(e-d,s-a),i.lineTo(e+d,s+a),i.moveTo(e+f,s-r),i.lineTo(e-f,s+r);break;case"star":d=Math.cos(m)*(n?n/2:g),r=Math.cos(m)*g,a=Math.sin(m)*g,f=Math.sin(m)*(n?n/2:g),i.moveTo(e-d,s-a),i.lineTo(e+d,s+a),i.moveTo(e+f,s-r),i.lineTo(e-f,s+r),m+=wt,d=Math.cos(m)*(n?n/2:g),r=Math.cos(m)*g,a=Math.sin(m)*g,f=Math.sin(m)*(n?n/2:g),i.moveTo(e-d,s-a),i.lineTo(e+d,s+a),i.moveTo(e+f,s-r),i.lineTo(e-f,s+r);break;case"line":r=n?n/2:Math.cos(m)*g,a=Math.sin(m)*g,i.moveTo(e-r,s-a),i.lineTo(e+r,s+a);break;case"dash":i.moveTo(e,s),i.lineTo(e+Math.cos(m)*(n?n/2:g),s+Math.sin(m)*g);break;case!1:i.closePath();break}i.fill(),t.borderWidth>0&&i.stroke()}}function ue(i,t,e){return e=e||.5,!t||i&&i.x>t.left-e&&i.xt.top-e&&i.y0&&o.strokeColor!=="";let l,c;for(i.save(),i.font=n.string,fr(i,o),l=0;l+i||0;function Ri(i,t){const e={},s=T(t),n=s?Object.keys(t):t,o=T(i)?s?r=>D(i[r],i[t[r]]):r=>i[r]:()=>i;for(const r of n)e[r]=_r(o(r));return e}function wn(i){return Ri(i,{top:"y",right:"x",bottom:"y",left:"x"})}function Ht(i){return Ri(i,["topLeft","topRight","bottomLeft","bottomRight"])}function tt(i){const t=wn(i);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function Y(i,t){i=i||{},t=t||B.font;let e=D(i.size,t.size);typeof e=="string"&&(e=parseInt(e,10));let s=D(i.style,t.style);s&&!(""+s).match(mr)&&(console.warn('Invalid font style specified: "'+s+'"'),s=void 0);const n={family:D(i.family,t.family),lineHeight:br(D(i.lineHeight,t.lineHeight),e),size:e,style:s,weight:D(i.weight,t.weight),string:""};return n.string=cr(n),n}function z(i,t,e,s){let n=!0,o,r,a;for(o=0,r=i.length;oe&&a===0?0:a+l;return{min:r(s,-Math.abs(o)),max:r(n,o)}}function It(i,t){return Object.assign(Object.create(i),t)}function Li(i,t=[""],e,s,n=()=>i[0]){const o=e||i;typeof s>"u"&&(s=Cn("_fallback",i));const r={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:i,_rootScopes:o,_fallback:s,_getTarget:n,override:a=>Li([a,...i],t,o,s)};return new Proxy(r,{deleteProperty(a,l){return delete a[l],delete a._keys,delete i[0][l],!0},get(a,l){return Sn(a,l,()=>Cr(l,t,i,a))},getOwnPropertyDescriptor(a,l){return Reflect.getOwnPropertyDescriptor(a._scopes[0],l)},getPrototypeOf(){return Reflect.getPrototypeOf(i[0])},has(a,l){return ss(a).includes(l)},ownKeys(a){return ss(a)},set(a,l,c){const h=a._storage||(a._storage=n());return a[l]=h[l]=c,delete a._keys,!0}})}function jt(i,t,e,s){const n={_cacheable:!1,_proxy:i,_context:t,_subProxy:e,_stack:new Set,_descriptors:Mn(i,s),setContext:o=>jt(i,o,e,s),override:o=>jt(i.override(o),t,e,s)};return new Proxy(n,{deleteProperty(o,r){return delete o[r],delete i[r],!0},get(o,r,a){return Sn(o,r,()=>vr(o,r,a))},getOwnPropertyDescriptor(o,r){return o._descriptors.allKeys?Reflect.has(i,r)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(i,r)},getPrototypeOf(){return Reflect.getPrototypeOf(i)},has(o,r){return Reflect.has(i,r)},ownKeys(){return Reflect.ownKeys(i)},set(o,r,a){return i[r]=a,delete o[r],!0}})}function Mn(i,t={scriptable:!0,indexable:!0}){const{_scriptable:e=t.scriptable,_indexable:s=t.indexable,_allKeys:n=t.allKeys}=i;return{allKeys:n,scriptable:e,indexable:s,isScriptable:yt(e)?e:()=>e,isIndexable:yt(s)?s:()=>s}}const yr=(i,t)=>i?i+Ci(t):t,Ii=(i,t)=>T(t)&&i!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function Sn(i,t,e){if(Object.prototype.hasOwnProperty.call(i,t))return i[t];const s=e();return i[t]=s,s}function vr(i,t,e){const{_proxy:s,_context:n,_subProxy:o,_descriptors:r}=i;let a=s[t];return yt(a)&&r.isScriptable(t)&&(a=kr(t,a,i,e)),W(a)&&a.length&&(a=wr(t,a,i,r.isIndexable)),Ii(t,a)&&(a=jt(a,n,o&&o[t],r)),a}function kr(i,t,e,s){const{_proxy:n,_context:o,_subProxy:r,_stack:a}=e;if(a.has(i))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+i);a.add(i);let l=t(o,r||s);return a.delete(i),Ii(i,l)&&(l=Fi(n._scopes,n,i,l)),l}function wr(i,t,e,s){const{_proxy:n,_context:o,_subProxy:r,_descriptors:a}=e;if(typeof o.index<"u"&&s(i))return t[o.index%t.length];if(T(t[0])){const l=t,c=n._scopes.filter(h=>h!==l);t=[];for(const h of l){const d=Fi(c,n,i,h);t.push(jt(d,o,r&&r[i],a))}}return t}function Pn(i,t,e){return yt(i)?i(t,e):i}const Mr=(i,t)=>i===!0?t:typeof i=="string"?Vt(t,i):void 0;function Sr(i,t,e,s,n){for(const o of t){const r=Mr(e,o);if(r){i.add(r);const a=Pn(r._fallback,e,n);if(typeof a<"u"&&a!==e&&a!==s)return a}else if(r===!1&&typeof s<"u"&&e!==s)return null}return!1}function Fi(i,t,e,s){const n=t._rootScopes,o=Pn(t._fallback,e,s),r=[...i,...n],a=new Set;a.add(s);let l=is(a,r,e,o||e,s);return l===null||typeof o<"u"&&o!==e&&(l=is(a,r,o,l,s),l===null)?!1:Li(Array.from(a),[""],n,o,()=>Pr(t,e,s))}function is(i,t,e,s,n){for(;e;)e=Sr(i,t,e,s,n);return e}function Pr(i,t,e){const s=i._getTarget();t in s||(s[t]={});const n=s[t];return W(n)&&T(e)?e:n||{}}function Cr(i,t,e,s){let n;for(const o of t)if(n=Cn(yr(o,i),e),typeof n<"u")return Ii(i,n)?Fi(e,s,i,n):n}function Cn(i,t){for(const e of t){if(!e)continue;const s=e[i];if(typeof s<"u")return s}}function ss(i){let t=i._keys;return t||(t=i._keys=Dr(i._scopes)),t}function Dr(i){const t=new Set;for(const e of i)for(const s of Object.keys(e).filter(n=>!n.startsWith("_")))t.add(s);return Array.from(t)}const Or=Number.EPSILON||1e-14,$t=(i,t)=>ti==="x"?"y":"x";function Tr(i,t,e,s){const n=i.skip?t:i,o=t,r=e.skip?t:e,a=pi(o,n),l=pi(r,o);let c=a/(a+l),h=l/(a+l);c=isNaN(c)?0:c,h=isNaN(h)?0:h;const d=s*c,f=s*h;return{previous:{x:o.x-d*(r.x-n.x),y:o.y-d*(r.y-n.y)},next:{x:o.x+f*(r.x-n.x),y:o.y+f*(r.y-n.y)}}}function Ar(i,t,e){const s=i.length;let n,o,r,a,l,c=$t(i,0);for(let h=0;h!c.skip)),t.cubicInterpolationMode==="monotone")Lr(i,n);else{let c=s?i[i.length-1]:i[0];for(o=0,r=i.length;oi.ownerDocument.defaultView.getComputedStyle(i,null);function Er(i,t){return Ge(i).getPropertyValue(t)}const zr=["top","right","bottom","left"];function Rt(i,t,e){const s={};e=e?"-"+e:"";for(let n=0;n<4;n++){const o=zr[n];s[o]=parseFloat(i[t+"-"+o+e])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}const Br=(i,t,e)=>(i>0||t>0)&&(!e||!e.shadowRoot);function Hr(i,t){const e=i.touches,s=e&&e.length?e[0]:i,{offsetX:n,offsetY:o}=s;let r=!1,a,l;if(Br(n,o,i.target))a=n,l=o;else{const c=t.getBoundingClientRect();a=s.clientX-c.left,l=s.clientY-c.top,r=!0}return{x:a,y:l,box:r}}function Pt(i,t){if("native"in i)return i;const{canvas:e,currentDevicePixelRatio:s}=t,n=Ge(e),o=n.boxSizing==="border-box",r=Rt(n,"padding"),a=Rt(n,"border","width"),{x:l,y:c,box:h}=Hr(i,e),d=r.left+(h&&a.left),f=r.top+(h&&a.top);let{width:u,height:p}=t;return o&&(u-=r.width+a.width,p-=r.height+a.height),{x:Math.round((l-d)/u*e.width/s),y:Math.round((c-f)/p*e.height/s)}}function Wr(i,t,e){let s,n;if(t===void 0||e===void 0){const o=zi(i);if(!o)t=i.clientWidth,e=i.clientHeight;else{const r=o.getBoundingClientRect(),a=Ge(o),l=Rt(a,"border","width"),c=Rt(a,"padding");t=r.width-c.width-l.width,e=r.height-c.height-l.height,s=$e(a.maxWidth,o,"clientWidth"),n=$e(a.maxHeight,o,"clientHeight")}}return{width:t,height:e,maxWidth:s||Ve,maxHeight:n||Ve}}const Me=i=>Math.round(i*10)/10;function Nr(i,t,e,s){const n=Ge(i),o=Rt(n,"margin"),r=$e(n.maxWidth,i,"clientWidth")||Ve,a=$e(n.maxHeight,i,"clientHeight")||Ve,l=Wr(i,t,e);let{width:c,height:h}=l;if(n.boxSizing==="content-box"){const f=Rt(n,"border","width"),u=Rt(n,"padding");c-=u.width+f.width,h-=u.height+f.height}return c=Math.max(0,c-o.width),h=Math.max(0,s?c/s:h-o.height),c=Me(Math.min(c,r,l.maxWidth)),h=Me(Math.min(h,a,l.maxHeight)),c&&!h&&(h=Me(c/2)),(t!==void 0||e!==void 0)&&s&&l.height&&h>l.height&&(h=l.height,c=Me(Math.floor(h*s))),{width:c,height:h}}function ns(i,t,e){const s=t||1,n=Math.floor(i.height*s),o=Math.floor(i.width*s);i.height=Math.floor(i.height),i.width=Math.floor(i.width);const r=i.canvas;return r.style&&(e||!r.style.height&&!r.style.width)&&(r.style.height=`${i.height}px`,r.style.width=`${i.width}px`),i.currentDevicePixelRatio!==s||r.height!==n||r.width!==o?(i.currentDevicePixelRatio=s,r.height=n,r.width=o,i.ctx.setTransform(s,0,0,s,0,0),!0):!1}const Vr=function(){let i=!1;try{const t={get passive(){return i=!0,!1}};Ei()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch{}return i}();function os(i,t){const e=Er(i,t),s=e&&e.match(/^(\d+)(\.\d+)?px$/);return s?+s[1]:void 0}function Ct(i,t,e,s){return{x:i.x+e*(t.x-i.x),y:i.y+e*(t.y-i.y)}}function jr(i,t,e,s){return{x:i.x+e*(t.x-i.x),y:s==="middle"?e<.5?i.y:t.y:s==="after"?e<1?i.y:t.y:e>0?t.y:i.y}}function $r(i,t,e,s){const n={x:i.cp2x,y:i.cp2y},o={x:t.cp1x,y:t.cp1y},r=Ct(i,n,e),a=Ct(n,o,e),l=Ct(o,t,e),c=Ct(r,a,e),h=Ct(a,l,e);return Ct(c,h,e)}const Yr=function(i,t){return{x(e){return i+i+t-e},setWidth(e){t=e},textAlign(e){return e==="center"?e:e==="right"?"left":"right"},xPlus(e,s){return e-s},leftForLtr(e,s){return e-s}}},Ur=function(){return{x(i){return i},setWidth(i){},textAlign(i){return i},xPlus(i,t){return i+t},leftForLtr(i,t){return i}}};function Wt(i,t,e){return i?Yr(t,e):Ur()}function On(i,t){let e,s;(t==="ltr"||t==="rtl")&&(e=i.canvas.style,s=[e.getPropertyValue("direction"),e.getPropertyPriority("direction")],e.setProperty("direction",t,"important"),i.prevTextDirection=s)}function Tn(i,t){t!==void 0&&(delete i.prevTextDirection,i.canvas.style.setProperty("direction",t[0],t[1]))}function An(i){return i==="angle"?{between:Di,compare:Uo,normalize:lt}:{between:pt,compare:(t,e)=>t-e,normalize:t=>t}}function rs({start:i,end:t,count:e,loop:s,style:n}){return{start:i%e,end:t%e,loop:s&&(t-i+1)%e===0,style:n}}function Xr(i,t,e){const{property:s,start:n,end:o}=e,{between:r,normalize:a}=An(s),l=t.length;let{start:c,end:h,loop:d}=i,f,u;if(d){for(c+=l,h+=l,f=0,u=l;fl(n,y,b)&&a(n,y)!==0,x=()=>a(o,b)===0||l(o,y,b),w=()=>g||v(),M=()=>!g||x();for(let k=h,P=h;k<=d;++k)_=t[k%r],!_.skip&&(b=c(_[s]),b!==y&&(g=l(b,n,o),m===null&&w()&&(m=a(b,n)===0?k:P),m!==null&&M()&&(p.push(rs({start:m,end:k,loop:f,count:r,style:u})),m=null),P=k,y=b));return m!==null&&p.push(rs({start:m,end:d,loop:f,count:r,style:u})),p}function Ln(i,t){const e=[],s=i.segments;for(let n=0;nn&&i[o%t].skip;)o--;return o%=t,{start:n,end:o}}function qr(i,t,e,s){const n=i.length,o=[];let r=t,a=i[t],l;for(l=t+1;l<=e;++l){const c=i[l%n];c.skip||c.stop?a.skip||(s=!1,o.push({start:t%n,end:(l-1)%n,loop:s}),t=r=c.stop?l:null):(r=l,a.skip&&(t=l)),a=c}return r!==null&&o.push({start:t%n,end:r%n,loop:s}),o}function Gr(i,t){const e=i.points,s=i.options.spanGaps,n=e.length;if(!n)return[];const o=!!i._loop,{start:r,end:a}=Kr(e,n,o,s);if(s===!0)return as(i,[{start:r,end:a,loop:o}],e,t);const l=aa({chart:t,initial:e.initial,numSteps:r,currentStep:Math.min(s-e.start,r)}))}_refresh(){this._request||(this._running=!0,this._request=mn.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let e=0;this._charts.forEach((s,n)=>{if(!s.running||!s.items.length)return;const o=s.items;let r=o.length-1,a=!1,l;for(;r>=0;--r)l=o[r],l._active?(l._total>s.duration&&(s.duration=l._total),l.tick(t),a=!0):(o[r]=o[o.length-1],o.pop());a&&(n.draw(),this._notify(n,s,t,"progress")),o.length||(s.running=!1,this._notify(n,s,t,"complete"),s.initial=!1),e+=o.length}),this._lastDate=t,e===0&&(this._running=!1)}_getAnims(t){const e=this._charts;let s=e.get(t);return s||(s={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,s)),s}listen(t,e,s){this._getAnims(t).listeners[e].push(s)}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((s,n)=>Math.max(s,n._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 s=e.items;let n=s.length-1;for(;n>=0;--n)s[n].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var ft=new Qr;const ls="transparent",ta={boolean(i,t,e){return e>.5?t:i},color(i,t,e){const s=Zi(i||ls),n=s.valid&&Zi(t||ls);return n&&n.valid?n.mix(s,e).hexString():t},number(i,t,e){return i+(t-i)*e}};class ea{constructor(t,e,s,n){const o=e[s];n=z([t.to,n,o,t.from]);const r=z([t.from,o,n]);this._active=!0,this._fn=t.fn||ta[t.type||typeof r],this._easing=re[t.easing]||re.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=s,this._from=r,this._to=n,this._promises=void 0}active(){return this._active}update(t,e,s){if(this._active){this._notify(!1);const n=this._target[this._prop],o=s-this._start,r=this._duration-o;this._start=s,this._duration=Math.floor(Math.max(r,t.duration)),this._total+=o,this._loop=!!t.loop,this._to=z([t.to,e,n,t.from]),this._from=z([t.from,n,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,s=this._duration,n=this._prop,o=this._from,r=this._loop,a=this._to;let l;if(this._active=o!==a&&(r||e1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[n]=this._fn(o,a,l)}wait(){const t=this._promises||(this._promises=[]);return new Promise((e,s)=>{t.push({res:e,rej:s})})}_notify(t){const e=t?"res":"rej",s=this._promises||[];for(let n=0;n{const o=t[n];if(!T(o))return;const r={};for(const a of e)r[a]=o[a];(W(o.properties)&&o.properties||[n]).forEach(a=>{(a===n||!s.has(a))&&s.set(a,r)})})}_animateOptions(t,e){const s=e.options,n=sa(t,s);if(!n)return[];const o=this._createAnimations(n,s);return s.$shared&&ia(t.options.$animations,s).then(()=>{t.options=s},()=>{}),o}_createAnimations(t,e){const s=this._properties,n=[],o=t.$animations||(t.$animations={}),r=Object.keys(e),a=Date.now();let l;for(l=r.length-1;l>=0;--l){const c=r[l];if(c.charAt(0)==="$")continue;if(c==="options"){n.push(...this._animateOptions(t,e));continue}const h=e[c];let d=o[c];const f=s.get(c);if(d)if(f&&d.active()){d.update(f,h,a);continue}else d.cancel();if(!f||!f.duration){t[c]=h;continue}o[c]=d=new ea(f,t,c,h),n.push(d)}return n}update(t,e){if(this._properties.size===0){Object.assign(t,e);return}const s=this._createAnimations(t,e);if(s.length)return ft.add(this._chart,s),!0}}function ia(i,t){const e=[],s=Object.keys(t);for(let n=0;n0||!e&&o<0)return n.index}return null}function us(i,t){const{chart:e,_cachedMeta:s}=i,n=e._stacks||(e._stacks={}),{iScale:o,vScale:r,index:a}=s,l=o.axis,c=r.axis,h=aa(o,r,s),d=t.length;let f;for(let u=0;ue[s].axis===t).shift()}function ha(i,t){return Rt(i,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function da(i,t,e){return Rt(i,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:e,index:t,mode:"default",type:"data"})}function Kt(i,t){const e=i.controller.index,s=i.vScale&&i.vScale.axis;if(s){t=t||i._parsed;for(const n of t){const o=n._stacks;if(!o||o[s]===void 0||o[s][e]===void 0)return;delete o[s][e],o[s]._visualValues!==void 0&&o[s]._visualValues[e]!==void 0&&delete o[s]._visualValues[e]}}}const ii=i=>i==="reset"||i==="none",gs=(i,t)=>t?i:Object.assign({},i),fa=(i,t,e)=>i&&!t.hidden&&t._stacked&&{keys:Fn(e,!0),values:null};class Ht{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.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=ds(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&Kt(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,e=this._cachedMeta,s=this.getDataset(),n=(d,f,u,p)=>d==="x"?f:d==="r"?p:u,o=e.xAxisID=D(s.xAxisID,ei(t,"x")),r=e.yAxisID=D(s.yAxisID,ei(t,"y")),a=e.rAxisID=D(s.rAxisID,ei(t,"r")),l=e.indexAxis,c=e.iAxisID=n(l,o,r,a),h=e.vAxisID=n(l,r,o,a);e.xScale=this.getScaleForId(o),e.yScale=this.getScaleForId(r),e.rScale=this.getScaleForId(a),e.iScale=this.getScaleForId(c),e.vScale=this.getScaleForId(h)}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&&Ki(this._data,this),t._stacked&&Kt(t)}_dataCheck(){const t=this.getDataset(),e=t.data||(t.data=[]),s=this._data;if(T(e))this._data=ra(e);else if(s!==e){if(s){Ki(s,this);const n=this._cachedMeta;Kt(n),n._parsed=[]}e&&Object.isExtensible(e)&&Go(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,s=this.getDataset();let n=!1;this._dataCheck();const o=e._stacked;e._stacked=ds(e.vScale,e),e.stack!==s.stack&&(n=!0,Kt(e),e.stack=s.stack),this._resyncElements(t),(n||o!==e._stacked)&&us(this,e._parsed)}configure(){const t=this.chart.config,e=t.datasetScopeKeys(this._type),s=t.getOptionScopes(this.getDataset(),e,!0);this.options=t.createResolver(s,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,e){const{_cachedMeta:s,_data:n}=this,{iScale:o,_stacked:r}=s,a=o.axis;let l=t===0&&e===n.length?!0:s._sorted,c=t>0&&s._parsed[t-1],h,d,f;if(this._parsing===!1)s._parsed=n,s._sorted=!0,f=n;else{W(n[t])?f=this.parseArrayData(s,n,t,e):T(n[t])?f=this.parseObjectData(s,n,t,e):f=this.parsePrimitiveData(s,n,t,e);const u=()=>d[a]===null||c&&d[a]g||d=0;--f)if(!p()){this.updateRangeFromParsed(c,t,u,l);break}}return c}getAllParsedValues(t){const e=this._cachedMeta._parsed,s=[];let n,o,r;for(n=0,o=e.length;n=0&&tthis.getContext(s,n,e),g=c.resolveNamedOptions(f,u,p,d);return g.$shared&&(g.$shared=l,o[r]=Object.freeze(gs(g,l))),g}_resolveAnimations(t,e,s){const n=this.chart,o=this._cachedDataOpts,r=`animation-${e}`,a=o[r];if(a)return a;let l;if(n.options.animation!==!1){const h=this.chart.config,d=h.datasetAnimationScopeKeys(this._type,e),f=h.getOptionScopes(this.getDataset(),d);l=h.createResolver(f,this.getContext(t,s,e))}const c=new In(n,l&&l.animations);return l&&l._cacheable&&(o[r]=Object.freeze(c)),c}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||ii(t)||this.chart._animationsDisabled}_getSharedOptions(t,e){const s=this.resolveDataElementOptions(t,e),n=this._sharedOptions,o=this.getSharedOptions(s),r=this.includeOptions(e,o)||o!==n;return this.updateSharedOptions(o,e,s),{sharedOptions:o,includeOptions:r}}updateElement(t,e,s,n){ii(n)?Object.assign(t,s):this._resolveAnimations(e,n).update(t,s)}updateSharedOptions(t,e,s){t&&!ii(e)&&this._resolveAnimations(void 0,e).update(t,s)}_setStyle(t,e,s,n){t.active=n;const o=this.getStyle(e,n);this._resolveAnimations(e,s,n).update(t,{options:!n&&this.getSharedOptions(o)||o})}removeHoverStyle(t,e,s){this._setStyle(t,s,"active",!1)}setHoverStyle(t,e,s){this._setStyle(t,s,"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,s=this._cachedMeta.data;for(const[a,l,c]of this._syncList)this[a](l,c);this._syncList=[];const n=s.length,o=e.length,r=Math.min(o,n);r&&this.parse(0,r),o>n?this._insertElements(n,o-n,t):o{for(c.length+=e,a=c.length-1;a>=r;a--)c[a]=c[a-e]};for(l(o),a=t;an-o))}return i._cache.$bar}function ga(i){const t=i.iScale,e=ua(t,i.type);let s=t._length,n,o,r,a;const l=()=>{r===32767||r===-32768||(de(a)&&(s=Math.min(s,Math.abs(r-a)||s)),a=r)};for(n=0,o=e.length;n0?n[i-1]:null,a=iMath.abs(a)&&(l=a,c=r),t[e.axis]=c,t._custom={barStart:l,barEnd:c,start:n,end:o,min:r,max:a}}function En(i,t,e,s){return W(i)?ba(i,t,e,s):t[e.axis]=e.parse(i,s),t}function ps(i,t,e,s){const n=i.iScale,o=i.vScale,r=n.getLabels(),a=n===o,l=[];let c,h,d,f;for(c=e,h=e+s;c=e?1:-1)}function xa(i){let t,e,s,n,o;return i.horizontal?(t=i.base>i.x,e="left",s="right"):(t=i.basel.controller.options.grouped),o=s.options.stacked,r=[],a=l=>{const c=l.controller.getParsed(e),h=c&&c[l.vScale.axis];if(R(h)||isNaN(h))return!0};for(const l of n)if(!(e!==void 0&&a(l))&&((o===!1||r.indexOf(l.stack)===-1||o===void 0&&l.stack===void 0)&&r.push(l.stack),l.index===t))break;return r.length||r.push(void 0),r}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,e,s){const n=this._getStacks(t,s),o=e!==void 0?n.indexOf(e):-1;return o===-1?n.length-1:o}_getRuler(){const t=this.options,e=this._cachedMeta,s=e.iScale,n=[];let o,r;for(o=0,r=e.data.length;o0&&this.getParsed(e-1);for(let x=0;x=_){M.skip=!0;continue}const k=this.getParsed(x),P=R(k[u]),O=M[f]=r.getPixelForValue(k[f],x),C=M[u]=o||P?a.getBasePixel():a.getPixelForValue(l?this.applyStack(a,k,l):k[u],x);M.skip=isNaN(O)||isNaN(C)||P,M.stop=x>0&&Math.abs(k[f]-v[f])>m,g&&(M.parsed=k,M.raw=c.data[x]),d&&(M.options=h||this.resolveDataElementOptions(x,w.active?"active":n)),b||this.updateElement(w,x,M,n),v=k}}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,s=e.options&&e.options.borderWidth||0,n=t.data||[];if(!n.length)return s;const o=n[0].size(this.resolveDataElementOptions(0)),r=n[n.length-1].size(this.resolveDataElementOptions(n.length-1));return Math.max(s,o,r)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}S(oi,"id","line"),S(oi,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),S(oi,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});function wt(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class zi{constructor(t){S(this,"options");this.options=t||{}}static override(t){Object.assign(zi.prototype,t)}init(){}formats(){return wt()}parse(){return wt()}format(){return wt()}add(){return wt()}diff(){return wt()}startOf(){return wt()}endOf(){return wt()}}var wa={_date:zi};function Ma(i,t,e,s){const{controller:n,data:o,_sorted:r}=i,a=n._cachedMeta.iScale;if(a&&t===a.axis&&t!=="r"&&r&&o.length){const l=a._reversePixels?Ko:Dt;if(s){if(n._sharedOptions){const c=o[0],h=typeof c.getRange=="function"&&c.getRange(t);if(h){const d=l(o,t,e-h),f=l(o,t,e+h);return{lo:d.lo,hi:f.hi}}}}else return l(o,t,e)}return{lo:0,hi:o.length-1}}function be(i,t,e,s,n){const o=i.getSortedVisibleDatasetMetas(),r=e[t];for(let a=0,l=o.length;a{l[r](t[e],n)&&(o.push({element:l,datasetIndex:c,index:h}),a=a||l.inRange(t.x,t.y,n))}),s&&!a?[]:o}var Da={evaluateInteractionItems:be,modes:{index(i,t,e,s){const n=Mt(t,i),o=e.axis||"x",r=e.includeInvisible||!1,a=e.intersect?ri(i,n,o,s,r):ai(i,n,o,!1,s,r),l=[];return a.length?(i.getSortedVisibleDatasetMetas().forEach(c=>{const h=a[0].index,d=c.data[h];d&&!d.skip&&l.push({element:d,datasetIndex:c.index,index:h})}),l):[]},dataset(i,t,e,s){const n=Mt(t,i),o=e.axis||"xy",r=e.includeInvisible||!1;let a=e.intersect?ri(i,n,o,s,r):ai(i,n,o,!1,s,r);if(a.length>0){const l=a[0].datasetIndex,c=i.getDatasetMeta(l).data;a=[];for(let h=0;he.pos===t)}function xs(i,t){return i.filter(e=>zn.indexOf(e.pos)===-1&&e.box.axis===t)}function Gt(i,t){return i.sort((e,s)=>{const n=t?s:e,o=t?e:s;return n.weight===o.weight?n.index-o.index:n.weight-o.weight})}function Oa(i){const t=[];let e,s,n,o,r,a;for(e=0,s=(i||[]).length;ec.box.fullSize),!0),s=Gt(qt(t,"left"),!0),n=Gt(qt(t,"right")),o=Gt(qt(t,"top"),!0),r=Gt(qt(t,"bottom")),a=xs(t,"x"),l=xs(t,"y");return{fullSize:e,leftAndTop:s.concat(o),rightAndBottom:n.concat(l).concat(r).concat(a),chartArea:qt(t,"chartArea"),vertical:s.concat(n).concat(l),horizontal:o.concat(r).concat(a)}}function ys(i,t,e,s){return Math.max(i[e],t[e])+Math.max(i[s],t[s])}function Bn(i,t){i.top=Math.max(i.top,t.top),i.left=Math.max(i.left,t.left),i.bottom=Math.max(i.bottom,t.bottom),i.right=Math.max(i.right,t.right)}function La(i,t,e,s){const{pos:n,box:o}=e,r=i.maxPadding;if(!T(n)){e.size&&(i[n]-=e.size);const d=s[e.stack]||{size:0,count:1};d.size=Math.max(d.size,e.horizontal?o.height:o.width),e.size=d.size/d.count,i[n]+=e.size}o.getPadding&&Bn(r,o.getPadding());const a=Math.max(0,t.outerWidth-ys(r,i,"left","right")),l=Math.max(0,t.outerHeight-ys(r,i,"top","bottom")),c=a!==i.w,h=l!==i.h;return i.w=a,i.h=l,e.horizontal?{same:c,other:h}:{same:h,other:c}}function Ia(i){const t=i.maxPadding;function e(s){const n=Math.max(t[s]-i[s],0);return i[s]+=n,n}i.y+=e("top"),i.x+=e("left"),e("right"),e("bottom")}function Fa(i,t){const e=t.maxPadding;function s(n){const o={left:0,top:0,right:0,bottom:0};return n.forEach(r=>{o[r]=Math.max(t[r],e[r])}),o}return s(i?["left","right"]:["top","bottom"])}function ee(i,t,e,s){const n=[];let o,r,a,l,c,h;for(o=0,r=i.length,c=0;o{typeof g.beforeLayout=="function"&&g.beforeLayout()});const h=l.reduce((g,m)=>m.box.options&&m.box.options.display===!1?g:g+1,0)||1,d=Object.freeze({outerWidth:t,outerHeight:e,padding:n,availableWidth:o,availableHeight:r,vBoxMaxWidth:o/2/h,hBoxMaxHeight:r/2}),f=Object.assign({},n);Bn(f,tt(s));const u=Object.assign({maxPadding:f,w:o,h:r,x:n.left,y:n.top},n),p=Aa(l.concat(c),d);ee(a.fullSize,u,d,p),ee(l,u,d,p),ee(c,u,d,p)&&ee(l,u,d,p),Ia(u),vs(a.leftAndTop,u,d,p),u.x+=u.w,u.y+=u.h,vs(a.rightAndBottom,u,d,p),i.chartArea={left:u.left,top:u.top,right:u.left+u.w,bottom:u.top+u.h,height:u.h,width:u.w},L(a.chartArea,g=>{const m=g.box;Object.assign(m,i.chartArea),m.update(u.w,u.h,{left:0,top:0,right:0,bottom:0})})}};class Hn{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,s){}removeEventListener(t,e,s){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,s,n){return e=Math.max(0,e||t.width),s=s||t.height,{width:e,height:Math.max(0,n?Math.floor(e/n):s)}}isAttached(t){return!0}updateConfig(t){}}class Ea extends Hn{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const Ee="$chartjs",za={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},ks=i=>i===null||i==="";function Ba(i,t){const e=i.style,s=i.getAttribute("height"),n=i.getAttribute("width");if(i[Ee]={initial:{height:s,width:n,style:{display:e.display,height:e.height,width:e.width}}},e.display=e.display||"block",e.boxSizing=e.boxSizing||"border-box",ks(n)){const o=ns(i,"width");o!==void 0&&(i.width=o)}if(ks(s))if(i.style.height==="")i.height=i.width/(t||2);else{const o=ns(i,"height");o!==void 0&&(i.height=o)}return i}const Wn=Vr?{passive:!0}:!1;function Ha(i,t,e){i.addEventListener(t,e,Wn)}function Wa(i,t,e){i.canvas.removeEventListener(t,e,Wn)}function Na(i,t){const e=za[i.type]||i.type,{x:s,y:n}=Mt(i,t);return{type:e,chart:t,native:i,x:s!==void 0?s:null,y:n!==void 0?n:null}}function Ye(i,t){for(const e of i)if(e===t||e.contains(t))return!0}function Va(i,t,e){const s=i.canvas,n=new MutationObserver(o=>{let r=!1;for(const a of o)r=r||Ye(a.addedNodes,s),r=r&&!Ye(a.removedNodes,s);r&&e()});return n.observe(document,{childList:!0,subtree:!0}),n}function ja(i,t,e){const s=i.canvas,n=new MutationObserver(o=>{let r=!1;for(const a of o)r=r||Ye(a.removedNodes,s),r=r&&!Ye(a.addedNodes,s);r&&e()});return n.observe(document,{childList:!0,subtree:!0}),n}const pe=new Map;let ws=0;function Nn(){const i=window.devicePixelRatio;i!==ws&&(ws=i,pe.forEach((t,e)=>{e.currentDevicePixelRatio!==i&&t()}))}function $a(i,t){pe.size||window.addEventListener("resize",Nn),pe.set(i,t)}function Ya(i){pe.delete(i),pe.size||window.removeEventListener("resize",Nn)}function Ua(i,t,e){const s=i.canvas,n=s&&Ei(s);if(!n)return;const o=bn((a,l)=>{const c=n.clientWidth;e(a,l),c{const l=a[0],c=l.contentRect.width,h=l.contentRect.height;c===0&&h===0||o(c,h)});return r.observe(n),$a(i,o),r}function li(i,t,e){e&&e.disconnect(),t==="resize"&&Ya(i)}function Xa(i,t,e){const s=i.canvas,n=bn(o=>{i.ctx!==null&&e(Na(o,i))},i);return Ha(s,t,n),n}class Ka extends Hn{acquireContext(t,e){const s=t&&t.getContext&&t.getContext("2d");return s&&s.canvas===t?(Ba(t,e),s):null}releaseContext(t){const e=t.canvas;if(!e[Ee])return!1;const s=e[Ee].initial;["height","width"].forEach(o=>{const r=s[o];R(r)?e.removeAttribute(o):e.setAttribute(o,r)});const n=s.style||{};return Object.keys(n).forEach(o=>{e.style[o]=n[o]}),e.width=e.width,delete e[Ee],!0}addEventListener(t,e,s){this.removeEventListener(t,e);const n=t.$proxies||(t.$proxies={}),r={attach:Va,detach:ja,resize:Ua}[e]||Xa;n[e]=r(t,e,s)}removeEventListener(t,e){const s=t.$proxies||(t.$proxies={}),n=s[e];if(!n)return;({attach:li,detach:li,resize:li}[e]||Wa)(t,e,n),s[e]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,s,n){return Nr(t,e,s,n)}isAttached(t){const e=Ei(t);return!!(e&&e.isConnected)}}function qa(i){return!Dn()||typeof OffscreenCanvas<"u"&&i instanceof OffscreenCanvas?Ea:Ka}class nt{constructor(){S(this,"x");S(this,"y");S(this,"active",!1);S(this,"options");S(this,"$animations")}tooltipPosition(t){const{x:e,y:s}=this.getProps(["x","y"],t);return{x:e,y:s}}hasValue(){return fe(this.x)&&fe(this.y)}getProps(t,e){const s=this.$animations;if(!e||!s)return this;const n={};return t.forEach(o=>{n[o]=s[o]&&s[o].active()?s[o]._to:this[o]}),n}}S(nt,"defaults",{}),S(nt,"defaultRoutes");function Ga(i,t){const e=i.options.ticks,s=Za(i),n=Math.min(e.maxTicksLimit||s,s),o=e.major.enabled?Qa(t):[],r=o.length,a=o[0],l=o[r-1],c=[];if(r>n)return tl(t,c,o,r/n),c;const h=Ja(o,t,n);if(r>0){let d,f;const u=r>1?Math.round((l-a)/(r-1)):null;for(Pe(t,c,h,R(u)?0:a-u,a),d=0,f=r-1;dn)return l}return Math.max(n,1)}function Qa(i){const t=[];let e,s;for(e=0,s=i.length;ei==="left"?"right":i==="right"?"left":i,Ms=(i,t,e)=>t==="top"||t==="left"?i[t]+e:i[t]-e,Ss=(i,t)=>Math.min(t||i,i);function Ps(i,t){const e=[],s=i.length/t,n=i.length;let o=0;for(;or+a)))return l}function nl(i,t){L(i,e=>{const s=e.gc,n=s.length/2;let o;if(n>t){for(o=0;os?s:e,s=n&&e>s?e:s,{min:ot(e,ot(s,e)),max:ot(s,ot(e,s))}}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||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){F(this.options.beforeUpdate,[this])}update(t,e,s){const{beginAtZero:n,grace:o,ticks:r}=this.options,a=r.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=s=Object.assign({left:0,right:0,top:0,bottom:0},s),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+s.left+s.right:this.height+s.top+s.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=xr(this,o,n),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=a=o||s<=1||!this.isHorizontal()){this.labelRotation=n;return}const h=this._getLabelSizes(),d=h.widest.width,f=h.highest.height,u=K(this.chart.width-d,0,this.maxWidth);a=t.offset?this.maxWidth/s:u/(s-1),d+6>a&&(a=u/(s-(t.offset?.5:1)),l=this.maxHeight-Zt(t.grid)-e.padding-Cs(t.title,this.chart.options.font),c=Math.sqrt(d*d+f*f),r=Yo(Math.min(Math.asin(K((h.highest.height+6)/a,-1,1)),Math.asin(K(l/c,-1,1))-Math.asin(K(f/c,-1,1)))),r=Math.max(n,Math.min(o,r))),this.labelRotation=r}afterCalculateLabelRotation(){F(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){F(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:s,title:n,grid:o}}=this,r=this._isVisible(),a=this.isHorizontal();if(r){const l=Cs(n,e.options.font);if(a?(t.width=this.maxWidth,t.height=Zt(o)+l):(t.height=this.maxHeight,t.width=Zt(o)+l),s.display&&this.ticks.length){const{first:c,last:h,widest:d,highest:f}=this._getLabelSizes(),u=s.padding*2,p=Ct(this.labelRotation),g=Math.cos(p),m=Math.sin(p);if(a){const b=s.mirror?0:m*d.width+g*f.height;t.height=Math.min(this.maxHeight,t.height+b+u)}else{const b=s.mirror?0:g*d.width+m*f.height;t.width=Math.min(this.maxWidth,t.width+b+u)}this._calculatePadding(c,h,m,g)}}this._handleMargins(),a?(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,s,n){const{ticks:{align:o,padding:r},position:a}=this.options,l=this.labelRotation!==0,c=a!=="top"&&this.axis==="x";if(this.isHorizontal()){const h=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1);let f=0,u=0;l?c?(f=n*t.width,u=s*e.height):(f=s*t.height,u=n*e.width):o==="start"?u=e.width:o==="end"?f=t.width:o!=="inner"&&(f=t.width/2,u=e.width/2),this.paddingLeft=Math.max((f-h+r)*this.width/(this.width-h),0),this.paddingRight=Math.max((u-d+r)*this.width/(this.width-d),0)}else{let h=e.height/2,d=t.height/2;o==="start"?(h=0,d=t.height):o==="end"&&(h=e.height,d=0),this.paddingTop=h+r,this.paddingBottom=d+r}}_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(){F(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,s;for(e=0,s=t.length;e({width:r[P]||0,height:a[P]||0});return{first:k(0),last:k(e-1),widest:k(w),highest:k(M),widths:r,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 Xo(this._alignToPixels?kt(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&&ta*n?a/s:l/n:l*n0}_computeGridLineItems(t){const e=this.axis,s=this.chart,n=this.options,{grid:o,position:r,border:a}=n,l=o.offset,c=this.isHorizontal(),d=this.ticks.length+(l?1:0),f=Zt(o),u=[],p=a.setContext(this.getContext()),g=p.display?p.width:0,m=g/2,b=function(E){return kt(s,E,g)};let _,y,v,x,w,M,k,P,O,C,A,j;if(r==="top")_=b(this.bottom),M=this.bottom-f,P=_-m,C=b(t.top)+m,j=t.bottom;else if(r==="bottom")_=b(this.top),C=t.top,j=b(t.bottom)-m,M=_+m,P=this.top+f;else if(r==="left")_=b(this.right),w=this.right-f,k=_-m,O=b(t.left)+m,A=t.right;else if(r==="right")_=b(this.left),O=t.left,A=b(t.right)-m,w=_+m,k=this.left+f;else if(e==="x"){if(r==="center")_=b((t.top+t.bottom)/2+.5);else if(T(r)){const E=Object.keys(r)[0],H=r[E];_=b(this.chart.scales[E].getPixelForValue(H))}C=t.top,j=t.bottom,M=_+m,P=M+f}else if(e==="y"){if(r==="center")_=b((t.left+t.right)/2);else if(T(r)){const E=Object.keys(r)[0],H=r[E];_=b(this.chart.scales[E].getPixelForValue(H))}w=_-m,k=w-f,O=t.left,A=t.right}const Q=D(n.ticks.maxTicksLimit,d),I=Math.max(1,Math.ceil(d/Q));for(y=0;yo.value===t);return n>=0?e.setContext(this.getContext(n)).lineWidth:0}drawGrid(t){const e=this.options.grid,s=this.ctx,n=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let o,r;const a=(l,c,h)=>{!h.width||!h.color||(s.save(),s.lineWidth=h.width,s.strokeStyle=h.color,s.setLineDash(h.borderDash||[]),s.lineDashOffset=h.borderDashOffset,s.beginPath(),s.moveTo(l.x,l.y),s.lineTo(c.x,c.y),s.stroke(),s.restore())};if(e.display)for(o=0,r=n.length;o{this.draw(o)}}]:[{z:s,draw:o=>{this.drawBackground(),this.drawGrid(o),this.drawTitle()}},{z:n,draw:()=>{this.drawBorder()}},{z:e,draw:o=>{this.drawLabels(o)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),s=this.axis+"AxisID",n=[];let o,r;for(o=0,r=e.length;o{const s=e.split("."),n=s.pop(),o=[i].concat(s).join("."),r=t[e].split("."),a=r.pop(),l=r.join(".");B.route(o,n,l,a)})}function dl(i){return"id"in i&&"defaults"in i}class fl{constructor(){this.controllers=new Ce(Ht,"datasets",!0),this.elements=new Ce(nt,"elements"),this.plugins=new Ce(Object,"plugins"),this.scales=new Ce(jt,"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,s){[...e].forEach(n=>{const o=s||this._getRegistryForType(n);s||o.isForType(n)||o===this.plugins&&n.id?this._exec(t,o,n):L(n,r=>{const a=s||this._getRegistryForType(r);this._exec(t,a,r)})})}_exec(t,e,s){const n=Ci(t);F(s["before"+n],[],s),e[t](s),F(s["after"+n],[],s)}_getRegistryForType(t){for(let e=0;eo.filter(a=>!r.some(l=>a.plugin.id===l.plugin.id));this._notify(n(e,s),t,"stop"),this._notify(n(s,e),t,"start")}}function gl(i){const t={},e=[],s=Object.keys(at.plugins.items);for(let o=0;o1&&Ds(i[0].toLowerCase());if(s)return s}throw new Error(`Cannot determine type of '${i}' axis. Please provide 'axis' or 'position' option.`)}function Os(i,t,e){if(e[t+"AxisID"]===i)return{axis:t}}function vl(i,t){if(t.data&&t.data.datasets){const e=t.data.datasets.filter(s=>s.xAxisID===i||s.yAxisID===i);if(e.length)return Os(i,"x",e[0])||Os(i,"y",e[0])}return{}}function kl(i,t){const e=At[i.type]||{scales:{}},s=t.scales||{},n=_i(i.type,t),o=Object.create(null);return Object.keys(s).forEach(r=>{const a=s[r];if(!T(a))return console.error(`Invalid scale configuration for scale: ${r}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${r}`);const l=xi(r,a,vl(r,i),B.scales[a.type]),c=xl(l,n),h=e.scales||{};o[r]=ne(Object.create(null),[{axis:l},a,h[l],h[c]])}),i.data.datasets.forEach(r=>{const a=r.type||i.type,l=r.indexAxis||_i(a,t),h=(At[a]||{}).scales||{};Object.keys(h).forEach(d=>{const f=_l(d,l),u=r[f+"AxisID"]||f;o[u]=o[u]||Object.create(null),ne(o[u],[{axis:f},s[u],h[d]])})}),Object.keys(o).forEach(r=>{const a=o[r];ne(a,[B.scales[a.type],B.scale])}),o}function Vn(i){const t=i.options||(i.options={});t.plugins=D(t.plugins,{}),t.scales=kl(i,t)}function jn(i){return i=i||{},i.datasets=i.datasets||[],i.labels=i.labels||[],i}function wl(i){return i=i||{},i.data=jn(i.data),Vn(i),i}const Ts=new Map,$n=new Set;function De(i,t){let e=Ts.get(i);return e||(e=t(),Ts.set(i,e),$n.add(e)),e}const Jt=(i,t,e)=>{const s=Wt(t,e);s!==void 0&&i.add(s)};class Ml{constructor(t){this._config=wl(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=jn(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(),Vn(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return De(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,e){return De(`${t}.transition.${e}`,()=>[[`datasets.${t}.transitions.${e}`,`transitions.${e}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,e){return De(`${t}-${e}`,()=>[[`datasets.${t}.elements.${e}`,`datasets.${t}`,`elements.${e}`,""]])}pluginScopeKeys(t){const e=t.id,s=this.type;return De(`${s}-plugin-${e}`,()=>[[`plugins.${e}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,e){const s=this._scopeCache;let n=s.get(t);return(!n||e)&&(n=new Map,s.set(t,n)),n}getOptionScopes(t,e,s){const{options:n,type:o}=this,r=this._cachedScopes(t,s),a=r.get(e);if(a)return a;const l=new Set;e.forEach(h=>{t&&(l.add(t),h.forEach(d=>Jt(l,t,d))),h.forEach(d=>Jt(l,n,d)),h.forEach(d=>Jt(l,At[o]||{},d)),h.forEach(d=>Jt(l,B,d)),h.forEach(d=>Jt(l,mi,d))});const c=Array.from(l);return c.length===0&&c.push(Object.create(null)),$n.has(e)&&r.set(e,c),c}chartOptionScopes(){const{options:t,type:e}=this;return[t,At[e]||{},B.datasets[e]||{},{type:e},B,mi]}resolveNamedOptions(t,e,s,n=[""]){const o={$shared:!0},{resolver:r,subPrefixes:a}=As(this._resolverCache,t,n);let l=r;if(Pl(r,e)){o.$shared=!1,s=yt(s)?s():s;const c=this.createResolver(t,s,a);l=Nt(r,s,c)}for(const c of e)o[c]=l[c];return o}createResolver(t,e,s=[""],n){const{resolver:o}=As(this._resolverCache,t,s);return T(e)?Nt(o,e,void 0,n):o}}function As(i,t,e){let s=i.get(t);s||(s=new Map,i.set(t,s));const n=e.join();let o=s.get(n);return o||(o={resolver:Li(t,e),subPrefixes:e.filter(a=>!a.toLowerCase().includes("hover"))},s.set(n,o)),o}const Sl=i=>T(i)&&Object.getOwnPropertyNames(i).reduce((t,e)=>t||yt(i[e]),!1);function Pl(i,t){const{isScriptable:e,isIndexable:s}=wn(i);for(const n of t){const o=e(n),r=s(n),a=(r||o)&&i[n];if(o&&(yt(a)||Sl(a))||r&&W(a))return!0}return!1}var Cl="4.4.0";const Dl=["top","bottom","left","right","chartArea"];function Rs(i,t){return i==="top"||i==="bottom"||Dl.indexOf(i)===-1&&t==="x"}function Ls(i,t){return function(e,s){return e[i]===s[i]?e[t]-s[t]:e[i]-s[i]}}function Is(i){const t=i.chart,e=t.options.animation;t.notifyPlugins("afterRender"),F(e&&e.onComplete,[i],t)}function Ol(i){const t=i.chart,e=t.options.animation;F(e&&e.onProgress,[i],t)}function Yn(i){return Dn()&&typeof i=="string"?i=document.getElementById(i):i&&i.length&&(i=i[0]),i&&i.canvas&&(i=i.canvas),i}const ze={},Fs=i=>{const t=Yn(i);return Object.values(ze).filter(e=>e.canvas===t).pop()};function Tl(i,t,e){const s=Object.keys(i);for(const n of s){const o=+n;if(o>=t){const r=i[n];delete i[n],(e>0||o>t)&&(i[o+e]=r)}}}function Al(i,t,e,s){return!e||i.type==="mouseout"?null:s?t:i}function Oe(i,t,e){return i.options.clip?i[e]:t[e]}function Rl(i,t){const{xScale:e,yScale:s}=i;return e&&s?{left:Oe(e,t,"left"),right:Oe(e,t,"right"),top:Oe(s,t,"top"),bottom:Oe(s,t,"bottom")}:t}class Pt{static register(...t){at.add(...t),Es()}static unregister(...t){at.remove(...t),Es()}constructor(t,e){const s=this.config=new Ml(e),n=Yn(t),o=Fs(n);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas with ID '"+o.canvas.id+"' can be reused.");const r=s.createResolver(s.chartOptionScopes(),this.getContext());this.platform=new(s.platform||qa(n)),this.platform.updateConfig(s);const a=this.platform.acquireContext(n,r.aspectRatio),l=a&&a.canvas,c=l&&l.height,h=l&&l.width;if(this.id=Lo(),this.ctx=a,this.canvas=l,this.width=h,this.height=c,this._options=r,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 ul,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=Zo(d=>this.update(d),r.resizeDelay||0),this._dataChanges=[],ze[this.id]=this,!a||!l){console.error("Failed to create chart: can't acquire context from the given item");return}ft.listen(this,"complete",Is),ft.listen(this,"progress",Ol),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:e},width:s,height:n,_aspectRatio:o}=this;return R(t)?e&&o?o:n?s/n: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}get registry(){return at}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():ss(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return ts(this.canvas,this.ctx),this}stop(){return ft.stop(this),this}resize(t,e){ft.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){const s=this.options,n=this.canvas,o=s.maintainAspectRatio&&this.aspectRatio,r=this.platform.getMaximumSize(n,t,e,o),a=s.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=r.width,this.height=r.height,this._aspectRatio=this.aspectRatio,ss(this,a,!0)&&(this.notifyPlugins("resize",{size:r}),F(s.onResize,[this,r],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const e=this.options.scales||{};L(e,(s,n)=>{s.id=n})}buildOrUpdateScales(){const t=this.options,e=t.scales,s=this.scales,n=Object.keys(s).reduce((r,a)=>(r[a]=!1,r),{});let o=[];e&&(o=o.concat(Object.keys(e).map(r=>{const a=e[r],l=xi(r,a),c=l==="r",h=l==="x";return{options:a,dposition:c?"chartArea":h?"bottom":"left",dtype:c?"radialLinear":h?"category":"linear"}}))),L(o,r=>{const a=r.options,l=a.id,c=xi(l,a),h=D(a.type,r.dtype);(a.position===void 0||Rs(a.position,c)!==Rs(r.dposition))&&(a.position=r.dposition),n[l]=!0;let d=null;if(l in s&&s[l].type===h)d=s[l];else{const f=at.getScale(h);d=new f({id:l,type:h,ctx:this.ctx,chart:this}),s[d.id]=d}d.init(a,t)}),L(n,(r,a)=>{r||delete s[a]}),L(s,r=>{it.configure(this,r,r.options),it.addBox(this,r)})}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,s=t.length;if(t.sort((n,o)=>n.index-o.index),s>e){for(let n=e;ne.length&&delete this._stacks,t.forEach((s,n)=>{e.filter(o=>o===s._dataset).length===0&&this._destroyDatasetMeta(n)})}buildOrUpdateControllers(){const t=[],e=this.data.datasets;let s,n;for(this._removeUnreferencedMetasets(),s=0,n=e.length;s{this.getDatasetMeta(e).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const e=this.config;e.update();const s=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),n=this._animationsDisabled=!s.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let r=0;for(let c=0,h=this.data.datasets.length;c{c.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(Ls("z","_idx"));const{_active:a,_lastEvent:l}=this;l?this._eventHandler(l,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){L(this.scales,t=>{it.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,e=new Set(Object.keys(this._listeners)),s=new Set(t.events);(!$i(e,s)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(const{method:s,start:n,count:o}of e){const r=s==="_removeElements"?-o:o;Tl(t,n,r)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const e=this.data.datasets.length,s=o=>new Set(t.filter(r=>r[0]===o).map((r,a)=>a+","+r.splice(1).join(","))),n=s(0);for(let o=1;oo.split(",")).map(o=>({method:o[1],start:+o[2],count:+o[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;it.update(this,this.width,this.height,t);const e=this.chartArea,s=e.width<=0||e.height<=0;this._layers=[],L(this.boxes,n=>{s&&n.position==="chartArea"||(n.configure&&n.configure(),this._layers.push(...n._layers()))},this),this._layers.forEach((n,o)=>{n._idx=o}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let e=0,s=this.data.datasets.length;e=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const e=this.ctx,s=t._clip,n=!s.disabled,o=Rl(t,this.chartArea),r={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",r)!==!1&&(n&&Ke(e,{left:s.left===!1?0:o.left-s.left,right:s.right===!1?this.width:o.right+s.right,top:s.top===!1?0:o.top-s.top,bottom:s.bottom===!1?this.height:o.bottom+s.bottom}),t.controller.draw(),n&&qe(e),r.cancelable=!1,this.notifyPlugins("afterDatasetDraw",r))}isPointInArea(t){return ue(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,e,s,n){const o=Da.modes[e];return typeof o=="function"?o(this,t,s,n):[]}getDatasetMeta(t){const e=this.data.datasets[t],s=this._metasets;let n=s.filter(o=>o&&o._dataset===e).pop();return n||(n={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},s.push(n)),n}getContext(){return this.$context||(this.$context=Rt(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const e=this.data.datasets[t];if(!e)return!1;const s=this.getDatasetMeta(t);return typeof s.hidden=="boolean"?!s.hidden:!e.hidden}setDatasetVisibility(t,e){const s=this.getDatasetMeta(t);s.hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,e,s){const n=s?"show":"hide",o=this.getDatasetMeta(t),r=o.controller._resolveAnimations(void 0,n);de(e)?(o.data[e].hidden=!s,this.update()):(this.setDatasetVisibility(t,s),r.update(o,{visible:s}),this.update(a=>a.datasetIndex===t?n: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(),ft.remove(this),t=0,e=this.data.datasets.length;t{e.addEventListener(this,o,r),t[o]=r},n=(o,r,a)=>{o.offsetX=r,o.offsetY=a,this._eventHandler(o)};L(this.options.events,o=>s(o,n))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,e=this.platform,s=(l,c)=>{e.addEventListener(this,l,c),t[l]=c},n=(l,c)=>{t[l]&&(e.removeEventListener(this,l,c),delete t[l])},o=(l,c)=>{this.canvas&&this.resize(l,c)};let r;const a=()=>{n("attach",a),this.attached=!0,this.resize(),s("resize",o),s("detach",r)};r=()=>{this.attached=!1,n("resize",o),this._stop(),this._resize(0,0),s("attach",a)},e.isAttached(this.canvas)?a():r()}unbindEvents(){L(this._listeners,(t,e)=>{this.platform.removeEventListener(this,e,t)}),this._listeners={},L(this._responsiveListeners,(t,e)=>{this.platform.removeEventListener(this,e,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,e,s){const n=s?"set":"remove";let o,r,a,l;for(e==="dataset"&&(o=this.getDatasetMeta(t[0].datasetIndex),o.controller["_"+n+"DatasetHoverStyle"]()),a=0,l=t.length;a{const a=this.getDatasetMeta(o);if(!a)throw new Error("No dataset found at index "+o);return{datasetIndex:o,element:a.data[r],index:r}});!We(s,e)&&(this._active=s,this._lastEvent=null,this._updateHoverStyles(s,e))}notifyPlugins(t,e,s){return this._plugins.notify(this,t,e,s)}isPluginEnabled(t){return this._plugins._cache.filter(e=>e.plugin.id===t).length===1}_updateHoverStyles(t,e,s){const n=this.options.hover,o=(l,c)=>l.filter(h=>!c.some(d=>h.datasetIndex===d.datasetIndex&&h.index===d.index)),r=o(e,t),a=s?t:o(t,e);r.length&&this.updateHoverStyle(r,n.mode,!1),a.length&&n.mode&&this.updateHoverStyle(a,n.mode,!0)}_eventHandler(t,e){const s={event:t,replay:e,cancelable:!0,inChartArea:this.isPointInArea(t)},n=r=>(r.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",s,n)===!1)return;const o=this._handleEvent(t,e,s.inChartArea);return s.cancelable=!1,this.notifyPlugins("afterEvent",s,n),(o||s.changed)&&this.render(),this}_handleEvent(t,e,s){const{_active:n=[],options:o}=this,r=e,a=this._getActiveElements(t,n,s,r),l=Ho(t),c=Al(t,this._lastEvent,s,l);s&&(this._lastEvent=null,F(o.onHover,[t,a,this],this),l&&F(o.onClick,[t,a,this],this));const h=!We(a,n);return(h||e)&&(this._active=a,this._updateHoverStyles(a,n,e)),this._lastEvent=c,h}_getActiveElements(t,e,s,n){if(t.type==="mouseout")return[];if(!s)return e;const o=this.options.hover;return this.getElementsAtEventForMode(t,o.mode,o,n)}}S(Pt,"defaults",B),S(Pt,"instances",ze),S(Pt,"overrides",At),S(Pt,"registry",at),S(Pt,"version",Cl),S(Pt,"getChart",Fs);function Es(){return L(Pt.instances,i=>i._plugins.invalidate())}function Ll(i,t,e){const{startAngle:s,pixelMargin:n,x:o,y:r,outerRadius:a,innerRadius:l}=t;let c=n/a;i.beginPath(),i.arc(o,r,a,s-c,e+c),l>n?(c=n/l,i.arc(o,r,l,e+c,s-c,!0)):i.arc(o,r,n,e+$,s-$),i.closePath(),i.clip()}function Il(i){return Ri(i,["outerStart","outerEnd","innerStart","innerEnd"])}function Fl(i,t,e,s){const n=Il(i.options.borderRadius),o=(e-t)/2,r=Math.min(o,s*t/2),a=l=>{const c=(e-Math.min(o,l))*s/2;return K(l,0,Math.min(o,c))};return{outerStart:a(n.outerStart),outerEnd:a(n.outerEnd),innerStart:K(n.innerStart,0,r),innerEnd:K(n.innerEnd,0,r)}}function Et(i,t,e,s){return{x:e+i*Math.cos(t),y:s+i*Math.sin(t)}}function Ue(i,t,e,s,n,o){const{x:r,y:a,startAngle:l,pixelMargin:c,innerRadius:h}=t,d=Math.max(t.outerRadius+s+e-c,0),f=h>0?h+s+e+c:0;let u=0;const p=n-l;if(s){const I=h>0?h-s:0,E=d>0?d-s:0,H=(I+E)/2,st=H!==0?p*H/(H+s):p;u=(p-st)/2}const g=Math.max(.001,p*d-e/N)/d,m=(p-g)/2,b=l+m+u,_=n-m-u,{outerStart:y,outerEnd:v,innerStart:x,innerEnd:w}=Fl(t,f,d,_-b),M=d-y,k=d-v,P=b+y/M,O=_-v/k,C=f+x,A=f+w,j=b+x/C,Q=_-w/A;if(i.beginPath(),o){const I=(P+O)/2;if(i.arc(r,a,d,P,I),i.arc(r,a,d,I,O),v>0){const U=Et(k,O,r,a);i.arc(U.x,U.y,v,O,_+$)}const E=Et(A,_,r,a);if(i.lineTo(E.x,E.y),w>0){const U=Et(A,Q,r,a);i.arc(U.x,U.y,w,_+$,Q+Math.PI)}const H=(_-w/f+(b+x/f))/2;if(i.arc(r,a,f,_-w/f,H,!0),i.arc(r,a,f,H,b+x/f,!0),x>0){const U=Et(C,j,r,a);i.arc(U.x,U.y,x,j+Math.PI,b-$)}const st=Et(M,b,r,a);if(i.lineTo(st.x,st.y),y>0){const U=Et(M,P,r,a);i.arc(U.x,U.y,y,b-$,P)}}else{i.moveTo(r,a);const I=Math.cos(P)*d+r,E=Math.sin(P)*d+a;i.lineTo(I,E);const H=Math.cos(O)*d+r,st=Math.sin(O)*d+a;i.lineTo(H,st)}i.closePath()}function El(i,t,e,s,n){const{fullCircles:o,startAngle:r,circumference:a}=t;let l=t.endAngle;if(o){Ue(i,t,e,s,l,n);for(let c=0;c=V||Di(r,l,c),m=pt(a,h+u,d+u);return g&&m}getCenterPoint(e){const{x:s,y:n,startAngle:o,endAngle:r,innerRadius:a,outerRadius:l}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],e),{offset:c,spacing:h}=this.options,d=(o+r)/2,f=(a+l+h+c)/2;return{x:s+Math.cos(d)*f,y:n+Math.sin(d)*f}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){const{options:s,circumference:n}=this,o=(s.offset||0)/4,r=(s.spacing||0)/2,a=s.circular;if(this.pixelMargin=s.borderAlign==="inner"?.33:0,this.fullCircles=n>V?Math.floor(n/V):0,n===0||this.innerRadius<0||this.outerRadius<0)return;e.save();const l=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(l)*o,Math.sin(l)*o);const c=1-Math.sin(Math.min(N,n||0)),h=o*c;e.fillStyle=s.backgroundColor,e.strokeStyle=s.borderColor,El(e,this,h,r,a),zl(e,this,h,r,a),e.restore()}}S(ie,"id","arc"),S(ie,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0}),S(ie,"defaultRoutes",{backgroundColor:"backgroundColor"}),S(ie,"descriptors",{_scriptable:!0,_indexable:e=>e!=="borderDash"});function Un(i,t,e=t){i.lineCap=D(e.borderCapStyle,t.borderCapStyle),i.setLineDash(D(e.borderDash,t.borderDash)),i.lineDashOffset=D(e.borderDashOffset,t.borderDashOffset),i.lineJoin=D(e.borderJoinStyle,t.borderJoinStyle),i.lineWidth=D(e.borderWidth,t.borderWidth),i.strokeStyle=D(e.borderColor,t.borderColor)}function Bl(i,t,e){i.lineTo(e.x,e.y)}function Hl(i){return i.stepped?hr:i.tension||i.cubicInterpolationMode==="monotone"?dr:Bl}function Xn(i,t,e={}){const s=i.length,{start:n=0,end:o=s-1}=e,{start:r,end:a}=t,l=Math.max(n,r),c=Math.min(o,a),h=na&&o>a;return{count:s,start:l,loop:t.loop,ilen:c(r+(c?a-v:v))%o,y=()=>{g!==m&&(i.lineTo(h,m),i.lineTo(h,g),i.lineTo(h,b))};for(l&&(u=n[_(0)],i.moveTo(u.x,u.y)),f=0;f<=a;++f){if(u=n[_(f)],u.skip)continue;const v=u.x,x=u.y,w=v|0;w===p?(xm&&(m=x),h=(d*h+v)/++d):(y(),i.lineTo(v,x),p=w,d=0,g=m=x),b=x}y()}function yi(i){const t=i.options,e=t.borderDash&&t.borderDash.length;return!i._decimated&&!i._loop&&!t.tension&&t.cubicInterpolationMode!=="monotone"&&!t.stepped&&!e?Nl:Wl}function Vl(i){return i.stepped?jr:i.tension||i.cubicInterpolationMode==="monotone"?$r:St}function jl(i,t,e,s){let n=t._path;n||(n=t._path=new Path2D,t.path(n,e,s)&&n.closePath()),Un(i,t.options),i.stroke(n)}function $l(i,t,e,s){const{segments:n,options:o}=t,r=yi(t);for(const a of n)Un(i,o,a.style),i.beginPath(),r(i,t,a,{start:e,end:e+s-1})&&i.closePath(),i.stroke()}const Yl=typeof Path2D=="function";function Ul(i,t,e,s){Yl&&!t.options.segment?jl(i,t,e,s):$l(i,t,e,s)}class Ot extends nt{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 s=this.options;if((s.tension||s.cubicInterpolationMode==="monotone")&&!s.stepped&&!this._pointsUpdated){const n=s.spanGaps?this._loop:this._fullLoop;Fr(this._points,s,t,n,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=Gr(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,s=t.length;return s&&e[t[s-1].end]}interpolate(t,e){const s=this.options,n=t[e],o=this.points,r=Ln(this,{property:e,start:n,end:n});if(!r.length)return;const a=[],l=Vl(s);let c,h;for(c=0,h=r.length;ct!=="borderDash"&&t!=="fill"});function zs(i,t,e,s){const n=i.options,{[e]:o}=i.getProps([e],s);return Math.abs(t-o){a=Bi(r,a,n);const l=n[r],c=n[a];s!==null?(o.push({x:l.x,y:s}),o.push({x:c.x,y:s})):e!==null&&(o.push({x:e,y:l.y}),o.push({x:e,y:c.y}))}),o}function Bi(i,t,e){for(;t>i;t--){const s=e[t];if(!isNaN(s.x)&&!isNaN(s.y))break}return t}function Bs(i,t,e,s){return i&&t?s(i[e],t[e]):i?i[e]:t?t[e]:0}function qn(i,t){let e=[],s=!1;return W(i)?(s=!0,e=i):e=Ql(i,t),e.length?new Ot({points:e,options:{tension:0},_loop:s,_fullLoop:s}):null}function Hs(i){return i&&i.fill!==!1}function tc(i,t,e){let n=i[t].fill;const o=[t];let r;if(!e)return n;for(;n!==!1&&o.indexOf(n)===-1;){if(!q(n))return n;if(r=i[n],!r)return!1;if(r.visible)return n;o.push(n),n=r.fill}return!1}function ec(i,t,e){const s=oc(i);if(T(s))return isNaN(s.value)?!1:s;let n=parseFloat(s);return q(n)&&Math.floor(n)===n?ic(s[0],t,n,e):["origin","start","end","stack","shape"].indexOf(s)>=0&&s}function ic(i,t,e,s){return(i==="-"||i==="+")&&(e=t+e),e===t||e<0||e>=s?!1:e}function sc(i,t){let e=null;return i==="start"?e=t.bottom:i==="end"?e=t.top:T(i)?e=t.getPixelForValue(i.value):t.getBasePixel&&(e=t.getBasePixel()),e}function nc(i,t,e){let s;return i==="start"?s=e:i==="end"?s=t.options.reverse?t.min:t.max:T(i)?s=i.value:s=t.getBaseValue(),s}function oc(i){const t=i.options,e=t.fill;let s=D(e&&e.target,e);return s===void 0&&(s=!!t.backgroundColor),s===!1||s===null?!1:s===!0?"origin":s}function rc(i){const{scale:t,index:e,line:s}=i,n=[],o=s.segments,r=s.points,a=ac(t,e);a.push(qn({x:null,y:t.bottom},s));for(let l=0;l=0;--r){const a=n[r].$filler;a&&(a.line.updateControlPoints(o,a.axis),s&&a.fill&&di(i.ctx,a,o))}},beforeDatasetsDraw(i,t,e){if(e.drawTime!=="beforeDatasetsDraw")return;const s=i.getSortedVisibleDatasetMetas();for(let n=s.length-1;n>=0;--n){const o=s[n].$filler;Hs(o)&&di(i.ctx,o,i.chartArea)}},beforeDatasetDraw(i,t,e){const s=t.meta.$filler;!Hs(s)||e.drawTime!=="beforeDatasetDraw"||di(i.ctx,s,i.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const js=(i,t)=>{let{boxHeight:e=t,boxWidth:s=t}=i;return i.usePointStyle&&(e=Math.min(e,t),s=i.pointStyleWidth||Math.min(s,t)),{boxWidth:s,boxHeight:e,itemHeight:Math.max(t,e)}},bc=(i,t)=>i!==null&&t!==null&&i.datasetIndex===t.datasetIndex&&i.index===t.index;class $s extends nt{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,s){this.maxWidth=t,this.maxHeight=e,this._margins=s,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=F(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter(s=>t.filter(s,this.chart.data))),t.sort&&(e=e.sort((s,n)=>t.sort(s,n,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 s=t.labels,n=Y(s.font),o=n.size,r=this._computeTitleHeight(),{boxWidth:a,itemHeight:l}=js(s,o);let c,h;e.font=n.string,this.isHorizontal()?(c=this.maxWidth,h=this._fitRows(r,o,a,l)+10):(h=this.maxHeight,c=this._fitCols(r,n,a,l)+10),this.width=Math.min(c,t.maxWidth||this.maxWidth),this.height=Math.min(h,t.maxHeight||this.maxHeight)}_fitRows(t,e,s,n){const{ctx:o,maxWidth:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],h=n+a;let d=t;o.textAlign="left",o.textBaseline="middle";let f=-1,u=-h;return this.legendItems.forEach((p,g)=>{const m=s+e/2+o.measureText(p.text).width;(g===0||c[c.length-1]+m+2*a>r)&&(d+=h,c[c.length-(g>0?0:1)]=0,u+=h,f++),l[g]={left:0,top:u,row:f,width:m,height:n},c[c.length-1]+=m+a}),d}_fitCols(t,e,s,n){const{ctx:o,maxHeight:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],h=r-t;let d=a,f=0,u=0,p=0,g=0;return this.legendItems.forEach((m,b)=>{const{itemWidth:_,itemHeight:y}=_c(s,e,o,m,n);b>0&&u+y+2*a>h&&(d+=f+a,c.push({width:f,height:u}),p+=f+a,g++,f=u=0),l[b]={left:p,top:u,col:g,width:_,height:y},f=Math.max(f,_),u+=y+a}),d+=f,c.push({width:f,height:u}),d}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:s,labels:{padding:n},rtl:o}}=this,r=Bt(o,this.left,this.width);if(this.isHorizontal()){let a=0,l=X(s,this.left+n,this.right-this.lineWidths[a]);for(const c of e)a!==c.row&&(a=c.row,l=X(s,this.left+n,this.right-this.lineWidths[a])),c.top+=this.top+t+n,c.left=r.leftForLtr(r.x(l),c.width),l+=c.width+n}else{let a=0,l=X(s,this.top+t+n,this.bottom-this.columnSizes[a].height);for(const c of e)c.col!==a&&(a=c.col,l=X(s,this.top+t+n,this.bottom-this.columnSizes[a].height)),c.top=l,c.left+=this.left+n,c.left=r.leftForLtr(r.x(c.left),c.width),l+=c.height+n}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const t=this.ctx;Ke(t,this),this._draw(),qe(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:s,ctx:n}=this,{align:o,labels:r}=t,a=B.color,l=Bt(t.rtl,this.left,this.width),c=Y(r.font),{padding:h}=r,d=c.size,f=d/2;let u;this.drawTitle(),n.textAlign=l.textAlign("left"),n.textBaseline="middle",n.lineWidth=.5,n.font=c.string;const{boxWidth:p,boxHeight:g,itemHeight:m}=js(r,d),b=function(w,M,k){if(isNaN(p)||p<=0||isNaN(g)||g<0)return;n.save();const P=D(k.lineWidth,1);if(n.fillStyle=D(k.fillStyle,a),n.lineCap=D(k.lineCap,"butt"),n.lineDashOffset=D(k.lineDashOffset,0),n.lineJoin=D(k.lineJoin,"miter"),n.lineWidth=P,n.strokeStyle=D(k.strokeStyle,a),n.setLineDash(D(k.lineDash,[])),r.usePointStyle){const O={radius:g*Math.SQRT2/2,pointStyle:k.pointStyle,rotation:k.rotation,borderWidth:P},C=l.xPlus(w,p/2),A=M+f;vn(n,O,C,A,r.pointStyleWidth&&p)}else{const O=M+Math.max((d-g)/2,0),C=l.leftForLtr(w,p),A=zt(k.borderRadius);n.beginPath(),Object.values(A).some(j=>j!==0)?je(n,{x:C,y:O,w:p,h:g,radius:A}):n.rect(C,O,p,g),n.fill(),P!==0&&n.stroke()}n.restore()},_=function(w,M,k){ge(n,k.text,w,M+m/2,c,{strikethrough:k.hidden,textAlign:l.textAlign(k.textAlign)})},y=this.isHorizontal(),v=this._computeTitleHeight();y?u={x:X(o,this.left+h,this.right-s[0]),y:this.top+h+v,line:0}:u={x:this.left+h,y:X(o,this.top+v+h,this.bottom-e[0].height),line:0},On(this.ctx,t.textDirection);const x=m+h;this.legendItems.forEach((w,M)=>{n.strokeStyle=w.fontColor,n.fillStyle=w.fontColor;const k=n.measureText(w.text).width,P=l.textAlign(w.textAlign||(w.textAlign=r.textAlign)),O=p+f+k;let C=u.x,A=u.y;l.setWidth(this.width),y?M>0&&C+O+h>this.right&&(A=u.y+=x,u.line++,C=u.x=X(o,this.left+h,this.right-s[u.line])):M>0&&A+x>this.bottom&&(C=u.x=C+e[u.line].width+h,u.line++,A=u.y=X(o,this.top+v+h,this.bottom-e[u.line].height));const j=l.x(C);if(b(j,A,w),C=Jo(P,C+p+f,y?C+O:this.right,t.rtl),_(l.x(C),A,w),y)u.x+=O+h;else if(typeof w.text!="string"){const Q=c.lineHeight;u.y+=Zn(w,Q)+h}else u.y+=x}),Tn(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,s=Y(e.font),n=tt(e.padding);if(!e.display)return;const o=Bt(t.rtl,this.left,this.width),r=this.ctx,a=e.position,l=s.size/2,c=n.top+l;let h,d=this.left,f=this.width;if(this.isHorizontal())f=Math.max(...this.lineWidths),h=this.top+c,d=X(t.align,d,this.right-f);else{const p=this.columnSizes.reduce((g,m)=>Math.max(g,m.height),0);h=c+X(t.align,this.top,this.bottom-p-t.labels.padding-this._computeTitleHeight())}const u=X(a,d,d+f);r.textAlign=o.textAlign(Ti(a)),r.textBaseline="middle",r.strokeStyle=e.color,r.fillStyle=e.color,r.font=s.string,ge(r,e.text,u,h,s)}_computeTitleHeight(){const t=this.options.title,e=Y(t.font),s=tt(t.padding);return t.display?e.lineHeight+s.height:0}_getLegendItemAt(t,e){let s,n,o;if(pt(t,this.left,this.right)&&pt(e,this.top,this.bottom)){for(o=this.legendHitBoxes,s=0;so.length>r.length?o:r)),t+e.size/2+s.measureText(n).width}function yc(i,t,e){let s=i;return typeof t.text!="string"&&(s=Zn(t,e)),s}function Zn(i,t){const e=i.text?i.text.length:0;return t*e}function vc(i,t){return!!((i==="mousemove"||i==="mouseout")&&(t.onHover||t.onLeave)||t.onClick&&(i==="click"||i==="mouseup"))}var ah={id:"legend",_element:$s,start(i,t,e){const s=i.legend=new $s({ctx:i.ctx,options:e,chart:i});it.configure(i,s,e),it.addBox(i,s)},stop(i){it.removeBox(i,i.legend),delete i.legend},beforeUpdate(i,t,e){const s=i.legend;it.configure(i,s,e),s.options=e},afterUpdate(i){const t=i.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(i,t){t.replay||i.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(i,t,e){const s=t.datasetIndex,n=e.chart;n.isDatasetVisible(s)?(n.hide(s),t.hidden=!0):(n.show(s),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:i=>i.chart.options.color,boxWidth:40,padding:10,generateLabels(i){const t=i.data.datasets,{labels:{usePointStyle:e,pointStyle:s,textAlign:n,color:o,useBorderRadius:r,borderRadius:a}}=i.legend.options;return i._getSortedDatasetMetas().map(l=>{const c=l.controller.getStyle(e?0:void 0),h=tt(c.borderWidth);return{text:t[l.index].label,fillStyle:c.backgroundColor,fontColor:o,hidden:!l.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(h.width+h.height)/4,strokeStyle:c.borderColor,pointStyle:s||c.pointStyle,rotation:c.rotation,textAlign:n||c.textAlign,borderRadius:r&&(a||c.borderRadius),datasetIndex:l.index}},this)}},title:{color:i=>i.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:i=>!i.startsWith("on"),labels:{_scriptable:i=>!["generateLabels","filter","sort"].includes(i)}}};class Jn extends nt{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 s=this.options;if(this.left=0,this.top=0,!s.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=t,this.height=this.bottom=e;const n=W(s.text)?s.text.length:1;this._padding=tt(s.padding);const o=n*Y(s.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){const t=this.options.position;return t==="top"||t==="bottom"}_drawArgs(t){const{top:e,left:s,bottom:n,right:o,options:r}=this,a=r.align;let l=0,c,h,d;return this.isHorizontal()?(h=X(a,s,o),d=e+t,c=o-s):(r.position==="left"?(h=s+t,d=X(a,n,e),l=N*-.5):(h=o-t,d=X(a,e,n),l=N*.5),c=n-e),{titleX:h,titleY:d,maxWidth:c,rotation:l}}draw(){const t=this.ctx,e=this.options;if(!e.display)return;const s=Y(e.font),o=s.lineHeight/2+this._padding.top,{titleX:r,titleY:a,maxWidth:l,rotation:c}=this._drawArgs(o);ge(t,e.text,0,0,s,{color:e.color,maxWidth:l,rotation:c,textAlign:Ti(e.align),textBaseline:"middle",translation:[r,a]})}}function kc(i,t){const e=new Jn({ctx:i.ctx,options:t,chart:i});it.configure(i,e,t),it.addBox(i,e),i.titleBlock=e}var lh={id:"title",_element:Jn,start(i,t,e){kc(i,e)},stop(i){const t=i.titleBlock;it.removeBox(i,t),delete i.titleBlock},beforeUpdate(i,t,e){const s=i.titleBlock;it.configure(i,s,e),s.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 se={average(i){if(!i.length)return!1;let t,e,s=0,n=0,o=0;for(t=0,e=i.length;ta({chart:t,initial:e.initial,numSteps:r,currentStep:Math.min(s-e.start,r)}))}_refresh(){this._request||(this._running=!0,this._request=bn.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let e=0;this._charts.forEach((s,n)=>{if(!s.running||!s.items.length)return;const o=s.items;let r=o.length-1,a=!1,l;for(;r>=0;--r)l=o[r],l._active?(l._total>s.duration&&(s.duration=l._total),l.tick(t),a=!0):(o[r]=o[o.length-1],o.pop());a&&(n.draw(),this._notify(n,s,t,"progress")),o.length||(s.running=!1,this._notify(n,s,t,"complete"),s.initial=!1),e+=o.length}),this._lastDate=t,e===0&&(this._running=!1)}_getAnims(t){const e=this._charts;let s=e.get(t);return s||(s={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,s)),s}listen(t,e,s){this._getAnims(t).listeners[e].push(s)}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((s,n)=>Math.max(s,n._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 s=e.items;let n=s.length-1;for(;n>=0;--n)s[n].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var ft=new Qr;const cs="transparent",ta={boolean(i,t,e){return e>.5?t:i},color(i,t,e){const s=Ji(i||cs),n=s.valid&&Ji(t||cs);return n&&n.valid?n.mix(s,e).hexString():t},number(i,t,e){return i+(t-i)*e}};class ea{constructor(t,e,s,n){const o=e[s];n=z([t.to,n,o,t.from]);const r=z([t.from,o,n]);this._active=!0,this._fn=t.fn||ta[t.type||typeof r],this._easing=re[t.easing]||re.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=s,this._from=r,this._to=n,this._promises=void 0}active(){return this._active}update(t,e,s){if(this._active){this._notify(!1);const n=this._target[this._prop],o=s-this._start,r=this._duration-o;this._start=s,this._duration=Math.floor(Math.max(r,t.duration)),this._total+=o,this._loop=!!t.loop,this._to=z([t.to,e,n,t.from]),this._from=z([t.from,n,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,s=this._duration,n=this._prop,o=this._from,r=this._loop,a=this._to;let l;if(this._active=o!==a&&(r||e1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[n]=this._fn(o,a,l)}wait(){const t=this._promises||(this._promises=[]);return new Promise((e,s)=>{t.push({res:e,rej:s})})}_notify(t){const e=t?"res":"rej",s=this._promises||[];for(let n=0;n{const o=t[n];if(!T(o))return;const r={};for(const a of e)r[a]=o[a];(W(o.properties)&&o.properties||[n]).forEach(a=>{(a===n||!s.has(a))&&s.set(a,r)})})}_animateOptions(t,e){const s=e.options,n=sa(t,s);if(!n)return[];const o=this._createAnimations(n,s);return s.$shared&&ia(t.options.$animations,s).then(()=>{t.options=s},()=>{}),o}_createAnimations(t,e){const s=this._properties,n=[],o=t.$animations||(t.$animations={}),r=Object.keys(e),a=Date.now();let l;for(l=r.length-1;l>=0;--l){const c=r[l];if(c.charAt(0)==="$")continue;if(c==="options"){n.push(...this._animateOptions(t,e));continue}const h=e[c];let d=o[c];const f=s.get(c);if(d)if(f&&d.active()){d.update(f,h,a);continue}else d.cancel();if(!f||!f.duration){t[c]=h;continue}o[c]=d=new ea(f,t,c,h),n.push(d)}return n}update(t,e){if(this._properties.size===0){Object.assign(t,e);return}const s=this._createAnimations(t,e);if(s.length)return ft.add(this._chart,s),!0}}function ia(i,t){const e=[],s=Object.keys(t);for(let n=0;n0||!e&&o<0)return n.index}return null}function gs(i,t){const{chart:e,_cachedMeta:s}=i,n=e._stacks||(e._stacks={}),{iScale:o,vScale:r,index:a}=s,l=o.axis,c=r.axis,h=aa(o,r,s),d=t.length;let f;for(let u=0;ue[s].axis===t).shift()}function ha(i,t){return It(i,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function da(i,t,e){return It(i,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:e,index:t,mode:"default",type:"data"})}function Kt(i,t){const e=i.controller.index,s=i.vScale&&i.vScale.axis;if(s){t=t||i._parsed;for(const n of t){const o=n._stacks;if(!o||o[s]===void 0||o[s][e]===void 0)return;delete o[s][e],o[s]._visualValues!==void 0&&o[s]._visualValues[e]!==void 0&&delete o[s]._visualValues[e]}}}const ii=i=>i==="reset"||i==="none",ps=(i,t)=>t?i:Object.assign({},i),fa=(i,t,e)=>i&&!t.hidden&&t._stacked&&{keys:Fn(e,!0),values:null};class Nt{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.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=fs(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&Kt(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,e=this._cachedMeta,s=this.getDataset(),n=(d,f,u,p)=>d==="x"?f:d==="r"?p:u,o=e.xAxisID=D(s.xAxisID,ei(t,"x")),r=e.yAxisID=D(s.yAxisID,ei(t,"y")),a=e.rAxisID=D(s.rAxisID,ei(t,"r")),l=e.indexAxis,c=e.iAxisID=n(l,o,r,a),h=e.vAxisID=n(l,r,o,a);e.xScale=this.getScaleForId(o),e.yScale=this.getScaleForId(r),e.rScale=this.getScaleForId(a),e.iScale=this.getScaleForId(c),e.vScale=this.getScaleForId(h)}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&&qi(this._data,this),t._stacked&&Kt(t)}_dataCheck(){const t=this.getDataset(),e=t.data||(t.data=[]),s=this._data;if(T(e))this._data=ra(e);else if(s!==e){if(s){qi(s,this);const n=this._cachedMeta;Kt(n),n._parsed=[]}e&&Object.isExtensible(e)&&Go(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,s=this.getDataset();let n=!1;this._dataCheck();const o=e._stacked;e._stacked=fs(e.vScale,e),e.stack!==s.stack&&(n=!0,Kt(e),e.stack=s.stack),this._resyncElements(t),(n||o!==e._stacked)&&gs(this,e._parsed)}configure(){const t=this.chart.config,e=t.datasetScopeKeys(this._type),s=t.getOptionScopes(this.getDataset(),e,!0);this.options=t.createResolver(s,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,e){const{_cachedMeta:s,_data:n}=this,{iScale:o,_stacked:r}=s,a=o.axis;let l=t===0&&e===n.length?!0:s._sorted,c=t>0&&s._parsed[t-1],h,d,f;if(this._parsing===!1)s._parsed=n,s._sorted=!0,f=n;else{W(n[t])?f=this.parseArrayData(s,n,t,e):T(n[t])?f=this.parseObjectData(s,n,t,e):f=this.parsePrimitiveData(s,n,t,e);const u=()=>d[a]===null||c&&d[a]g||d=0;--f)if(!p()){this.updateRangeFromParsed(c,t,u,l);break}}return c}getAllParsedValues(t){const e=this._cachedMeta._parsed,s=[];let n,o,r;for(n=0,o=e.length;n=0&&tthis.getContext(s,n,e),g=c.resolveNamedOptions(f,u,p,d);return g.$shared&&(g.$shared=l,o[r]=Object.freeze(ps(g,l))),g}_resolveAnimations(t,e,s){const n=this.chart,o=this._cachedDataOpts,r=`animation-${e}`,a=o[r];if(a)return a;let l;if(n.options.animation!==!1){const h=this.chart.config,d=h.datasetAnimationScopeKeys(this._type,e),f=h.getOptionScopes(this.getDataset(),d);l=h.createResolver(f,this.getContext(t,s,e))}const c=new In(n,l&&l.animations);return l&&l._cacheable&&(o[r]=Object.freeze(c)),c}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||ii(t)||this.chart._animationsDisabled}_getSharedOptions(t,e){const s=this.resolveDataElementOptions(t,e),n=this._sharedOptions,o=this.getSharedOptions(s),r=this.includeOptions(e,o)||o!==n;return this.updateSharedOptions(o,e,s),{sharedOptions:o,includeOptions:r}}updateElement(t,e,s,n){ii(n)?Object.assign(t,s):this._resolveAnimations(e,n).update(t,s)}updateSharedOptions(t,e,s){t&&!ii(e)&&this._resolveAnimations(void 0,e).update(t,s)}_setStyle(t,e,s,n){t.active=n;const o=this.getStyle(e,n);this._resolveAnimations(e,s,n).update(t,{options:!n&&this.getSharedOptions(o)||o})}removeHoverStyle(t,e,s){this._setStyle(t,s,"active",!1)}setHoverStyle(t,e,s){this._setStyle(t,s,"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,s=this._cachedMeta.data;for(const[a,l,c]of this._syncList)this[a](l,c);this._syncList=[];const n=s.length,o=e.length,r=Math.min(o,n);r&&this.parse(0,r),o>n?this._insertElements(n,o-n,t):o{for(c.length+=e,a=c.length-1;a>=r;a--)c[a]=c[a-e]};for(l(o),a=t;an-o))}return i._cache.$bar}function ga(i){const t=i.iScale,e=ua(t,i.type);let s=t._length,n,o,r,a;const l=()=>{r===32767||r===-32768||(de(a)&&(s=Math.min(s,Math.abs(r-a)||s)),a=r)};for(n=0,o=e.length;n0?n[i-1]:null,a=iMath.abs(a)&&(l=a,c=r),t[e.axis]=c,t._custom={barStart:l,barEnd:c,start:n,end:o,min:r,max:a}}function En(i,t,e,s){return W(i)?ba(i,t,e,s):t[e.axis]=e.parse(i,s),t}function ms(i,t,e,s){const n=i.iScale,o=i.vScale,r=n.getLabels(),a=n===o,l=[];let c,h,d,f;for(c=e,h=e+s;c=e?1:-1)}function xa(i){let t,e,s,n,o;return i.horizontal?(t=i.base>i.x,e="left",s="right"):(t=i.basel.controller.options.grouped),o=s.options.stacked,r=[],a=l=>{const c=l.controller.getParsed(e),h=c&&c[l.vScale.axis];if(R(h)||isNaN(h))return!0};for(const l of n)if(!(e!==void 0&&a(l))&&((o===!1||r.indexOf(l.stack)===-1||o===void 0&&l.stack===void 0)&&r.push(l.stack),l.index===t))break;return r.length||r.push(void 0),r}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,e,s){const n=this._getStacks(t,s),o=e!==void 0?n.indexOf(e):-1;return o===-1?n.length-1:o}_getRuler(){const t=this.options,e=this._cachedMeta,s=e.iScale,n=[];let o,r;for(o=0,r=e.data.length;o0&&this.getParsed(e-1);for(let x=0;x=_){M.skip=!0;continue}const k=this.getParsed(x),P=R(k[u]),O=M[f]=r.getPixelForValue(k[f],x),C=M[u]=o||P?a.getBasePixel():a.getPixelForValue(l?this.applyStack(a,k,l):k[u],x);M.skip=isNaN(O)||isNaN(C)||P,M.stop=x>0&&Math.abs(k[f]-v[f])>m,g&&(M.parsed=k,M.raw=c.data[x]),d&&(M.options=h||this.resolveDataElementOptions(x,w.active?"active":n)),b||this.updateElement(w,x,M,n),v=k}}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,s=e.options&&e.options.borderWidth||0,n=t.data||[];if(!n.length)return s;const o=n[0].size(this.resolveDataElementOptions(0)),r=n[n.length-1].size(this.resolveDataElementOptions(n.length-1));return Math.max(s,o,r)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}S(oi,"id","line"),S(oi,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),S(oi,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});function St(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Bi{constructor(t){S(this,"options");this.options=t||{}}static override(t){Object.assign(Bi.prototype,t)}init(){}formats(){return St()}parse(){return St()}format(){return St()}add(){return St()}diff(){return St()}startOf(){return St()}endOf(){return St()}}var wa={_date:Bi};function Ma(i,t,e,s){const{controller:n,data:o,_sorted:r}=i,a=n._cachedMeta.iScale;if(a&&t===a.axis&&t!=="r"&&r&&o.length){const l=a._reversePixels?Ko:Tt;if(s){if(n._sharedOptions){const c=o[0],h=typeof c.getRange=="function"&&c.getRange(t);if(h){const d=l(o,t,e-h),f=l(o,t,e+h);return{lo:d.lo,hi:f.hi}}}}else return l(o,t,e)}return{lo:0,hi:o.length-1}}function be(i,t,e,s,n){const o=i.getSortedVisibleDatasetMetas(),r=e[t];for(let a=0,l=o.length;a{l[r](t[e],n)&&(o.push({element:l,datasetIndex:c,index:h}),a=a||l.inRange(t.x,t.y,n))}),s&&!a?[]:o}var Da={evaluateInteractionItems:be,modes:{index(i,t,e,s){const n=Pt(t,i),o=e.axis||"x",r=e.includeInvisible||!1,a=e.intersect?ri(i,n,o,s,r):ai(i,n,o,!1,s,r),l=[];return a.length?(i.getSortedVisibleDatasetMetas().forEach(c=>{const h=a[0].index,d=c.data[h];d&&!d.skip&&l.push({element:d,datasetIndex:c.index,index:h})}),l):[]},dataset(i,t,e,s){const n=Pt(t,i),o=e.axis||"xy",r=e.includeInvisible||!1;let a=e.intersect?ri(i,n,o,s,r):ai(i,n,o,!1,s,r);if(a.length>0){const l=a[0].datasetIndex,c=i.getDatasetMeta(l).data;a=[];for(let h=0;he.pos===t)}function ys(i,t){return i.filter(e=>zn.indexOf(e.pos)===-1&&e.box.axis===t)}function Gt(i,t){return i.sort((e,s)=>{const n=t?s:e,o=t?e:s;return n.weight===o.weight?n.index-o.index:n.weight-o.weight})}function Oa(i){const t=[];let e,s,n,o,r,a;for(e=0,s=(i||[]).length;ec.box.fullSize),!0),s=Gt(qt(t,"left"),!0),n=Gt(qt(t,"right")),o=Gt(qt(t,"top"),!0),r=Gt(qt(t,"bottom")),a=ys(t,"x"),l=ys(t,"y");return{fullSize:e,leftAndTop:s.concat(o),rightAndBottom:n.concat(l).concat(r).concat(a),chartArea:qt(t,"chartArea"),vertical:s.concat(n).concat(l),horizontal:o.concat(r).concat(a)}}function vs(i,t,e,s){return Math.max(i[e],t[e])+Math.max(i[s],t[s])}function Bn(i,t){i.top=Math.max(i.top,t.top),i.left=Math.max(i.left,t.left),i.bottom=Math.max(i.bottom,t.bottom),i.right=Math.max(i.right,t.right)}function La(i,t,e,s){const{pos:n,box:o}=e,r=i.maxPadding;if(!T(n)){e.size&&(i[n]-=e.size);const d=s[e.stack]||{size:0,count:1};d.size=Math.max(d.size,e.horizontal?o.height:o.width),e.size=d.size/d.count,i[n]+=e.size}o.getPadding&&Bn(r,o.getPadding());const a=Math.max(0,t.outerWidth-vs(r,i,"left","right")),l=Math.max(0,t.outerHeight-vs(r,i,"top","bottom")),c=a!==i.w,h=l!==i.h;return i.w=a,i.h=l,e.horizontal?{same:c,other:h}:{same:h,other:c}}function Ia(i){const t=i.maxPadding;function e(s){const n=Math.max(t[s]-i[s],0);return i[s]+=n,n}i.y+=e("top"),i.x+=e("left"),e("right"),e("bottom")}function Fa(i,t){const e=t.maxPadding;function s(n){const o={left:0,top:0,right:0,bottom:0};return n.forEach(r=>{o[r]=Math.max(t[r],e[r])}),o}return s(i?["left","right"]:["top","bottom"])}function ee(i,t,e,s){const n=[];let o,r,a,l,c,h;for(o=0,r=i.length,c=0;o{typeof g.beforeLayout=="function"&&g.beforeLayout()});const h=l.reduce((g,m)=>m.box.options&&m.box.options.display===!1?g:g+1,0)||1,d=Object.freeze({outerWidth:t,outerHeight:e,padding:n,availableWidth:o,availableHeight:r,vBoxMaxWidth:o/2/h,hBoxMaxHeight:r/2}),f=Object.assign({},n);Bn(f,tt(s));const u=Object.assign({maxPadding:f,w:o,h:r,x:n.left,y:n.top},n),p=Aa(l.concat(c),d);ee(a.fullSize,u,d,p),ee(l,u,d,p),ee(c,u,d,p)&&ee(l,u,d,p),Ia(u),ks(a.leftAndTop,u,d,p),u.x+=u.w,u.y+=u.h,ks(a.rightAndBottom,u,d,p),i.chartArea={left:u.left,top:u.top,right:u.left+u.w,bottom:u.top+u.h,height:u.h,width:u.w},L(a.chartArea,g=>{const m=g.box;Object.assign(m,i.chartArea),m.update(u.w,u.h,{left:0,top:0,right:0,bottom:0})})}};class Hn{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,s){}removeEventListener(t,e,s){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,s,n){return e=Math.max(0,e||t.width),s=s||t.height,{width:e,height:Math.max(0,n?Math.floor(e/n):s)}}isAttached(t){return!0}updateConfig(t){}}class Ea extends Hn{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const Ee="$chartjs",za={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},ws=i=>i===null||i==="";function Ba(i,t){const e=i.style,s=i.getAttribute("height"),n=i.getAttribute("width");if(i[Ee]={initial:{height:s,width:n,style:{display:e.display,height:e.height,width:e.width}}},e.display=e.display||"block",e.boxSizing=e.boxSizing||"border-box",ws(n)){const o=os(i,"width");o!==void 0&&(i.width=o)}if(ws(s))if(i.style.height==="")i.height=i.width/(t||2);else{const o=os(i,"height");o!==void 0&&(i.height=o)}return i}const Wn=Vr?{passive:!0}:!1;function Ha(i,t,e){i.addEventListener(t,e,Wn)}function Wa(i,t,e){i.canvas.removeEventListener(t,e,Wn)}function Na(i,t){const e=za[i.type]||i.type,{x:s,y:n}=Pt(i,t);return{type:e,chart:t,native:i,x:s!==void 0?s:null,y:n!==void 0?n:null}}function Ye(i,t){for(const e of i)if(e===t||e.contains(t))return!0}function Va(i,t,e){const s=i.canvas,n=new MutationObserver(o=>{let r=!1;for(const a of o)r=r||Ye(a.addedNodes,s),r=r&&!Ye(a.removedNodes,s);r&&e()});return n.observe(document,{childList:!0,subtree:!0}),n}function ja(i,t,e){const s=i.canvas,n=new MutationObserver(o=>{let r=!1;for(const a of o)r=r||Ye(a.removedNodes,s),r=r&&!Ye(a.addedNodes,s);r&&e()});return n.observe(document,{childList:!0,subtree:!0}),n}const pe=new Map;let Ms=0;function Nn(){const i=window.devicePixelRatio;i!==Ms&&(Ms=i,pe.forEach((t,e)=>{e.currentDevicePixelRatio!==i&&t()}))}function $a(i,t){pe.size||window.addEventListener("resize",Nn),pe.set(i,t)}function Ya(i){pe.delete(i),pe.size||window.removeEventListener("resize",Nn)}function Ua(i,t,e){const s=i.canvas,n=s&&zi(s);if(!n)return;const o=_n((a,l)=>{const c=n.clientWidth;e(a,l),c{const l=a[0],c=l.contentRect.width,h=l.contentRect.height;c===0&&h===0||o(c,h)});return r.observe(n),$a(i,o),r}function li(i,t,e){e&&e.disconnect(),t==="resize"&&Ya(i)}function Xa(i,t,e){const s=i.canvas,n=_n(o=>{i.ctx!==null&&e(Na(o,i))},i);return Ha(s,t,n),n}class Ka extends Hn{acquireContext(t,e){const s=t&&t.getContext&&t.getContext("2d");return s&&s.canvas===t?(Ba(t,e),s):null}releaseContext(t){const e=t.canvas;if(!e[Ee])return!1;const s=e[Ee].initial;["height","width"].forEach(o=>{const r=s[o];R(r)?e.removeAttribute(o):e.setAttribute(o,r)});const n=s.style||{};return Object.keys(n).forEach(o=>{e.style[o]=n[o]}),e.width=e.width,delete e[Ee],!0}addEventListener(t,e,s){this.removeEventListener(t,e);const n=t.$proxies||(t.$proxies={}),r={attach:Va,detach:ja,resize:Ua}[e]||Xa;n[e]=r(t,e,s)}removeEventListener(t,e){const s=t.$proxies||(t.$proxies={}),n=s[e];if(!n)return;({attach:li,detach:li,resize:li}[e]||Wa)(t,e,n),s[e]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,s,n){return Nr(t,e,s,n)}isAttached(t){const e=zi(t);return!!(e&&e.isConnected)}}function qa(i){return!Ei()||typeof OffscreenCanvas<"u"&&i instanceof OffscreenCanvas?Ea:Ka}class nt{constructor(){S(this,"x");S(this,"y");S(this,"active",!1);S(this,"options");S(this,"$animations")}tooltipPosition(t){const{x:e,y:s}=this.getProps(["x","y"],t);return{x:e,y:s}}hasValue(){return fe(this.x)&&fe(this.y)}getProps(t,e){const s=this.$animations;if(!e||!s)return this;const n={};return t.forEach(o=>{n[o]=s[o]&&s[o].active()?s[o]._to:this[o]}),n}}S(nt,"defaults",{}),S(nt,"defaultRoutes");function Ga(i,t){const e=i.options.ticks,s=Za(i),n=Math.min(e.maxTicksLimit||s,s),o=e.major.enabled?Qa(t):[],r=o.length,a=o[0],l=o[r-1],c=[];if(r>n)return tl(t,c,o,r/n),c;const h=Ja(o,t,n);if(r>0){let d,f;const u=r>1?Math.round((l-a)/(r-1)):null;for(Pe(t,c,h,R(u)?0:a-u,a),d=0,f=r-1;dn)return l}return Math.max(n,1)}function Qa(i){const t=[];let e,s;for(e=0,s=i.length;ei==="left"?"right":i==="right"?"left":i,Ss=(i,t,e)=>t==="top"||t==="left"?i[t]+e:i[t]-e,Ps=(i,t)=>Math.min(t||i,i);function Cs(i,t){const e=[],s=i.length/t,n=i.length;let o=0;for(;or+a)))return l}function nl(i,t){L(i,e=>{const s=e.gc,n=s.length/2;let o;if(n>t){for(o=0;os?s:e,s=n&&e>s?e:s,{min:ot(e,ot(s,e)),max:ot(s,ot(e,s))}}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||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){F(this.options.beforeUpdate,[this])}update(t,e,s){const{beginAtZero:n,grace:o,ticks:r}=this.options,a=r.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=s=Object.assign({left:0,right:0,top:0,bottom:0},s),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+s.left+s.right:this.height+s.top+s.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=xr(this,o,n),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=a=o||s<=1||!this.isHorizontal()){this.labelRotation=n;return}const h=this._getLabelSizes(),d=h.widest.width,f=h.highest.height,u=K(this.chart.width-d,0,this.maxWidth);a=t.offset?this.maxWidth/s:u/(s-1),d+6>a&&(a=u/(s-(t.offset?.5:1)),l=this.maxHeight-Zt(t.grid)-e.padding-Ds(t.title,this.chart.options.font),c=Math.sqrt(d*d+f*f),r=Yo(Math.min(Math.asin(K((h.highest.height+6)/a,-1,1)),Math.asin(K(l/c,-1,1))-Math.asin(K(f/c,-1,1)))),r=Math.max(n,Math.min(o,r))),this.labelRotation=r}afterCalculateLabelRotation(){F(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){F(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:s,title:n,grid:o}}=this,r=this._isVisible(),a=this.isHorizontal();if(r){const l=Ds(n,e.options.font);if(a?(t.width=this.maxWidth,t.height=Zt(o)+l):(t.height=this.maxHeight,t.width=Zt(o)+l),s.display&&this.ticks.length){const{first:c,last:h,widest:d,highest:f}=this._getLabelSizes(),u=s.padding*2,p=Ot(this.labelRotation),g=Math.cos(p),m=Math.sin(p);if(a){const b=s.mirror?0:m*d.width+g*f.height;t.height=Math.min(this.maxHeight,t.height+b+u)}else{const b=s.mirror?0:g*d.width+m*f.height;t.width=Math.min(this.maxWidth,t.width+b+u)}this._calculatePadding(c,h,m,g)}}this._handleMargins(),a?(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,s,n){const{ticks:{align:o,padding:r},position:a}=this.options,l=this.labelRotation!==0,c=a!=="top"&&this.axis==="x";if(this.isHorizontal()){const h=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1);let f=0,u=0;l?c?(f=n*t.width,u=s*e.height):(f=s*t.height,u=n*e.width):o==="start"?u=e.width:o==="end"?f=t.width:o!=="inner"&&(f=t.width/2,u=e.width/2),this.paddingLeft=Math.max((f-h+r)*this.width/(this.width-h),0),this.paddingRight=Math.max((u-d+r)*this.width/(this.width-d),0)}else{let h=e.height/2,d=t.height/2;o==="start"?(h=0,d=t.height):o==="end"&&(h=e.height,d=0),this.paddingTop=h+r,this.paddingBottom=d+r}}_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(){F(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,s;for(e=0,s=t.length;e({width:r[P]||0,height:a[P]||0});return{first:k(0),last:k(e-1),widest:k(w),highest:k(M),widths:r,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 Xo(this._alignToPixels?Mt(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&&ta*n?a/s:l/n:l*n0}_computeGridLineItems(t){const e=this.axis,s=this.chart,n=this.options,{grid:o,position:r,border:a}=n,l=o.offset,c=this.isHorizontal(),d=this.ticks.length+(l?1:0),f=Zt(o),u=[],p=a.setContext(this.getContext()),g=p.display?p.width:0,m=g/2,b=function(E){return Mt(s,E,g)};let _,y,v,x,w,M,k,P,O,C,A,j;if(r==="top")_=b(this.bottom),M=this.bottom-f,P=_-m,C=b(t.top)+m,j=t.bottom;else if(r==="bottom")_=b(this.top),C=t.top,j=b(t.bottom)-m,M=_+m,P=this.top+f;else if(r==="left")_=b(this.right),w=this.right-f,k=_-m,O=b(t.left)+m,A=t.right;else if(r==="right")_=b(this.left),O=t.left,A=b(t.right)-m,w=_+m,k=this.left+f;else if(e==="x"){if(r==="center")_=b((t.top+t.bottom)/2+.5);else if(T(r)){const E=Object.keys(r)[0],H=r[E];_=b(this.chart.scales[E].getPixelForValue(H))}C=t.top,j=t.bottom,M=_+m,P=M+f}else if(e==="y"){if(r==="center")_=b((t.left+t.right)/2);else if(T(r)){const E=Object.keys(r)[0],H=r[E];_=b(this.chart.scales[E].getPixelForValue(H))}w=_-m,k=w-f,O=t.left,A=t.right}const Q=D(n.ticks.maxTicksLimit,d),I=Math.max(1,Math.ceil(d/Q));for(y=0;y0&&(kt-=vt/2);break}_e={left:kt,top:Xt,width:vt+Et.width,height:Ut+Et.height,color:I.backdropColor}}m.push({label:v,font:P,textOffset:A,options:{rotation:g,color:H,strokeColor:st,strokeWidth:U,textAlign:Ft,textBaseline:j,translation:[x,w],backdrop:_e}})}return m}_getXAxisLabelAlignment(){const{position:t,ticks:e}=this.options;if(-Ot(this.labelRotation))return t==="top"?"left":"right";let n="center";return e.align==="start"?n="left":e.align==="end"?n="right":e.align==="inner"&&(n="inner"),n}_getYAxisLabelAlignment(t){const{position:e,ticks:{crossAlign:s,mirror:n,padding:o}}=this.options,r=this._getLabelSizes(),a=t+o,l=r.widest.width;let c,h;return e==="left"?n?(h=this.right+o,s==="near"?c="left":s==="center"?(c="center",h+=l/2):(c="right",h+=l)):(h=this.right-a,s==="near"?c="right":s==="center"?(c="center",h-=l/2):(c="left",h=this.left)):e==="right"?n?(h=this.left+o,s==="near"?c="right":s==="center"?(c="center",h-=l/2):(c="left",h-=l)):(h=this.left+a,s==="near"?c="left":s==="center"?(c="center",h+=l/2):(c="right",h=this.right)):c="right",{textAlign:c,x:h}}_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:s,top:n,width:o,height:r}=this;e&&(t.save(),t.fillStyle=e,t.fillRect(s,n,o,r),t.restore())}getLineWidthForValue(t){const e=this.options.grid;if(!this._isVisible()||!e.display)return 0;const n=this.ticks.findIndex(o=>o.value===t);return n>=0?e.setContext(this.getContext(n)).lineWidth:0}drawGrid(t){const e=this.options.grid,s=this.ctx,n=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let o,r;const a=(l,c,h)=>{!h.width||!h.color||(s.save(),s.lineWidth=h.width,s.strokeStyle=h.color,s.setLineDash(h.borderDash||[]),s.lineDashOffset=h.borderDashOffset,s.beginPath(),s.moveTo(l.x,l.y),s.lineTo(c.x,c.y),s.stroke(),s.restore())};if(e.display)for(o=0,r=n.length;o{this.draw(o)}}]:[{z:s,draw:o=>{this.drawBackground(),this.drawGrid(o),this.drawTitle()}},{z:n,draw:()=>{this.drawBorder()}},{z:e,draw:o=>{this.drawLabels(o)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),s=this.axis+"AxisID",n=[];let o,r;for(o=0,r=e.length;o{const s=e.split("."),n=s.pop(),o=[i].concat(s).join("."),r=t[e].split("."),a=r.pop(),l=r.join(".");B.route(o,n,l,a)})}function dl(i){return"id"in i&&"defaults"in i}class fl{constructor(){this.controllers=new Ce(Nt,"datasets",!0),this.elements=new Ce(nt,"elements"),this.plugins=new Ce(Object,"plugins"),this.scales=new Ce(Yt,"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,s){[...e].forEach(n=>{const o=s||this._getRegistryForType(n);s||o.isForType(n)||o===this.plugins&&n.id?this._exec(t,o,n):L(n,r=>{const a=s||this._getRegistryForType(r);this._exec(t,a,r)})})}_exec(t,e,s){const n=Ci(t);F(s["before"+n],[],s),e[t](s),F(s["after"+n],[],s)}_getRegistryForType(t){for(let e=0;eo.filter(a=>!r.some(l=>a.plugin.id===l.plugin.id));this._notify(n(e,s),t,"stop"),this._notify(n(s,e),t,"start")}}function gl(i){const t={},e=[],s=Object.keys(at.plugins.items);for(let o=0;o1&&Os(i[0].toLowerCase());if(s)return s}throw new Error(`Cannot determine type of '${i}' axis. Please provide 'axis' or 'position' option.`)}function Ts(i,t,e){if(e[t+"AxisID"]===i)return{axis:t}}function vl(i,t){if(t.data&&t.data.datasets){const e=t.data.datasets.filter(s=>s.xAxisID===i||s.yAxisID===i);if(e.length)return Ts(i,"x",e[0])||Ts(i,"y",e[0])}return{}}function kl(i,t){const e=Lt[i.type]||{scales:{}},s=t.scales||{},n=_i(i.type,t),o=Object.create(null);return Object.keys(s).forEach(r=>{const a=s[r];if(!T(a))return console.error(`Invalid scale configuration for scale: ${r}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${r}`);const l=xi(r,a,vl(r,i),B.scales[a.type]),c=xl(l,n),h=e.scales||{};o[r]=ne(Object.create(null),[{axis:l},a,h[l],h[c]])}),i.data.datasets.forEach(r=>{const a=r.type||i.type,l=r.indexAxis||_i(a,t),h=(Lt[a]||{}).scales||{};Object.keys(h).forEach(d=>{const f=_l(d,l),u=r[f+"AxisID"]||f;o[u]=o[u]||Object.create(null),ne(o[u],[{axis:f},s[u],h[d]])})}),Object.keys(o).forEach(r=>{const a=o[r];ne(a,[B.scales[a.type],B.scale])}),o}function Vn(i){const t=i.options||(i.options={});t.plugins=D(t.plugins,{}),t.scales=kl(i,t)}function jn(i){return i=i||{},i.datasets=i.datasets||[],i.labels=i.labels||[],i}function wl(i){return i=i||{},i.data=jn(i.data),Vn(i),i}const As=new Map,$n=new Set;function De(i,t){let e=As.get(i);return e||(e=t(),As.set(i,e),$n.add(e)),e}const Jt=(i,t,e)=>{const s=Vt(t,e);s!==void 0&&i.add(s)};class Ml{constructor(t){this._config=wl(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=jn(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(),Vn(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return De(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,e){return De(`${t}.transition.${e}`,()=>[[`datasets.${t}.transitions.${e}`,`transitions.${e}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,e){return De(`${t}-${e}`,()=>[[`datasets.${t}.elements.${e}`,`datasets.${t}`,`elements.${e}`,""]])}pluginScopeKeys(t){const e=t.id,s=this.type;return De(`${s}-plugin-${e}`,()=>[[`plugins.${e}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,e){const s=this._scopeCache;let n=s.get(t);return(!n||e)&&(n=new Map,s.set(t,n)),n}getOptionScopes(t,e,s){const{options:n,type:o}=this,r=this._cachedScopes(t,s),a=r.get(e);if(a)return a;const l=new Set;e.forEach(h=>{t&&(l.add(t),h.forEach(d=>Jt(l,t,d))),h.forEach(d=>Jt(l,n,d)),h.forEach(d=>Jt(l,Lt[o]||{},d)),h.forEach(d=>Jt(l,B,d)),h.forEach(d=>Jt(l,mi,d))});const c=Array.from(l);return c.length===0&&c.push(Object.create(null)),$n.has(e)&&r.set(e,c),c}chartOptionScopes(){const{options:t,type:e}=this;return[t,Lt[e]||{},B.datasets[e]||{},{type:e},B,mi]}resolveNamedOptions(t,e,s,n=[""]){const o={$shared:!0},{resolver:r,subPrefixes:a}=Rs(this._resolverCache,t,n);let l=r;if(Pl(r,e)){o.$shared=!1,s=yt(s)?s():s;const c=this.createResolver(t,s,a);l=jt(r,s,c)}for(const c of e)o[c]=l[c];return o}createResolver(t,e,s=[""],n){const{resolver:o}=Rs(this._resolverCache,t,s);return T(e)?jt(o,e,void 0,n):o}}function Rs(i,t,e){let s=i.get(t);s||(s=new Map,i.set(t,s));const n=e.join();let o=s.get(n);return o||(o={resolver:Li(t,e),subPrefixes:e.filter(a=>!a.toLowerCase().includes("hover"))},s.set(n,o)),o}const Sl=i=>T(i)&&Object.getOwnPropertyNames(i).some(t=>yt(i[t]));function Pl(i,t){const{isScriptable:e,isIndexable:s}=Mn(i);for(const n of t){const o=e(n),r=s(n),a=(r||o)&&i[n];if(o&&(yt(a)||Sl(a))||r&&W(a))return!0}return!1}var Cl="4.4.1";const Dl=["top","bottom","left","right","chartArea"];function Ls(i,t){return i==="top"||i==="bottom"||Dl.indexOf(i)===-1&&t==="x"}function Is(i,t){return function(e,s){return e[i]===s[i]?e[t]-s[t]:e[i]-s[i]}}function Fs(i){const t=i.chart,e=t.options.animation;t.notifyPlugins("afterRender"),F(e&&e.onComplete,[i],t)}function Ol(i){const t=i.chart,e=t.options.animation;F(e&&e.onProgress,[i],t)}function Yn(i){return Ei()&&typeof i=="string"?i=document.getElementById(i):i&&i.length&&(i=i[0]),i&&i.canvas&&(i=i.canvas),i}const ze={},Es=i=>{const t=Yn(i);return Object.values(ze).filter(e=>e.canvas===t).pop()};function Tl(i,t,e){const s=Object.keys(i);for(const n of s){const o=+n;if(o>=t){const r=i[n];delete i[n],(e>0||o>t)&&(i[o+e]=r)}}}function Al(i,t,e,s){return!e||i.type==="mouseout"?null:s?t:i}function Oe(i,t,e){return i.options.clip?i[e]:t[e]}function Rl(i,t){const{xScale:e,yScale:s}=i;return e&&s?{left:Oe(e,t,"left"),right:Oe(e,t,"right"),top:Oe(s,t,"top"),bottom:Oe(s,t,"bottom")}:t}class Dt{static register(...t){at.add(...t),zs()}static unregister(...t){at.remove(...t),zs()}constructor(t,e){const s=this.config=new Ml(e),n=Yn(t),o=Es(n);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas with ID '"+o.canvas.id+"' can be reused.");const r=s.createResolver(s.chartOptionScopes(),this.getContext());this.platform=new(s.platform||qa(n)),this.platform.updateConfig(s);const a=this.platform.acquireContext(n,r.aspectRatio),l=a&&a.canvas,c=l&&l.height,h=l&&l.width;if(this.id=Lo(),this.ctx=a,this.canvas=l,this.width=h,this.height=c,this._options=r,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 ul,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=Zo(d=>this.update(d),r.resizeDelay||0),this._dataChanges=[],ze[this.id]=this,!a||!l){console.error("Failed to create chart: can't acquire context from the given item");return}ft.listen(this,"complete",Fs),ft.listen(this,"progress",Ol),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:e},width:s,height:n,_aspectRatio:o}=this;return R(t)?e&&o?o:n?s/n: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}get registry(){return at}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():ns(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return es(this.canvas,this.ctx),this}stop(){return ft.stop(this),this}resize(t,e){ft.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){const s=this.options,n=this.canvas,o=s.maintainAspectRatio&&this.aspectRatio,r=this.platform.getMaximumSize(n,t,e,o),a=s.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=r.width,this.height=r.height,this._aspectRatio=this.aspectRatio,ns(this,a,!0)&&(this.notifyPlugins("resize",{size:r}),F(s.onResize,[this,r],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const e=this.options.scales||{};L(e,(s,n)=>{s.id=n})}buildOrUpdateScales(){const t=this.options,e=t.scales,s=this.scales,n=Object.keys(s).reduce((r,a)=>(r[a]=!1,r),{});let o=[];e&&(o=o.concat(Object.keys(e).map(r=>{const a=e[r],l=xi(r,a),c=l==="r",h=l==="x";return{options:a,dposition:c?"chartArea":h?"bottom":"left",dtype:c?"radialLinear":h?"category":"linear"}}))),L(o,r=>{const a=r.options,l=a.id,c=xi(l,a),h=D(a.type,r.dtype);(a.position===void 0||Ls(a.position,c)!==Ls(r.dposition))&&(a.position=r.dposition),n[l]=!0;let d=null;if(l in s&&s[l].type===h)d=s[l];else{const f=at.getScale(h);d=new f({id:l,type:h,ctx:this.ctx,chart:this}),s[d.id]=d}d.init(a,t)}),L(n,(r,a)=>{r||delete s[a]}),L(s,r=>{it.configure(this,r,r.options),it.addBox(this,r)})}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,s=t.length;if(t.sort((n,o)=>n.index-o.index),s>e){for(let n=e;ne.length&&delete this._stacks,t.forEach((s,n)=>{e.filter(o=>o===s._dataset).length===0&&this._destroyDatasetMeta(n)})}buildOrUpdateControllers(){const t=[],e=this.data.datasets;let s,n;for(this._removeUnreferencedMetasets(),s=0,n=e.length;s{this.getDatasetMeta(e).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const e=this.config;e.update();const s=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),n=this._animationsDisabled=!s.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let r=0;for(let c=0,h=this.data.datasets.length;c{c.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(Is("z","_idx"));const{_active:a,_lastEvent:l}=this;l?this._eventHandler(l,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){L(this.scales,t=>{it.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,e=new Set(Object.keys(this._listeners)),s=new Set(t.events);(!Yi(e,s)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(const{method:s,start:n,count:o}of e){const r=s==="_removeElements"?-o:o;Tl(t,n,r)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const e=this.data.datasets.length,s=o=>new Set(t.filter(r=>r[0]===o).map((r,a)=>a+","+r.splice(1).join(","))),n=s(0);for(let o=1;oo.split(",")).map(o=>({method:o[1],start:+o[2],count:+o[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;it.update(this,this.width,this.height,t);const e=this.chartArea,s=e.width<=0||e.height<=0;this._layers=[],L(this.boxes,n=>{s&&n.position==="chartArea"||(n.configure&&n.configure(),this._layers.push(...n._layers()))},this),this._layers.forEach((n,o)=>{n._idx=o}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let e=0,s=this.data.datasets.length;e=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const e=this.ctx,s=t._clip,n=!s.disabled,o=Rl(t,this.chartArea),r={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",r)!==!1&&(n&&Ke(e,{left:s.left===!1?0:o.left-s.left,right:s.right===!1?this.width:o.right+s.right,top:s.top===!1?0:o.top-s.top,bottom:s.bottom===!1?this.height:o.bottom+s.bottom}),t.controller.draw(),n&&qe(e),r.cancelable=!1,this.notifyPlugins("afterDatasetDraw",r))}isPointInArea(t){return ue(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,e,s,n){const o=Da.modes[e];return typeof o=="function"?o(this,t,s,n):[]}getDatasetMeta(t){const e=this.data.datasets[t],s=this._metasets;let n=s.filter(o=>o&&o._dataset===e).pop();return n||(n={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},s.push(n)),n}getContext(){return this.$context||(this.$context=It(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const e=this.data.datasets[t];if(!e)return!1;const s=this.getDatasetMeta(t);return typeof s.hidden=="boolean"?!s.hidden:!e.hidden}setDatasetVisibility(t,e){const s=this.getDatasetMeta(t);s.hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,e,s){const n=s?"show":"hide",o=this.getDatasetMeta(t),r=o.controller._resolveAnimations(void 0,n);de(e)?(o.data[e].hidden=!s,this.update()):(this.setDatasetVisibility(t,s),r.update(o,{visible:s}),this.update(a=>a.datasetIndex===t?n: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(),ft.remove(this),t=0,e=this.data.datasets.length;t{e.addEventListener(this,o,r),t[o]=r},n=(o,r,a)=>{o.offsetX=r,o.offsetY=a,this._eventHandler(o)};L(this.options.events,o=>s(o,n))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,e=this.platform,s=(l,c)=>{e.addEventListener(this,l,c),t[l]=c},n=(l,c)=>{t[l]&&(e.removeEventListener(this,l,c),delete t[l])},o=(l,c)=>{this.canvas&&this.resize(l,c)};let r;const a=()=>{n("attach",a),this.attached=!0,this.resize(),s("resize",o),s("detach",r)};r=()=>{this.attached=!1,n("resize",o),this._stop(),this._resize(0,0),s("attach",a)},e.isAttached(this.canvas)?a():r()}unbindEvents(){L(this._listeners,(t,e)=>{this.platform.removeEventListener(this,e,t)}),this._listeners={},L(this._responsiveListeners,(t,e)=>{this.platform.removeEventListener(this,e,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,e,s){const n=s?"set":"remove";let o,r,a,l;for(e==="dataset"&&(o=this.getDatasetMeta(t[0].datasetIndex),o.controller["_"+n+"DatasetHoverStyle"]()),a=0,l=t.length;a{const a=this.getDatasetMeta(o);if(!a)throw new Error("No dataset found at index "+o);return{datasetIndex:o,element:a.data[r],index:r}});!We(s,e)&&(this._active=s,this._lastEvent=null,this._updateHoverStyles(s,e))}notifyPlugins(t,e,s){return this._plugins.notify(this,t,e,s)}isPluginEnabled(t){return this._plugins._cache.filter(e=>e.plugin.id===t).length===1}_updateHoverStyles(t,e,s){const n=this.options.hover,o=(l,c)=>l.filter(h=>!c.some(d=>h.datasetIndex===d.datasetIndex&&h.index===d.index)),r=o(e,t),a=s?t:o(t,e);r.length&&this.updateHoverStyle(r,n.mode,!1),a.length&&n.mode&&this.updateHoverStyle(a,n.mode,!0)}_eventHandler(t,e){const s={event:t,replay:e,cancelable:!0,inChartArea:this.isPointInArea(t)},n=r=>(r.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",s,n)===!1)return;const o=this._handleEvent(t,e,s.inChartArea);return s.cancelable=!1,this.notifyPlugins("afterEvent",s,n),(o||s.changed)&&this.render(),this}_handleEvent(t,e,s){const{_active:n=[],options:o}=this,r=e,a=this._getActiveElements(t,n,s,r),l=Ho(t),c=Al(t,this._lastEvent,s,l);s&&(this._lastEvent=null,F(o.onHover,[t,a,this],this),l&&F(o.onClick,[t,a,this],this));const h=!We(a,n);return(h||e)&&(this._active=a,this._updateHoverStyles(a,n,e)),this._lastEvent=c,h}_getActiveElements(t,e,s,n){if(t.type==="mouseout")return[];if(!s)return e;const o=this.options.hover;return this.getElementsAtEventForMode(t,o.mode,o,n)}}S(Dt,"defaults",B),S(Dt,"instances",ze),S(Dt,"overrides",Lt),S(Dt,"registry",at),S(Dt,"version",Cl),S(Dt,"getChart",Es);function zs(){return L(Dt.instances,i=>i._plugins.invalidate())}function Ll(i,t,e){const{startAngle:s,pixelMargin:n,x:o,y:r,outerRadius:a,innerRadius:l}=t;let c=n/a;i.beginPath(),i.arc(o,r,a,s-c,e+c),l>n?(c=n/l,i.arc(o,r,l,e+c,s-c,!0)):i.arc(o,r,n,e+$,s-$),i.closePath(),i.clip()}function Il(i){return Ri(i,["outerStart","outerEnd","innerStart","innerEnd"])}function Fl(i,t,e,s){const n=Il(i.options.borderRadius),o=(e-t)/2,r=Math.min(o,s*t/2),a=l=>{const c=(e-Math.min(o,l))*s/2;return K(l,0,Math.min(o,c))};return{outerStart:a(n.outerStart),outerEnd:a(n.outerEnd),innerStart:K(n.innerStart,0,r),innerEnd:K(n.innerEnd,0,r)}}function Bt(i,t,e,s){return{x:e+i*Math.cos(t),y:s+i*Math.sin(t)}}function Ue(i,t,e,s,n,o){const{x:r,y:a,startAngle:l,pixelMargin:c,innerRadius:h}=t,d=Math.max(t.outerRadius+s+e-c,0),f=h>0?h+s+e+c:0;let u=0;const p=n-l;if(s){const I=h>0?h-s:0,E=d>0?d-s:0,H=(I+E)/2,st=H!==0?p*H/(H+s):p;u=(p-st)/2}const g=Math.max(.001,p*d-e/N)/d,m=(p-g)/2,b=l+m+u,_=n-m-u,{outerStart:y,outerEnd:v,innerStart:x,innerEnd:w}=Fl(t,f,d,_-b),M=d-y,k=d-v,P=b+y/M,O=_-v/k,C=f+x,A=f+w,j=b+x/C,Q=_-w/A;if(i.beginPath(),o){const I=(P+O)/2;if(i.arc(r,a,d,P,I),i.arc(r,a,d,I,O),v>0){const U=Bt(k,O,r,a);i.arc(U.x,U.y,v,O,_+$)}const E=Bt(A,_,r,a);if(i.lineTo(E.x,E.y),w>0){const U=Bt(A,Q,r,a);i.arc(U.x,U.y,w,_+$,Q+Math.PI)}const H=(_-w/f+(b+x/f))/2;if(i.arc(r,a,f,_-w/f,H,!0),i.arc(r,a,f,H,b+x/f,!0),x>0){const U=Bt(C,j,r,a);i.arc(U.x,U.y,x,j+Math.PI,b-$)}const st=Bt(M,b,r,a);if(i.lineTo(st.x,st.y),y>0){const U=Bt(M,P,r,a);i.arc(U.x,U.y,y,b-$,P)}}else{i.moveTo(r,a);const I=Math.cos(P)*d+r,E=Math.sin(P)*d+a;i.lineTo(I,E);const H=Math.cos(O)*d+r,st=Math.sin(O)*d+a;i.lineTo(H,st)}i.closePath()}function El(i,t,e,s,n){const{fullCircles:o,startAngle:r,circumference:a}=t;let l=t.endAngle;if(o){Ue(i,t,e,s,l,n);for(let c=0;c=V||Di(r,l,c),m=pt(a,h+u,d+u);return g&&m}getCenterPoint(e){const{x:s,y:n,startAngle:o,endAngle:r,innerRadius:a,outerRadius:l}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],e),{offset:c,spacing:h}=this.options,d=(o+r)/2,f=(a+l+h+c)/2;return{x:s+Math.cos(d)*f,y:n+Math.sin(d)*f}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){const{options:s,circumference:n}=this,o=(s.offset||0)/4,r=(s.spacing||0)/2,a=s.circular;if(this.pixelMargin=s.borderAlign==="inner"?.33:0,this.fullCircles=n>V?Math.floor(n/V):0,n===0||this.innerRadius<0||this.outerRadius<0)return;e.save();const l=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(l)*o,Math.sin(l)*o);const c=1-Math.sin(Math.min(N,n||0)),h=o*c;e.fillStyle=s.backgroundColor,e.strokeStyle=s.borderColor,El(e,this,h,r,a),zl(e,this,h,r,a),e.restore()}}S(ie,"id","arc"),S(ie,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0}),S(ie,"defaultRoutes",{backgroundColor:"backgroundColor"}),S(ie,"descriptors",{_scriptable:!0,_indexable:e=>e!=="borderDash"});function Un(i,t,e=t){i.lineCap=D(e.borderCapStyle,t.borderCapStyle),i.setLineDash(D(e.borderDash,t.borderDash)),i.lineDashOffset=D(e.borderDashOffset,t.borderDashOffset),i.lineJoin=D(e.borderJoinStyle,t.borderJoinStyle),i.lineWidth=D(e.borderWidth,t.borderWidth),i.strokeStyle=D(e.borderColor,t.borderColor)}function Bl(i,t,e){i.lineTo(e.x,e.y)}function Hl(i){return i.stepped?hr:i.tension||i.cubicInterpolationMode==="monotone"?dr:Bl}function Xn(i,t,e={}){const s=i.length,{start:n=0,end:o=s-1}=e,{start:r,end:a}=t,l=Math.max(n,r),c=Math.min(o,a),h=na&&o>a;return{count:s,start:l,loop:t.loop,ilen:c(r+(c?a-v:v))%o,y=()=>{g!==m&&(i.lineTo(h,m),i.lineTo(h,g),i.lineTo(h,b))};for(l&&(u=n[_(0)],i.moveTo(u.x,u.y)),f=0;f<=a;++f){if(u=n[_(f)],u.skip)continue;const v=u.x,x=u.y,w=v|0;w===p?(xm&&(m=x),h=(d*h+v)/++d):(y(),i.lineTo(v,x),p=w,d=0,g=m=x),b=x}y()}function yi(i){const t=i.options,e=t.borderDash&&t.borderDash.length;return!i._decimated&&!i._loop&&!t.tension&&t.cubicInterpolationMode!=="monotone"&&!t.stepped&&!e?Nl:Wl}function Vl(i){return i.stepped?jr:i.tension||i.cubicInterpolationMode==="monotone"?$r:Ct}function jl(i,t,e,s){let n=t._path;n||(n=t._path=new Path2D,t.path(n,e,s)&&n.closePath()),Un(i,t.options),i.stroke(n)}function $l(i,t,e,s){const{segments:n,options:o}=t,r=yi(t);for(const a of n)Un(i,o,a.style),i.beginPath(),r(i,t,a,{start:e,end:e+s-1})&&i.closePath(),i.stroke()}const Yl=typeof Path2D=="function";function Ul(i,t,e,s){Yl&&!t.options.segment?jl(i,t,e,s):$l(i,t,e,s)}class At extends nt{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 s=this.options;if((s.tension||s.cubicInterpolationMode==="monotone")&&!s.stepped&&!this._pointsUpdated){const n=s.spanGaps?this._loop:this._fullLoop;Fr(this._points,s,t,n,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=Gr(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,s=t.length;return s&&e[t[s-1].end]}interpolate(t,e){const s=this.options,n=t[e],o=this.points,r=Ln(this,{property:e,start:n,end:n});if(!r.length)return;const a=[],l=Vl(s);let c,h;for(c=0,h=r.length;ct!=="borderDash"&&t!=="fill"});function Bs(i,t,e,s){const n=i.options,{[e]:o}=i.getProps([e],s);return Math.abs(t-o){a=Hi(r,a,n);const l=n[r],c=n[a];s!==null?(o.push({x:l.x,y:s}),o.push({x:c.x,y:s})):e!==null&&(o.push({x:e,y:l.y}),o.push({x:e,y:c.y}))}),o}function Hi(i,t,e){for(;t>i;t--){const s=e[t];if(!isNaN(s.x)&&!isNaN(s.y))break}return t}function Hs(i,t,e,s){return i&&t?s(i[e],t[e]):i?i[e]:t?t[e]:0}function qn(i,t){let e=[],s=!1;return W(i)?(s=!0,e=i):e=Ql(i,t),e.length?new At({points:e,options:{tension:0},_loop:s,_fullLoop:s}):null}function Ws(i){return i&&i.fill!==!1}function tc(i,t,e){let n=i[t].fill;const o=[t];let r;if(!e)return n;for(;n!==!1&&o.indexOf(n)===-1;){if(!q(n))return n;if(r=i[n],!r)return!1;if(r.visible)return n;o.push(n),n=r.fill}return!1}function ec(i,t,e){const s=oc(i);if(T(s))return isNaN(s.value)?!1:s;let n=parseFloat(s);return q(n)&&Math.floor(n)===n?ic(s[0],t,n,e):["origin","start","end","stack","shape"].indexOf(s)>=0&&s}function ic(i,t,e,s){return(i==="-"||i==="+")&&(e=t+e),e===t||e<0||e>=s?!1:e}function sc(i,t){let e=null;return i==="start"?e=t.bottom:i==="end"?e=t.top:T(i)?e=t.getPixelForValue(i.value):t.getBasePixel&&(e=t.getBasePixel()),e}function nc(i,t,e){let s;return i==="start"?s=e:i==="end"?s=t.options.reverse?t.min:t.max:T(i)?s=i.value:s=t.getBaseValue(),s}function oc(i){const t=i.options,e=t.fill;let s=D(e&&e.target,e);return s===void 0&&(s=!!t.backgroundColor),s===!1||s===null?!1:s===!0?"origin":s}function rc(i){const{scale:t,index:e,line:s}=i,n=[],o=s.segments,r=s.points,a=ac(t,e);a.push(qn({x:null,y:t.bottom},s));for(let l=0;l=0;--r){const a=n[r].$filler;a&&(a.line.updateControlPoints(o,a.axis),s&&a.fill&&di(i.ctx,a,o))}},beforeDatasetsDraw(i,t,e){if(e.drawTime!=="beforeDatasetsDraw")return;const s=i.getSortedVisibleDatasetMetas();for(let n=s.length-1;n>=0;--n){const o=s[n].$filler;Ws(o)&&di(i.ctx,o,i.chartArea)}},beforeDatasetDraw(i,t,e){const s=t.meta.$filler;!Ws(s)||e.drawTime!=="beforeDatasetDraw"||di(i.ctx,s,i.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const $s=(i,t)=>{let{boxHeight:e=t,boxWidth:s=t}=i;return i.usePointStyle&&(e=Math.min(e,t),s=i.pointStyleWidth||Math.min(s,t)),{boxWidth:s,boxHeight:e,itemHeight:Math.max(t,e)}},bc=(i,t)=>i!==null&&t!==null&&i.datasetIndex===t.datasetIndex&&i.index===t.index;class Ys extends nt{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,s){this.maxWidth=t,this.maxHeight=e,this._margins=s,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=F(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter(s=>t.filter(s,this.chart.data))),t.sort&&(e=e.sort((s,n)=>t.sort(s,n,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 s=t.labels,n=Y(s.font),o=n.size,r=this._computeTitleHeight(),{boxWidth:a,itemHeight:l}=$s(s,o);let c,h;e.font=n.string,this.isHorizontal()?(c=this.maxWidth,h=this._fitRows(r,o,a,l)+10):(h=this.maxHeight,c=this._fitCols(r,n,a,l)+10),this.width=Math.min(c,t.maxWidth||this.maxWidth),this.height=Math.min(h,t.maxHeight||this.maxHeight)}_fitRows(t,e,s,n){const{ctx:o,maxWidth:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],h=n+a;let d=t;o.textAlign="left",o.textBaseline="middle";let f=-1,u=-h;return this.legendItems.forEach((p,g)=>{const m=s+e/2+o.measureText(p.text).width;(g===0||c[c.length-1]+m+2*a>r)&&(d+=h,c[c.length-(g>0?0:1)]=0,u+=h,f++),l[g]={left:0,top:u,row:f,width:m,height:n},c[c.length-1]+=m+a}),d}_fitCols(t,e,s,n){const{ctx:o,maxHeight:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],h=r-t;let d=a,f=0,u=0,p=0,g=0;return this.legendItems.forEach((m,b)=>{const{itemWidth:_,itemHeight:y}=_c(s,e,o,m,n);b>0&&u+y+2*a>h&&(d+=f+a,c.push({width:f,height:u}),p+=f+a,g++,f=u=0),l[b]={left:p,top:u,col:g,width:_,height:y},f=Math.max(f,_),u+=y+a}),d+=f,c.push({width:f,height:u}),d}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:s,labels:{padding:n},rtl:o}}=this,r=Wt(o,this.left,this.width);if(this.isHorizontal()){let a=0,l=X(s,this.left+n,this.right-this.lineWidths[a]);for(const c of e)a!==c.row&&(a=c.row,l=X(s,this.left+n,this.right-this.lineWidths[a])),c.top+=this.top+t+n,c.left=r.leftForLtr(r.x(l),c.width),l+=c.width+n}else{let a=0,l=X(s,this.top+t+n,this.bottom-this.columnSizes[a].height);for(const c of e)c.col!==a&&(a=c.col,l=X(s,this.top+t+n,this.bottom-this.columnSizes[a].height)),c.top=l,c.left+=this.left+n,c.left=r.leftForLtr(r.x(c.left),c.width),l+=c.height+n}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const t=this.ctx;Ke(t,this),this._draw(),qe(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:s,ctx:n}=this,{align:o,labels:r}=t,a=B.color,l=Wt(t.rtl,this.left,this.width),c=Y(r.font),{padding:h}=r,d=c.size,f=d/2;let u;this.drawTitle(),n.textAlign=l.textAlign("left"),n.textBaseline="middle",n.lineWidth=.5,n.font=c.string;const{boxWidth:p,boxHeight:g,itemHeight:m}=$s(r,d),b=function(w,M,k){if(isNaN(p)||p<=0||isNaN(g)||g<0)return;n.save();const P=D(k.lineWidth,1);if(n.fillStyle=D(k.fillStyle,a),n.lineCap=D(k.lineCap,"butt"),n.lineDashOffset=D(k.lineDashOffset,0),n.lineJoin=D(k.lineJoin,"miter"),n.lineWidth=P,n.strokeStyle=D(k.strokeStyle,a),n.setLineDash(D(k.lineDash,[])),r.usePointStyle){const O={radius:g*Math.SQRT2/2,pointStyle:k.pointStyle,rotation:k.rotation,borderWidth:P},C=l.xPlus(w,p/2),A=M+f;kn(n,O,C,A,r.pointStyleWidth&&p)}else{const O=M+Math.max((d-g)/2,0),C=l.leftForLtr(w,p),A=Ht(k.borderRadius);n.beginPath(),Object.values(A).some(j=>j!==0)?je(n,{x:C,y:O,w:p,h:g,radius:A}):n.rect(C,O,p,g),n.fill(),P!==0&&n.stroke()}n.restore()},_=function(w,M,k){ge(n,k.text,w,M+m/2,c,{strikethrough:k.hidden,textAlign:l.textAlign(k.textAlign)})},y=this.isHorizontal(),v=this._computeTitleHeight();y?u={x:X(o,this.left+h,this.right-s[0]),y:this.top+h+v,line:0}:u={x:this.left+h,y:X(o,this.top+v+h,this.bottom-e[0].height),line:0},On(this.ctx,t.textDirection);const x=m+h;this.legendItems.forEach((w,M)=>{n.strokeStyle=w.fontColor,n.fillStyle=w.fontColor;const k=n.measureText(w.text).width,P=l.textAlign(w.textAlign||(w.textAlign=r.textAlign)),O=p+f+k;let C=u.x,A=u.y;l.setWidth(this.width),y?M>0&&C+O+h>this.right&&(A=u.y+=x,u.line++,C=u.x=X(o,this.left+h,this.right-s[u.line])):M>0&&A+x>this.bottom&&(C=u.x=C+e[u.line].width+h,u.line++,A=u.y=X(o,this.top+v+h,this.bottom-e[u.line].height));const j=l.x(C);if(b(j,A,w),C=Jo(P,C+p+f,y?C+O:this.right,t.rtl),_(l.x(C),A,w),y)u.x+=O+h;else if(typeof w.text!="string"){const Q=c.lineHeight;u.y+=Zn(w,Q)+h}else u.y+=x}),Tn(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,s=Y(e.font),n=tt(e.padding);if(!e.display)return;const o=Wt(t.rtl,this.left,this.width),r=this.ctx,a=e.position,l=s.size/2,c=n.top+l;let h,d=this.left,f=this.width;if(this.isHorizontal())f=Math.max(...this.lineWidths),h=this.top+c,d=X(t.align,d,this.right-f);else{const p=this.columnSizes.reduce((g,m)=>Math.max(g,m.height),0);h=c+X(t.align,this.top,this.bottom-p-t.labels.padding-this._computeTitleHeight())}const u=X(a,d,d+f);r.textAlign=o.textAlign(Ti(a)),r.textBaseline="middle",r.strokeStyle=e.color,r.fillStyle=e.color,r.font=s.string,ge(r,e.text,u,h,s)}_computeTitleHeight(){const t=this.options.title,e=Y(t.font),s=tt(t.padding);return t.display?e.lineHeight+s.height:0}_getLegendItemAt(t,e){let s,n,o;if(pt(t,this.left,this.right)&&pt(e,this.top,this.bottom)){for(o=this.legendHitBoxes,s=0;so.length>r.length?o:r)),t+e.size/2+s.measureText(n).width}function yc(i,t,e){let s=i;return typeof t.text!="string"&&(s=Zn(t,e)),s}function Zn(i,t){const e=i.text?i.text.length:0;return t*e}function vc(i,t){return!!((i==="mousemove"||i==="mouseout")&&(t.onHover||t.onLeave)||t.onClick&&(i==="click"||i==="mouseup"))}var ah={id:"legend",_element:Ys,start(i,t,e){const s=i.legend=new Ys({ctx:i.ctx,options:e,chart:i});it.configure(i,s,e),it.addBox(i,s)},stop(i){it.removeBox(i,i.legend),delete i.legend},beforeUpdate(i,t,e){const s=i.legend;it.configure(i,s,e),s.options=e},afterUpdate(i){const t=i.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(i,t){t.replay||i.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(i,t,e){const s=t.datasetIndex,n=e.chart;n.isDatasetVisible(s)?(n.hide(s),t.hidden=!0):(n.show(s),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:i=>i.chart.options.color,boxWidth:40,padding:10,generateLabels(i){const t=i.data.datasets,{labels:{usePointStyle:e,pointStyle:s,textAlign:n,color:o,useBorderRadius:r,borderRadius:a}}=i.legend.options;return i._getSortedDatasetMetas().map(l=>{const c=l.controller.getStyle(e?0:void 0),h=tt(c.borderWidth);return{text:t[l.index].label,fillStyle:c.backgroundColor,fontColor:o,hidden:!l.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(h.width+h.height)/4,strokeStyle:c.borderColor,pointStyle:s||c.pointStyle,rotation:c.rotation,textAlign:n||c.textAlign,borderRadius:r&&(a||c.borderRadius),datasetIndex:l.index}},this)}},title:{color:i=>i.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:i=>!i.startsWith("on"),labels:{_scriptable:i=>!["generateLabels","filter","sort"].includes(i)}}};class Jn extends nt{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 s=this.options;if(this.left=0,this.top=0,!s.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=t,this.height=this.bottom=e;const n=W(s.text)?s.text.length:1;this._padding=tt(s.padding);const o=n*Y(s.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){const t=this.options.position;return t==="top"||t==="bottom"}_drawArgs(t){const{top:e,left:s,bottom:n,right:o,options:r}=this,a=r.align;let l=0,c,h,d;return this.isHorizontal()?(h=X(a,s,o),d=e+t,c=o-s):(r.position==="left"?(h=s+t,d=X(a,n,e),l=N*-.5):(h=o-t,d=X(a,e,n),l=N*.5),c=n-e),{titleX:h,titleY:d,maxWidth:c,rotation:l}}draw(){const t=this.ctx,e=this.options;if(!e.display)return;const s=Y(e.font),o=s.lineHeight/2+this._padding.top,{titleX:r,titleY:a,maxWidth:l,rotation:c}=this._drawArgs(o);ge(t,e.text,0,0,s,{color:e.color,maxWidth:l,rotation:c,textAlign:Ti(e.align),textBaseline:"middle",translation:[r,a]})}}function kc(i,t){const e=new Jn({ctx:i.ctx,options:t,chart:i});it.configure(i,e,t),it.addBox(i,e),i.titleBlock=e}var lh={id:"title",_element:Jn,start(i,t,e){kc(i,e)},stop(i){const t=i.titleBlock;it.removeBox(i,t),delete i.titleBlock},beforeUpdate(i,t,e){const s=i.titleBlock;it.configure(i,s,e),s.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 se={average(i){if(!i.length)return!1;let t,e,s=0,n=0,o=0;for(t=0,e=i.length;t-1?i.split(` -`):i}function wc(i,t){const{element:e,datasetIndex:s,index:n}=t,o=i.getDatasetMeta(s).controller,{label:r,value:a}=o.getLabelAndValue(n);return{chart:i,label:r,parsed:o.getParsed(n),raw:i.data.datasets[s].data[n],formattedValue:a,dataset:o.getDataset(),dataIndex:n,datasetIndex:s,element:e}}function Ys(i,t){const e=i.chart.ctx,{body:s,footer:n,title:o}=i,{boxWidth:r,boxHeight:a}=t,l=Y(t.bodyFont),c=Y(t.titleFont),h=Y(t.footerFont),d=o.length,f=n.length,u=s.length,p=tt(t.padding);let g=p.height,m=0,b=s.reduce((v,x)=>v+x.before.length+x.lines.length+x.after.length,0);if(b+=i.beforeBody.length+i.afterBody.length,d&&(g+=d*c.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),b){const v=t.displayColors?Math.max(a,l.lineHeight):l.lineHeight;g+=u*v+(b-u)*l.lineHeight+(b-1)*t.bodySpacing}f&&(g+=t.footerMarginTop+f*h.lineHeight+(f-1)*t.footerSpacing);let _=0;const y=function(v){m=Math.max(m,e.measureText(v).width+_)};return e.save(),e.font=c.string,L(i.title,y),e.font=l.string,L(i.beforeBody.concat(i.afterBody),y),_=t.displayColors?r+2+t.boxPadding:0,L(s,v=>{L(v.before,y),L(v.lines,y),L(v.after,y)}),_=0,e.font=h.string,L(i.footer,y),e.restore(),m+=p.width,{width:m,height:g}}function Mc(i,t){const{y:e,height:s}=t;return ei.height-s/2?"bottom":"center"}function Sc(i,t,e,s){const{x:n,width:o}=s,r=e.caretSize+e.caretPadding;if(i==="left"&&n+o+r>t.width||i==="right"&&n-o-r<0)return!0}function Pc(i,t,e,s){const{x:n,width:o}=e,{width:r,chartArea:{left:a,right:l}}=i;let c="center";return s==="center"?c=n<=(a+l)/2?"left":"right":n<=o/2?c="left":n>=r-o/2&&(c="right"),Sc(c,i,t,e)&&(c="center"),c}function Us(i,t,e){const s=e.yAlign||t.yAlign||Mc(i,e);return{xAlign:e.xAlign||t.xAlign||Pc(i,t,e,s),yAlign:s}}function Cc(i,t){let{x:e,width:s}=i;return t==="right"?e-=s:t==="center"&&(e-=s/2),e}function Dc(i,t,e){let{y:s,height:n}=i;return t==="top"?s+=e:t==="bottom"?s-=n+e:s-=n/2,s}function Xs(i,t,e,s){const{caretSize:n,caretPadding:o,cornerRadius:r}=i,{xAlign:a,yAlign:l}=e,c=n+o,{topLeft:h,topRight:d,bottomLeft:f,bottomRight:u}=zt(r);let p=Cc(t,a);const g=Dc(t,l,c);return l==="center"?a==="left"?p+=c:a==="right"&&(p-=c):a==="left"?p-=Math.max(h,f)+n:a==="right"&&(p+=Math.max(d,u)+n),{x:K(p,0,s.width-t.width),y:K(g,0,s.height-t.height)}}function Te(i,t,e){const s=tt(e.padding);return t==="center"?i.x+i.width/2:t==="right"?i.x+i.width-s.right:i.x+s.left}function Ks(i){return rt([],ut(i))}function Oc(i,t,e){return Rt(i,{tooltip:t,tooltipItems:e,type:"tooltip"})}function qs(i,t){const e=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return e?i.override(e):i}const Qn={beforeTitle:dt,title(i){if(i.length>0){const t=i[0],e=t.chart.data.labels,s=e?e.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(s>0&&t.dataIndex"u"?Qn[t].call(e,s):n}class ki extends nt{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,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,s=this.options.setContext(this.getContext()),n=s.enabled&&e.options.animation&&s.animations,o=new In(this.chart,n);return n._cacheable&&(this._cachedAnimations=Object.freeze(o)),o}getContext(){return this.$context||(this.$context=Oc(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,e){const{callbacks:s}=e,n=G(s,"beforeTitle",this,t),o=G(s,"title",this,t),r=G(s,"afterTitle",this,t);let a=[];return a=rt(a,ut(n)),a=rt(a,ut(o)),a=rt(a,ut(r)),a}getBeforeBody(t,e){return Ks(G(e.callbacks,"beforeBody",this,t))}getBody(t,e){const{callbacks:s}=e,n=[];return L(t,o=>{const r={before:[],lines:[],after:[]},a=qs(s,o);rt(r.before,ut(G(a,"beforeLabel",this,o))),rt(r.lines,G(a,"label",this,o)),rt(r.after,ut(G(a,"afterLabel",this,o))),n.push(r)}),n}getAfterBody(t,e){return Ks(G(e.callbacks,"afterBody",this,t))}getFooter(t,e){const{callbacks:s}=e,n=G(s,"beforeFooter",this,t),o=G(s,"footer",this,t),r=G(s,"afterFooter",this,t);let a=[];return a=rt(a,ut(n)),a=rt(a,ut(o)),a=rt(a,ut(r)),a}_createItems(t){const e=this._active,s=this.chart.data,n=[],o=[],r=[];let a=[],l,c;for(l=0,c=e.length;lt.filter(h,d,f,s))),t.itemSort&&(a=a.sort((h,d)=>t.itemSort(h,d,s))),L(a,h=>{const d=qs(t.callbacks,h);n.push(G(d,"labelColor",this,h)),o.push(G(d,"labelPointStyle",this,h)),r.push(G(d,"labelTextColor",this,h))}),this.labelColors=n,this.labelPointStyles=o,this.labelTextColors=r,this.dataPoints=a,a}update(t,e){const s=this.options.setContext(this.getContext()),n=this._active;let o,r=[];if(!n.length)this.opacity!==0&&(o={opacity:0});else{const a=se[s.position].call(this,n,this._eventPosition);r=this._createItems(s),this.title=this.getTitle(r,s),this.beforeBody=this.getBeforeBody(r,s),this.body=this.getBody(r,s),this.afterBody=this.getAfterBody(r,s),this.footer=this.getFooter(r,s);const l=this._size=Ys(this,s),c=Object.assign({},a,l),h=Us(this.chart,s,c),d=Xs(s,c,h,this.chart);this.xAlign=h.xAlign,this.yAlign=h.yAlign,o={opacity:1,x:d.x,y:d.y,width:l.width,height:l.height,caretX:a.x,caretY:a.y}}this._tooltipItems=r,this.$context=void 0,o&&this._resolveAnimations().update(this,o),t&&s.external&&s.external.call(this,{chart:this.chart,tooltip:this,replay:e})}drawCaret(t,e,s,n){const o=this.getCaretPosition(t,s,n);e.lineTo(o.x1,o.y1),e.lineTo(o.x2,o.y2),e.lineTo(o.x3,o.y3)}getCaretPosition(t,e,s){const{xAlign:n,yAlign:o}=this,{caretSize:r,cornerRadius:a}=s,{topLeft:l,topRight:c,bottomLeft:h,bottomRight:d}=zt(a),{x:f,y:u}=t,{width:p,height:g}=e;let m,b,_,y,v,x;return o==="center"?(v=u+g/2,n==="left"?(m=f,b=m-r,y=v+r,x=v-r):(m=f+p,b=m+r,y=v-r,x=v+r),_=m):(n==="left"?b=f+Math.max(l,h)+r:n==="right"?b=f+p-Math.max(c,d)-r:b=this.caretX,o==="top"?(y=u,v=y-r,m=b-r,_=b+r):(y=u+g,v=y+r,m=b+r,_=b-r),x=y),{x1:m,x2:b,x3:_,y1:y,y2:v,y3:x}}drawTitle(t,e,s){const n=this.title,o=n.length;let r,a,l;if(o){const c=Bt(s.rtl,this.x,this.width);for(t.x=Te(this,s.titleAlign,s),e.textAlign=c.textAlign(s.titleAlign),e.textBaseline="middle",r=Y(s.titleFont),a=s.titleSpacing,e.fillStyle=s.titleColor,e.font=r.string,l=0;l_!==0)?(t.beginPath(),t.fillStyle=o.multiKeyBackground,je(t,{x:g,y:p,w:c,h:l,radius:b}),t.fill(),t.stroke(),t.fillStyle=r.backgroundColor,t.beginPath(),je(t,{x:m,y:p+1,w:c-2,h:l-2,radius:b}),t.fill()):(t.fillStyle=o.multiKeyBackground,t.fillRect(g,p,c,l),t.strokeRect(g,p,c,l),t.fillStyle=r.backgroundColor,t.fillRect(m,p+1,c-2,l-2))}t.fillStyle=this.labelTextColors[s]}drawBody(t,e,s){const{body:n}=this,{bodySpacing:o,bodyAlign:r,displayColors:a,boxHeight:l,boxWidth:c,boxPadding:h}=s,d=Y(s.bodyFont);let f=d.lineHeight,u=0;const p=Bt(s.rtl,this.x,this.width),g=function(k){e.fillText(k,p.x(t.x+u),t.y+f/2),t.y+=f+o},m=p.textAlign(r);let b,_,y,v,x,w,M;for(e.textAlign=r,e.textBaseline="middle",e.font=d.string,t.x=Te(this,m,s),e.fillStyle=s.bodyColor,L(this.beforeBody,g),u=a&&m!=="right"?r==="center"?c/2+h:c+2+h:0,v=0,w=n.length;v0&&e.stroke()}_updateAnimationTarget(t){const e=this.chart,s=this.$animations,n=s&&s.x,o=s&&s.y;if(n||o){const r=se[t.position].call(this,this._active,this._eventPosition);if(!r)return;const a=this._size=Ys(this,t),l=Object.assign({},r,this._size),c=Us(e,t,l),h=Xs(t,l,c,e);(n._to!==h.x||o._to!==h.y)&&(this.xAlign=c.xAlign,this.yAlign=c.yAlign,this.width=a.width,this.height=a.height,this.caretX=r.x,this.caretY=r.y,this._resolveAnimations().update(this,h))}}_willRender(){return!!this.opacity}draw(t){const e=this.options.setContext(this.getContext());let s=this.opacity;if(!s)return;this._updateAnimationTarget(e);const n={width:this.width,height:this.height},o={x:this.x,y:this.y};s=Math.abs(s)<.001?0:s;const r=tt(e.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;e.enabled&&a&&(t.save(),t.globalAlpha=s,this.drawBackground(o,t,n,e),On(t,e.textDirection),o.y+=r.top,this.drawTitle(o,t,e),this.drawBody(o,t,e),this.drawFooter(o,t,e),Tn(t,e.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,e){const s=this._active,n=t.map(({datasetIndex:a,index:l})=>{const c=this.chart.getDatasetMeta(a);if(!c)throw new Error("Cannot find a dataset at index "+a);return{datasetIndex:a,element:c.data[l],index:l}}),o=!We(s,n),r=this._positionChanged(n,e);(o||r)&&(this._active=n,this._eventPosition=e,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,e,s=!0){if(e&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const n=this.options,o=this._active||[],r=this._getActiveElements(t,o,e,s),a=this._positionChanged(r,t),l=e||!We(r,o)||a;return l&&(this._active=r,(n.enabled||n.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),l}_getActiveElements(t,e,s,n){const o=this.options;if(t.type==="mouseout")return[];if(!n)return e;const r=this.chart.getElementsAtEventForMode(t,o.mode,o,s);return o.reverse&&r.reverse(),r}_positionChanged(t,e){const{caretX:s,caretY:n,options:o}=this,r=se[o.position].call(this,t,e);return r!==!1&&(s!==r.x||n!==r.y)}}S(ki,"positioners",se);var ch={id:"tooltip",_element:ki,positioners:se,afterInit(i,t,e){e&&(i.tooltip=new ki({chart:i,options:e}))},beforeUpdate(i,t,e){i.tooltip&&i.tooltip.initialize(e)},reset(i,t,e){i.tooltip&&i.tooltip.initialize(e)},afterDraw(i){const t=i.tooltip;if(t&&t._willRender()){const e={tooltip:t};if(i.notifyPlugins("beforeTooltipDraw",{...e,cancelable:!0})===!1)return;t.draw(i.ctx),i.notifyPlugins("afterTooltipDraw",e)}},afterEvent(i,t){if(i.tooltip){const e=t.replay;i.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:(i,t)=>t.bodyFont.size,boxWidth:(i,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:Qn},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:i=>i!=="filter"&&i!=="itemSort"&&i!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const Tc=(i,t,e,s)=>(typeof t=="string"?(e=i.push(t)-1,s.unshift({index:e,label:t})):isNaN(t)&&(e=null),e);function Ac(i,t,e,s){const n=i.indexOf(t);if(n===-1)return Tc(i,t,e,s);const o=i.lastIndexOf(t);return n!==o?e:n}const Rc=(i,t)=>i===null?null:K(Math.round(i),0,t);function Gs(i){const t=this.getLabels();return i>=0&&ie.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}S(Zs,"id","category"),S(Zs,"defaults",{ticks:{callback:Gs}});function Lc(i,t){const e=[],{bounds:n,step:o,min:r,max:a,precision:l,count:c,maxTicks:h,maxDigits:d,includeBounds:f}=i,u=o||1,p=h-1,{min:g,max:m}=t,b=!R(r),_=!R(a),y=!R(c),v=(m-g)/(d+1);let x=Ui((m-g)/p/u)*u,w,M,k,P;if(x<1e-14&&!b&&!_)return[{value:g},{value:m}];P=Math.ceil(m/x)-Math.floor(g/x),P>p&&(x=Ui(P*x/p/u)*u),R(l)||(w=Math.pow(10,l),x=Math.ceil(x*w)/w),n==="ticks"?(M=Math.floor(g/x)*x,k=Math.ceil(m/x)*x):(M=g,k=m),b&&_&&o&&jo((a-r)/o,x/1e3)?(P=Math.round(Math.min((a-r)/x,h)),x=(a-r)/P,M=r,k=a):y?(M=b?r:M,k=_?a:k,P=c-1,x=(k-M)/P):(P=(k-M)/x,oe(P,Math.round(P),x/1e3)?P=Math.round(P):P=Math.ceil(P));const O=Math.max(Xi(x),Xi(M));w=Math.pow(10,R(l)?O:l),M=Math.round(M*w)/w,k=Math.round(k*w)/w;let C=0;for(b&&(f&&M!==r?(e.push({value:r}),Ma)break;e.push({value:A})}return _&&f&&k!==a?e.length&&oe(e[e.length-1].value,a,Js(a,v,i))?e[e.length-1].value=a:e.push({value:a}):(!_||k===a)&&e.push({value:k}),e}function Js(i,t,{horizontal:e,minRotation:s}){const n=Ct(s),o=(e?Math.sin(n):Math.cos(n))||.001,r=.75*t*(""+i).length;return Math.min(t/o,r)}class Ic extends jt{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 R(t)||(typeof t=="number"||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:e,maxDefined:s}=this.getUserBounds();let{min:n,max:o}=this;const r=l=>n=e?n:l,a=l=>o=s?o:l;if(t){const l=ct(n),c=ct(o);l<0&&c<0?a(0):l>0&&c>0&&r(0)}if(n===o){let l=o===0?1:Math.abs(o*.05);a(o+l),t||r(n-l)}this.min=n,this.max=o}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:e,stepSize:s}=t,n;return s?(n=Math.ceil(this.max/s)-Math.floor(this.min/s)+1,n>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${s} would result generating up to ${n} ticks. Limiting to 1000.`),n=1e3)):(n=this.computeTickLimit(),e=e||11),e&&(n=Math.min(e,n)),n}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,e=t.ticks;let s=this.getTickLimit();s=Math.max(2,s);const n={maxTicks:s,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},o=this._range||this,r=Lc(n,o);return t.bounds==="ticks"&&$o(r,this,"value"),t.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){const t=this.ticks;let e=this.min,s=this.max;if(super.configure(),this.options.offset&&t.length){const n=(s-e)/Math.max(t.length-1,1)/2;e-=n,s+=n}this._startValue=e,this._endValue=s,this._valueRange=s-e}getLabelForValue(t){return _n(t,this.chart.options.locale,this.options.ticks.format)}}class Qs extends Ic{determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=q(t)?t:0,this.max=q(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),e=t?this.width:this.height,s=Ct(this.options.ticks.minRotation),n=(t?Math.sin(s):Math.cos(s))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,o.lineHeight/n))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}S(Qs,"id","linear"),S(Qs,"defaults",{ticks:{callback:yn.formatters.numeric}});const Ze={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}},J=Object.keys(Ze);function tn(i,t){return i-t}function en(i,t){if(R(t))return null;const e=i._adapter,{parser:s,round:n,isoWeekday:o}=i._parseOpts;let r=t;return typeof s=="function"&&(r=s(r)),q(r)||(r=typeof s=="string"?e.parse(r,s):e.parse(r)),r===null?null:(n&&(r=n==="week"&&(fe(o)||o===!0)?e.startOf(r,"isoWeek",o):e.startOf(r,n)),+r)}function sn(i,t,e,s){const n=J.length;for(let o=J.indexOf(i);o=J.indexOf(e);o--){const r=J[o];if(Ze[r].common&&i._adapter.diff(n,s,r)>=t-1)return r}return J[e?J.indexOf(e):0]}function Ec(i){for(let t=J.indexOf(i)+1,e=J.length;t=t?e[s]:e[n];i[o]=!0}}function zc(i,t,e,s){const n=i._adapter,o=+n.startOf(t[0].value,s),r=t[t.length-1].value;let a,l;for(a=o;a<=r;a=+n.add(a,1,s))l=e[a],l>=0&&(t[l].major=!0);return t}function on(i,t,e){const s=[],n={},o=t.length;let r,a;for(r=0;r+t.value))}initOffsets(t=[]){let e=0,s=0,n,o;this.options.offset&&t.length&&(n=this.getDecimalForValue(t[0]),t.length===1?e=1-n:e=(this.getDecimalForValue(t[1])-n)/2,o=this.getDecimalForValue(t[t.length-1]),t.length===1?s=o:s=(o-this.getDecimalForValue(t[t.length-2]))/2);const r=t.length<3?.5:.25;e=K(e,0,r),s=K(s,0,r),this._offsets={start:e,end:s,factor:1/(e+1+s)}}_generate(){const t=this._adapter,e=this.min,s=this.max,n=this.options,o=n.time,r=o.unit||sn(o.minUnit,e,s,this._getLabelCapacity(e)),a=D(n.ticks.stepSize,1),l=r==="week"?o.isoWeekday:!1,c=fe(l)||l===!0,h={};let d=e,f,u;if(c&&(d=+t.startOf(d,"isoWeek",l)),d=+t.startOf(d,c?"day":r),t.diff(s,e,r)>1e5*a)throw new Error(e+" and "+s+" are too far apart with stepSize of "+a+" "+r);const p=n.ticks.source==="data"&&this.getDataTimestamps();for(f=d,u=0;f+g)}getLabelForValue(t){const e=this._adapter,s=this.options.time;return s.tooltipFormat?e.format(t,s.tooltipFormat):e.format(t,s.displayFormats.datetime)}format(t,e){const n=this.options.time.displayFormats,o=this._unit,r=e||n[o];return this._adapter.format(t,r)}_tickFormatFunction(t,e,s,n){const o=this.options,r=o.ticks.callback;if(r)return F(r,[t,e,s],this);const a=o.time.displayFormats,l=this._unit,c=this._majorUnit,h=l&&a[l],d=c&&a[c],f=s[e],u=c&&d&&f&&f.major;return this._adapter.format(t,n||(u?d:h))}generateTickLabels(t){let e,s,n;for(e=0,s=t.length;e0?a:1}getDataTimestamps(){let t=this._cache.data||[],e,s;if(t.length)return t;const n=this.getMatchingVisibleMetas();if(this._normalized&&n.length)return this._cache.data=n[0].controller.getAllParsedValues(this);for(e=0,s=n.length;e=i[s].pos&&t<=i[n].pos&&({lo:s,hi:n}=Dt(i,"pos",t)),{pos:o,time:a}=i[s],{pos:r,time:l}=i[n]):(t>=i[s].time&&t<=i[n].time&&({lo:s,hi:n}=Dt(i,"time",t)),{time:o,pos:a}=i[s],{time:r,pos:l}=i[n]);const c=r-o;return c?a+(l-a)*(t-o)/c:a}class rn extends Xe{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=Ae(e,this.min),this._tableRange=Ae(e,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:e,max:s}=this,n=[],o=[];let r,a,l,c,h;for(r=0,a=t.length;r=e&&c<=s&&n.push(c);if(n.length<2)return[{time:e,pos:0},{time:s,pos:1}];for(r=0,a=n.length;rn-o)}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const e=this.getDataTimestamps(),s=this.getLabelTimestamps();return e.length&&s.length?t=this.normalize(e.concat(s)):t=e.length?e:s,t=this._cache.all=t,t}getDecimalForValue(t){return(Ae(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const e=this._offsets,s=this.getDecimalForPixel(t)/e.factor-e.end;return Ae(this._table,s*this._tableRange+this._minPos,!0)}}S(rn,"id","timeseries"),S(rn,"defaults",Xe.defaults);/*! +`):i}function wc(i,t){const{element:e,datasetIndex:s,index:n}=t,o=i.getDatasetMeta(s).controller,{label:r,value:a}=o.getLabelAndValue(n);return{chart:i,label:r,parsed:o.getParsed(n),raw:i.data.datasets[s].data[n],formattedValue:a,dataset:o.getDataset(),dataIndex:n,datasetIndex:s,element:e}}function Us(i,t){const e=i.chart.ctx,{body:s,footer:n,title:o}=i,{boxWidth:r,boxHeight:a}=t,l=Y(t.bodyFont),c=Y(t.titleFont),h=Y(t.footerFont),d=o.length,f=n.length,u=s.length,p=tt(t.padding);let g=p.height,m=0,b=s.reduce((v,x)=>v+x.before.length+x.lines.length+x.after.length,0);if(b+=i.beforeBody.length+i.afterBody.length,d&&(g+=d*c.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),b){const v=t.displayColors?Math.max(a,l.lineHeight):l.lineHeight;g+=u*v+(b-u)*l.lineHeight+(b-1)*t.bodySpacing}f&&(g+=t.footerMarginTop+f*h.lineHeight+(f-1)*t.footerSpacing);let _=0;const y=function(v){m=Math.max(m,e.measureText(v).width+_)};return e.save(),e.font=c.string,L(i.title,y),e.font=l.string,L(i.beforeBody.concat(i.afterBody),y),_=t.displayColors?r+2+t.boxPadding:0,L(s,v=>{L(v.before,y),L(v.lines,y),L(v.after,y)}),_=0,e.font=h.string,L(i.footer,y),e.restore(),m+=p.width,{width:m,height:g}}function Mc(i,t){const{y:e,height:s}=t;return ei.height-s/2?"bottom":"center"}function Sc(i,t,e,s){const{x:n,width:o}=s,r=e.caretSize+e.caretPadding;if(i==="left"&&n+o+r>t.width||i==="right"&&n-o-r<0)return!0}function Pc(i,t,e,s){const{x:n,width:o}=e,{width:r,chartArea:{left:a,right:l}}=i;let c="center";return s==="center"?c=n<=(a+l)/2?"left":"right":n<=o/2?c="left":n>=r-o/2&&(c="right"),Sc(c,i,t,e)&&(c="center"),c}function Xs(i,t,e){const s=e.yAlign||t.yAlign||Mc(i,e);return{xAlign:e.xAlign||t.xAlign||Pc(i,t,e,s),yAlign:s}}function Cc(i,t){let{x:e,width:s}=i;return t==="right"?e-=s:t==="center"&&(e-=s/2),e}function Dc(i,t,e){let{y:s,height:n}=i;return t==="top"?s+=e:t==="bottom"?s-=n+e:s-=n/2,s}function Ks(i,t,e,s){const{caretSize:n,caretPadding:o,cornerRadius:r}=i,{xAlign:a,yAlign:l}=e,c=n+o,{topLeft:h,topRight:d,bottomLeft:f,bottomRight:u}=Ht(r);let p=Cc(t,a);const g=Dc(t,l,c);return l==="center"?a==="left"?p+=c:a==="right"&&(p-=c):a==="left"?p-=Math.max(h,f)+n:a==="right"&&(p+=Math.max(d,u)+n),{x:K(p,0,s.width-t.width),y:K(g,0,s.height-t.height)}}function Te(i,t,e){const s=tt(e.padding);return t==="center"?i.x+i.width/2:t==="right"?i.x+i.width-s.right:i.x+s.left}function qs(i){return rt([],ut(i))}function Oc(i,t,e){return It(i,{tooltip:t,tooltipItems:e,type:"tooltip"})}function Gs(i,t){const e=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return e?i.override(e):i}const Qn={beforeTitle:dt,title(i){if(i.length>0){const t=i[0],e=t.chart.data.labels,s=e?e.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(s>0&&t.dataIndex"u"?Qn[t].call(e,s):n}class ki extends nt{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,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,s=this.options.setContext(this.getContext()),n=s.enabled&&e.options.animation&&s.animations,o=new In(this.chart,n);return n._cacheable&&(this._cachedAnimations=Object.freeze(o)),o}getContext(){return this.$context||(this.$context=Oc(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,e){const{callbacks:s}=e,n=G(s,"beforeTitle",this,t),o=G(s,"title",this,t),r=G(s,"afterTitle",this,t);let a=[];return a=rt(a,ut(n)),a=rt(a,ut(o)),a=rt(a,ut(r)),a}getBeforeBody(t,e){return qs(G(e.callbacks,"beforeBody",this,t))}getBody(t,e){const{callbacks:s}=e,n=[];return L(t,o=>{const r={before:[],lines:[],after:[]},a=Gs(s,o);rt(r.before,ut(G(a,"beforeLabel",this,o))),rt(r.lines,G(a,"label",this,o)),rt(r.after,ut(G(a,"afterLabel",this,o))),n.push(r)}),n}getAfterBody(t,e){return qs(G(e.callbacks,"afterBody",this,t))}getFooter(t,e){const{callbacks:s}=e,n=G(s,"beforeFooter",this,t),o=G(s,"footer",this,t),r=G(s,"afterFooter",this,t);let a=[];return a=rt(a,ut(n)),a=rt(a,ut(o)),a=rt(a,ut(r)),a}_createItems(t){const e=this._active,s=this.chart.data,n=[],o=[],r=[];let a=[],l,c;for(l=0,c=e.length;lt.filter(h,d,f,s))),t.itemSort&&(a=a.sort((h,d)=>t.itemSort(h,d,s))),L(a,h=>{const d=Gs(t.callbacks,h);n.push(G(d,"labelColor",this,h)),o.push(G(d,"labelPointStyle",this,h)),r.push(G(d,"labelTextColor",this,h))}),this.labelColors=n,this.labelPointStyles=o,this.labelTextColors=r,this.dataPoints=a,a}update(t,e){const s=this.options.setContext(this.getContext()),n=this._active;let o,r=[];if(!n.length)this.opacity!==0&&(o={opacity:0});else{const a=se[s.position].call(this,n,this._eventPosition);r=this._createItems(s),this.title=this.getTitle(r,s),this.beforeBody=this.getBeforeBody(r,s),this.body=this.getBody(r,s),this.afterBody=this.getAfterBody(r,s),this.footer=this.getFooter(r,s);const l=this._size=Us(this,s),c=Object.assign({},a,l),h=Xs(this.chart,s,c),d=Ks(s,c,h,this.chart);this.xAlign=h.xAlign,this.yAlign=h.yAlign,o={opacity:1,x:d.x,y:d.y,width:l.width,height:l.height,caretX:a.x,caretY:a.y}}this._tooltipItems=r,this.$context=void 0,o&&this._resolveAnimations().update(this,o),t&&s.external&&s.external.call(this,{chart:this.chart,tooltip:this,replay:e})}drawCaret(t,e,s,n){const o=this.getCaretPosition(t,s,n);e.lineTo(o.x1,o.y1),e.lineTo(o.x2,o.y2),e.lineTo(o.x3,o.y3)}getCaretPosition(t,e,s){const{xAlign:n,yAlign:o}=this,{caretSize:r,cornerRadius:a}=s,{topLeft:l,topRight:c,bottomLeft:h,bottomRight:d}=Ht(a),{x:f,y:u}=t,{width:p,height:g}=e;let m,b,_,y,v,x;return o==="center"?(v=u+g/2,n==="left"?(m=f,b=m-r,y=v+r,x=v-r):(m=f+p,b=m+r,y=v-r,x=v+r),_=m):(n==="left"?b=f+Math.max(l,h)+r:n==="right"?b=f+p-Math.max(c,d)-r:b=this.caretX,o==="top"?(y=u,v=y-r,m=b-r,_=b+r):(y=u+g,v=y+r,m=b+r,_=b-r),x=y),{x1:m,x2:b,x3:_,y1:y,y2:v,y3:x}}drawTitle(t,e,s){const n=this.title,o=n.length;let r,a,l;if(o){const c=Wt(s.rtl,this.x,this.width);for(t.x=Te(this,s.titleAlign,s),e.textAlign=c.textAlign(s.titleAlign),e.textBaseline="middle",r=Y(s.titleFont),a=s.titleSpacing,e.fillStyle=s.titleColor,e.font=r.string,l=0;l_!==0)?(t.beginPath(),t.fillStyle=o.multiKeyBackground,je(t,{x:g,y:p,w:c,h:l,radius:b}),t.fill(),t.stroke(),t.fillStyle=r.backgroundColor,t.beginPath(),je(t,{x:m,y:p+1,w:c-2,h:l-2,radius:b}),t.fill()):(t.fillStyle=o.multiKeyBackground,t.fillRect(g,p,c,l),t.strokeRect(g,p,c,l),t.fillStyle=r.backgroundColor,t.fillRect(m,p+1,c-2,l-2))}t.fillStyle=this.labelTextColors[s]}drawBody(t,e,s){const{body:n}=this,{bodySpacing:o,bodyAlign:r,displayColors:a,boxHeight:l,boxWidth:c,boxPadding:h}=s,d=Y(s.bodyFont);let f=d.lineHeight,u=0;const p=Wt(s.rtl,this.x,this.width),g=function(k){e.fillText(k,p.x(t.x+u),t.y+f/2),t.y+=f+o},m=p.textAlign(r);let b,_,y,v,x,w,M;for(e.textAlign=r,e.textBaseline="middle",e.font=d.string,t.x=Te(this,m,s),e.fillStyle=s.bodyColor,L(this.beforeBody,g),u=a&&m!=="right"?r==="center"?c/2+h:c+2+h:0,v=0,w=n.length;v0&&e.stroke()}_updateAnimationTarget(t){const e=this.chart,s=this.$animations,n=s&&s.x,o=s&&s.y;if(n||o){const r=se[t.position].call(this,this._active,this._eventPosition);if(!r)return;const a=this._size=Us(this,t),l=Object.assign({},r,this._size),c=Xs(e,t,l),h=Ks(t,l,c,e);(n._to!==h.x||o._to!==h.y)&&(this.xAlign=c.xAlign,this.yAlign=c.yAlign,this.width=a.width,this.height=a.height,this.caretX=r.x,this.caretY=r.y,this._resolveAnimations().update(this,h))}}_willRender(){return!!this.opacity}draw(t){const e=this.options.setContext(this.getContext());let s=this.opacity;if(!s)return;this._updateAnimationTarget(e);const n={width:this.width,height:this.height},o={x:this.x,y:this.y};s=Math.abs(s)<.001?0:s;const r=tt(e.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;e.enabled&&a&&(t.save(),t.globalAlpha=s,this.drawBackground(o,t,n,e),On(t,e.textDirection),o.y+=r.top,this.drawTitle(o,t,e),this.drawBody(o,t,e),this.drawFooter(o,t,e),Tn(t,e.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,e){const s=this._active,n=t.map(({datasetIndex:a,index:l})=>{const c=this.chart.getDatasetMeta(a);if(!c)throw new Error("Cannot find a dataset at index "+a);return{datasetIndex:a,element:c.data[l],index:l}}),o=!We(s,n),r=this._positionChanged(n,e);(o||r)&&(this._active=n,this._eventPosition=e,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,e,s=!0){if(e&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const n=this.options,o=this._active||[],r=this._getActiveElements(t,o,e,s),a=this._positionChanged(r,t),l=e||!We(r,o)||a;return l&&(this._active=r,(n.enabled||n.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),l}_getActiveElements(t,e,s,n){const o=this.options;if(t.type==="mouseout")return[];if(!n)return e.filter(a=>this.chart.data.datasets[a.datasetIndex]&&this.chart.getDatasetMeta(a.datasetIndex).controller.getParsed(a.index)!==void 0);const r=this.chart.getElementsAtEventForMode(t,o.mode,o,s);return o.reverse&&r.reverse(),r}_positionChanged(t,e){const{caretX:s,caretY:n,options:o}=this,r=se[o.position].call(this,t,e);return r!==!1&&(s!==r.x||n!==r.y)}}S(ki,"positioners",se);var ch={id:"tooltip",_element:ki,positioners:se,afterInit(i,t,e){e&&(i.tooltip=new ki({chart:i,options:e}))},beforeUpdate(i,t,e){i.tooltip&&i.tooltip.initialize(e)},reset(i,t,e){i.tooltip&&i.tooltip.initialize(e)},afterDraw(i){const t=i.tooltip;if(t&&t._willRender()){const e={tooltip:t};if(i.notifyPlugins("beforeTooltipDraw",{...e,cancelable:!0})===!1)return;t.draw(i.ctx),i.notifyPlugins("afterTooltipDraw",e)}},afterEvent(i,t){if(i.tooltip){const e=t.replay;i.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:(i,t)=>t.bodyFont.size,boxWidth:(i,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:Qn},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:i=>i!=="filter"&&i!=="itemSort"&&i!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const Tc=(i,t,e,s)=>(typeof t=="string"?(e=i.push(t)-1,s.unshift({index:e,label:t})):isNaN(t)&&(e=null),e);function Ac(i,t,e,s){const n=i.indexOf(t);if(n===-1)return Tc(i,t,e,s);const o=i.lastIndexOf(t);return n!==o?e:n}const Rc=(i,t)=>i===null?null:K(Math.round(i),0,t);function Zs(i){const t=this.getLabels();return i>=0&&ie.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}S(Js,"id","category"),S(Js,"defaults",{ticks:{callback:Zs}});function Lc(i,t){const e=[],{bounds:n,step:o,min:r,max:a,precision:l,count:c,maxTicks:h,maxDigits:d,includeBounds:f}=i,u=o||1,p=h-1,{min:g,max:m}=t,b=!R(r),_=!R(a),y=!R(c),v=(m-g)/(d+1);let x=Xi((m-g)/p/u)*u,w,M,k,P;if(x<1e-14&&!b&&!_)return[{value:g},{value:m}];P=Math.ceil(m/x)-Math.floor(g/x),P>p&&(x=Xi(P*x/p/u)*u),R(l)||(w=Math.pow(10,l),x=Math.ceil(x*w)/w),n==="ticks"?(M=Math.floor(g/x)*x,k=Math.ceil(m/x)*x):(M=g,k=m),b&&_&&o&&jo((a-r)/o,x/1e3)?(P=Math.round(Math.min((a-r)/x,h)),x=(a-r)/P,M=r,k=a):y?(M=b?r:M,k=_?a:k,P=c-1,x=(k-M)/P):(P=(k-M)/x,oe(P,Math.round(P),x/1e3)?P=Math.round(P):P=Math.ceil(P));const O=Math.max(Ki(x),Ki(M));w=Math.pow(10,R(l)?O:l),M=Math.round(M*w)/w,k=Math.round(k*w)/w;let C=0;for(b&&(f&&M!==r?(e.push({value:r}),Ma)break;e.push({value:A})}return _&&f&&k!==a?e.length&&oe(e[e.length-1].value,a,Qs(a,v,i))?e[e.length-1].value=a:e.push({value:a}):(!_||k===a)&&e.push({value:k}),e}function Qs(i,t,{horizontal:e,minRotation:s}){const n=Ot(s),o=(e?Math.sin(n):Math.cos(n))||.001,r=.75*t*(""+i).length;return Math.min(t/o,r)}class Ic extends Yt{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 R(t)||(typeof t=="number"||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:e,maxDefined:s}=this.getUserBounds();let{min:n,max:o}=this;const r=l=>n=e?n:l,a=l=>o=s?o:l;if(t){const l=ct(n),c=ct(o);l<0&&c<0?a(0):l>0&&c>0&&r(0)}if(n===o){let l=o===0?1:Math.abs(o*.05);a(o+l),t||r(n-l)}this.min=n,this.max=o}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:e,stepSize:s}=t,n;return s?(n=Math.ceil(this.max/s)-Math.floor(this.min/s)+1,n>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${s} would result generating up to ${n} ticks. Limiting to 1000.`),n=1e3)):(n=this.computeTickLimit(),e=e||11),e&&(n=Math.min(e,n)),n}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,e=t.ticks;let s=this.getTickLimit();s=Math.max(2,s);const n={maxTicks:s,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},o=this._range||this,r=Lc(n,o);return t.bounds==="ticks"&&$o(r,this,"value"),t.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){const t=this.ticks;let e=this.min,s=this.max;if(super.configure(),this.options.offset&&t.length){const n=(s-e)/Math.max(t.length-1,1)/2;e-=n,s+=n}this._startValue=e,this._endValue=s,this._valueRange=s-e}getLabelForValue(t){return xn(t,this.chart.options.locale,this.options.ticks.format)}}class tn extends Ic{determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=q(t)?t:0,this.max=q(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),e=t?this.width:this.height,s=Ot(this.options.ticks.minRotation),n=(t?Math.sin(s):Math.cos(s))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,o.lineHeight/n))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}S(tn,"id","linear"),S(tn,"defaults",{ticks:{callback:vn.formatters.numeric}});const Ze={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}},J=Object.keys(Ze);function en(i,t){return i-t}function sn(i,t){if(R(t))return null;const e=i._adapter,{parser:s,round:n,isoWeekday:o}=i._parseOpts;let r=t;return typeof s=="function"&&(r=s(r)),q(r)||(r=typeof s=="string"?e.parse(r,s):e.parse(r)),r===null?null:(n&&(r=n==="week"&&(fe(o)||o===!0)?e.startOf(r,"isoWeek",o):e.startOf(r,n)),+r)}function nn(i,t,e,s){const n=J.length;for(let o=J.indexOf(i);o=J.indexOf(e);o--){const r=J[o];if(Ze[r].common&&i._adapter.diff(n,s,r)>=t-1)return r}return J[e?J.indexOf(e):0]}function Ec(i){for(let t=J.indexOf(i)+1,e=J.length;t=t?e[s]:e[n];i[o]=!0}}function zc(i,t,e,s){const n=i._adapter,o=+n.startOf(t[0].value,s),r=t[t.length-1].value;let a,l;for(a=o;a<=r;a=+n.add(a,1,s))l=e[a],l>=0&&(t[l].major=!0);return t}function rn(i,t,e){const s=[],n={},o=t.length;let r,a;for(r=0;r+t.value))}initOffsets(t=[]){let e=0,s=0,n,o;this.options.offset&&t.length&&(n=this.getDecimalForValue(t[0]),t.length===1?e=1-n:e=(this.getDecimalForValue(t[1])-n)/2,o=this.getDecimalForValue(t[t.length-1]),t.length===1?s=o:s=(o-this.getDecimalForValue(t[t.length-2]))/2);const r=t.length<3?.5:.25;e=K(e,0,r),s=K(s,0,r),this._offsets={start:e,end:s,factor:1/(e+1+s)}}_generate(){const t=this._adapter,e=this.min,s=this.max,n=this.options,o=n.time,r=o.unit||nn(o.minUnit,e,s,this._getLabelCapacity(e)),a=D(n.ticks.stepSize,1),l=r==="week"?o.isoWeekday:!1,c=fe(l)||l===!0,h={};let d=e,f,u;if(c&&(d=+t.startOf(d,"isoWeek",l)),d=+t.startOf(d,c?"day":r),t.diff(s,e,r)>1e5*a)throw new Error(e+" and "+s+" are too far apart with stepSize of "+a+" "+r);const p=n.ticks.source==="data"&&this.getDataTimestamps();for(f=d,u=0;f+g)}getLabelForValue(t){const e=this._adapter,s=this.options.time;return s.tooltipFormat?e.format(t,s.tooltipFormat):e.format(t,s.displayFormats.datetime)}format(t,e){const n=this.options.time.displayFormats,o=this._unit,r=e||n[o];return this._adapter.format(t,r)}_tickFormatFunction(t,e,s,n){const o=this.options,r=o.ticks.callback;if(r)return F(r,[t,e,s],this);const a=o.time.displayFormats,l=this._unit,c=this._majorUnit,h=l&&a[l],d=c&&a[c],f=s[e],u=c&&d&&f&&f.major;return this._adapter.format(t,n||(u?d:h))}generateTickLabels(t){let e,s,n;for(e=0,s=t.length;e0?a:1}getDataTimestamps(){let t=this._cache.data||[],e,s;if(t.length)return t;const n=this.getMatchingVisibleMetas();if(this._normalized&&n.length)return this._cache.data=n[0].controller.getAllParsedValues(this);for(e=0,s=n.length;e=i[s].pos&&t<=i[n].pos&&({lo:s,hi:n}=Tt(i,"pos",t)),{pos:o,time:a}=i[s],{pos:r,time:l}=i[n]):(t>=i[s].time&&t<=i[n].time&&({lo:s,hi:n}=Tt(i,"time",t)),{time:o,pos:a}=i[s],{time:r,pos:l}=i[n]);const c=r-o;return c?a+(l-a)*(t-o)/c:a}class an extends Xe{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=Ae(e,this.min),this._tableRange=Ae(e,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:e,max:s}=this,n=[],o=[];let r,a,l,c,h;for(r=0,a=t.length;r=e&&c<=s&&n.push(c);if(n.length<2)return[{time:e,pos:0},{time:s,pos:1}];for(r=0,a=n.length;rn-o)}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const e=this.getDataTimestamps(),s=this.getLabelTimestamps();return e.length&&s.length?t=this.normalize(e.concat(s)):t=e.length?e:s,t=this._cache.all=t,t}getDecimalForValue(t){return(Ae(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const e=this._offsets,s=this.getDecimalForPixel(t)/e.factor-e.end;return Ae(this._table,s*this._tableRange+this._minPos,!0)}}S(an,"id","timeseries"),S(an,"defaults",Xe.defaults);/*! * chartjs-plugin-datalabels v2.2.0 * https://chartjs-plugin-datalabels.netlify.app * (c) 2017-2022 chartjs-plugin-datalabels contributors * Released under the MIT license - */var an=function(){if(typeof window<"u"){if(window.devicePixelRatio)return window.devicePixelRatio;var i=window.screen;if(i)return(i.deviceXDPI||1)/(i.logicalXDPI||1)}return 1}(),le={toTextLines:function(i){var t=[],e;for(i=[].concat(i);i.length;)e=i.pop(),typeof e=="string"?t.unshift.apply(t,e.split(` -`)):Array.isArray(e)?i.push.apply(i,e):R(i)||t.unshift(""+e);return t},textSize:function(i,t,e){var s=[].concat(t),n=s.length,o=i.font,r=0,a;for(i.font=e.string,a=0;ae.right&&(s|=eo),te.bottom&&(s|=io),s}function Wc(i,t){for(var e=i.x0,s=i.y0,n=i.x1,o=i.y1,r=Re(e,s,t),a=Re(n,o,t),l,c,h;!(!(r|a)||r&a);)l=r||a,l&so?(c=e+(n-e)*(t.top-s)/(o-s),h=t.top):l&io?(c=e+(n-e)*(t.bottom-s)/(o-s),h=t.bottom):l&eo?(h=s+(o-s)*(t.right-e)/(n-e),c=t.right):l&to&&(h=s+(o-s)*(t.left-e)/(n-e),c=t.left),l===r?(e=c,s=h,r=Re(e,s,t)):(n=c,o=h,a=Re(n,o,t));return{x0:e,x1:n,y0:s,y1:o}}function Le(i,t){var e=t.anchor,s=i,n,o;return t.clamp&&(s=Wc(s,t.area)),e==="start"?(n=s.x0,o=s.y0):e==="end"?(n=s.x1,o=s.y1):(n=(s.x0+s.x1)/2,o=(s.y0+s.y1)/2),Bc(n,o,i.vx,i.vy,t.align)}var Ie={arc:function(i,t){var e=(i.startAngle+i.endAngle)/2,s=Math.cos(e),n=Math.sin(e),o=i.innerRadius,r=i.outerRadius;return Le({x0:i.x+s*o,y0:i.y+n*o,x1:i.x+s*r,y1:i.y+n*r,vx:s,vy:n},t)},point:function(i,t){var e=fi(i,t.origin),s=e.x*i.options.radius,n=e.y*i.options.radius;return Le({x0:i.x-s,y0:i.y-n,x1:i.x+s,y1:i.y+n,vx:e.x,vy:e.y},t)},bar:function(i,t){var e=fi(i,t.origin),s=i.x,n=i.y,o=0,r=0;return i.horizontal?(s=Math.min(i.x,i.base),o=Math.abs(i.base-i.x)):(n=Math.min(i.y,i.base),r=Math.abs(i.base-i.y)),Le({x0:s,y0:n+r,x1:s+o,y1:n,vx:e.x,vy:e.y},t)},fallback:function(i,t){var e=fi(i,t.origin);return Le({x0:i.x,y0:i.y,x1:i.x+(i.width||0),y1:i.y+(i.height||0),vx:e.x,vy:e.y},t)}},mt=le.rasterize;function Nc(i){var t=i.borderWidth||0,e=i.padding,s=i.size.height,n=i.size.width,o=-n/2,r=-s/2;return{frame:{x:o-e.left-t,y:r-e.top-t,w:n+e.width+t*2,h:s+e.height+t*2},text:{x:o,y:r,w:n,h:s}}}function Vc(i,t){var e=t.chart.getDatasetMeta(t.datasetIndex).vScale;if(!e)return null;if(e.xCenter!==void 0&&e.yCenter!==void 0)return{x:e.xCenter,y:e.yCenter};var s=e.getBasePixel();return i.horizontal?{x:s,y:null}:{x:null,y:s}}function jc(i){return i instanceof ie?Ie.arc:i instanceof Be?Ie.point:i instanceof He?Ie.bar:Ie.fallback}function $c(i,t,e,s,n,o){var r=Math.PI/2;if(o){var a=Math.min(o,n/2,s/2),l=t+a,c=e+a,h=t+s-a,d=e+n-a;i.moveTo(t,c),ls.x+s.w+e*2||i.y>s.y+s.h+e*2)},intersects:function(i){var t=this._points(),e=i._points(),s=[Fe(t[0],t[1]),Fe(t[0],t[3])],n,o,r;for(this._rotation!==i._rotation&&s.push(Fe(e[0],e[1]),Fe(e[0],e[3])),n=0;n=0;--e)for(n=i[e].$layout,s=e-1;s>=0&&n._visible;--s)o=i[s].$layout,o._visible&&n._box.intersects(o._box)&&t(n,o);return i}function Jc(i){var t,e,s,n,o,r,a;for(t=0,e=i.length;tl.getProps([c],!0)[c]}),o=s.geometry(),r=ro(a,s.model(),o),n._box.update(r,o,s.rotation()));return Zc(i,function(l,c){var h=l._hidable,d=c._hidable;h&&d||d?c._visible=!1:h&&(l._visible=!1)})}var ce={prepare:function(i){var t=[],e,s,n,o,r;for(e=0,n=i.length;e=0;--e)if(s=i[e].$layout,s&&s._visible&&s._box.contains(t))return i[e];return null},draw:function(i,t){var e,s,n,o,r,a;for(e=0,s=t.length;ee.right&&(s|=eo),te.bottom&&(s|=io),s}function Wc(i,t){for(var e=i.x0,s=i.y0,n=i.x1,o=i.y1,r=Re(e,s,t),a=Re(n,o,t),l,c,h;!(!(r|a)||r&a);)l=r||a,l&so?(c=e+(n-e)*(t.top-s)/(o-s),h=t.top):l&io?(c=e+(n-e)*(t.bottom-s)/(o-s),h=t.bottom):l&eo?(h=s+(o-s)*(t.right-e)/(n-e),c=t.right):l&to&&(h=s+(o-s)*(t.left-e)/(n-e),c=t.left),l===r?(e=c,s=h,r=Re(e,s,t)):(n=c,o=h,a=Re(n,o,t));return{x0:e,x1:n,y0:s,y1:o}}function Le(i,t){var e=t.anchor,s=i,n,o;return t.clamp&&(s=Wc(s,t.area)),e==="start"?(n=s.x0,o=s.y0):e==="end"?(n=s.x1,o=s.y1):(n=(s.x0+s.x1)/2,o=(s.y0+s.y1)/2),Bc(n,o,i.vx,i.vy,t.align)}var Ie={arc:function(i,t){var e=(i.startAngle+i.endAngle)/2,s=Math.cos(e),n=Math.sin(e),o=i.innerRadius,r=i.outerRadius;return Le({x0:i.x+s*o,y0:i.y+n*o,x1:i.x+s*r,y1:i.y+n*r,vx:s,vy:n},t)},point:function(i,t){var e=fi(i,t.origin),s=e.x*i.options.radius,n=e.y*i.options.radius;return Le({x0:i.x-s,y0:i.y-n,x1:i.x+s,y1:i.y+n,vx:e.x,vy:e.y},t)},bar:function(i,t){var e=fi(i,t.origin),s=i.x,n=i.y,o=0,r=0;return i.horizontal?(s=Math.min(i.x,i.base),o=Math.abs(i.base-i.x)):(n=Math.min(i.y,i.base),r=Math.abs(i.base-i.y)),Le({x0:s,y0:n+r,x1:s+o,y1:n,vx:e.x,vy:e.y},t)},fallback:function(i,t){var e=fi(i,t.origin);return Le({x0:i.x,y0:i.y,x1:i.x+(i.width||0),y1:i.y+(i.height||0),vx:e.x,vy:e.y},t)}},mt=le.rasterize;function Nc(i){var t=i.borderWidth||0,e=i.padding,s=i.size.height,n=i.size.width,o=-n/2,r=-s/2;return{frame:{x:o-e.left-t,y:r-e.top-t,w:n+e.width+t*2,h:s+e.height+t*2},text:{x:o,y:r,w:n,h:s}}}function Vc(i,t){var e=t.chart.getDatasetMeta(t.datasetIndex).vScale;if(!e)return null;if(e.xCenter!==void 0&&e.yCenter!==void 0)return{x:e.xCenter,y:e.yCenter};var s=e.getBasePixel();return i.horizontal?{x:s,y:null}:{x:null,y:s}}function jc(i){return i instanceof ie?Ie.arc:i instanceof Be?Ie.point:i instanceof He?Ie.bar:Ie.fallback}function $c(i,t,e,s,n,o){var r=Math.PI/2;if(o){var a=Math.min(o,n/2,s/2),l=t+a,c=e+a,h=t+s-a,d=e+n-a;i.moveTo(t,c),ls.x+s.w+e*2||i.y>s.y+s.h+e*2)},intersects:function(i){var t=this._points(),e=i._points(),s=[Fe(t[0],t[1]),Fe(t[0],t[3])],n,o,r;for(this._rotation!==i._rotation&&s.push(Fe(e[0],e[1]),Fe(e[0],e[3])),n=0;n=0;--e)for(n=i[e].$layout,s=e-1;s>=0&&n._visible;--s)o=i[s].$layout,o._visible&&n._box.intersects(o._box)&&t(n,o);return i}function Jc(i){var t,e,s,n,o,r,a;for(t=0,e=i.length;tl.getProps([c],!0)[c]}),o=s.geometry(),r=ro(a,s.model(),o),n._box.update(r,o,s.rotation()));return Zc(i,function(l,c){var h=l._hidable,d=c._hidable;h&&d||d?c._visible=!1:h&&(l._visible=!1)})}var ce={prepare:function(i){var t=[],e,s,n,o,r;for(e=0,n=i.length;e=0;--e)if(s=i[e].$layout,s&&s._visible&&s._box.contains(t))return i[e];return null},draw:function(i,t){var e,s,n,o,r,a;for(e=0,s=t.length;esvg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:rgba(255,255,255,.5)}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:rgba(255,255,255,.8);margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;-moz-box-sizing:border-box;box-sizing:border-box;background:rgba(255,255,255,.8);text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:white;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}} diff --git a/fittrackee/dist/static/css/maps-B7qTrBCW.css b/fittrackee/dist/static/css/maps-B7qTrBCW.css new file mode 100644 index 00000000..c52bdf80 --- /dev/null +++ b/fittrackee/dist/static/css/maps-B7qTrBCW.css @@ -0,0 +1 @@ +.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:#ffffff80}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;-moz-box-sizing:border-box;box-sizing:border-box;background:#fffc;text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}} diff --git a/fittrackee/dist/static/fonts/pt-sans-v9-latin-700-080d87ea.woff2 b/fittrackee/dist/static/fonts/pt-sans-v9-latin-700-BC8QGIrG.woff2 similarity index 100% rename from fittrackee/dist/static/fonts/pt-sans-v9-latin-700-080d87ea.woff2 rename to fittrackee/dist/static/fonts/pt-sans-v9-latin-700-BC8QGIrG.woff2 diff --git a/fittrackee/dist/static/fonts/pt-sans-v9-latin-700-ae254009.ttf b/fittrackee/dist/static/fonts/pt-sans-v9-latin-700-TR0YiIVK.ttf similarity index 100% rename from fittrackee/dist/static/fonts/pt-sans-v9-latin-700-ae254009.ttf rename to fittrackee/dist/static/fonts/pt-sans-v9-latin-700-TR0YiIVK.ttf diff --git a/fittrackee/dist/static/fonts/pt-sans-v9-latin-700-870a604e.svg b/fittrackee/dist/static/fonts/pt-sans-v9-latin-700-Xyyq4crW.svg similarity index 100% rename from fittrackee/dist/static/fonts/pt-sans-v9-latin-700-870a604e.svg rename to fittrackee/dist/static/fonts/pt-sans-v9-latin-700-Xyyq4crW.svg diff --git a/fittrackee/dist/static/fonts/pt-sans-v9-latin-700-9ea1a9d8.eot b/fittrackee/dist/static/fonts/pt-sans-v9-latin-700-skEWD7W_.eot similarity index 100% rename from fittrackee/dist/static/fonts/pt-sans-v9-latin-700-9ea1a9d8.eot rename to fittrackee/dist/static/fonts/pt-sans-v9-latin-700-skEWD7W_.eot diff --git a/fittrackee/dist/static/fonts/pt-sans-v9-latin-700-a61d5b9a.woff b/fittrackee/dist/static/fonts/pt-sans-v9-latin-700-tcZ3J-O8.woff similarity index 100% rename from fittrackee/dist/static/fonts/pt-sans-v9-latin-700-a61d5b9a.woff rename to fittrackee/dist/static/fonts/pt-sans-v9-latin-700-tcZ3J-O8.woff diff --git a/fittrackee/dist/static/fonts/pt-sans-v9-latin-italic-b0c71d14.woff2 b/fittrackee/dist/static/fonts/pt-sans-v9-latin-italic-1FTPleHH.woff2 similarity index 100% rename from fittrackee/dist/static/fonts/pt-sans-v9-latin-italic-b0c71d14.woff2 rename to fittrackee/dist/static/fonts/pt-sans-v9-latin-italic-1FTPleHH.woff2 diff --git a/fittrackee/dist/static/fonts/pt-sans-v9-latin-italic-d64e4cc3.eot b/fittrackee/dist/static/fonts/pt-sans-v9-latin-italic-4DDtZWYF.eot similarity index 100% rename from fittrackee/dist/static/fonts/pt-sans-v9-latin-italic-d64e4cc3.eot rename to fittrackee/dist/static/fonts/pt-sans-v9-latin-italic-4DDtZWYF.eot diff --git a/fittrackee/dist/static/fonts/pt-sans-v9-latin-italic-6ba71e58.woff b/fittrackee/dist/static/fonts/pt-sans-v9-latin-italic-DwGwmXuQ.woff similarity index 100% rename from fittrackee/dist/static/fonts/pt-sans-v9-latin-italic-6ba71e58.woff rename to fittrackee/dist/static/fonts/pt-sans-v9-latin-italic-DwGwmXuQ.woff diff --git a/fittrackee/dist/static/fonts/pt-sans-v9-latin-italic-1d78cd1f.ttf b/fittrackee/dist/static/fonts/pt-sans-v9-latin-italic-I2gXY_1s.ttf similarity index 100% rename from fittrackee/dist/static/fonts/pt-sans-v9-latin-italic-1d78cd1f.ttf rename to fittrackee/dist/static/fonts/pt-sans-v9-latin-italic-I2gXY_1s.ttf diff --git a/fittrackee/dist/static/fonts/pt-sans-v9-latin-italic-0b2a1680.svg b/fittrackee/dist/static/fonts/pt-sans-v9-latin-italic-YH_Gnq5o.svg similarity index 100% rename from fittrackee/dist/static/fonts/pt-sans-v9-latin-italic-0b2a1680.svg rename to fittrackee/dist/static/fonts/pt-sans-v9-latin-italic-YH_Gnq5o.svg diff --git a/fittrackee/dist/static/fonts/pt-sans-v9-latin-regular-96f1a1a9.svg b/fittrackee/dist/static/fonts/pt-sans-v9-latin-regular-21U27O2x.svg similarity index 100% rename from fittrackee/dist/static/fonts/pt-sans-v9-latin-regular-96f1a1a9.svg rename to fittrackee/dist/static/fonts/pt-sans-v9-latin-regular-21U27O2x.svg diff --git a/fittrackee/dist/static/fonts/pt-sans-v9-latin-regular-143c5c01.woff2 b/fittrackee/dist/static/fonts/pt-sans-v9-latin-regular-45aO1uf0.woff2 similarity index 100% rename from fittrackee/dist/static/fonts/pt-sans-v9-latin-regular-143c5c01.woff2 rename to fittrackee/dist/static/fonts/pt-sans-v9-latin-regular-45aO1uf0.woff2 diff --git a/fittrackee/dist/static/fonts/pt-sans-v9-latin-regular-ecf0da3b.woff b/fittrackee/dist/static/fonts/pt-sans-v9-latin-regular-IXe2Axuj.woff similarity index 100% rename from fittrackee/dist/static/fonts/pt-sans-v9-latin-regular-ecf0da3b.woff rename to fittrackee/dist/static/fonts/pt-sans-v9-latin-regular-IXe2Axuj.woff diff --git a/fittrackee/dist/static/fonts/pt-sans-v9-latin-regular-60032a5a.eot b/fittrackee/dist/static/fonts/pt-sans-v9-latin-regular-T9JcUGms.eot similarity index 100% rename from fittrackee/dist/static/fonts/pt-sans-v9-latin-regular-60032a5a.eot rename to fittrackee/dist/static/fonts/pt-sans-v9-latin-regular-T9JcUGms.eot diff --git a/fittrackee/dist/static/fonts/pt-sans-v9-latin-regular-ed3b51f6.ttf b/fittrackee/dist/static/fonts/pt-sans-v9-latin-regular-pqSZZJmj.ttf similarity index 100% rename from fittrackee/dist/static/fonts/pt-sans-v9-latin-regular-ed3b51f6.ttf rename to fittrackee/dist/static/fonts/pt-sans-v9-latin-regular-pqSZZJmj.ttf diff --git a/fittrackee/dist/static/img/map-5e472f63.svg b/fittrackee/dist/static/img/map-3oCLAjmu.svg similarity index 100% rename from fittrackee/dist/static/img/map-5e472f63.svg rename to fittrackee/dist/static/img/map-3oCLAjmu.svg diff --git a/fittrackee/dist/static/index-0EDbp-Wc.js b/fittrackee/dist/static/index-0EDbp-Wc.js new file mode 100644 index 00000000..03b26d99 --- /dev/null +++ b/fittrackee/dist/static/index-0EDbp-Wc.js @@ -0,0 +1,457 @@ +import{C as Kd,B as $h,L as kh,a as OS,b as IS,P as vS,p as RS,c as bS,d as NS,i as CS,e as yS,f as DS,g as PS}from"./charts-_RwsDDkL.js";import{c as De,g as wS,a as Yd}from"./maps-ZyuCPqes.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const s of a)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(a){const s={};return a.integrity&&(s.integrity=a.integrity),a.referrerPolicy&&(s.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?s.credentials="include":a.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(a){if(a.ep)return;a.ep=!0;const s=n(a);fetch(a.href,s)}})();function LS(e,t){const n=Object.create(null),r=e.split(",");for(let a=0;a!!n[a.toLowerCase()]:a=>!!n[a]}const $S=()=>{},kS=Object.prototype.hasOwnProperty,Mo=(e,t)=>kS.call(e,t),pr=Array.isArray,So=e=>Uh(e)==="[object Map]",US=e=>typeof e=="function",MS=e=>typeof e=="string",zu=e=>typeof e=="symbol",Bu=e=>e!==null&&typeof e=="object",xS=Object.prototype.toString,Uh=e=>xS.call(e),FS=e=>Uh(e).slice(8,-1),qd=e=>MS(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,vi=(e,t)=>!Object.is(e,t),WS=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})};let Nn;class Mh{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Nn,!t&&Nn&&(this.index=(Nn.scopes||(Nn.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Nn;try{return Nn=this,t()}finally{Nn=n}}}on(){Nn=this}off(){Nn=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},Fh=e=>(e.w&Br)>0,Wh=e=>(e.n&Br)>0,BS=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{(l==="length"||!zu(l)&&l>=u)&&o.push(c)})}else switch(n!==void 0&&o.push(i.get(n)),t){case"add":pr(e)?qd(n)&&o.push(i.get("length")):(o.push(i.get(la)),So(e)&&o.push(i.get(Sl)));break;case"delete":pr(e)||(o.push(i.get(la)),So(e)&&o.push(i.get(Sl)));break;case"set":So(e)&&o.push(i.get(la));break}if(o.length===1)o[0]&&Ol(o[0]);else{const u=[];for(const c of o)c&&u.push(...c);Ol(Xd(u))}}function Ol(e,t){const n=pr(e)?e:[...e];for(const r of n)r.computed&&L0(r);for(const r of n)r.computed||L0(r)}function L0(e,t){(e!==Cn||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function jS(e,t){var n;return(n=xo.get(e))==null?void 0:n.get(t)}const VS=LS("__proto__,__v_isRef,__isVue"),Bh=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(zu)),$0=KS();function KS(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Je(this);for(let s=0,i=this.length;s{e[t]=function(...n){ps();const r=Je(this)[t].apply(this,n);return ms(),r}}),e}function YS(e){const t=Je(this);return cn(t,"has",e),t.hasOwnProperty(e)}class Hh{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,r){const a=this._isReadonly,s=this._shallow;if(n==="__v_isReactive")return!a;if(n==="__v_isReadonly")return a;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(a?s?oO:Yh:s?Kh:Vh).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=pr(t);if(!a){if(i&&Mo($0,n))return Reflect.get($0,n,r);if(n==="hasOwnProperty")return YS}const o=Reflect.get(t,n,r);return(zu(n)?Bh.has(n):VS(n))||(a||cn(t,"get",n),s)?o:Bt(o)?i&&qd(n)?o:o.value:Bu(o)?a?Xh(o):xt(o):o}}class jh extends Hh{constructor(t=!1){super(!1,t)}set(t,n,r,a){let s=t[n];if(!this._shallow){const u=Ha(s);if(!Fo(r)&&!Ha(r)&&(s=Je(s),r=Je(r)),!pr(t)&&Bt(s)&&!Bt(r))return u?!1:(s.value=r,!0)}const i=pr(t)&&qd(n)?Number(n)e,Hu=e=>Reflect.getPrototypeOf(e);function Bi(e,t,n=!1,r=!1){e=e.__v_raw;const a=Je(e),s=Je(t);n||(vi(t,s)&&cn(a,"get",t),cn(a,"get",s));const{has:i}=Hu(a),o=r?Qd:n?tf:Js;if(i.call(a,t))return o(e.get(t));if(i.call(a,s))return o(e.get(s));e!==a&&e.get(t)}function Hi(e,t=!1){const n=this.__v_raw,r=Je(n),a=Je(e);return t||(vi(e,a)&&cn(r,"has",e),cn(r,"has",a)),e===a?n.has(e):n.has(e)||n.has(a)}function ji(e,t=!1){return e=e.__v_raw,!t&&cn(Je(e),"iterate",la),Reflect.get(e,"size",e)}function k0(e){e=Je(e);const t=Je(this);return Hu(t).has.call(t,e)||(t.add(e),mr(t,"add",e,e)),this}function U0(e,t){t=Je(t);const n=Je(this),{has:r,get:a}=Hu(n);let s=r.call(n,e);s||(e=Je(e),s=r.call(n,e));const i=a.call(n,e);return n.set(e,t),s?vi(t,i)&&mr(n,"set",e,t):mr(n,"add",e,t),this}function M0(e){const t=Je(this),{has:n,get:r}=Hu(t);let a=n.call(t,e);a||(e=Je(e),a=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return a&&mr(t,"delete",e,void 0),s}function x0(){const e=Je(this),t=e.size!==0,n=e.clear();return t&&mr(e,"clear",void 0,void 0),n}function Vi(e,t){return function(r,a){const s=this,i=s.__v_raw,o=Je(i),u=t?Qd:e?tf:Js;return!e&&cn(o,"iterate",la),i.forEach((c,l)=>r.call(a,u(c),u(l),s))}}function Ki(e,t,n){return function(...r){const a=this.__v_raw,s=Je(a),i=So(s),o=e==="entries"||e===Symbol.iterator&&i,u=e==="keys"&&i,c=a[e](...r),l=n?Qd:t?tf:Js;return!t&&cn(s,"iterate",u?Sl:la),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:o?[l(f[0]),l(f[1])]:l(f),done:d}},[Symbol.iterator](){return this}}}}function br(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function JS(){const e={get(s){return Bi(this,s)},get size(){return ji(this)},has:Hi,add:k0,set:U0,delete:M0,clear:x0,forEach:Vi(!1,!1)},t={get(s){return Bi(this,s,!1,!0)},get size(){return ji(this)},has:Hi,add:k0,set:U0,delete:M0,clear:x0,forEach:Vi(!1,!0)},n={get(s){return Bi(this,s,!0)},get size(){return ji(this,!0)},has(s){return Hi.call(this,s,!0)},add:br("add"),set:br("set"),delete:br("delete"),clear:br("clear"),forEach:Vi(!0,!1)},r={get(s){return Bi(this,s,!0,!0)},get size(){return ji(this,!0)},has(s){return Hi.call(this,s,!0)},add:br("add"),set:br("set"),delete:br("delete"),clear:br("clear"),forEach:Vi(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=Ki(s,!1,!1),n[s]=Ki(s,!0,!1),t[s]=Ki(s,!1,!0),r[s]=Ki(s,!0,!0)}),[e,n,t,r]}const[eO,tO,nO,rO]=JS();function Jd(e,t){const n=t?e?rO:nO:e?tO:eO;return(r,a,s)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?r:Reflect.get(Mo(n,a)&&a in r?n:r,a,s)}const aO={get:Jd(!1,!1)},sO={get:Jd(!1,!0)},iO={get:Jd(!0,!1)},Vh=new WeakMap,Kh=new WeakMap,Yh=new WeakMap,oO=new WeakMap;function uO(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function cO(e){return e.__v_skip||!Object.isExtensible(e)?0:uO(FS(e))}function xt(e){return Ha(e)?e:ef(e,!1,XS,aO,Vh)}function qh(e){return ef(e,!1,QS,sO,Kh)}function Xh(e){return ef(e,!0,ZS,iO,Yh)}function ef(e,t,n,r,a){if(!Bu(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=a.get(e);if(s)return s;const i=cO(e);if(i===0)return e;const o=new Proxy(e,i===2?r:n);return a.set(e,o),o}function Fa(e){return Ha(e)?Fa(e.__v_raw):!!(e&&e.__v_isReactive)}function Ha(e){return!!(e&&e.__v_isReadonly)}function Fo(e){return!!(e&&e.__v_isShallow)}function ju(e){return Fa(e)||Ha(e)}function Je(e){const t=e&&e.__v_raw;return t?Je(t):e}function er(e){return WS(e,"__v_skip",!0),e}const Js=e=>Bu(e)?xt(e):e,tf=e=>Bu(e)?Xh(e):e;function Zh(e){Gr&&Cn&&(e=Je(e),zh(e.dep||(e.dep=Xd())))}function Qh(e,t){e=Je(e);const n=e.dep;n&&Ol(n)}function Bt(e){return!!(e&&e.__v_isRef===!0)}function ce(e){return Jh(e,!1)}function Vu(e){return Jh(e,!0)}function Jh(e,t){return Bt(e)?e:new lO(e,t)}class lO{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Je(t),this._value=n?t:Js(t)}get value(){return Zh(this),this._value}set value(t){const n=this.__v_isShallow||Fo(t)||Ha(t);t=n?t:Je(t),vi(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Js(t),Qh(this))}}function h(e){return Bt(e)?e.value:e}const dO={get:(e,t,n)=>h(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const a=e[t];return Bt(a)&&!Bt(n)?(a.value=n,!0):Reflect.set(e,t,n,r)}};function e_(e){return Fa(e)?e:new Proxy(e,dO)}function _e(e){const t=pr(e)?new Array(e.length):{};for(const n in e)t[n]=pO(e,n);return t}class fO{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return jS(Je(this._object),this._key)}}function pO(e,t,n){const r=e[t];return Bt(r)?r:new fO(e,t,n)}class mO{constructor(t,n,r,a){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Zd(t,()=>{this._dirty||(this._dirty=!0,Qh(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!a,this.__v_isReadonly=r}get value(){const t=Je(this);return Zh(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function EO(e,t,n=!1){let r,a;const s=US(e);return s?(r=e,a=$S):(r=e.get,a=e.set),new mO(r,a,s||!a,n)}function hO(e,t){const n=Object.create(null),r=e.split(",");for(let a=0;a!!n[a.toLowerCase()]:a=>!!n[a]}const Et={},Wa=[],Er=()=>{},_O=()=>!1,nf=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),t_=e=>e.startsWith("onUpdate:"),Ht=Object.assign,rf=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},TO=Object.prototype.hasOwnProperty,it=(e,t)=>TO.call(e,t),Qe=Array.isArray,n_=e=>af(e)==="[object Map]",r_=e=>af(e)==="[object Set]",He=e=>typeof e=="function",tn=e=>typeof e=="string",a_=e=>typeof e=="symbol",Nt=e=>e!==null&&typeof e=="object",s_=e=>(Nt(e)||He(e))&&He(e.then)&&He(e.catch),i_=Object.prototype.toString,af=e=>i_.call(e),o_=e=>af(e)==="[object Object]",Oo=hO(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ku=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},gO=/-(\w)/g,Jn=Ku(e=>e.replace(gO,(t,n)=>n?n.toUpperCase():"")),AO=/\B([A-Z])/g,Yu=Ku(e=>e.replace(AO,"-$1").toLowerCase()),St=Ku(e=>e.charAt(0).toUpperCase()+e.slice(1)),wc=Ku(e=>e?`on${St(e)}`:""),F0=(e,t)=>!Object.is(e,t),Lc=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},SO=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let W0;const vl=()=>W0||(W0=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Kr(e){if(Qe(e)){const t={};for(let n=0;n{if(n){const r=n.split(IO);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function ge(e){let t="";if(tn(e))t=e;else if(Qe(e))for(let n=0;ntn(e)?e:e==null?"":Qe(e)||Nt(e)&&(e.toString===i_||!He(e.toString))?JSON.stringify(e,u_,2):String(e),u_=(e,t)=>t&&t.__v_isRef?u_(e,t.value):n_(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,a],s)=>(n[$c(r,s)+" =>"]=a,n),{})}:r_(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>$c(n))}:a_(t)?$c(t):Nt(t)&&!Qe(t)&&!o_(t)?String(t):t,$c=(e,t="")=>{var n;return a_(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function zr(e,t,n,r){let a;try{a=r?e(...r):e()}catch(s){qu(s,t,n)}return a}function Pn(e,t,n,r){if(He(e)){const s=zr(e,t,n,r);return s&&s_(s)&&s.catch(i=>{qu(i,t,n)}),s}const a=[];for(let s=0;s>>1,a=zt[r],s=ti(a);sYn&&zt.splice(t,1)}function yO(e){Qe(e)?Ga.push(...e):(!cr||!cr.includes(e,e.allowRecurse?aa+1:aa))&&Ga.push(e),l_()}function G0(e,t,n=ei?Yn+1:0){for(;nti(n)-ti(r)),aa=0;aae.id==null?1/0:e.id,DO=(e,t)=>{const n=ti(e)-ti(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function f_(e){Rl=!1,ei=!0,zt.sort(DO);try{for(Yn=0;Yntn(m)?m.trim():m)),f&&(a=n.map(SO))}let o,u=r[o=wc(t)]||r[o=wc(Jn(t))];!u&&s&&(u=r[o=wc(Yu(t))]),u&&Pn(u,e,6,a);const c=r[o+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[o])return;e.emitted[o]=!0,Pn(c,e,6,a)}}function p_(e,t,n=!1){const r=t.emitsCache,a=r.get(e);if(a!==void 0)return a;const s=e.emits;let i={},o=!1;if(!He(e)){const u=c=>{const l=p_(c,t,!0);l&&(o=!0,Ht(i,l))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!s&&!o?(Nt(e)&&r.set(e,null),null):(Qe(s)?s.forEach(u=>i[u]=null):Ht(i,s),Nt(e)&&r.set(e,i),i)}function Xu(e,t){return!e||!nf(t)?!1:(t=t.slice(2).replace(/Once$/,""),it(e,t[0].toLowerCase()+t.slice(1))||it(e,Yu(t))||it(e,t))}let Mt=null,Zu=null;function Wo(e){const t=Mt;return Mt=e,Zu=e&&e.type.__scopeId||null,t}function ut(e){Zu=e}function ct(){Zu=null}function fe(e,t=Mt,n){if(!t||e._n)return e;const r=(...a)=>{r._d&&J0(-1);const s=Wo(t);let i;try{i=e(...a)}finally{Wo(s),r._d&&J0(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function kc(e){const{type:t,vnode:n,proxy:r,withProxy:a,props:s,propsOptions:[i],slots:o,attrs:u,emit:c,render:l,renderCache:f,data:d,setupState:m,ctx:E,inheritAttrs:g}=e;let b,O;const R=Wo(e);try{if(n.shapeFlag&4){const T=a||r,L=T;b=Kn(l.call(L,T,f,s,m,d,E)),O=u}else{const T=t;b=Kn(T.length>1?T(s,{attrs:u,slots:o,emit:c}):T(s,null)),O=t.props?u:wO(u)}}catch(T){Bs.length=0,qu(T,e,1),b=U(Hr)}let v=b;if(O&&g!==!1){const T=Object.keys(O),{shapeFlag:L}=v;T.length&&L&7&&(i&&T.some(t_)&&(O=LO(O,i)),v=Va(v,O))}return n.dirs&&(v=Va(v),v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&(v.transition=n.transition),b=v,Wo(R),b}const wO=e=>{let t;for(const n in e)(n==="class"||n==="style"||nf(n))&&((t||(t={}))[n]=e[n]);return t},LO=(e,t)=>{const n={};for(const r in e)(!t_(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function $O(e,t,n){const{props:r,children:a,component:s}=e,{props:i,children:o,patchFlag:u}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return r?z0(r,i,c):!!i;if(u&8){const l=t.dynamicProps;for(let f=0;fe.__isSuspense;function WO(e,t){t&&t.pendingBranch?Qe(e)?t.effects.push(...e):t.effects.push(e):yO(e)}const Yi={};function Ge(e,t,n){return h_(e,t,n)}function h_(e,t,{immediate:n,deep:r,flush:a,onTrack:s,onTrigger:i}=Et){var o;const u=zS()===((o=Lt)==null?void 0:o.scope)?Lt:null;let c,l=!1,f=!1;if(Bt(e)?(c=()=>e.value,l=Fo(e)):Fa(e)?(c=()=>e,r=!0):Qe(e)?(f=!0,l=e.some(T=>Fa(T)||Fo(T)),c=()=>e.map(T=>{if(Bt(T))return T.value;if(Fa(T))return oa(T);if(He(T))return zr(T,u,2)})):He(e)?t?c=()=>zr(e,u,2):c=()=>{if(!(u&&u.isUnmounted))return d&&d(),Pn(e,u,3,[m])}:c=Er,t&&r){const T=c;c=()=>oa(T())}let d,m=T=>{d=R.onStop=()=>{zr(T,u,4),d=R.onStop=void 0}},E;if(ai)if(m=Er,t?n&&Pn(t,u,3,[c(),f?[]:void 0,m]):c(),a==="sync"){const T=PI();E=T.__watcherHandles||(T.__watcherHandles=[])}else return Er;let g=f?new Array(e.length).fill(Yi):Yi;const b=()=>{if(R.active)if(t){const T=R.run();(r||l||(f?T.some((L,w)=>F0(L,g[w])):F0(T,g)))&&(d&&d(),Pn(t,u,3,[T,g===Yi?void 0:f&&g[0]===Yi?[]:g,m]),g=T)}else R.run()};b.allowRecurse=!!t;let O;a==="sync"?O=b:a==="post"?O=()=>rn(b,u&&u.suspense):(b.pre=!0,u&&(b.id=u.uid),O=()=>of(b));const R=new Zd(c,O);t?n?b():g=R.run():a==="post"?rn(R.run.bind(R),u&&u.suspense):R.run();const v=()=>{R.stop(),u&&u.scope&&rf(u.scope.effects,R)};return E&&E.push(v),v}function GO(e,t,n){const r=this.proxy,a=tn(e)?e.includes(".")?__(r,e):()=>r[e]:e.bind(r,r);let s;He(t)?s=t:(s=t.handler,n=t);const i=Lt;Ka(this);const o=h_(a,s.bind(r),n);return i?Ka(i):da(),o}function __(e,t){const n=t.split(".");return()=>{let r=e;for(let a=0;a{oa(n,t)});else if(o_(e))for(const n in e)oa(e[n],t);return e}function qe(e,t){const n=Mt;if(n===null)return e;const r=ec(n)||n.proxy,a=e.dirs||(e.dirs=[]);for(let s=0;s!!e.type.__asyncLoader,T_=e=>e.type.__isKeepAlive;function zO(e,t){g_(e,"a",t)}function BO(e,t){g_(e,"da",t)}function g_(e,t,n=Lt){const r=e.__wdc||(e.__wdc=()=>{let a=n;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(Qu(t,r,n),n){let a=n.parent;for(;a&&a.parent;)T_(a.parent.vnode)&&HO(r,t,n,a),a=a.parent}}function HO(e,t,n,r){const a=Qu(t,e,r,!0);Rt(()=>{rf(r[t],a)},n)}function Qu(e,t,n=Lt,r=!1){if(n){const a=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;ps(),Ka(n);const o=Pn(t,n,e,i);return da(),ms(),o});return r?a.unshift(s):a.push(s),s}}const Ar=e=>(t,n=Lt)=>(!ai||e==="sp")&&Qu(e,(...r)=>t(...r),n),vt=Ar("bm"),gt=Ar("m"),jO=Ar("bu"),VO=Ar("u"),Ri=Ar("bum"),Rt=Ar("um"),KO=Ar("sp"),YO=Ar("rtg"),qO=Ar("rtc");function XO(e,t=Lt){Qu("ec",e,t)}function We(e,t,n,r){let a;const s=n&&n[r];if(Qe(e)||tn(e)){a=new Array(e.length);for(let i=0,o=e.length;it(i,o,void 0,s&&s[o]));else{const i=Object.keys(e);a=new Array(i.length);for(let o=0,u=i.length;oBo(t)?!(t.type===Hr||t.type===Ie&&!A_(t.children)):!0)?e:null}const bl=e=>e?w_(e)?ec(e)||e.proxy:bl(e.parent):null,Gs=Ht(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>bl(e.parent),$root:e=>bl(e.root),$emit:e=>e.emit,$options:e=>uf(e),$forceUpdate:e=>e.f||(e.f=()=>of(e.update)),$nextTick:e=>e.n||(e.n=gn.bind(e.proxy)),$watch:e=>GO.bind(e)}),Uc=(e,t)=>e!==Et&&!e.__isScriptSetup&&it(e,t),ZO={get({_:e},t){const{ctx:n,setupState:r,data:a,props:s,accessCache:i,type:o,appContext:u}=e;let c;if(t[0]!=="$"){const m=i[t];if(m!==void 0)switch(m){case 1:return r[t];case 2:return a[t];case 4:return n[t];case 3:return s[t]}else{if(Uc(r,t))return i[t]=1,r[t];if(a!==Et&&it(a,t))return i[t]=2,a[t];if((c=e.propsOptions[0])&&it(c,t))return i[t]=3,s[t];if(n!==Et&&it(n,t))return i[t]=4,n[t];Nl&&(i[t]=0)}}const l=Gs[t];let f,d;if(l)return t==="$attrs"&&cn(e,"get",t),l(e);if((f=o.__cssModules)&&(f=f[t]))return f;if(n!==Et&&it(n,t))return i[t]=4,n[t];if(d=u.config.globalProperties,it(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:a,ctx:s}=e;return Uc(a,t)?(a[t]=n,!0):r!==Et&&it(r,t)?(r[t]=n,!0):it(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:a,propsOptions:s}},i){let o;return!!n[i]||e!==Et&&it(e,i)||Uc(t,i)||(o=s[0])&&it(o,i)||it(r,i)||it(Gs,i)||it(a.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:it(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function H0(e){return Qe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Nl=!0;function QO(e){const t=uf(e),n=e.proxy,r=e.ctx;Nl=!1,t.beforeCreate&&j0(t.beforeCreate,e,"bc");const{data:a,computed:s,methods:i,watch:o,provide:u,inject:c,created:l,beforeMount:f,mounted:d,beforeUpdate:m,updated:E,activated:g,deactivated:b,beforeDestroy:O,beforeUnmount:R,destroyed:v,unmounted:T,render:L,renderTracked:w,renderTriggered:P,errorCaptured:j,serverPrefetch:G,expose:z,inheritAttrs:k,components:Z,directives:ee,filters:re}=t;if(c&&JO(c,r,null),i)for(const H in i){const se=i[H];He(se)&&(r[H]=se.bind(n))}if(a){const H=a.call(n,n);Nt(H)&&(e.data=xt(H))}if(Nl=!0,s)for(const H in s){const se=s[H],Pe=He(se)?se.bind(n,n):He(se.get)?se.get.bind(n,n):Er,xe=!He(se)&&He(se.set)?se.set.bind(n):Er,Ae=$({get:Pe,set:xe});Object.defineProperty(r,H,{enumerable:!0,configurable:!0,get:()=>Ae.value,set:ye=>Ae.value=ye})}if(o)for(const H in o)S_(o[H],r,n,H);if(u){const H=He(u)?u.call(n):u;Reflect.ownKeys(H).forEach(se=>{Jt(se,H[se])})}l&&j0(l,e,"c");function W(H,se){Qe(se)?se.forEach(Pe=>H(Pe.bind(n))):se&&H(se.bind(n))}if(W(vt,f),W(gt,d),W(jO,m),W(VO,E),W(zO,g),W(BO,b),W(XO,j),W(qO,w),W(YO,P),W(Ri,R),W(Rt,T),W(KO,G),Qe(z))if(z.length){const H=e.exposed||(e.exposed={});z.forEach(se=>{Object.defineProperty(H,se,{get:()=>n[se],set:Pe=>n[se]=Pe})})}else e.exposed||(e.exposed={});L&&e.render===Er&&(e.render=L),k!=null&&(e.inheritAttrs=k),Z&&(e.components=Z),ee&&(e.directives=ee)}function JO(e,t,n=Er){Qe(e)&&(e=Cl(e));for(const r in e){const a=e[r];let s;Nt(a)?"default"in a?s=ht(a.from||r,a.default,!0):s=ht(a.from||r):s=ht(a),Bt(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function j0(e,t,n){Pn(Qe(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function S_(e,t,n,r){const a=r.includes(".")?__(n,r):()=>n[r];if(tn(e)){const s=t[e];He(s)&&Ge(a,s)}else if(He(e))Ge(a,e.bind(n));else if(Nt(e))if(Qe(e))e.forEach(s=>S_(s,t,n,r));else{const s=He(e.handler)?e.handler.bind(n):t[e.handler];He(s)&&Ge(a,s,e)}}function uf(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:a,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,o=s.get(t);let u;return o?u=o:!a.length&&!n&&!r?u=t:(u={},a.length&&a.forEach(c=>Go(u,c,i,!0)),Go(u,t,i)),Nt(t)&&s.set(t,u),u}function Go(e,t,n,r=!1){const{mixins:a,extends:s}=t;s&&Go(e,s,n,!0),a&&a.forEach(i=>Go(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const o=eI[i]||n&&n[i];e[i]=o?o(e[i],t[i]):t[i]}return e}const eI={data:V0,props:K0,emits:K0,methods:xs,computed:xs,beforeCreate:Kt,created:Kt,beforeMount:Kt,mounted:Kt,beforeUpdate:Kt,updated:Kt,beforeDestroy:Kt,beforeUnmount:Kt,destroyed:Kt,unmounted:Kt,activated:Kt,deactivated:Kt,errorCaptured:Kt,serverPrefetch:Kt,components:xs,directives:xs,watch:nI,provide:V0,inject:tI};function V0(e,t){return t?e?function(){return Ht(He(e)?e.call(this,this):e,He(t)?t.call(this,this):t)}:t:e}function tI(e,t){return xs(Cl(e),Cl(t))}function Cl(e){if(Qe(e)){const t={};for(let n=0;n1)return n&&He(t)?t.call(r&&r.proxy):t}}function sI(e,t,n,r=!1){const a={},s={};Il(s,Ju,1),e.propsDefaults=Object.create(null),I_(e,t,a,s);for(const i in e.propsOptions[0])i in a||(a[i]=void 0);n?e.props=r?a:qh(a):e.type.props?e.props=a:e.props=s,e.attrs=s}function iI(e,t,n,r){const{props:a,attrs:s,vnode:{patchFlag:i}}=e,o=Je(a),[u]=e.propsOptions;let c=!1;if((r||i>0)&&!(i&16)){if(i&8){const l=e.vnode.dynamicProps;for(let f=0;f{u=!0;const[d,m]=v_(f,t,!0);Ht(i,d),m&&o.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}if(!s&&!u)return Nt(e)&&r.set(e,Wa),Wa;if(Qe(s))for(let l=0;l-1,m[1]=g<0||E-1||it(m,"default"))&&o.push(f)}}}const c=[i,o];return Nt(e)&&r.set(e,c),c}function Y0(e){return e[0]!=="$"}function q0(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function X0(e,t){return q0(e)===q0(t)}function Z0(e,t){return Qe(t)?t.findIndex(n=>X0(n,e)):He(t)&&X0(t,e)?0:-1}const R_=e=>e[0]==="_"||e==="$stable",cf=e=>Qe(e)?e.map(Kn):[Kn(e)],oI=(e,t,n)=>{if(t._n)return t;const r=fe((...a)=>cf(t(...a)),n);return r._c=!1,r},b_=(e,t,n)=>{const r=e._ctx;for(const a in e){if(R_(a))continue;const s=e[a];if(He(s))t[a]=oI(a,s,r);else if(s!=null){const i=cf(s);t[a]=()=>i}}},N_=(e,t)=>{const n=cf(t);e.slots.default=()=>n},uI=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Je(t),Il(t,"_",n)):b_(t,e.slots={})}else e.slots={},t&&N_(e,t);Il(e.slots,Ju,1)},cI=(e,t,n)=>{const{vnode:r,slots:a}=e;let s=!0,i=Et;if(r.shapeFlag&32){const o=t._;o?n&&o===1?s=!1:(Ht(a,t),!n&&o===1&&delete a._):(s=!t.$stable,b_(t,a)),i=t}else t&&(N_(e,t),i={default:1});if(s)for(const o in a)!R_(o)&&i[o]==null&&delete a[o]};function Dl(e,t,n,r,a=!1){if(Qe(e)){e.forEach((d,m)=>Dl(d,t&&(Qe(t)?t[m]:t),n,r,a));return}if(Ws(r)&&!a)return;const s=r.shapeFlag&4?ec(r.component)||r.component.proxy:r.el,i=a?null:s,{i:o,r:u}=e,c=t&&t.r,l=o.refs===Et?o.refs={}:o.refs,f=o.setupState;if(c!=null&&c!==u&&(tn(c)?(l[c]=null,it(f,c)&&(f[c]=null)):Bt(c)&&(c.value=null)),He(u))zr(u,o,12,[i,l]);else{const d=tn(u),m=Bt(u);if(d||m){const E=()=>{if(e.f){const g=d?it(f,u)?f[u]:l[u]:u.value;a?Qe(g)&&rf(g,s):Qe(g)?g.includes(s)||g.push(s):d?(l[u]=[s],it(f,u)&&(f[u]=l[u])):(u.value=[s],e.k&&(l[e.k]=u.value))}else d?(l[u]=i,it(f,u)&&(f[u]=i)):m&&(u.value=i,e.k&&(l[e.k]=i))};i?(E.id=-1,rn(E,n)):E()}}}const rn=WO;function lI(e){return dI(e)}function dI(e,t){const n=vl();n.__VUE__=!0;const{insert:r,remove:a,patchProp:s,createElement:i,createText:o,createComment:u,setText:c,setElementText:l,parentNode:f,nextSibling:d,setScopeId:m=Er,insertStaticContent:E}=e,g=(y,S,I,C=null,M=null,B=null,te=!1,oe=null,de=!!S.dynamicChildren)=>{if(y===S)return;y&&!bs(y,S)&&(C=X(y),ye(y,M,B,!0),y=null),S.patchFlag===-2&&(de=!1,S.dynamicChildren=null);const{type:ie,ref:ve,shapeFlag:Ee}=S;switch(ie){case bi:b(y,S,I,C);break;case Hr:O(y,S,I,C);break;case Io:y==null&&R(S,I,C,te);break;case Ie:Z(y,S,I,C,M,B,te,oe,de);break;default:Ee&1?L(y,S,I,C,M,B,te,oe,de):Ee&6?ee(y,S,I,C,M,B,te,oe,de):(Ee&64||Ee&128)&&ie.process(y,S,I,C,M,B,te,oe,de,le)}ve!=null&&M&&Dl(ve,y&&y.ref,B,S||y,!S)},b=(y,S,I,C)=>{if(y==null)r(S.el=o(S.children),I,C);else{const M=S.el=y.el;S.children!==y.children&&c(M,S.children)}},O=(y,S,I,C)=>{y==null?r(S.el=u(S.children||""),I,C):S.el=y.el},R=(y,S,I,C)=>{[y.el,y.anchor]=E(y.children,S,I,C,y.el,y.anchor)},v=({el:y,anchor:S},I,C)=>{let M;for(;y&&y!==S;)M=d(y),r(y,I,C),y=M;r(S,I,C)},T=({el:y,anchor:S})=>{let I;for(;y&&y!==S;)I=d(y),a(y),y=I;a(S)},L=(y,S,I,C,M,B,te,oe,de)=>{te=te||S.type==="svg",y==null?w(S,I,C,M,B,te,oe,de):G(y,S,M,B,te,oe,de)},w=(y,S,I,C,M,B,te,oe)=>{let de,ie;const{type:ve,props:Ee,shapeFlag:F,transition:q,dirs:Oe}=y;if(de=y.el=i(y.type,B,Ee&&Ee.is,Ee),F&8?l(de,y.children):F&16&&j(y.children,de,null,C,M,B&&ve!=="foreignObject",te,oe),Oe&&ea(y,null,C,"created"),P(de,y,y.scopeId,te,C),Ee){for(const Ze in Ee)Ze!=="value"&&!Oo(Ze)&&s(de,Ze,null,Ee[Ze],B,y.children,C,M,rt);"value"in Ee&&s(de,"value",null,Ee.value),(ie=Ee.onVnodeBeforeMount)&&Wn(ie,C,y)}Oe&&ea(y,null,C,"beforeMount");const Ne=fI(M,q);Ne&&q.beforeEnter(de),r(de,S,I),((ie=Ee&&Ee.onVnodeMounted)||Ne||Oe)&&rn(()=>{ie&&Wn(ie,C,y),Ne&&q.enter(de),Oe&&ea(y,null,C,"mounted")},M)},P=(y,S,I,C,M)=>{if(I&&m(y,I),C)for(let B=0;B{for(let ie=de;ie{const oe=S.el=y.el;let{patchFlag:de,dynamicChildren:ie,dirs:ve}=S;de|=y.patchFlag&16;const Ee=y.props||Et,F=S.props||Et;let q;I&&ta(I,!1),(q=F.onVnodeBeforeUpdate)&&Wn(q,I,S,y),ve&&ea(S,y,I,"beforeUpdate"),I&&ta(I,!0);const Oe=M&&S.type!=="foreignObject";if(ie?z(y.dynamicChildren,ie,oe,I,C,Oe,B):te||se(y,S,oe,null,I,C,Oe,B,!1),de>0){if(de&16)k(oe,S,Ee,F,I,C,M);else if(de&2&&Ee.class!==F.class&&s(oe,"class",null,F.class,M),de&4&&s(oe,"style",Ee.style,F.style,M),de&8){const Ne=S.dynamicProps;for(let Ze=0;Ze{q&&Wn(q,I,S,y),ve&&ea(S,y,I,"updated")},C)},z=(y,S,I,C,M,B,te)=>{for(let oe=0;oe{if(I!==C){if(I!==Et)for(const oe in I)!Oo(oe)&&!(oe in C)&&s(y,oe,I[oe],null,te,S.children,M,B,rt);for(const oe in C){if(Oo(oe))continue;const de=C[oe],ie=I[oe];de!==ie&&oe!=="value"&&s(y,oe,ie,de,te,S.children,M,B,rt)}"value"in C&&s(y,"value",I.value,C.value)}},Z=(y,S,I,C,M,B,te,oe,de)=>{const ie=S.el=y?y.el:o(""),ve=S.anchor=y?y.anchor:o("");let{patchFlag:Ee,dynamicChildren:F,slotScopeIds:q}=S;q&&(oe=oe?oe.concat(q):q),y==null?(r(ie,I,C),r(ve,I,C),j(S.children,I,ve,M,B,te,oe,de)):Ee>0&&Ee&64&&F&&y.dynamicChildren?(z(y.dynamicChildren,F,I,M,B,te,oe),(S.key!=null||M&&S===M.subTree)&&lf(y,S,!0)):se(y,S,I,ve,M,B,te,oe,de)},ee=(y,S,I,C,M,B,te,oe,de)=>{S.slotScopeIds=oe,y==null?S.shapeFlag&512?M.ctx.activate(S,I,C,te,de):re(S,I,C,M,B,te,de):D(y,S,de)},re=(y,S,I,C,M,B,te)=>{const oe=y.component=II(y,C,M);if(T_(y)&&(oe.ctx.renderer=le),vI(oe),oe.asyncDep){if(M&&M.registerDep(oe,W),!y.el){const de=oe.subTree=U(Hr);O(null,de,S,I)}return}W(oe,y,S,I,M,B,te)},D=(y,S,I)=>{const C=S.component=y.component;if($O(y,S,I))if(C.asyncDep&&!C.asyncResolved){H(C,S,I);return}else C.next=S,CO(C.update),C.update();else S.el=y.el,C.vnode=S},W=(y,S,I,C,M,B,te)=>{const oe=()=>{if(y.isMounted){let{next:ve,bu:Ee,u:F,parent:q,vnode:Oe}=y,Ne=ve,Ze;ta(y,!1),ve?(ve.el=Oe.el,H(y,ve,te)):ve=Oe,Ee&&Lc(Ee),(Ze=ve.props&&ve.props.onVnodeBeforeUpdate)&&Wn(Ze,q,ve,Oe),ta(y,!0);const ft=kc(y),Dt=y.subTree;y.subTree=ft,g(Dt,ft,f(Dt.el),X(Dt),y,M,B),ve.el=ft.el,Ne===null&&kO(y,ft.el),F&&rn(F,M),(Ze=ve.props&&ve.props.onVnodeUpdated)&&rn(()=>Wn(Ze,q,ve,Oe),M)}else{let ve;const{el:Ee,props:F}=S,{bm:q,m:Oe,parent:Ne}=y,Ze=Ws(S);if(ta(y,!1),q&&Lc(q),!Ze&&(ve=F&&F.onVnodeBeforeMount)&&Wn(ve,Ne,S),ta(y,!0),Ee&&je){const ft=()=>{y.subTree=kc(y),je(Ee,y.subTree,y,M,null)};Ze?S.type.__asyncLoader().then(()=>!y.isUnmounted&&ft()):ft()}else{const ft=y.subTree=kc(y);g(null,ft,I,C,y,M,B),S.el=ft.el}if(Oe&&rn(Oe,M),!Ze&&(ve=F&&F.onVnodeMounted)){const ft=S;rn(()=>Wn(ve,Ne,ft),M)}(S.shapeFlag&256||Ne&&Ws(Ne.vnode)&&Ne.vnode.shapeFlag&256)&&y.a&&rn(y.a,M),y.isMounted=!0,S=I=C=null}},de=y.effect=new Zd(oe,()=>of(ie),y.scope),ie=y.update=()=>de.run();ie.id=y.uid,ta(y,!0),ie()},H=(y,S,I)=>{S.component=y;const C=y.vnode.props;y.vnode=S,y.next=null,iI(y,S.props,C,I),cI(y,S.children,I),ps(),G0(y),ms()},se=(y,S,I,C,M,B,te,oe,de=!1)=>{const ie=y&&y.children,ve=y?y.shapeFlag:0,Ee=S.children,{patchFlag:F,shapeFlag:q}=S;if(F>0){if(F&128){xe(ie,Ee,I,C,M,B,te,oe,de);return}else if(F&256){Pe(ie,Ee,I,C,M,B,te,oe,de);return}}q&8?(ve&16&&rt(ie,M,B),Ee!==ie&&l(I,Ee)):ve&16?q&16?xe(ie,Ee,I,C,M,B,te,oe,de):rt(ie,M,B,!0):(ve&8&&l(I,""),q&16&&j(Ee,I,C,M,B,te,oe,de))},Pe=(y,S,I,C,M,B,te,oe,de)=>{y=y||Wa,S=S||Wa;const ie=y.length,ve=S.length,Ee=Math.min(ie,ve);let F;for(F=0;Fve?rt(y,M,B,!0,!1,Ee):j(S,I,C,M,B,te,oe,de,Ee)},xe=(y,S,I,C,M,B,te,oe,de)=>{let ie=0;const ve=S.length;let Ee=y.length-1,F=ve-1;for(;ie<=Ee&&ie<=F;){const q=y[ie],Oe=S[ie]=de?Lr(S[ie]):Kn(S[ie]);if(bs(q,Oe))g(q,Oe,I,null,M,B,te,oe,de);else break;ie++}for(;ie<=Ee&&ie<=F;){const q=y[Ee],Oe=S[F]=de?Lr(S[F]):Kn(S[F]);if(bs(q,Oe))g(q,Oe,I,null,M,B,te,oe,de);else break;Ee--,F--}if(ie>Ee){if(ie<=F){const q=F+1,Oe=qF)for(;ie<=Ee;)ye(y[ie],M,B,!0),ie++;else{const q=ie,Oe=ie,Ne=new Map;for(ie=Oe;ie<=F;ie++){const fn=S[ie]=de?Lr(S[ie]):Kn(S[ie]);fn.key!=null&&Ne.set(fn.key,ie)}let Ze,ft=0;const Dt=F-Oe+1;let Rr=!1,Pc=0;const Rs=new Array(Dt);for(ie=0;ie=Dt){ye(fn,M,B,!0);continue}let Fn;if(fn.key!=null)Fn=Ne.get(fn.key);else for(Ze=Oe;Ze<=F;Ze++)if(Rs[Ze-Oe]===0&&bs(fn,S[Ze])){Fn=Ze;break}Fn===void 0?ye(fn,M,B,!0):(Rs[Fn-Oe]=ie+1,Fn>=Pc?Pc=Fn:Rr=!0,g(fn,S[Fn],I,null,M,B,te,oe,de),ft++)}const D0=Rr?pI(Rs):Wa;for(Ze=D0.length-1,ie=Dt-1;ie>=0;ie--){const fn=Oe+ie,Fn=S[fn],P0=fn+1{const{el:B,type:te,transition:oe,children:de,shapeFlag:ie}=y;if(ie&6){Ae(y.component.subTree,S,I,C);return}if(ie&128){y.suspense.move(S,I,C);return}if(ie&64){te.move(y,S,I,le);return}if(te===Ie){r(B,S,I);for(let Ee=0;Eeoe.enter(B),M);else{const{leave:Ee,delayLeave:F,afterLeave:q}=oe,Oe=()=>r(B,S,I),Ne=()=>{Ee(B,()=>{Oe(),q&&q()})};F?F(B,Oe,Ne):Ne()}else r(B,S,I)},ye=(y,S,I,C=!1,M=!1)=>{const{type:B,props:te,ref:oe,children:de,dynamicChildren:ie,shapeFlag:ve,patchFlag:Ee,dirs:F}=y;if(oe!=null&&Dl(oe,null,I,y,!0),ve&256){S.ctx.deactivate(y);return}const q=ve&1&&F,Oe=!Ws(y);let Ne;if(Oe&&(Ne=te&&te.onVnodeBeforeUnmount)&&Wn(Ne,S,y),ve&6)ze(y.component,I,C);else{if(ve&128){y.suspense.unmount(I,C);return}q&&ea(y,null,S,"beforeUnmount"),ve&64?y.type.remove(y,S,I,M,le,C):ie&&(B!==Ie||Ee>0&&Ee&64)?rt(ie,S,I,!1,!0):(B===Ie&&Ee&384||!M&&ve&16)&&rt(de,S,I),C&&Wt(y)}(Oe&&(Ne=te&&te.onVnodeUnmounted)||q)&&rn(()=>{Ne&&Wn(Ne,S,y),q&&ea(y,null,S,"unmounted")},I)},Wt=y=>{const{type:S,el:I,anchor:C,transition:M}=y;if(S===Ie){ke(I,C);return}if(S===Io){T(y);return}const B=()=>{a(I),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(y.shapeFlag&1&&M&&!M.persisted){const{leave:te,delayLeave:oe}=M,de=()=>te(I,B);oe?oe(y.el,B,de):de()}else B()},ke=(y,S)=>{let I;for(;y!==S;)I=d(y),a(y),y=I;a(S)},ze=(y,S,I)=>{const{bum:C,scope:M,update:B,subTree:te,um:oe}=y;C&&Lc(C),M.stop(),B&&(B.active=!1,ye(te,y,S,I)),oe&&rn(oe,S),rn(()=>{y.isUnmounted=!0},S),S&&S.pendingBranch&&!S.isUnmounted&&y.asyncDep&&!y.asyncResolved&&y.suspenseId===S.pendingId&&(S.deps--,S.deps===0&&S.resolve())},rt=(y,S,I,C=!1,M=!1,B=0)=>{for(let te=B;tey.shapeFlag&6?X(y.component.subTree):y.shapeFlag&128?y.suspense.next():d(y.anchor||y.el),pe=(y,S,I)=>{y==null?S._vnode&&ye(S._vnode,null,null,!0):g(S._vnode||null,y,S,null,null,null,I),G0(),d_(),S._vnode=y},le={p:g,um:ye,m:Ae,r:Wt,mt:re,mc:j,pc:se,pbc:z,n:X,o:e};let Se,je;return t&&([Se,je]=t(le)),{render:pe,hydrate:Se,createApp:aI(pe,Se)}}function ta({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function fI(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function lf(e,t,n=!1){const r=e.children,a=t.children;if(Qe(r)&&Qe(a))for(let s=0;s>1,e[n[o]]0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}const mI=e=>e.__isTeleport,zs=e=>e&&(e.disabled||e.disabled===""),Q0=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Pl=(e,t)=>{const n=e&&e.to;return tn(n)?t?t(n):null:n},EI={name:"Teleport",__isTeleport:!0,process(e,t,n,r,a,s,i,o,u,c){const{mc:l,pc:f,pbc:d,o:{insert:m,querySelector:E,createText:g,createComment:b}}=c,O=zs(t.props);let{shapeFlag:R,children:v,dynamicChildren:T}=t;if(e==null){const L=t.el=g(""),w=t.anchor=g("");m(L,n,r),m(w,n,r);const P=t.target=Pl(t.props,E),j=t.targetAnchor=g("");P&&(m(j,P),i=i||Q0(P));const G=(z,k)=>{R&16&&l(v,z,k,a,s,i,o,u)};O?G(n,w):P&&G(P,j)}else{t.el=e.el;const L=t.anchor=e.anchor,w=t.target=e.target,P=t.targetAnchor=e.targetAnchor,j=zs(e.props),G=j?n:w,z=j?L:P;if(i=i||Q0(w),T?(d(e.dynamicChildren,T,G,a,s,i,o),lf(e,t,!0)):u||f(e,t,G,z,a,s,i,o,!1),O)j?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):qi(t,n,L,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const k=t.target=Pl(t.props,E);k&&qi(t,k,null,c,0)}else j&&qi(t,w,P,c,1)}C_(t)},remove(e,t,n,r,{um:a,o:{remove:s}},i){const{shapeFlag:o,children:u,anchor:c,targetAnchor:l,target:f,props:d}=e;if(f&&s(l),i&&s(c),o&16){const m=i||!zs(d);for(let E=0;E0?yn||Wa:null,TI(),ni>0&&yn&&yn.push(e),e}function N(e,t,n,r,a,s){return y_(p(e,t,n,r,a,s,!0))}function ne(e,t,n,r,a){return y_(U(e,t,n,r,a,!0))}function Bo(e){return e?e.__v_isVNode===!0:!1}function bs(e,t){return e.type===t.type&&e.key===t.key}const Ju="__vInternal",D_=({key:e})=>e??null,vo=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?tn(e)||Bt(e)||He(e)?{i:Mt,r:e,k:t,f:!!n}:e:null);function p(e,t=null,n=null,r=0,a=null,s=e===Ie?0:1,i=!1,o=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&D_(t),ref:t&&vo(t),scopeId:Zu,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:Mt};return o?(df(u,n),s&128&&e.normalize(u)):n&&(u.shapeFlag|=tn(n)?8:16),ni>0&&!i&&yn&&(u.patchFlag>0||s&6)&&u.patchFlag!==32&&yn.push(u),u}const U=gI;function gI(e,t=null,n=null,r=0,a=null,s=!1){if((!e||e===MO)&&(e=Hr),Bo(e)){const o=Va(e,t,!0);return n&&df(o,n),ni>0&&!s&&yn&&(o.shapeFlag&6?yn[yn.indexOf(e)]=o:yn.push(o)),o.patchFlag|=-2,o}if(yI(e)&&(e=e.__vccOpts),t){t=AI(t);let{class:o,style:u}=t;o&&!tn(o)&&(t.class=ge(o)),Nt(u)&&(ju(u)&&!Qe(u)&&(u=Ht({},u)),t.style=Kr(u))}const i=tn(e)?1:FO(e)?128:mI(e)?64:Nt(e)?4:He(e)?2:0;return p(e,t,n,r,a,i,s,!0)}function AI(e){return e?ju(e)||Ju in e?Ht({},e):e:null}function Va(e,t,n=!1){const{props:r,ref:a,patchFlag:s,children:i}=e,o=t?P_(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:o,key:o&&D_(o),ref:t&&t.ref?n&&a?Qe(a)?a.concat(vo(t)):[a,vo(t)]:vo(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ie?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Va(e.ssContent),ssFallback:e.ssFallback&&Va(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function K(e=" ",t=0){return U(bi,null,e,t)}function Sr(e,t){const n=U(Io,null,e);return n.staticCount=t,n}function x(e="",t=!1){return t?(A(),ne(Hr,null,e)):U(Hr,null,e)}function Kn(e){return e==null||typeof e=="boolean"?U(Hr):Qe(e)?U(Ie,null,e.slice()):typeof e=="object"?Lr(e):U(bi,null,String(e))}function Lr(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Va(e)}function df(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Qe(t))n=16;else if(typeof t=="object")if(r&65){const a=t.default;a&&(a._c&&(a._d=!1),df(e,a()),a._c&&(a._d=!0));return}else{n=32;const a=t._;!a&&!(Ju in t)?t._ctx=Mt:a===3&&Mt&&(Mt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else He(t)?(t={default:t,_ctx:Mt},n=32):(t=String(t),r&64?(n=16,t=[K(t)]):n=8);e.children=t,e.shapeFlag|=n}function P_(...e){const t={};for(let n=0;nLt||Mt;let ff,va,ep="__VUE_INSTANCE_SETTERS__";(va=vl()[ep])||(va=vl()[ep]=[]),va.push(e=>Lt=e),ff=e=>{va.length>1?va.forEach(t=>t(e)):va[0](e)};const Ka=e=>{ff(e),e.scope.on()},da=()=>{Lt&&Lt.scope.off(),ff(null)};function w_(e){return e.vnode.shapeFlag&4}let ai=!1;function vI(e,t=!1){ai=t;const{props:n,children:r}=e.vnode,a=w_(e);sI(e,n,a,t),uI(e,r);const s=a?RI(e,t):void 0;return ai=!1,s}function RI(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=er(new Proxy(e.ctx,ZO));const{setup:r}=n;if(r){const a=e.setupContext=r.length>1?NI(e):null;Ka(e),ps();const s=zr(r,e,0,[e.props,a]);if(ms(),da(),s_(s)){if(s.then(da,da),t)return s.then(i=>{tp(e,i,t)}).catch(i=>{qu(i,e,0)});e.asyncDep=s}else tp(e,s,t)}else L_(e,t)}function tp(e,t,n){He(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Nt(t)&&(e.setupState=e_(t)),L_(e,n)}let np;function L_(e,t,n){const r=e.type;if(!e.render){if(!t&&np&&!r.render){const a=r.template||uf(e).template;if(a){const{isCustomElement:s,compilerOptions:i}=e.appContext.config,{delimiters:o,compilerOptions:u}=r,c=Ht(Ht({isCustomElement:s,delimiters:o},i),u);r.render=np(a,c)}}e.render=r.render||Er}{Ka(e),ps();try{QO(e)}finally{ms(),da()}}}function bI(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return cn(e,"get","$attrs"),t[n]}}))}function NI(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return bI(e)},slots:e.slots,emit:e.emit,expose:t}}function ec(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(e_(er(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Gs)return Gs[n](e)},has(t,n){return n in t||n in Gs}}))}function CI(e,t=!0){return He(e)?e.displayName||e.name:e.name||t&&e.__name}function yI(e){return He(e)&&"__vccOpts"in e}const $=(e,t)=>EO(e,t,ai);function An(e,t,n){const r=arguments.length;return r===2?Nt(t)&&!Qe(t)?Bo(t)?U(e,null,[t]):U(e,t):U(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Bo(n)&&(n=[n]),U(e,t,n))}const DI=Symbol.for("v-scx"),PI=()=>ht(DI),$_="3.3.12";function wI(e,t){const n=Object.create(null),r=e.split(",");for(let a=0;a!!n[a.toLowerCase()]:a=>!!n[a]}const LI=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),$I=e=>e.startsWith("onUpdate:"),kI=Object.assign,_r=Array.isArray,tc=e=>U_(e)==="[object Set]",rp=e=>U_(e)==="[object Date]",k_=e=>typeof e=="function",Ho=e=>typeof e=="string",ap=e=>typeof e=="symbol",sp=e=>e!==null&&typeof e=="object",UI=Object.prototype.toString,U_=e=>UI.call(e),M_=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},MI=/\B([A-Z])/g,pf=M_(e=>e.replace(MI,"-$1").toLowerCase()),xI=M_(e=>e.charAt(0).toUpperCase()+e.slice(1)),FI=(e,t)=>{for(let n=0;n{const t=parseFloat(e);return isNaN(t)?e:t},WI="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",GI=wI(WI);function x_(e){return!!e||e===""}function zI(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&rfa(n,t))}const BI="http://www.w3.org/2000/svg",sa=typeof document<"u"?document:null,ip=sa&&sa.createElement("template"),HI={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const a=t?sa.createElementNS(BI,e):sa.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&a.setAttribute("multiple",r.multiple),a},createText:e=>sa.createTextNode(e),createComment:e=>sa.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>sa.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,a,s){const i=n?n.previousSibling:t.lastChild;if(a&&(a===s||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),n),!(a===s||!(a=a.nextSibling)););else{ip.innerHTML=r?`${e}`:e;const o=ip.content;if(r){const u=o.firstChild;for(;u.firstChild;)o.appendChild(u.firstChild);o.removeChild(u)}t.insertBefore(o,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},jI=Symbol("_vtc");function VI(e,t,n){const r=e[jI];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const KI=Symbol("_vod"),YI=Symbol("");function qI(e,t,n){const r=e.style,a=Ho(n);if(n&&!a){if(t&&!Ho(t))for(const s in t)n[s]==null&&Ll(r,s,"");for(const s in n)Ll(r,s,n[s])}else{const s=r.display;if(a){if(t!==n){const i=r[YI];i&&(n+=";"+i),r.cssText=n}}else t&&e.removeAttribute("style");KI in e&&(r.display=s)}}const op=/\s*!important$/;function Ll(e,t,n){if(_r(n))n.forEach(r=>Ll(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=XI(e,t);op.test(n)?e.setProperty(pf(r),n.replace(op,""),"important"):e[r]=n}}const up=["Webkit","Moz","ms"],Mc={};function XI(e,t){const n=Mc[t];if(n)return n;let r=Jn(t);if(r!=="filter"&&r in e)return Mc[t]=r;r=xI(r);for(let a=0;axc||(nv.then(()=>xc=0),xc=Date.now());function av(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Pn(sv(r,n.value),t,5,[r])};return n.value=e,n.attached=rv(),n}function sv(e,t){if(_r(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>a=>!a._stopped&&r&&r(a))}else return t}const fp=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,iv=(e,t,n,r,a=!1,s,i,o,u)=>{t==="class"?VI(e,r,a):t==="style"?qI(e,n,r):LI(t)?$I(t)||ev(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ov(e,t,r,a))?QI(e,t,r,s,i,o,u):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),ZI(e,t,r,a))};function ov(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&fp(t)&&k_(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const a=e.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return fp(t)&&Ho(n)?!1:t in e}const jr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return _r(t)?n=>FI(t,n):t};function uv(e){e.target.composing=!0}function pp(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const vn=Symbol("_assign"),tt={created(e,{modifiers:{lazy:t,trim:n,number:r}},a){e[vn]=jr(a);const s=r||a.props&&a.props.type==="number";dr(e,t?"change":"input",i=>{if(i.target.composing)return;let o=e.value;n&&(o=o.trim()),s&&(o=wl(o)),e[vn](o)}),n&&dr(e,"change",()=>{e.value=e.value.trim()}),t||(dr(e,"compositionstart",uv),dr(e,"compositionend",pp),dr(e,"change",pp))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:a}},s){if(e[vn]=jr(s),e.composing)return;const i=a||e.type==="number"?wl(e.value):e.value,o=t??"";i!==o&&(document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===o)||(e.value=o))}},Ef={deep:!0,created(e,t,n){e[vn]=jr(n),dr(e,"change",()=>{const r=e._modelValue,a=Ya(e),s=e.checked,i=e[vn];if(_r(r)){const o=mf(r,a),u=o!==-1;if(s&&!u)i(r.concat(a));else if(!s&&u){const c=[...r];c.splice(o,1),i(c)}}else if(tc(r)){const o=new Set(r);s?o.add(a):o.delete(a),i(o)}else i(F_(e,s))})},mounted:mp,beforeUpdate(e,t,n){e[vn]=jr(n),mp(e,t,n)}};function mp(e,{value:t,oldValue:n},r){e._modelValue=t,_r(t)?e.checked=mf(t,r.props.value)>-1:tc(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=fa(t,F_(e,!0)))}const cv={created(e,{value:t},n){e.checked=fa(t,n.props.value),e[vn]=jr(n),dr(e,"change",()=>{e[vn](Ya(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[vn]=jr(r),t!==n&&(e.checked=fa(t,r.props.value))}},jo={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const a=tc(t);dr(e,"change",()=>{const s=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?wl(Ya(i)):Ya(i));e[vn](e.multiple?a?new Set(s):s:s[0])}),e[vn]=jr(r)},mounted(e,{value:t}){Ep(e,t)},beforeUpdate(e,t,n){e[vn]=jr(n)},updated(e,{value:t}){Ep(e,t)}};function Ep(e,t){const n=e.multiple;if(!(n&&!_r(t)&&!tc(t))){for(let r=0,a=e.options.length;r-1:s.selected=t.has(i);else if(fa(Ya(s),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Ya(e){return"_value"in e?e._value:e.value}function F_(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const lv={created(e,t,n){Xi(e,t,n,null,"created")},mounted(e,t,n){Xi(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Xi(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Xi(e,t,n,r,"updated")}};function dv(e,t){switch(e){case"SELECT":return jo;case"TEXTAREA":return tt;default:switch(t){case"checkbox":return Ef;case"radio":return cv;default:return tt}}}function Xi(e,t,n,r,a){const i=dv(e.tagName,n.props&&n.props.type)[a];i&&i(e,t,n,r)}const fv=["ctrl","shift","alt","meta"],pv={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>fv.some(n=>e[`${n}Key`]&&!t.includes(n))},Xe=(e,t)=>e._withMods||(e._withMods=(n,...r)=>{for(let a=0;ae._withKeys||(e._withKeys=n=>{if(!("key"in n))return;const r=pf(n.key);if(t.some(a=>a===r||mv[a]===r))return e(n)}),Ev=kI({patchProp:iv},HI);let hp;function W_(){return hp||(hp=lI(Ev))}const hv=(...e)=>{W_().render(...e)},_v=(...e)=>{const t=W_().createApp(...e),{mount:n}=t;return t.mount=r=>{const a=Tv(r);if(!a)return;const s=t._component;!k_(s)&&!s.render&&!s.template&&(s.template=a.innerHTML),a.innerHTML="";const i=n(a,!1,a instanceof SVGElement);return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),i},t};function Tv(e){return Ho(e)?document.querySelector(e):e}var gv=Object.defineProperty,Av=Object.defineProperties,Sv=Object.getOwnPropertyDescriptors,Vo=Object.getOwnPropertySymbols,G_=Object.prototype.hasOwnProperty,z_=Object.prototype.propertyIsEnumerable,_p=(e,t,n)=>t in e?gv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Zi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},B_=function(e){return e},Ov=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)},Tp=Math.max,Iv=function(e,t,n){return t=Tp(t===void 0?e.length-1:t,0),function(){for(var r=arguments,a=-1,s=Tp(r.length-t,0),i=Array(s);++a0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(Qv),tR=B_,nR=Iv,rR=eR,aR=function(e,t){return rR(nR(e,t,tR),e+"")},K_=function(e,t){return e===t||e!=e&&t!=t},Y_=function(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=9007199254740991},sR=V_,iR=Y_,q_=function(e){return e!=null&&iR(e.length)&&!sR(e)},oR=/^(?:0|[1-9]\d*)$/,X_=function(e,t){var n=typeof e;return!!(t=t??9007199254740991)&&(n=="number"||n!="symbol"&&oR.test(e))&&e>-1&&e%1==0&&e2?t[2]:void 0;for(a&&KR(t[0],t[1],a)&&(r=1);++ne.pageOnly||!rr.isEnabled),s=$(()=>(a.value||e.teleport)&&r.isFullscreen?{position:"fixed",left:"0",top:"0",width:"100%",height:"100%"}:void 0);function i(){t("change",r.isFullscreen),t("update:modelValue",r.isFullscreen),t("update:fullscreen",r.isFullscreen)}function o(){rr.isFullscreen||rr.off("change",o),r.isFullscreen=rr.isFullscreen,i()}function u(d){d.key==="Escape"&&l()}function c(){a.value?(r.isFullscreen=!0,i(),document.removeEventListener("keyup",u),document.addEventListener("keyup",u)):(rr.off("change",o),rr.on("change",o),rr.request(e.teleport?document.body:n.value))}function l(){r.isFullscreen&&(a.value?(r.isFullscreen=!1,i(),document.removeEventListener("keyup",u)):rr.exit())}return Ge(()=>e.fullscreen,d=>{d!==r.isFullscreen&&(d?c():l())}),Ge(()=>e.modelValue,d=>{d!==r.isFullscreen&&(d?c():l())}),f=((d,m)=>{for(var E in m||(m={}))G_.call(m,E)&&_p(d,E,m[E]);if(Vo)for(var E of Vo(m))z_.call(m,E)&&_p(d,E,m[E]);return d})({wrapper:n,wrapperStyle:s},_e(r)),Av(f,Sv({toggle:function(d){d===void 0?r.isFullscreen?l():c():d?c():l()},request:c,exit:l,shadeClick:function(d){d.target===n.value&&e.exitOnClickWrapper&&l()}}));var f}});t1.render=function(e,t,n,r,a,s){return A(),ne(_I,{to:"body",disabled:!e.teleport||!e.fullscreen},[U("div",P_({ref:"wrapper"},e.$attrs,{style:e.wrapperStyle,class:{[e.fullscreenClass]:e.isFullscreen},onClick:t[1]||(t[1]=i=>e.shadeClick(i))}),[ja(e.$slots,"default")],16)],8,["disabled"])};const ZR=typeof window<"u"&&window!==null;(function(){if(ZR&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)return"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get(){return this.intersectionRatio>0}}),!0})();const QR=Object.prototype.propertyIsEnumerable,Dp=Object.getOwnPropertySymbols;function Ro(e){return typeof e=="function"||toString.call(e)==="[object Object]"}function JR(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"}function e2(e,...t){if(!Ro(e))throw new TypeError("expected the first argument to be an object");if(t.length===0||typeof Symbol!="function"||typeof Dp!="function")return e;for(const n of t){const r=Dp(n);for(const a of r)QR.call(n,a)&&(e[a]=n[a])}return e}function gf(e,...t){let n=0;var r;for((typeof(r=e)=="object"?r===null:typeof r!="function")&&(e=t[n++]),e||(e={});n{r.key==="Escape"&&(document.removeEventListener("keyup",n),this.exit())};return this.isFullscreen=!0,this.element=e,document.removeEventListener("keyup",n),document.addEventListener("keyup",n),this.options.callback&&this.options.callback(this.isFullscreen),Promise.resolve()}{const n=()=>{Gn.isFullscreen||(Gn.off("change",n),wp(this)),this.isFullscreen=Gn.isFullscreen,this.options.teleport?this.element=e||null:this.element=Gn.element,this.options.callback&&this.options.callback(Gn.isFullscreen)};return Gn.on("change",n),Gn.request(this.options.teleport?document.body:e)}},exit(){return this.isFullscreen?this.options.pageOnly?(wp(this),this.isFullscreen=!1,this.element=null,this.options.callback&&this.options.callback(this.isFullscreen),Promise.resolve()):Gn.exit():Promise.resolve()}},t2=(e,t,n)=>{const r=()=>{let a;const s={teleport:t.modifiers.teleport,pageOnly:t.modifiers.pageOnly};if(t.value)if(typeof t.value=="string")a=t.value;else{const i=t.value,{target:o}=i,u=((c,l)=>{var f={};for(var d in c)G_.call(c,d)&&l.indexOf(d)<0&&(f[d]=c[d]);if(c!=null&&Vo)for(var d of Vo(c))l.indexOf(d)<0&&z_.call(c,d)&&(f[d]=c[d]);return f})(i,["target"]);a=o,gf(s,u)}typeof a=="string"&&(a=document.querySelector(a)),r1.toggle(a,s)};e._onClickFullScreen&&e.removeEventListener("click",e._onClickFullScreen),e.addEventListener("click",r),e._onClickFullScreen=r};var n2={install(e,{name:t="fullscreen"}={}){e.config.globalProperties[`$${t}`]=r1,e.component(t,XR(t1,{name:t})),e.directive(t,t2)}};const Af=e=>(ut("data-v-dd2dabd2"),e=e(),ct(),e),r2={id:"footer"},a2={class:"footer-items"},s2={class:"footer-item"},i2=Af(()=>p("strong",null,"FitTrackee",-1)),o2=Af(()=>p("div",{class:"footer-item bullet"},"•",-1)),u2={class:"footer-item"},c2={key:0,class:"footer-item bullet"},l2={key:1,class:"footer-item"},d2=["href"],f2=Af(()=>p("div",{class:"footer-item bullet"},"•",-1)),p2={class:"footer-item"},m2=Q({__name:"Footer",props:{version:{},adminContact:{}},setup(e){const t=e,{adminContact:n,version:r}=_e(t);return(a,s)=>{const i=ue("router-link");return A(),N("footer",r2,[p("div",a2,[p("div",s2,[i2,K(" v"+_(h(r)),1)]),o2,p("div",u2,[U(i,{to:"/about"},{default:fe(()=>[K(_(a.$t("common.ABOUT")),1)]),_:1})]),h(n)?(A(),N("div",c2,"•")):x("",!0),h(n)?(A(),N("div",l2,[p("a",{href:`mailto:${h(n)}`},_(a.$t("common.CONTACT")),9,d2)])):x("",!0),f2,p("div",p2,[U(i,{to:"/privacy-policy"},{default:fe(()=>[K(_(a.$t("privacy_policy.TITLE")),1)]),_:1})])])])}}}),ae=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n},E2=ae(m2,[["__scopeId","data-v-dd2dabd2"]]);function a1(e,t){return function(){return e.apply(t,arguments)}}const{toString:h2}=Object.prototype,{getPrototypeOf:Sf}=Object,rc=(e=>t=>{const n=h2.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),tr=e=>(e=e.toLowerCase(),t=>rc(t)===e),ac=e=>t=>typeof t===e,{isArray:Es}=Array,si=ac("undefined");function _2(e){return e!==null&&!si(e)&&e.constructor!==null&&!si(e.constructor)&&Rn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const s1=tr("ArrayBuffer");function T2(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&s1(e.buffer),t}const g2=ac("string"),Rn=ac("function"),i1=ac("number"),sc=e=>e!==null&&typeof e=="object",A2=e=>e===!0||e===!1,bo=e=>{if(rc(e)!=="object")return!1;const t=Sf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},S2=tr("Date"),O2=tr("File"),I2=tr("Blob"),v2=tr("FileList"),R2=e=>sc(e)&&Rn(e.pipe),b2=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Rn(e.append)&&((t=rc(e))==="formdata"||t==="object"&&Rn(e.toString)&&e.toString()==="[object FormData]"))},N2=tr("URLSearchParams"),C2=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ni(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,a;if(typeof e!="object"&&(e=[e]),Es(e))for(r=0,a=e.length;r0;)if(a=n[r],t===a.toLowerCase())return a;return null}const u1=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,c1=e=>!si(e)&&e!==u1;function Ml(){const{caseless:e}=c1(this)&&this||{},t={},n=(r,a)=>{const s=e&&o1(t,a)||a;bo(t[s])&&bo(r)?t[s]=Ml(t[s],r):bo(r)?t[s]=Ml({},r):Es(r)?t[s]=r.slice():t[s]=r};for(let r=0,a=arguments.length;r(Ni(t,(a,s)=>{n&&Rn(a)?e[s]=a1(a,n):e[s]=a},{allOwnKeys:r}),e),D2=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),P2=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},w2=(e,t,n,r)=>{let a,s,i;const o={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),s=a.length;s-- >0;)i=a[s],(!r||r(i,e,t))&&!o[i]&&(t[i]=e[i],o[i]=!0);e=n!==!1&&Sf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},L2=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},$2=e=>{if(!e)return null;if(Es(e))return e;let t=e.length;if(!i1(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},k2=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Sf(Uint8Array)),U2=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let a;for(;(a=r.next())&&!a.done;){const s=a.value;t.call(e,s[0],s[1])}},M2=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},x2=tr("HTMLFormElement"),F2=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,a){return r.toUpperCase()+a}),Lp=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),W2=tr("RegExp"),l1=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ni(n,(a,s)=>{let i;(i=t(a,s,e))!==!1&&(r[s]=i||a)}),Object.defineProperties(e,r)},G2=e=>{l1(e,(t,n)=>{if(Rn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Rn(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},z2=(e,t)=>{const n={},r=a=>{a.forEach(s=>{n[s]=!0})};return Es(e)?r(e):r(String(e).split(t)),n},B2=()=>{},H2=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Hc="abcdefghijklmnopqrstuvwxyz",$p="0123456789",d1={DIGIT:$p,ALPHA:Hc,ALPHA_DIGIT:Hc+Hc.toUpperCase()+$p},j2=(e=16,t=d1.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function V2(e){return!!(e&&Rn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const K2=e=>{const t=new Array(10),n=(r,a)=>{if(sc(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[a]=r;const s=Es(r)?[]:{};return Ni(r,(i,o)=>{const u=n(i,a+1);!si(u)&&(s[o]=u)}),t[a]=void 0,s}}return r};return n(e,0)},Y2=tr("AsyncFunction"),q2=e=>e&&(sc(e)||Rn(e))&&Rn(e.then)&&Rn(e.catch),J={isArray:Es,isArrayBuffer:s1,isBuffer:_2,isFormData:b2,isArrayBufferView:T2,isString:g2,isNumber:i1,isBoolean:A2,isObject:sc,isPlainObject:bo,isUndefined:si,isDate:S2,isFile:O2,isBlob:I2,isRegExp:W2,isFunction:Rn,isStream:R2,isURLSearchParams:N2,isTypedArray:k2,isFileList:v2,forEach:Ni,merge:Ml,extend:y2,trim:C2,stripBOM:D2,inherits:P2,toFlatObject:w2,kindOf:rc,kindOfTest:tr,endsWith:L2,toArray:$2,forEachEntry:U2,matchAll:M2,isHTMLForm:x2,hasOwnProperty:Lp,hasOwnProp:Lp,reduceDescriptors:l1,freezeMethods:G2,toObjectSet:z2,toCamelCase:F2,noop:B2,toFiniteNumber:H2,findKey:o1,global:u1,isContextDefined:c1,ALPHABET:d1,generateString:j2,isSpecCompliantForm:V2,toJSONObject:K2,isAsyncFn:Y2,isThenable:q2};function et(e,t,n,r,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),a&&(this.response=a)}J.inherits(et,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:J.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const f1=et.prototype,p1={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{p1[e]={value:e}});Object.defineProperties(et,p1);Object.defineProperty(f1,"isAxiosError",{value:!0});et.from=(e,t,n,r,a,s)=>{const i=Object.create(f1);return J.toFlatObject(e,i,function(u){return u!==Error.prototype},o=>o!=="isAxiosError"),et.call(i,e.message,t,n,r,a),i.cause=e,i.name=e.name,s&&Object.assign(i,s),i};const X2=null;function xl(e){return J.isPlainObject(e)||J.isArray(e)}function m1(e){return J.endsWith(e,"[]")?e.slice(0,-2):e}function kp(e,t,n){return e?e.concat(t).map(function(a,s){return a=m1(a),!n&&s?"["+a+"]":a}).join(n?".":""):t}function Z2(e){return J.isArray(e)&&!e.some(xl)}const Q2=J.toFlatObject(J,{},null,function(t){return/^is[A-Z]/.test(t)});function ic(e,t,n){if(!J.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=J.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,b){return!J.isUndefined(b[g])});const r=n.metaTokens,a=n.visitor||l,s=n.dots,i=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&J.isSpecCompliantForm(t);if(!J.isFunction(a))throw new TypeError("visitor must be a function");function c(E){if(E===null)return"";if(J.isDate(E))return E.toISOString();if(!u&&J.isBlob(E))throw new et("Blob is not supported. Use a Buffer instead.");return J.isArrayBuffer(E)||J.isTypedArray(E)?u&&typeof Blob=="function"?new Blob([E]):Buffer.from(E):E}function l(E,g,b){let O=E;if(E&&!b&&typeof E=="object"){if(J.endsWith(g,"{}"))g=r?g:g.slice(0,-2),E=JSON.stringify(E);else if(J.isArray(E)&&Z2(E)||(J.isFileList(E)||J.endsWith(g,"[]"))&&(O=J.toArray(E)))return g=m1(g),O.forEach(function(v,T){!(J.isUndefined(v)||v===null)&&t.append(i===!0?kp([g],T,s):i===null?g:g+"[]",c(v))}),!1}return xl(E)?!0:(t.append(kp(b,g,s),c(E)),!1)}const f=[],d=Object.assign(Q2,{defaultVisitor:l,convertValue:c,isVisitable:xl});function m(E,g){if(!J.isUndefined(E)){if(f.indexOf(E)!==-1)throw Error("Circular reference detected in "+g.join("."));f.push(E),J.forEach(E,function(O,R){(!(J.isUndefined(O)||O===null)&&a.call(t,O,J.isString(R)?R.trim():R,g,d))===!0&&m(O,g?g.concat(R):[R])}),f.pop()}}if(!J.isObject(e))throw new TypeError("data must be an object");return m(e),t}function Up(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Of(e,t){this._pairs=[],e&&ic(e,this,t)}const E1=Of.prototype;E1.append=function(t,n){this._pairs.push([t,n])};E1.toString=function(t){const n=t?function(r){return t.call(this,r,Up)}:Up;return this._pairs.map(function(a){return n(a[0])+"="+n(a[1])},"").join("&")};function J2(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function h1(e,t,n){if(!t)return e;const r=n&&n.encode||J2,a=n&&n.serialize;let s;if(a?s=a(t,n):s=J.isURLSearchParams(t)?t.toString():new Of(t,n).toString(r),s){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class eb{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){J.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Mp=eb,_1={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},tb=typeof URLSearchParams<"u"?URLSearchParams:Of,nb=typeof FormData<"u"?FormData:null,rb=typeof Blob<"u"?Blob:null,ab={isBrowser:!0,classes:{URLSearchParams:tb,FormData:nb,Blob:rb},protocols:["http","https","file","blob","url","data"]},T1=typeof window<"u"&&typeof document<"u",sb=(e=>T1&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),ib=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",ob=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:T1,hasStandardBrowserEnv:sb,hasStandardBrowserWebWorkerEnv:ib},Symbol.toStringTag,{value:"Module"})),qn={...ob,...ab};function ub(e,t){return ic(e,new qn.classes.URLSearchParams,Object.assign({visitor:function(n,r,a,s){return qn.isNode&&J.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function cb(e){return J.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function lb(e){const t={},n=Object.keys(e);let r;const a=n.length;let s;for(r=0;r=n.length;return i=!i&&J.isArray(a)?a.length:i,u?(J.hasOwnProp(a,i)?a[i]=[a[i],r]:a[i]=r,!o):((!a[i]||!J.isObject(a[i]))&&(a[i]=[]),t(n,r,a[i],s)&&J.isArray(a[i])&&(a[i]=lb(a[i])),!o)}if(J.isFormData(e)&&J.isFunction(e.entries)){const n={};return J.forEachEntry(e,(r,a)=>{t(cb(r),a,n,0)}),n}return null}function db(e,t,n){if(J.isString(e))try{return(t||JSON.parse)(e),J.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const If={transitional:_1,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",a=r.indexOf("application/json")>-1,s=J.isObject(t);if(s&&J.isHTMLForm(t)&&(t=new FormData(t)),J.isFormData(t))return a&&a?JSON.stringify(g1(t)):t;if(J.isArrayBuffer(t)||J.isBuffer(t)||J.isStream(t)||J.isFile(t)||J.isBlob(t))return t;if(J.isArrayBufferView(t))return t.buffer;if(J.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return ub(t,this.formSerializer).toString();if((o=J.isFileList(t))||r.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return ic(o?{"files[]":t}:t,u&&new u,this.formSerializer)}}return s||a?(n.setContentType("application/json",!1),db(t)):t}],transformResponse:[function(t){const n=this.transitional||If.transitional,r=n&&n.forcedJSONParsing,a=this.responseType==="json";if(t&&J.isString(t)&&(r&&!this.responseType||a)){const i=!(n&&n.silentJSONParsing)&&a;try{return JSON.parse(t)}catch(o){if(i)throw o.name==="SyntaxError"?et.from(o,et.ERR_BAD_RESPONSE,this,null,this.response):o}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:qn.classes.FormData,Blob:qn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};J.forEach(["delete","get","head","post","put","patch"],e=>{If.headers[e]={}});const vf=If,fb=J.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),pb=e=>{const t={};let n,r,a;return e&&e.split(` +`).forEach(function(i){a=i.indexOf(":"),n=i.substring(0,a).trim().toLowerCase(),r=i.substring(a+1).trim(),!(!n||t[n]&&fb[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},xp=Symbol("internals");function ys(e){return e&&String(e).trim().toLowerCase()}function No(e){return e===!1||e==null?e:J.isArray(e)?e.map(No):String(e)}function mb(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const Eb=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function jc(e,t,n,r,a){if(J.isFunction(r))return r.call(this,t,n);if(a&&(t=n),!!J.isString(t)){if(J.isString(r))return t.indexOf(r)!==-1;if(J.isRegExp(r))return r.test(t)}}function hb(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function _b(e,t){const n=J.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(a,s,i){return this[r].call(this,t,a,s,i)},configurable:!0})})}class oc{constructor(t){t&&this.set(t)}set(t,n,r){const a=this;function s(o,u,c){const l=ys(u);if(!l)throw new Error("header name must be a non-empty string");const f=J.findKey(a,l);(!f||a[f]===void 0||c===!0||c===void 0&&a[f]!==!1)&&(a[f||u]=No(o))}const i=(o,u)=>J.forEach(o,(c,l)=>s(c,l,u));return J.isPlainObject(t)||t instanceof this.constructor?i(t,n):J.isString(t)&&(t=t.trim())&&!Eb(t)?i(pb(t),n):t!=null&&s(n,t,r),this}get(t,n){if(t=ys(t),t){const r=J.findKey(this,t);if(r){const a=this[r];if(!n)return a;if(n===!0)return mb(a);if(J.isFunction(n))return n.call(this,a,r);if(J.isRegExp(n))return n.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ys(t),t){const r=J.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||jc(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let a=!1;function s(i){if(i=ys(i),i){const o=J.findKey(r,i);o&&(!n||jc(r,r[o],o,n))&&(delete r[o],a=!0)}}return J.isArray(t)?t.forEach(s):s(t),a}clear(t){const n=Object.keys(this);let r=n.length,a=!1;for(;r--;){const s=n[r];(!t||jc(this,this[s],s,t,!0))&&(delete this[s],a=!0)}return a}normalize(t){const n=this,r={};return J.forEach(this,(a,s)=>{const i=J.findKey(r,s);if(i){n[i]=No(a),delete n[s];return}const o=t?hb(s):String(s).trim();o!==s&&delete n[s],n[o]=No(a),r[o]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return J.forEach(this,(r,a)=>{r!=null&&r!==!1&&(n[a]=t&&J.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(a=>r.set(a)),r}static accessor(t){const r=(this[xp]=this[xp]={accessors:{}}).accessors,a=this.prototype;function s(i){const o=ys(i);r[o]||(_b(a,i),r[o]=!0)}return J.isArray(t)?t.forEach(s):s(t),this}}oc.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);J.reduceDescriptors(oc.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});J.freezeMethods(oc);const hr=oc;function Vc(e,t){const n=this||vf,r=t||n,a=hr.from(r.headers);let s=r.data;return J.forEach(e,function(o){s=o.call(n,s,a.normalize(),t?t.status:void 0)}),a.normalize(),s}function A1(e){return!!(e&&e.__CANCEL__)}function Ci(e,t,n){et.call(this,e??"canceled",et.ERR_CANCELED,t,n),this.name="CanceledError"}J.inherits(Ci,et,{__CANCEL__:!0});function Tb(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new et("Request failed with status code "+n.status,[et.ERR_BAD_REQUEST,et.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const gb=qn.hasStandardBrowserEnv?{write(e,t,n,r,a,s){const i=[e+"="+encodeURIComponent(t)];J.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),J.isString(r)&&i.push("path="+r),J.isString(a)&&i.push("domain="+a),s===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Ab(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Sb(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function S1(e,t){return e&&!Ab(t)?Sb(e,t):t}const Ob=qn.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function a(s){let i=s;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=a(window.location.href),function(i){const o=J.isString(i)?a(i):i;return o.protocol===r.protocol&&o.host===r.host}}():function(){return function(){return!0}}();function Ib(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function vb(e,t){e=e||10;const n=new Array(e),r=new Array(e);let a=0,s=0,i;return t=t!==void 0?t:1e3,function(u){const c=Date.now(),l=r[s];i||(i=c),n[a]=u,r[a]=c;let f=s,d=0;for(;f!==a;)d+=n[f++],f=f%e;if(a=(a+1)%e,a===s&&(s=(s+1)%e),c-i{const s=a.loaded,i=a.lengthComputable?a.total:void 0,o=s-n,u=r(o),c=s<=i;n=s;const l={loaded:s,total:i,progress:i?s/i:void 0,bytes:o,rate:u||void 0,estimated:u&&i&&c?(i-s)/u:void 0,event:a};l[t?"download":"upload"]=!0,e(l)}}const Rb=typeof XMLHttpRequest<"u",bb=Rb&&function(e){return new Promise(function(n,r){let a=e.data;const s=hr.from(e.headers).normalize();let{responseType:i,withXSRFToken:o}=e,u;function c(){e.cancelToken&&e.cancelToken.unsubscribe(u),e.signal&&e.signal.removeEventListener("abort",u)}let l;if(J.isFormData(a)){if(qn.hasStandardBrowserEnv||qn.hasStandardBrowserWebWorkerEnv)s.setContentType(!1);else if((l=s.getContentType())!==!1){const[g,...b]=l?l.split(";").map(O=>O.trim()).filter(Boolean):[];s.setContentType([g||"multipart/form-data",...b].join("; "))}}let f=new XMLHttpRequest;if(e.auth){const g=e.auth.username||"",b=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.set("Authorization","Basic "+btoa(g+":"+b))}const d=S1(e.baseURL,e.url);f.open(e.method.toUpperCase(),h1(d,e.params,e.paramsSerializer),!0),f.timeout=e.timeout;function m(){if(!f)return;const g=hr.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),O={data:!i||i==="text"||i==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:g,config:e,request:f};Tb(function(v){n(v),c()},function(v){r(v),c()},O),f=null}if("onloadend"in f?f.onloadend=m:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)||setTimeout(m)},f.onabort=function(){f&&(r(new et("Request aborted",et.ECONNABORTED,e,f)),f=null)},f.onerror=function(){r(new et("Network Error",et.ERR_NETWORK,e,f)),f=null},f.ontimeout=function(){let b=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const O=e.transitional||_1;e.timeoutErrorMessage&&(b=e.timeoutErrorMessage),r(new et(b,O.clarifyTimeoutError?et.ETIMEDOUT:et.ECONNABORTED,e,f)),f=null},qn.hasStandardBrowserEnv&&(o&&J.isFunction(o)&&(o=o(e)),o||o!==!1&&Ob(d))){const g=e.xsrfHeaderName&&e.xsrfCookieName&&gb.read(e.xsrfCookieName);g&&s.set(e.xsrfHeaderName,g)}a===void 0&&s.setContentType(null),"setRequestHeader"in f&&J.forEach(s.toJSON(),function(b,O){f.setRequestHeader(O,b)}),J.isUndefined(e.withCredentials)||(f.withCredentials=!!e.withCredentials),i&&i!=="json"&&(f.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&f.addEventListener("progress",Fp(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&f.upload&&f.upload.addEventListener("progress",Fp(e.onUploadProgress)),(e.cancelToken||e.signal)&&(u=g=>{f&&(r(!g||g.type?new Ci(null,e,f):g),f.abort(),f=null)},e.cancelToken&&e.cancelToken.subscribe(u),e.signal&&(e.signal.aborted?u():e.signal.addEventListener("abort",u)));const E=Ib(d);if(E&&qn.protocols.indexOf(E)===-1){r(new et("Unsupported protocol "+E+":",et.ERR_BAD_REQUEST,e));return}f.send(a||null)})},Fl={http:X2,xhr:bb};J.forEach(Fl,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Wp=e=>`- ${e}`,Nb=e=>J.isFunction(e)||e===null||e===!1,O1={getAdapter:e=>{e=J.isArray(e)?e:[e];const{length:t}=e;let n,r;const a={};for(let s=0;s`adapter ${o} `+(u===!1?"is not supported by the environment":"is not available in the build"));let i=t?s.length>1?`since : +`+s.map(Wp).join(` +`):" "+Wp(s[0]):"as no adapter specified";throw new et("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:Fl};function Kc(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ci(null,e)}function Gp(e){return Kc(e),e.headers=hr.from(e.headers),e.data=Vc.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),O1.getAdapter(e.adapter||vf.adapter)(e).then(function(r){return Kc(e),r.data=Vc.call(e,e.transformResponse,r),r.headers=hr.from(r.headers),r},function(r){return A1(r)||(Kc(e),r&&r.response&&(r.response.data=Vc.call(e,e.transformResponse,r.response),r.response.headers=hr.from(r.response.headers))),Promise.reject(r)})}const zp=e=>e instanceof hr?e.toJSON():e;function qa(e,t){t=t||{};const n={};function r(c,l,f){return J.isPlainObject(c)&&J.isPlainObject(l)?J.merge.call({caseless:f},c,l):J.isPlainObject(l)?J.merge({},l):J.isArray(l)?l.slice():l}function a(c,l,f){if(J.isUndefined(l)){if(!J.isUndefined(c))return r(void 0,c,f)}else return r(c,l,f)}function s(c,l){if(!J.isUndefined(l))return r(void 0,l)}function i(c,l){if(J.isUndefined(l)){if(!J.isUndefined(c))return r(void 0,c)}else return r(void 0,l)}function o(c,l,f){if(f in t)return r(c,l);if(f in e)return r(void 0,c)}const u={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:o,headers:(c,l)=>a(zp(c),zp(l),!0)};return J.forEach(Object.keys(Object.assign({},e,t)),function(l){const f=u[l]||a,d=f(e[l],t[l],l);J.isUndefined(d)&&f!==o||(n[l]=d)}),n}const I1="1.6.2",Rf={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Rf[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Bp={};Rf.transitional=function(t,n,r){function a(s,i){return"[Axios v"+I1+"] Transitional option '"+s+"'"+i+(r?". "+r:"")}return(s,i,o)=>{if(t===!1)throw new et(a(i," has been removed"+(n?" in "+n:"")),et.ERR_DEPRECATED);return n&&!Bp[i]&&(Bp[i]=!0,console.warn(a(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,i,o):!0}};function Cb(e,t,n){if(typeof e!="object")throw new et("options must be an object",et.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let a=r.length;for(;a-- >0;){const s=r[a],i=t[s];if(i){const o=e[s],u=o===void 0||i(o,s,e);if(u!==!0)throw new et("option "+s+" must be "+u,et.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new et("Unknown option "+s,et.ERR_BAD_OPTION)}}const Wl={assertOptions:Cb,validators:Rf},Nr=Wl.validators;class Yo{constructor(t){this.defaults=t,this.interceptors={request:new Mp,response:new Mp}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=qa(this.defaults,n);const{transitional:r,paramsSerializer:a,headers:s}=n;r!==void 0&&Wl.assertOptions(r,{silentJSONParsing:Nr.transitional(Nr.boolean),forcedJSONParsing:Nr.transitional(Nr.boolean),clarifyTimeoutError:Nr.transitional(Nr.boolean)},!1),a!=null&&(J.isFunction(a)?n.paramsSerializer={serialize:a}:Wl.assertOptions(a,{encode:Nr.function,serialize:Nr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&J.merge(s.common,s[n.method]);s&&J.forEach(["delete","get","head","post","put","patch","common"],E=>{delete s[E]}),n.headers=hr.concat(i,s);const o=[];let u=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(u=u&&g.synchronous,o.unshift(g.fulfilled,g.rejected))});const c=[];this.interceptors.response.forEach(function(g){c.push(g.fulfilled,g.rejected)});let l,f=0,d;if(!u){const E=[Gp.bind(this),void 0];for(E.unshift.apply(E,o),E.push.apply(E,c),d=E.length,l=Promise.resolve(n);f{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](a);r._listeners=null}),this.promise.then=a=>{let s;const i=new Promise(o=>{r.subscribe(o),s=o}).then(a);return i.cancel=function(){r.unsubscribe(s)},i},t(function(s,i,o){r.reason||(r.reason=new Ci(s,i,o),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new bf(function(a){t=a}),cancel:t}}}const yb=bf;function Db(e){return function(n){return e.apply(null,n)}}function Pb(e){return J.isObject(e)&&e.isAxiosError===!0}const Gl={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Gl).forEach(([e,t])=>{Gl[t]=e});const wb=Gl;function v1(e){const t=new Co(e),n=a1(Co.prototype.request,t);return J.extend(n,Co.prototype,t,{allOwnKeys:!0}),J.extend(n,t,null,{allOwnKeys:!0}),n.create=function(a){return v1(qa(e,a))},n}const Ct=v1(vf);Ct.Axios=Co;Ct.CanceledError=Ci;Ct.CancelToken=yb;Ct.isCancel=A1;Ct.VERSION=I1;Ct.toFormData=ic;Ct.AxiosError=et;Ct.Cancel=Ct.CanceledError;Ct.all=function(t){return Promise.all(t)};Ct.spread=Db;Ct.isAxiosError=Pb;Ct.mergeConfig=qa;Ct.AxiosHeaders=hr;Ct.formToJSON=e=>g1(J.isHTMLForm(e)?new FormData(e):e);Ct.getAdapter=O1.getAdapter;Ct.HttpStatusCode=wb;Ct.default=Ct;const R1=Ct;var b1=(e=>(e.ACCEPT_PRIVACY_POLICY="ACCEPT_PRIVACY_POLICY",e.CHECK_AUTH_USER="CHECK_AUTH_USER",e.CONFIRM_ACCOUNT="CONFIRM_ACCOUNT",e.CONFIRM_EMAIL="CONFIRM_EMAIL",e.DELETE_ACCOUNT="DELETE_ACCOUNT",e.DELETE_PICTURE="DELETE_PICTURE",e.GET_REQUEST_DATA_EXPORT="GET_REQUEST_DATA_EXPORT",e.GET_USER_PROFILE="GET_USER_PROFILE",e.LOGIN_OR_REGISTER="LOGIN_OR_REGISTER",e.LOGOUT="LOGOUT",e.REQUEST_DATA_EXPORT="REQUEST_DATA_EXPORT",e.RESEND_ACCOUNT_CONFIRMATION_EMAIL="RESEND_ACCOUNT_CONFIRMATION_EMAIL",e.RESET_USER_PASSWORD="RESET_USER_PASSWORD",e.RESET_USER_SPORT_PREFERENCES="RESET_USER_SPORT_PREFERENCES",e.SEND_PASSWORD_RESET_REQUEST="SEND_PASSWORD_RESET_REQUEST",e.UPDATE_USER_ACCOUNT="UPDATE_USER_ACCOUNT",e.UPDATE_USER_PICTURE="UPDATE_USER_PICTURE",e.UPDATE_USER_PROFILE="UPDATE_USER_PROFILE",e.UPDATE_USER_PREFERENCES="UPDATE_USER_PREFERENCES",e.UPDATE_USER_SPORT_PREFERENCES="UPDATE_USER_SPORT_PREFERENCES",e))(b1||{}),N1=(e=>(e.AUTH_TOKEN="AUTH_TOKEN",e.AUTH_USER_PROFILE="AUTH_USER_PROFILE",e.IS_ADMIN="IS_ADMIN",e.IS_AUTHENTICATED="IS_AUTHENTICATED",e.IS_SUCCESS="IS_SUCCESS",e.IS_REGISTRATION_SUCCESS="IS_REGISTRATION_SUCCESS",e.USER_LOADING="USER_LOADING",e.EXPORT_REQUEST="EXPORT_REQUEST",e))(N1||{}),C1=(e=>(e.CLEAR_AUTH_USER_TOKEN="CLEAR_AUTH_USER_TOKEN",e.UPDATE_AUTH_TOKEN="UPDATE_AUTH_TOKEN",e.UPDATE_AUTH_USER_PROFILE="UPDATE_AUTH_USER_PROFILE",e.UPDATE_IS_SUCCESS="UPDATE_USER_IS_SUCCESS",e.UPDATE_IS_REGISTRATION_SUCCESS="UPDATE_IS_REGISTRATION_SUCCESS",e.UPDATE_USER_LOADING="UPDATE_USER_LOADING",e.SET_EXPORT_REQUEST="SET_EXPORT_REQUEST",e))(C1||{}),y1=(e=>(e.AUTHORIZE_CLIENT="AUTHORIZE_CLIENT",e.CREATE_CLIENT="CREATE_CLIENT",e.DELETE_CLIENT="DELETE_CLIENT",e.GET_CLIENTS="GET_CLIENTS",e.GET_CLIENT_BY_CLIENT_ID="GET_CLIENT_BY_CLIENT_ID",e.GET_CLIENT_BY_ID="GET_CLIENT_BY_ID",e.REVOKE_ALL_TOKENS="REVOKE_ALL_TOKENS",e))(y1||{}),D1=(e=>(e.CLIENT="CLIENT",e.CLIENTS="CLIENTS",e.CLIENTS_PAGINATION="CLIENTS_PAGINATION",e.REVOCATION_SUCCESSFUL="REVOCATION_SUCCESSFUL",e))(D1||{}),P1=(e=>(e.EMPTY_CLIENT="EMPTY_CLIENT",e.SET_CLIENT="SET_CLIENT",e.SET_CLIENTS="SET_CLIENTS",e.SET_CLIENTS_PAGINATION="SET_CLIENTS_PAGINATION",e.SET_REVOCATION_SUCCESSFUL="SET_REVOCATION_SUCCESSFUL",e))(P1||{}),w1=(e=>(e.GET_APPLICATION_CONFIG="GET_APPLICATION_CONFIG",e.GET_APPLICATION_PRIVACY_POLICY="GET_APPLICATION_PRIVACY_POLICY",e.GET_APPLICATION_STATS="GET_APPLICATION_STATS",e.UPDATE_APPLICATION_CONFIG="UPDATE_APPLICATION_CONFIG",e.UPDATE_APPLICATION_LANGUAGE="UPDATE_APPLICATION_LANGUAGE",e))(w1||{}),L1=(e=>(e.APP_CONFIG="APP_CONFIG",e.APP_LOADING="APP_LOADING",e.APP_STATS="APP_STATS",e.ERROR_MESSAGES="ERROR_MESSAGES",e.LANGUAGE="LANGUAGE",e.LOCALE="LOCALE",e))(L1||{}),$1=(e=>(e.EMPTY_ERROR_MESSAGES="EMPTY_ERROR_MESSAGES",e.SET_ERROR_MESSAGES="SET_ERROR_MESSAGES",e.UPDATE_APPLICATION_CONFIG="UPDATE_APPLICATION_CONFIG",e.UPDATE_APPLICATION_LOADING="UPDATE_APPLICATION_LOADING",e.UPDATE_APPLICATION_PRIVACY_POLICY="UPDATE_APPLICATION_PRIVACY_POLICY",e.UPDATE_APPLICATION_STATS="UPDATE_APPLICATION_STATS",e.UPDATE_LANG="UPDATE_LANG",e))($1||{}),k1=(e=>(e.GET_SPORTS="GET_SPORTS",e.UPDATE_SPORTS="UPDATE_SPORTS",e))(k1||{}),U1=(e=>(e.SPORTS="SPORTS",e))(U1||{}),M1=(e=>(e.SET_SPORTS="SET_SPORTS",e))(M1||{}),x1=(e=>(e.GET_USER_STATS="GET_USER_STATS",e))(x1||{}),F1=(e=>(e.USER_STATS="USER_STATS",e))(F1||{}),W1=(e=>(e.EMPTY_USER_STATS="EMPTY_USER_STATS",e.UPDATE_USER_STATS="UPDATE_USER_STATS",e))(W1||{}),G1=(e=>(e.EMPTY_USER="EMPTY_USER",e.EMPTY_USERS="EMPTY_USERS",e.GET_USER="GET_USER",e.GET_USERS="GET_USERS",e.UPDATE_USER="UPDATE_USER",e.DELETE_USER_ACCOUNT="DELETE_USER_ACCOUNT",e))(G1||{}),z1=(e=>(e.USER="USER",e.USERS="USERS",e.USERS_IS_SUCCESS="USERS_IS_SUCCESS",e.USERS_LOADING="USERS_LOADING",e.USERS_PAGINATION="USERS_PAGINATION",e))(z1||{}),B1=(e=>(e.UPDATE_USER="UPDATE_USER",e.UPDATE_USER_IN_USERS="UPDATE_USER_IN_USERS",e.UPDATE_USERS="UPDATE_USERS",e.UPDATE_USERS_LOADING="UPDATE_USERS_LOADING",e.UPDATE_USERS_PAGINATION="UPDATE_USERS_PAGINATION",e.UPDATE_IS_SUCCESS="UPDATE_IS_SUCCESS",e))(B1||{}),H1=(e=>(e.ADD_WORKOUT="ADD_WORKOUT",e.ADD_WORKOUT_WITHOUT_GPX="ADD_WORKOUT_WITHOUT_GPX",e.DELETE_WORKOUT="DELETE_WORKOUT",e.EDIT_WORKOUT="EDIT_WORKOUT",e.GET_CALENDAR_WORKOUTS="GET_CALENDAR_WORKOUTS",e.GET_USER_WORKOUTS="GET_USER_WORKOUTS",e.GET_TIMELINE_WORKOUTS="GET_TIMELINE_WORKOUTS",e.GET_MORE_TIMELINE_WORKOUTS="GET_MORE_TIMELINE_WORKOUTS",e.GET_WORKOUT_DATA="GET_WORKOUT_DATA",e))(H1||{}),j1=(e=>(e.CALENDAR_WORKOUTS="CALENDAR_WORKOUTS",e.TIMELINE_WORKOUTS="TIMELINE_WORKOUTS",e.USER_WORKOUTS="USER_WORKOUTS",e.WORKOUT_DATA="WORKOUT_DATA",e.WORKOUTS_PAGINATION="WORKOUTS_PAGINATION",e))(j1||{}),ua=(e=>(e.ADD_TIMELINE_WORKOUTS="ADD_TIMELINE_WORKOUTS",e.EMPTY_WORKOUTS="EMPTY_WORKOUTS",e.EMPTY_CALENDAR_WORKOUTS="EMPTY_CALENDAR_WORKOUTS",e.EMPTY_WORKOUT="EMPTY_WORKOUT",e.SET_CALENDAR_WORKOUTS="SET_CALENDAR_WORKOUTS",e.SET_TIMELINE_WORKOUTS="SET_TIMELINE_WORKOUTS",e.SET_USER_WORKOUTS="SET_USER_WORKOUTS",e.SET_WORKOUT="SET_WORKOUT",e.SET_WORKOUT_GPX="SET_WORKOUT_GPX",e.SET_WORKOUT_CHART_DATA="SET_WORKOUT_CHART_DATA",e.SET_WORKOUT_LOADING="SET_WORKOUT_LOADING",e.SET_WORKOUTS_PAGINATION="SET_WORKOUTS_PAGINATION",e))(ua||{});const V={ACTIONS:w1,GETTERS:L1,MUTATIONS:$1},$t={ACTIONS:k1,GETTERS:U1,MUTATIONS:M1},Vr={ACTIONS:x1,GETTERS:F1,MUTATIONS:W1},Y={ACTIONS:b1,GETTERS:N1,MUTATIONS:C1},Ve={ACTIONS:y1,GETTERS:D1,MUTATIONS:P1},Ce={ACTIONS:G1,GETTERS:z1,MUTATIONS:B1},Te={ACTIONS:H1,GETTERS:j1,MUTATIONS:ua},yi=()=>"/api/",he=(e,t,n="UNKNOWN")=>{var s;if(t&&t.message==="canceled")return;const r=t!=null&&t.response&&t.response.data?t.response.data:null;if(((s=t==null?void 0:t.response)==null?void 0:s.status)===401&&(r==null?void 0:r.error)==="invalid_token"){localStorage.removeItem("authToken"),e.dispatch(Y.ACTIONS.CHECK_AUTH_USER);return}const a=t?t.response?t.response.status===413?"file size is greater than the allowed size":r!=null&&r.message?r.message:n:t.message?t.message:n:n;e.commit(V.MUTATIONS.SET_ERROR_MESSAGES,a.includes(` +`)?a.split(` +`).filter(i=>i!=="").map(i=>`api.ERROR.${i}`):`api.ERROR.${a}`)},Lb={class:"user-picture"},$b=["alt","src"],kb={key:1,class:"no-picture"},Ub=p("i",{class:"fa fa-user-circle-o","aria-hidden":"true"},null,-1),Mb=[Ub],Di=Q({__name:"UserPicture",props:{user:{}},setup(e){const t=e,n=$(()=>t.user.picture?`${yi()}users/${t.user.username}/picture?${Date.now()}`:"");return(r,a)=>(A(),N("div",Lb,[n.value!==""?(A(),N("img",{key:0,class:"profile-user-img",alt:r.$t("user.USER_PICTURE"),src:n.value},null,8,$b)):(A(),N("div",kb,Mb))]))}});function xb(){return V1().__VUE_DEVTOOLS_GLOBAL_HOOK__}function V1(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const Fb=typeof Proxy=="function",Wb="devtools-plugin:setup",Gb="plugin:settings:set";let Ra,zl;function zb(){var e;return Ra!==void 0||(typeof window<"u"&&window.performance?(Ra=!0,zl=window.performance):typeof global<"u"&&(!((e=global.perf_hooks)===null||e===void 0)&&e.performance)?(Ra=!0,zl=global.perf_hooks.performance):Ra=!1),Ra}function Bb(){return zb()?zl.now():Date.now()}class Hb{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const i in t.settings){const o=t.settings[i];r[i]=o.defaultValue}const a=`__vue-devtools-plugin-settings__${t.id}`;let s=Object.assign({},r);try{const i=localStorage.getItem(a),o=JSON.parse(i);Object.assign(s,o)}catch{}this.fallbacks={getSettings(){return s},setSettings(i){try{localStorage.setItem(a,JSON.stringify(i))}catch{}s=i},now(){return Bb()}},n&&n.on(Gb,(i,o)=>{i===this.plugin.id&&this.fallbacks.setSettings(o)}),this.proxiedOn=new Proxy({},{get:(i,o)=>this.target?this.target.on[o]:(...u)=>{this.onQueue.push({method:o,args:u})}}),this.proxiedTarget=new Proxy({},{get:(i,o)=>this.target?this.target[o]:o==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(o)?(...u)=>(this.targetQueue.push({method:o,args:u,resolve:()=>{}}),this.fallbacks[o](...u)):(...u)=>new Promise(c=>{this.targetQueue.push({method:o,args:u,resolve:c})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function jb(e,t){const n=e,r=V1(),a=xb(),s=Fb&&n.enableEarlyProxy;if(a&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!s))a.emit(Wb,e,t);else{const i=s?new Hb(n,a):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}}/*! + * vuex v4.1.0 + * (c) 2022 Evan You + * @license MIT + */var K1="store";function Vb(e){return e===void 0&&(e=null),ht(e!==null?e:K1)}function hs(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function Kb(e){return e!==null&&typeof e=="object"}function Yb(e){return e&&typeof e.then=="function"}function qb(e,t){return function(){return e(t)}}function Y1(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}}function q1(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;uc(e,n,[],e._modules.root,!0),Nf(e,n,t)}function Nf(e,t,n){var r=e._state,a=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var s=e._wrappedGetters,i={},o={},u=xh(!0);u.run(function(){hs(s,function(c,l){i[l]=qb(c,e),o[l]=$(function(){return i[l]()}),Object.defineProperty(e.getters,l,{get:function(){return o[l].value},enumerable:!0})})}),e._state=xt({data:t}),e._scope=u,e.strict&&eN(e),r&&n&&e._withCommit(function(){r.data=null}),a&&a.stop()}function uc(e,t,n,r,a){var s=!n.length,i=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[i],e._modulesNamespaceMap[i]=r),!s&&!a){var o=Cf(t,n.slice(0,-1)),u=n[n.length-1];e._withCommit(function(){o[u]=r.state})}var c=r.context=Xb(e,i,n);r.forEachMutation(function(l,f){var d=i+f;Zb(e,d,l,c)}),r.forEachAction(function(l,f){var d=l.root?f:i+f,m=l.handler||l;Qb(e,d,m,c)}),r.forEachGetter(function(l,f){var d=i+f;Jb(e,d,l,c)}),r.forEachChild(function(l,f){uc(e,t,n.concat(f),l,a)})}function Xb(e,t,n){var r=t==="",a={dispatch:r?e.dispatch:function(s,i,o){var u=qo(s,i,o),c=u.payload,l=u.options,f=u.type;return(!l||!l.root)&&(f=t+f),e.dispatch(f,c)},commit:r?e.commit:function(s,i,o){var u=qo(s,i,o),c=u.payload,l=u.options,f=u.type;(!l||!l.root)&&(f=t+f),e.commit(f,c,l)}};return Object.defineProperties(a,{getters:{get:r?function(){return e.getters}:function(){return X1(e,t)}},state:{get:function(){return Cf(e.state,n)}}}),a}function X1(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach(function(a){if(a.slice(0,r)===t){var s=a.slice(r);Object.defineProperty(n,s,{get:function(){return e.getters[a]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function Zb(e,t,n,r){var a=e._mutations[t]||(e._mutations[t]=[]);a.push(function(i){n.call(e,r.state,i)})}function Qb(e,t,n,r){var a=e._actions[t]||(e._actions[t]=[]);a.push(function(i){var o=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},i);return Yb(o)||(o=Promise.resolve(o)),e._devtoolHook?o.catch(function(u){throw e._devtoolHook.emit("vuex:error",u),u}):o})}function Jb(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(s){return n(r.state,r.getters,s.state,s.getters)})}function eN(e){Ge(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function Cf(e,t){return t.reduce(function(n,r){return n[r]},e)}function qo(e,t,n){return Kb(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var tN="vuex bindings",Hp="vuex:mutations",Yc="vuex:actions",ba="vuex",nN=0;function rN(e,t){jb({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[tN]},function(n){n.addTimelineLayer({id:Hp,label:"Vuex Mutations",color:jp}),n.addTimelineLayer({id:Yc,label:"Vuex Actions",color:jp}),n.addInspector({id:ba,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(r){if(r.app===e&&r.inspectorId===ba)if(r.filter){var a=[];eT(a,t._modules.root,r.filter,""),r.rootNodes=a}else r.rootNodes=[J1(t._modules.root,"")]}),n.on.getInspectorState(function(r){if(r.app===e&&r.inspectorId===ba){var a=r.nodeId;X1(t,a),r.state=iN(uN(t._modules,a),a==="root"?t.getters:t._makeLocalGettersCache,a)}}),n.on.editInspectorState(function(r){if(r.app===e&&r.inspectorId===ba){var a=r.nodeId,s=r.path;a!=="root"&&(s=a.split("/").filter(Boolean).concat(s)),t._withCommit(function(){r.set(t._state.data,s,r.state.value)})}}),t.subscribe(function(r,a){var s={};r.payload&&(s.payload=r.payload),s.state=a,n.notifyComponentUpdate(),n.sendInspectorTree(ba),n.sendInspectorState(ba),n.addTimelineEvent({layerId:Hp,event:{time:Date.now(),title:r.type,data:s}})}),t.subscribeAction({before:function(r,a){var s={};r.payload&&(s.payload=r.payload),r._id=nN++,r._time=Date.now(),s.state=a,n.addTimelineEvent({layerId:Yc,event:{time:r._time,title:r.type,groupId:r._id,subtitle:"start",data:s}})},after:function(r,a){var s={},i=Date.now()-r._time;s.duration={_custom:{type:"duration",display:i+"ms",tooltip:"Action duration",value:i}},r.payload&&(s.payload=r.payload),s.state=a,n.addTimelineEvent({layerId:Yc,event:{time:Date.now(),title:r.type,groupId:r._id,subtitle:"end",data:s}})}})})}var jp=8702998,aN=6710886,sN=16777215,Z1={label:"namespaced",textColor:sN,backgroundColor:aN};function Q1(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function J1(e,t){return{id:t||"root",label:Q1(t),tags:e.namespaced?[Z1]:[],children:Object.keys(e._children).map(function(n){return J1(e._children[n],t+n+"/")})}}function eT(e,t,n,r){r.includes(n)&&e.push({id:r||"root",label:r.endsWith("/")?r.slice(0,r.length-1):r||"Root",tags:t.namespaced?[Z1]:[]}),Object.keys(t._children).forEach(function(a){eT(e,t._children[a],n,r+a+"/")})}function iN(e,t,n){t=n==="root"?t:t[n];var r=Object.keys(t),a={state:Object.keys(e.state).map(function(i){return{key:i,editable:!0,value:e.state[i]}})};if(r.length){var s=oN(t);a.getters=Object.keys(s).map(function(i){return{key:i.endsWith("/")?Q1(i):i,editable:!1,value:Bl(function(){return s[i]})}})}return a}function oN(e){var t={};return Object.keys(e).forEach(function(n){var r=n.split("/");if(r.length>1){var a=t,s=r.pop();r.forEach(function(i){a[i]||(a[i]={_custom:{value:{},display:i,tooltip:"Module",abstract:!0}}),a=a[i]._custom.value}),a[s]=Bl(function(){return e[n]})}else t[n]=Bl(function(){return e[n]})}),t}function uN(e,t){var n=t.split("/").filter(function(r){return r});return n.reduce(function(r,a,s){var i=r[a];if(!i)throw new Error('Missing module "'+a+'" for path "'+t+'".');return s===n.length-1?i:i._children},t==="root"?e:e.root._children)}function Bl(e){try{return e()}catch(t){return t}}var Un=function(t,n){this.runtime=n,this._children=Object.create(null),this._rawModule=t;var r=t.state;this.state=(typeof r=="function"?r():r)||{}},tT={namespaced:{configurable:!0}};tT.namespaced.get=function(){return!!this._rawModule.namespaced};Un.prototype.addChild=function(t,n){this._children[t]=n};Un.prototype.removeChild=function(t){delete this._children[t]};Un.prototype.getChild=function(t){return this._children[t]};Un.prototype.hasChild=function(t){return t in this._children};Un.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)};Un.prototype.forEachChild=function(t){hs(this._children,t)};Un.prototype.forEachGetter=function(t){this._rawModule.getters&&hs(this._rawModule.getters,t)};Un.prototype.forEachAction=function(t){this._rawModule.actions&&hs(this._rawModule.actions,t)};Un.prototype.forEachMutation=function(t){this._rawModule.mutations&&hs(this._rawModule.mutations,t)};Object.defineProperties(Un.prototype,tT);var ha=function(t){this.register([],t,!1)};ha.prototype.get=function(t){return t.reduce(function(n,r){return n.getChild(r)},this.root)};ha.prototype.getNamespace=function(t){var n=this.root;return t.reduce(function(r,a){return n=n.getChild(a),r+(n.namespaced?a+"/":"")},"")};ha.prototype.update=function(t){nT([],this.root,t)};ha.prototype.register=function(t,n,r){var a=this;r===void 0&&(r=!0);var s=new Un(n,r);if(t.length===0)this.root=s;else{var i=this.get(t.slice(0,-1));i.addChild(t[t.length-1],s)}n.modules&&hs(n.modules,function(o,u){a.register(t.concat(u),o,r)})};ha.prototype.unregister=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1],a=n.getChild(r);a&&a.runtime&&n.removeChild(r)};ha.prototype.isRegistered=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1];return n?n.hasChild(r):!1};function nT(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return;nT(e.concat(r),t.getChild(r),n.modules[r])}}function cN(e){return new dn(e)}var dn=function(t){var n=this;t===void 0&&(t={});var r=t.plugins;r===void 0&&(r=[]);var a=t.strict;a===void 0&&(a=!1);var s=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new ha(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=s;var i=this,o=this,u=o.dispatch,c=o.commit;this.dispatch=function(d,m){return u.call(i,d,m)},this.commit=function(d,m,E){return c.call(i,d,m,E)},this.strict=a;var l=this._modules.root.state;uc(this,l,[],this._modules.root),Nf(this,l),r.forEach(function(f){return f(n)})},yf={state:{configurable:!0}};dn.prototype.install=function(t,n){t.provide(n||K1,this),t.config.globalProperties.$store=this;var r=this._devtools!==void 0?this._devtools:!1;r&&rN(t,this)};yf.state.get=function(){return this._state.data};yf.state.set=function(e){};dn.prototype.commit=function(t,n,r){var a=this,s=qo(t,n,r),i=s.type,o=s.payload,u={type:i,payload:o},c=this._mutations[i];c&&(this._withCommit(function(){c.forEach(function(f){f(o)})}),this._subscribers.slice().forEach(function(l){return l(u,a.state)}))};dn.prototype.dispatch=function(t,n){var r=this,a=qo(t,n),s=a.type,i=a.payload,o={type:s,payload:i},u=this._actions[s];if(u){try{this._actionSubscribers.slice().filter(function(l){return l.before}).forEach(function(l){return l.before(o,r.state)})}catch{}var c=u.length>1?Promise.all(u.map(function(l){return l(i)})):u[0](i);return new Promise(function(l,f){c.then(function(d){try{r._actionSubscribers.filter(function(m){return m.after}).forEach(function(m){return m.after(o,r.state)})}catch{}l(d)},function(d){try{r._actionSubscribers.filter(function(m){return m.error}).forEach(function(m){return m.error(o,r.state,d)})}catch{}f(d)})})}};dn.prototype.subscribe=function(t,n){return Y1(t,this._subscribers,n)};dn.prototype.subscribeAction=function(t,n){var r=typeof t=="function"?{before:t}:t;return Y1(r,this._actionSubscribers,n)};dn.prototype.watch=function(t,n,r){var a=this;return Ge(function(){return t(a.state,a.getters)},n,Object.assign({},r))};dn.prototype.replaceState=function(t){var n=this;this._withCommit(function(){n._state.data=t})};dn.prototype.registerModule=function(t,n,r){r===void 0&&(r={}),typeof t=="string"&&(t=[t]),this._modules.register(t,n),uc(this,this.state,t,this._modules.get(t),r.preserveState),Nf(this,this.state)};dn.prototype.unregisterModule=function(t){var n=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var r=Cf(n.state,t.slice(0,-1));delete r[t[t.length-1]]}),q1(this)};dn.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)};dn.prototype.hotUpdate=function(t){this._modules.update(t),q1(this,!0)};dn.prototype._withCommit=function(t){var n=this._committing;this._committing=!0,t(),this._committing=n};Object.defineProperties(dn.prototype,yf);function $e(){return Vb()}function dt(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}function we(e){return function(t,n){var r=n!=null&&n.context?String(n.context):"standalone",a;if(r==="formatting"&&e.formattingValues){var s=e.defaultFormattingWidth||e.defaultWidth,i=n!=null&&n.width?String(n.width):s;a=e.formattingValues[i]||e.formattingValues[s]}else{var o=e.defaultWidth,u=n!=null&&n.width?String(n.width):e.defaultWidth;a=e.values[u]||e.values[o]}var c=e.argumentCallback?e.argumentCallback(t):t;return a[c]}}function Le(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.width,a=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],s=t.match(a);if(!s)return null;var i=s[0],o=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(o)?dN(o,function(f){return f.test(i)}):lN(o,function(f){return f.test(i)}),c;c=e.valueCallback?e.valueCallback(u):u,c=n.valueCallback?n.valueCallback(c):c;var l=t.slice(i.length);return{value:c,rest:l}}}function lN(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function dN(e,t){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var a=r[0],s=t.match(e.parsePattern);if(!s)return null;var i=e.valueCallback?e.valueCallback(s[0]):s[0];i=n.valueCallback?n.valueCallback(i):i;var o=t.slice(a.length);return{value:i,rest:o}}}function Xo(e){"@babel/helpers - typeof";return Xo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xo(e)}function Ft(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function Ue(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function Ke(e){Ue(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||Xo(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function Pi(e,t){Ue(2,arguments);var n=Ke(e),r=Ft(t);return isNaN(r)?new Date(NaN):(r&&n.setDate(n.getDate()+r),n)}function Xa(e,t){Ue(2,arguments);var n=Ke(e),r=Ft(t);if(isNaN(r))return new Date(NaN);if(!r)return n;var a=n.getDate(),s=new Date(n.getTime());s.setMonth(n.getMonth()+r+1,0);var i=s.getDate();return a>=i?s:(n.setFullYear(s.getFullYear(),s.getMonth(),a),n)}function fN(e,t){Ue(2,arguments);var n=Ke(e).getTime(),r=Ft(t);return new Date(n+r)}var pN={};function _a(){return pN}function cc(e,t){var n,r,a,s,i,o,u,c;Ue(1,arguments);var l=_a(),f=Ft((n=(r=(a=(s=t==null?void 0:t.weekStartsOn)!==null&&s!==void 0?s:t==null||(i=t.locale)===null||i===void 0||(o=i.options)===null||o===void 0?void 0:o.weekStartsOn)!==null&&a!==void 0?a:l.weekStartsOn)!==null&&r!==void 0?r:(u=l.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&n!==void 0?n:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=Ke(e),m=d.getDay(),E=(m0?1:a}function rT(e,t){Ue(2,arguments);var n=Vp(e),r=Vp(t);return n.getTime()===r.getTime()}function mN(e){return Ue(1,arguments),e instanceof Date||Xo(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function EN(e){if(Ue(1,arguments),!mN(e)&&typeof e!="number")return!1;var t=Ke(e);return!isNaN(Number(t))}function hN(e,t){Ue(2,arguments);var n=Ke(e),r=Ke(t),a=n.getFullYear()-r.getFullYear(),s=n.getMonth()-r.getMonth();return a*12+s}function _N(e,t){return Ue(2,arguments),Ke(e).getTime()-Ke(t).getTime()}var Kp={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)}},TN="trunc";function gN(e){return e?Kp[e]:Kp[TN]}function AN(e){Ue(1,arguments);var t=Ke(e);return t.setHours(23,59,59,999),t}function wi(e){Ue(1,arguments);var t=Ke(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function SN(e){Ue(1,arguments);var t=Ke(e);return AN(t).getTime()===wi(t).getTime()}function ON(e,t){Ue(2,arguments);var n=Ke(e),r=Ke(t),a=yo(n,r),s=Math.abs(hN(n,r)),i;if(s<1)i=0;else{n.getMonth()===1&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-a*s);var o=yo(n,r)===-a;SN(Ke(e))&&s===1&&yo(e,r)===1&&(o=!1),i=a*(s-Number(o))}return i===0?0:i}function IN(e,t,n){Ue(2,arguments);var r=_N(e,t)/1e3;return gN(n==null?void 0:n.roundingMethod)(r)}function Li(e){Ue(1,arguments);var t=Ke(e);return t.setDate(1),t.setHours(0,0,0,0),t}function aT(e){Ue(1,arguments);var t=Ke(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t}function Df(e){Ue(1,arguments);var t=Ke(e),n=new Date(0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Pf(e,t){var n,r,a,s,i,o,u,c;Ue(1,arguments);var l=_a(),f=Ft((n=(r=(a=(s=t==null?void 0:t.weekStartsOn)!==null&&s!==void 0?s:t==null||(i=t.locale)===null||i===void 0||(o=i.options)===null||o===void 0?void 0:o.weekStartsOn)!==null&&a!==void 0?a:l.weekStartsOn)!==null&&r!==void 0?r:(u=l.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&n!==void 0?n:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=Ke(e),m=d.getDay(),E=(m=a.getTime()?n+1:t.getTime()>=i.getTime()?n:n-1}function NN(e){Ue(1,arguments);var t=sT(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var r=Qo(n);return r}var CN=6048e5;function yN(e){Ue(1,arguments);var t=Ke(e),n=Qo(t).getTime()-NN(t).getTime();return Math.round(n/CN)+1}function Za(e,t){var n,r,a,s,i,o,u,c;Ue(1,arguments);var l=_a(),f=Ft((n=(r=(a=(s=t==null?void 0:t.weekStartsOn)!==null&&s!==void 0?s:t==null||(i=t.locale)===null||i===void 0||(o=i.options)===null||o===void 0?void 0:o.weekStartsOn)!==null&&a!==void 0?a:l.weekStartsOn)!==null&&r!==void 0?r:(u=l.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&n!==void 0?n:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=Ke(e),m=d.getUTCDay(),E=(m=1&&m<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var E=new Date(0);E.setUTCFullYear(f+1,0,m),E.setUTCHours(0,0,0,0);var g=Za(E,t),b=new Date(0);b.setUTCFullYear(f,0,m),b.setUTCHours(0,0,0,0);var O=Za(b,t);return l.getTime()>=g.getTime()?f+1:l.getTime()>=O.getTime()?f:f-1}function DN(e,t){var n,r,a,s,i,o,u,c;Ue(1,arguments);var l=_a(),f=Ft((n=(r=(a=(s=t==null?void 0:t.firstWeekContainsDate)!==null&&s!==void 0?s:t==null||(i=t.locale)===null||i===void 0||(o=i.options)===null||o===void 0?void 0:o.firstWeekContainsDate)!==null&&a!==void 0?a:l.firstWeekContainsDate)!==null&&r!==void 0?r:(u=l.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&n!==void 0?n:1),d=iT(e,t),m=new Date(0);m.setUTCFullYear(d,0,f),m.setUTCHours(0,0,0,0);var E=Za(m,t);return E}var PN=6048e5;function wN(e,t){Ue(1,arguments);var n=Ke(e),r=Za(n,t).getTime()-DN(n,t).getTime();return Math.round(r/PN)+1}function at(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length0?r:1-r;return at(n==="yy"?a%100:a,n.length)},M:function(t,n){var r=t.getUTCMonth();return n==="M"?String(r+1):at(r+1,2)},d:function(t,n){return at(t.getUTCDate(),n.length)},a:function(t,n){var r=t.getUTCHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(t,n){return at(t.getUTCHours()%12||12,n.length)},H:function(t,n){return at(t.getUTCHours(),n.length)},m:function(t,n){return at(t.getUTCMinutes(),n.length)},s:function(t,n){return at(t.getUTCSeconds(),n.length)},S:function(t,n){var r=n.length,a=t.getUTCMilliseconds(),s=Math.floor(a*Math.pow(10,r-3));return at(s,n.length)}};const Cr=LN;var Na={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},$N={G:function(t,n,r){var a=t.getUTCFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return r.era(a,{width:"abbreviated"});case"GGGGG":return r.era(a,{width:"narrow"});case"GGGG":default:return r.era(a,{width:"wide"})}},y:function(t,n,r){if(n==="yo"){var a=t.getUTCFullYear(),s=a>0?a:1-a;return r.ordinalNumber(s,{unit:"year"})}return Cr.y(t,n)},Y:function(t,n,r,a){var s=iT(t,a),i=s>0?s:1-s;if(n==="YY"){var o=i%100;return at(o,2)}return n==="Yo"?r.ordinalNumber(i,{unit:"year"}):at(i,n.length)},R:function(t,n){var r=sT(t);return at(r,n.length)},u:function(t,n){var r=t.getUTCFullYear();return at(r,n.length)},Q:function(t,n,r){var a=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"Q":return String(a);case"QQ":return at(a,2);case"Qo":return r.ordinalNumber(a,{unit:"quarter"});case"QQQ":return r.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(a,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(a,{width:"wide",context:"formatting"})}},q:function(t,n,r){var a=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"q":return String(a);case"qq":return at(a,2);case"qo":return r.ordinalNumber(a,{unit:"quarter"});case"qqq":return r.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(a,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(a,{width:"wide",context:"standalone"})}},M:function(t,n,r){var a=t.getUTCMonth();switch(n){case"M":case"MM":return Cr.M(t,n);case"Mo":return r.ordinalNumber(a+1,{unit:"month"});case"MMM":return r.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(a,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(a,{width:"wide",context:"formatting"})}},L:function(t,n,r){var a=t.getUTCMonth();switch(n){case"L":return String(a+1);case"LL":return at(a+1,2);case"Lo":return r.ordinalNumber(a+1,{unit:"month"});case"LLL":return r.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(a,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(a,{width:"wide",context:"standalone"})}},w:function(t,n,r,a){var s=wN(t,a);return n==="wo"?r.ordinalNumber(s,{unit:"week"}):at(s,n.length)},I:function(t,n,r){var a=yN(t);return n==="Io"?r.ordinalNumber(a,{unit:"week"}):at(a,n.length)},d:function(t,n,r){return n==="do"?r.ordinalNumber(t.getUTCDate(),{unit:"date"}):Cr.d(t,n)},D:function(t,n,r){var a=bN(t);return n==="Do"?r.ordinalNumber(a,{unit:"dayOfYear"}):at(a,n.length)},E:function(t,n,r){var a=t.getUTCDay();switch(n){case"E":case"EE":case"EEE":return r.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(a,{width:"short",context:"formatting"});case"EEEE":default:return r.day(a,{width:"wide",context:"formatting"})}},e:function(t,n,r,a){var s=t.getUTCDay(),i=(s-a.weekStartsOn+8)%7||7;switch(n){case"e":return String(i);case"ee":return at(i,2);case"eo":return r.ordinalNumber(i,{unit:"day"});case"eee":return r.day(s,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(s,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(s,{width:"short",context:"formatting"});case"eeee":default:return r.day(s,{width:"wide",context:"formatting"})}},c:function(t,n,r,a){var s=t.getUTCDay(),i=(s-a.weekStartsOn+8)%7||7;switch(n){case"c":return String(i);case"cc":return at(i,n.length);case"co":return r.ordinalNumber(i,{unit:"day"});case"ccc":return r.day(s,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(s,{width:"narrow",context:"standalone"});case"cccccc":return r.day(s,{width:"short",context:"standalone"});case"cccc":default:return r.day(s,{width:"wide",context:"standalone"})}},i:function(t,n,r){var a=t.getUTCDay(),s=a===0?7:a;switch(n){case"i":return String(s);case"ii":return at(s,n.length);case"io":return r.ordinalNumber(s,{unit:"day"});case"iii":return r.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(a,{width:"short",context:"formatting"});case"iiii":default:return r.day(a,{width:"wide",context:"formatting"})}},a:function(t,n,r){var a=t.getUTCHours(),s=a/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(s,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(s,{width:"wide",context:"formatting"})}},b:function(t,n,r){var a=t.getUTCHours(),s;switch(a===12?s=Na.noon:a===0?s=Na.midnight:s=a/12>=1?"pm":"am",n){case"b":case"bb":return r.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(s,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(s,{width:"wide",context:"formatting"})}},B:function(t,n,r){var a=t.getUTCHours(),s;switch(a>=17?s=Na.evening:a>=12?s=Na.afternoon:a>=4?s=Na.morning:s=Na.night,n){case"B":case"BB":case"BBB":return r.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(s,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(s,{width:"wide",context:"formatting"})}},h:function(t,n,r){if(n==="ho"){var a=t.getUTCHours()%12;return a===0&&(a=12),r.ordinalNumber(a,{unit:"hour"})}return Cr.h(t,n)},H:function(t,n,r){return n==="Ho"?r.ordinalNumber(t.getUTCHours(),{unit:"hour"}):Cr.H(t,n)},K:function(t,n,r){var a=t.getUTCHours()%12;return n==="Ko"?r.ordinalNumber(a,{unit:"hour"}):at(a,n.length)},k:function(t,n,r){var a=t.getUTCHours();return a===0&&(a=24),n==="ko"?r.ordinalNumber(a,{unit:"hour"}):at(a,n.length)},m:function(t,n,r){return n==="mo"?r.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):Cr.m(t,n)},s:function(t,n,r){return n==="so"?r.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):Cr.s(t,n)},S:function(t,n){return Cr.S(t,n)},X:function(t,n,r,a){var s=a._originalDate||t,i=s.getTimezoneOffset();if(i===0)return"Z";switch(n){case"X":return qp(i);case"XXXX":case"XX":return ra(i);case"XXXXX":case"XXX":default:return ra(i,":")}},x:function(t,n,r,a){var s=a._originalDate||t,i=s.getTimezoneOffset();switch(n){case"x":return qp(i);case"xxxx":case"xx":return ra(i);case"xxxxx":case"xxx":default:return ra(i,":")}},O:function(t,n,r,a){var s=a._originalDate||t,i=s.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+Yp(i,":");case"OOOO":default:return"GMT"+ra(i,":")}},z:function(t,n,r,a){var s=a._originalDate||t,i=s.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+Yp(i,":");case"zzzz":default:return"GMT"+ra(i,":")}},t:function(t,n,r,a){var s=a._originalDate||t,i=Math.floor(s.getTime()/1e3);return at(i,n.length)},T:function(t,n,r,a){var s=a._originalDate||t,i=s.getTime();return at(i,n.length)}};function Yp(e,t){var n=e>0?"-":"+",r=Math.abs(e),a=Math.floor(r/60),s=r%60;if(s===0)return n+String(a);var i=t||"";return n+String(a)+i+at(s,2)}function qp(e,t){if(e%60===0){var n=e>0?"-":"+";return n+at(Math.abs(e)/60,2)}return ra(e,t)}function ra(e,t){var n=t||"",r=e>0?"-":"+",a=Math.abs(e),s=at(Math.floor(a/60),2),i=at(a%60,2);return r+s+n+i}const kN=$N;var Xp=function(t,n){switch(t){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}},oT=function(t,n){switch(t){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}},UN=function(t,n){var r=t.match(/(P+)(p+)?/)||[],a=r[1],s=r[2];if(!s)return Xp(t,n);var i;switch(a){case"P":i=n.dateTime({width:"short"});break;case"PP":i=n.dateTime({width:"medium"});break;case"PPP":i=n.dateTime({width:"long"});break;case"PPPP":default:i=n.dateTime({width:"full"});break}return i.replace("{{date}}",Xp(a,n)).replace("{{time}}",oT(s,n))},MN={p:oT,P:UN};const xN=MN;var FN=["D","DD"],WN=["YY","YYYY"];function GN(e){return FN.indexOf(e)!==-1}function zN(e){return WN.indexOf(e)!==-1}function Zp(e,t,n){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var BN={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},HN=function(t,n,r){var a,s=BN[t];return typeof s=="string"?a=s:n===1?a=s.one:a=s.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+a:a+" ago":a};const jN=HN;var VN={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},KN={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},YN={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},qN={date:dt({formats:VN,defaultWidth:"full"}),time:dt({formats:KN,defaultWidth:"full"}),dateTime:dt({formats:YN,defaultWidth:"full"})};const XN=qN;var ZN={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},QN=function(t,n,r,a){return ZN[t]};const JN=QN;var e3={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},t3={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},n3={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},r3={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},a3={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},s3={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},i3=function(t,n){var r=Number(t),a=r%100;if(a>20||a<10)switch(a%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},o3={ordinalNumber:i3,era:we({values:e3,defaultWidth:"wide"}),quarter:we({values:t3,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:we({values:n3,defaultWidth:"wide"}),day:we({values:r3,defaultWidth:"wide"}),dayPeriod:we({values:a3,defaultWidth:"wide",formattingValues:s3,defaultFormattingWidth:"wide"})};const u3=o3;var c3=/^(\d+)(th|st|nd|rd)?/i,l3=/\d+/i,d3={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},f3={any:[/^b/i,/^(a|c)/i]},p3={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},m3={any:[/1/i,/2/i,/3/i,/4/i]},E3={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},h3={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},_3={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},T3={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},g3={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},A3={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},S3={ordinalNumber:Or({matchPattern:c3,parsePattern:l3,valueCallback:function(t){return parseInt(t,10)}}),era:Le({matchPatterns:d3,defaultMatchWidth:"wide",parsePatterns:f3,defaultParseWidth:"any"}),quarter:Le({matchPatterns:p3,defaultMatchWidth:"wide",parsePatterns:m3,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Le({matchPatterns:E3,defaultMatchWidth:"wide",parsePatterns:h3,defaultParseWidth:"any"}),day:Le({matchPatterns:_3,defaultMatchWidth:"wide",parsePatterns:T3,defaultParseWidth:"any"}),dayPeriod:Le({matchPatterns:g3,defaultMatchWidth:"any",parsePatterns:A3,defaultParseWidth:"any"})};const O3=S3;var I3={code:"en-US",formatDistance:jN,formatLong:XN,formatRelative:JN,localize:u3,match:O3,options:{weekStartsOn:0,firstWeekContainsDate:1}};const lc=I3;var v3=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,R3=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,b3=/^'([^]*?)'?$/,N3=/''/g,C3=/[a-zA-Z]/;function ln(e,t,n){var r,a,s,i,o,u,c,l,f,d,m,E,g,b,O,R,v,T;Ue(2,arguments);var L=String(t),w=_a(),P=(r=(a=n==null?void 0:n.locale)!==null&&a!==void 0?a:w.locale)!==null&&r!==void 0?r:lc,j=Ft((s=(i=(o=(u=n==null?void 0:n.firstWeekContainsDate)!==null&&u!==void 0?u:n==null||(c=n.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&o!==void 0?o:w.firstWeekContainsDate)!==null&&i!==void 0?i:(f=w.locale)===null||f===void 0||(d=f.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&s!==void 0?s:1);if(!(j>=1&&j<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var G=Ft((m=(E=(g=(b=n==null?void 0:n.weekStartsOn)!==null&&b!==void 0?b:n==null||(O=n.locale)===null||O===void 0||(R=O.options)===null||R===void 0?void 0:R.weekStartsOn)!==null&&g!==void 0?g:w.weekStartsOn)!==null&&E!==void 0?E:(v=w.locale)===null||v===void 0||(T=v.options)===null||T===void 0?void 0:T.weekStartsOn)!==null&&m!==void 0?m:0);if(!(G>=0&&G<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!P.localize)throw new RangeError("locale must contain localize property");if(!P.formatLong)throw new RangeError("locale must contain formatLong property");var z=Ke(e);if(!EN(z))throw new RangeError("Invalid time value");var k=Hl(z),Z=vN(z,k),ee={firstWeekContainsDate:j,weekStartsOn:G,locale:P,_originalDate:z},re=L.match(R3).map(function(D){var W=D[0];if(W==="p"||W==="P"){var H=xN[W];return H(D,P.formatLong)}return D}).join("").match(v3).map(function(D){if(D==="''")return"'";var W=D[0];if(W==="'")return y3(D);var H=kN[W];if(H)return!(n!=null&&n.useAdditionalWeekYearTokens)&&zN(D)&&Zp(D,t,String(e)),!(n!=null&&n.useAdditionalDayOfYearTokens)&&GN(D)&&Zp(D,t,String(e)),H(Z,D,P.localize,ee);if(W.match(C3))throw new RangeError("Format string contains an unescaped latin alphabet character `"+W+"`");return D}).join("");return re}function y3(e){var t=e.match(b3);return t?t[1].replace(N3,"'"):e}function uT(e,t){if(e==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function D3(e){return uT({},e)}var Qp=1440,P3=2520,qc=43200,w3=86400;function L3(e,t,n){var r,a;Ue(2,arguments);var s=_a(),i=(r=(a=n==null?void 0:n.locale)!==null&&a!==void 0?a:s.locale)!==null&&r!==void 0?r:lc;if(!i.formatDistance)throw new RangeError("locale must contain formatDistance property");var o=yo(e,t);if(isNaN(o))throw new RangeError("Invalid time value");var u=uT(D3(n),{addSuffix:!!(n!=null&&n.addSuffix),comparison:o}),c,l;o>0?(c=Ke(t),l=Ke(e)):(c=Ke(e),l=Ke(t));var f=IN(l,c),d=(Hl(l)-Hl(c))/1e3,m=Math.round((f-d)/60),E;if(m<2)return n!=null&&n.includeSeconds?f<5?i.formatDistance("lessThanXSeconds",5,u):f<10?i.formatDistance("lessThanXSeconds",10,u):f<20?i.formatDistance("lessThanXSeconds",20,u):f<40?i.formatDistance("halfAMinute",0,u):f<60?i.formatDistance("lessThanXMinutes",1,u):i.formatDistance("xMinutes",1,u):m===0?i.formatDistance("lessThanXMinutes",1,u):i.formatDistance("xMinutes",m,u);if(m<45)return i.formatDistance("xMinutes",m,u);if(m<90)return i.formatDistance("aboutXHours",1,u);if(m0?"in "+a:"vor "+a:a};const F3=x3;var W3={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},G3={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},z3={full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},B3={date:dt({formats:W3,defaultWidth:"full"}),time:dt({formats:G3,defaultWidth:"full"}),dateTime:dt({formats:z3,defaultWidth:"full"})};const H3=B3;var j3={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},V3=function(t,n,r,a){return j3[t]};const K3=V3;var Y3={narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},q3={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},Yl={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},X3={narrow:Yl.narrow,abbreviated:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:Yl.wide},Z3={narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},Q3={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},J3={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},eC=function(t){var n=Number(t);return n+"."},tC={ordinalNumber:eC,era:we({values:Y3,defaultWidth:"wide"}),quarter:we({values:q3,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:we({values:Yl,formattingValues:X3,defaultWidth:"wide"}),day:we({values:Z3,defaultWidth:"wide"}),dayPeriod:we({values:Q3,defaultWidth:"wide",formattingValues:J3,defaultFormattingWidth:"wide"})};const nC=tC;var rC=/^(\d+)(\.)?/i,aC=/\d+/i,sC={narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},iC={any:[/^v/i,/^n/i]},oC={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},uC={any:[/1/i,/2/i,/3/i,/4/i]},cC={narrow:/^[jfmasond]/i,abbreviated:/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,wide:/^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i},lC={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^j[aä]/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},dC={narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},fC={any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},pC={narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},mC={any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},EC={ordinalNumber:Or({matchPattern:rC,parsePattern:aC,valueCallback:function(t){return parseInt(t)}}),era:Le({matchPatterns:sC,defaultMatchWidth:"wide",parsePatterns:iC,defaultParseWidth:"any"}),quarter:Le({matchPatterns:oC,defaultMatchWidth:"wide",parsePatterns:uC,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Le({matchPatterns:cC,defaultMatchWidth:"wide",parsePatterns:lC,defaultParseWidth:"any"}),day:Le({matchPatterns:dC,defaultMatchWidth:"wide",parsePatterns:fC,defaultParseWidth:"any"}),dayPeriod:Le({matchPatterns:pC,defaultMatchWidth:"wide",parsePatterns:mC,defaultParseWidth:"any"})};const hC=EC;var _C={code:"de",formatDistance:F3,formatLong:H3,formatRelative:K3,localize:nC,match:hC,options:{weekStartsOn:1,firstWeekContainsDate:4}};const TC=_C;var gC={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 año",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}},AC=function(t,n,r){var a,s=gC[t];return typeof s=="string"?a=s:n===1?a=s.one:a=s.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"en "+a:"hace "+a:a};const SC=AC;var OC={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},IC={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},vC={full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},RC={date:dt({formats:OC,defaultWidth:"full"}),time:dt({formats:IC,defaultWidth:"full"}),dateTime:dt({formats:vC,defaultWidth:"full"})};const bC=RC;var NC={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'mañana a la' p",nextWeek:"eeee 'a la' p",other:"P"},CC={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'mañana a las' p",nextWeek:"eeee 'a las' p",other:"P"},yC=function(t,n,r,a){return n.getUTCHours()!==1?CC[t]:NC[t]};const DC=yC;var PC={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},wC={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},LC={narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},$C={narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sá"],abbreviated:["dom","lun","mar","mié","jue","vie","sáb"],wide:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"]},kC={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"}},UC={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},MC=function(t,n){var r=Number(t);return r+"º"},xC={ordinalNumber:MC,era:we({values:PC,defaultWidth:"wide"}),quarter:we({values:wC,defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:we({values:LC,defaultWidth:"wide"}),day:we({values:$C,defaultWidth:"wide"}),dayPeriod:we({values:kC,defaultWidth:"wide",formattingValues:UC,defaultFormattingWidth:"wide"})};const FC=xC;var WC=/^(\d+)(º)?/i,GC=/\d+/i,zC={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i},BC={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},HC={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},jC={any:[/1/i,/2/i,/3/i,/4/i]},VC={narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},KC={narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},YC={narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},qC={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},XC={narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},ZC={any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},QC={ordinalNumber:Or({matchPattern:WC,parsePattern:GC,valueCallback:function(t){return parseInt(t,10)}}),era:Le({matchPatterns:zC,defaultMatchWidth:"wide",parsePatterns:BC,defaultParseWidth:"any"}),quarter:Le({matchPatterns:HC,defaultMatchWidth:"wide",parsePatterns:jC,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Le({matchPatterns:VC,defaultMatchWidth:"wide",parsePatterns:KC,defaultParseWidth:"any"}),day:Le({matchPatterns:YC,defaultMatchWidth:"wide",parsePatterns:qC,defaultParseWidth:"any"}),dayPeriod:Le({matchPatterns:XC,defaultMatchWidth:"any",parsePatterns:ZC,defaultParseWidth:"any"})};const JC=QC;var ey={code:"es",formatDistance:SC,formatLong:bC,formatRelative:DC,localize:FC,match:JC,options:{weekStartsOn:1,firstWeekContainsDate:1}};const ty=ey;var ny={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}},ry=function(t,n,r){var a,s=ny[t];return typeof s=="string"?a=s:n===1?a=s.one:a=s.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"dans "+a:"il y a "+a:a};const ay=ry;var sy={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},iy={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},oy={full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},uy={date:dt({formats:sy,defaultWidth:"full"}),time:dt({formats:iy,defaultWidth:"full"}),dateTime:dt({formats:oy,defaultWidth:"full"})};const cy=uy;var ly={lastWeek:"eeee 'dernier à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'prochain à' p",other:"P"},dy=function(t,n,r,a){return ly[t]};const fy=dy;var py={narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},my={narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2ème trim.","3ème trim.","4ème trim."],wide:["1er trimestre","2ème trimestre","3ème trimestre","4ème trimestre"]},Ey={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],wide:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},hy={narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},_y={narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"après-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’après-midi",evening:"du soir",night:"du matin"}},Ty=function(t,n){var r=Number(t),a=n==null?void 0:n.unit;if(r===0)return"0";var s=["year","week","hour","minute","second"],i;return r===1?i=a&&s.includes(a)?"ère":"er":i="ème",r+i},gy={ordinalNumber:Ty,era:we({values:py,defaultWidth:"wide"}),quarter:we({values:my,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:we({values:Ey,defaultWidth:"wide"}),day:we({values:hy,defaultWidth:"wide"}),dayPeriod:we({values:_y,defaultWidth:"wide"})};const Ay=gy;var Sy=/^(\d+)(ième|ère|ème|er|e)?/i,Oy=/\d+/i,Iy={narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},vy={any:[/^av/i,/^ap/i]},Ry={narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},by={any:[/1/i,/2/i,/3/i,/4/i]},Ny={narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},Cy={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},yy={narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},Dy={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},Py={narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},wy={any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},Ly={ordinalNumber:Or({matchPattern:Sy,parsePattern:Oy,valueCallback:function(t){return parseInt(t)}}),era:Le({matchPatterns:Iy,defaultMatchWidth:"wide",parsePatterns:vy,defaultParseWidth:"any"}),quarter:Le({matchPatterns:Ry,defaultMatchWidth:"wide",parsePatterns:by,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Le({matchPatterns:Ny,defaultMatchWidth:"wide",parsePatterns:Cy,defaultParseWidth:"any"}),day:Le({matchPatterns:yy,defaultMatchWidth:"wide",parsePatterns:Dy,defaultParseWidth:"any"}),dayPeriod:Le({matchPatterns:Py,defaultMatchWidth:"any",parsePatterns:wy,defaultParseWidth:"any"})};const $y=Ly;var ky={code:"fr",formatDistance:ay,formatLong:cy,formatRelative:fy,localize:Ay,match:$y,options:{weekStartsOn:1,firstWeekContainsDate:4}};const Uy=ky;var My={lessThanXSeconds:{one:"menos dun segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos dun minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"arredor dunha hora",other:"arredor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"arredor dunha semana",other:"arredor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"arredor de 1 mes",other:"arredor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"arredor dun ano",other:"arredor de {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"máis dun ano",other:"máis de {{count}} anos"},almostXYears:{one:"case un ano",other:"case {{count}} anos"}},xy=function(t,n,r){var a,s=My[t];return typeof s=="string"?a=s:n===1?a=s.one:a=s.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"en "+a:"hai "+a:a};const Fy=xy;var Wy={full:"EEEE, d 'de' MMMM y",long:"d 'de' MMMM y",medium:"d MMM y",short:"dd/MM/y"},Gy={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},zy={full:"{{date}} 'ás' {{time}}",long:"{{date}} 'ás' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},By={date:dt({formats:Wy,defaultWidth:"full"}),time:dt({formats:Gy,defaultWidth:"full"}),dateTime:dt({formats:zy,defaultWidth:"full"})};const Hy=By;var jy={lastWeek:"'o' eeee 'pasado á' LT",yesterday:"'onte á' p",today:"'hoxe á' p",tomorrow:"'mañá á' p",nextWeek:"eeee 'á' p",other:"P"},Vy={lastWeek:"'o' eeee 'pasado ás' p",yesterday:"'onte ás' p",today:"'hoxe ás' p",tomorrow:"'mañá ás' p",nextWeek:"eeee 'ás' p",other:"P"},Ky=function(t,n,r,a){return n.getUTCHours()!==1?Vy[t]:jy[t]};const Yy=Ky;var qy={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","despois de cristo"]},Xy={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},Zy={narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["xan","feb","mar","abr","mai","xun","xul","ago","set","out","nov","dec"],wide:["xaneiro","febreiro","marzo","abril","maio","xuño","xullo","agosto","setembro","outubro","novembro","decembro"]},Qy={narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","me","xo","ve","sa"],abbreviated:["dom","lun","mar","mer","xov","ven","sab"],wide:["domingo","luns","martes","mércores","xoves","venres","sábado"]},Jy={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañá",afternoon:"tarde",evening:"tarde",night:"noite"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoite",noon:"mediodía",morning:"mañá",afternoon:"tarde",evening:"tardiña",night:"noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoite",noon:"mediodía",morning:"mañá",afternoon:"tarde",evening:"tardiña",night:"noite"}},eD={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"da mañá",afternoon:"da tarde",evening:"da tardiña",night:"da noite"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoite",noon:"mediodía",morning:"da mañá",afternoon:"da tarde",evening:"da tardiña",night:"da noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoite",noon:"mediodía",morning:"da mañá",afternoon:"da tarde",evening:"da tardiña",night:"da noite"}},tD=function(t,n){var r=Number(t);return r+"º"},nD={ordinalNumber:tD,era:we({values:qy,defaultWidth:"wide"}),quarter:we({values:Xy,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:we({values:Zy,defaultWidth:"wide"}),day:we({values:Qy,defaultWidth:"wide"}),dayPeriod:we({values:Jy,defaultWidth:"wide",formattingValues:eD,defaultFormattingWidth:"wide"})};const rD=nD;var aD=/^(\d+)(º)?/i,sD=/\d+/i,iD={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes da era com[uú]n|despois de cristo|era com[uú]n)/i},oD={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes da era com[uú]n)/i,/^(despois de cristo|era com[uú]n)/i]},uD={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},cD={any:[/1/i,/2/i,/3/i,/4/i]},lD={narrow:/^[xfmasond]/i,abbreviated:/^(xan|feb|mar|abr|mai|xun|xul|ago|set|out|nov|dec)/i,wide:/^(xaneiro|febreiro|marzo|abril|maio|xuño|xullo|agosto|setembro|outubro|novembro|decembro)/i},dD={narrow:[/^x/i,/^f/i,/^m/i,/^a/i,/^m/i,/^x/i,/^x/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^xan/i,/^feb/i,/^mar/i,/^abr/i,/^mai/i,/^xun/i,/^xul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dec/i]},fD={narrow:/^[dlmxvs]/i,short:/^(do|lu|ma|me|xo|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|xov|ven|sab)/i,wide:/^(domingo|luns|martes|m[eé]rcores|xoves|venres|s[áa]bado)/i},pD={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^x/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^me/i,/^xo/i,/^ve/i,/^sa/i]},mD={narrow:/^(a|p|mn|md|(da|[aá]s) (mañ[aá]|tarde|noite))/i,any:/^([ap]\.?\s?m\.?|medianoite|mediod[ií]a|(da|[aá]s) (mañ[aá]|tarde|noite))/i},ED={any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañ[aá]/i,afternoon:/tarde/i,evening:/tardiña/i,night:/noite/i}},hD={ordinalNumber:Or({matchPattern:aD,parsePattern:sD,valueCallback:function(t){return parseInt(t,10)}}),era:Le({matchPatterns:iD,defaultMatchWidth:"wide",parsePatterns:oD,defaultParseWidth:"any"}),quarter:Le({matchPatterns:uD,defaultMatchWidth:"wide",parsePatterns:cD,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Le({matchPatterns:lD,defaultMatchWidth:"wide",parsePatterns:dD,defaultParseWidth:"any"}),day:Le({matchPatterns:fD,defaultMatchWidth:"wide",parsePatterns:pD,defaultParseWidth:"any"}),dayPeriod:Le({matchPatterns:mD,defaultMatchWidth:"any",parsePatterns:ED,defaultParseWidth:"any"})};const _D=hD;var TD={code:"gl",formatDistance:Fy,formatLong:Hy,formatRelative:Yy,localize:rD,match:_D,options:{weekStartsOn:1,firstWeekContainsDate:1}};const gD=TD;var AD={lessThanXSeconds:{one:"meno di un secondo",other:"meno di {{count}} secondi"},xSeconds:{one:"un secondo",other:"{{count}} secondi"},halfAMinute:"alcuni secondi",lessThanXMinutes:{one:"meno di un minuto",other:"meno di {{count}} minuti"},xMinutes:{one:"un minuto",other:"{{count}} minuti"},aboutXHours:{one:"circa un'ora",other:"circa {{count}} ore"},xHours:{one:"un'ora",other:"{{count}} ore"},xDays:{one:"un giorno",other:"{{count}} giorni"},aboutXWeeks:{one:"circa una settimana",other:"circa {{count}} settimane"},xWeeks:{one:"una settimana",other:"{{count}} settimane"},aboutXMonths:{one:"circa un mese",other:"circa {{count}} mesi"},xMonths:{one:"un mese",other:"{{count}} mesi"},aboutXYears:{one:"circa un anno",other:"circa {{count}} anni"},xYears:{one:"un anno",other:"{{count}} anni"},overXYears:{one:"più di un anno",other:"più di {{count}} anni"},almostXYears:{one:"quasi un anno",other:"quasi {{count}} anni"}},SD=function(t,n,r){var a,s=AD[t];return typeof s=="string"?a=s:n===1?a=s.one:a=s.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"tra "+a:a+" fa":a};const OD=SD;var ID={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},vD={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},RD={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},bD={date:dt({formats:ID,defaultWidth:"full"}),time:dt({formats:vD,defaultWidth:"full"}),dateTime:dt({formats:RD,defaultWidth:"full"})};const ND=bD;var wf=["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"];function CD(e){switch(e){case 0:return"'domenica scorsa alle' p";default:return"'"+wf[e]+" scorso alle' p"}}function tm(e){return"'"+wf[e]+" alle' p"}function yD(e){switch(e){case 0:return"'domenica prossima alle' p";default:return"'"+wf[e]+" prossimo alle' p"}}var DD={lastWeek:function(t,n,r){var a=t.getUTCDay();return Kl(t,n,r)?tm(a):CD(a)},yesterday:"'ieri alle' p",today:"'oggi alle' p",tomorrow:"'domani alle' p",nextWeek:function(t,n,r){var a=t.getUTCDay();return Kl(t,n,r)?tm(a):yD(a)},other:"P"},PD=function(t,n,r,a){var s=DD[t];return typeof s=="function"?s(n,r,a):s};const wD=PD;var LD={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["avanti Cristo","dopo Cristo"]},$D={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},kD={narrow:["G","F","M","A","M","G","L","A","S","O","N","D"],abbreviated:["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],wide:["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]},UD={narrow:["D","L","M","M","G","V","S"],short:["dom","lun","mar","mer","gio","ven","sab"],abbreviated:["dom","lun","mar","mer","gio","ven","sab"],wide:["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"]},MD={narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"}},xD={narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"}},FD=function(t,n){var r=Number(t);return String(r)},WD={ordinalNumber:FD,era:we({values:LD,defaultWidth:"wide"}),quarter:we({values:$D,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:we({values:kD,defaultWidth:"wide"}),day:we({values:UD,defaultWidth:"wide"}),dayPeriod:we({values:MD,defaultWidth:"wide",formattingValues:xD,defaultFormattingWidth:"wide"})};const GD=WD;var zD=/^(\d+)(º)?/i,BD=/\d+/i,HD={narrow:/^(aC|dC)/i,abbreviated:/^(a\.?\s?C\.?|a\.?\s?e\.?\s?v\.?|d\.?\s?C\.?|e\.?\s?v\.?)/i,wide:/^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i},jD={any:[/^a/i,/^(d|e)/i]},VD={narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](º)? trimestre/i},KD={any:[/1/i,/2/i,/3/i,/4/i]},YD={narrow:/^[gfmalsond]/i,abbreviated:/^(gen|feb|mar|apr|mag|giu|lug|ago|set|ott|nov|dic)/i,wide:/^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i},qD={narrow:[/^g/i,/^f/i,/^m/i,/^a/i,/^m/i,/^g/i,/^l/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ge/i,/^f/i,/^mar/i,/^ap/i,/^mag/i,/^gi/i,/^l/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},XD={narrow:/^[dlmgvs]/i,short:/^(do|lu|ma|me|gi|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|gio|ven|sab)/i,wide:/^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i},ZD={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^g/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^me/i,/^g/i,/^v/i,/^s/i]},QD={narrow:/^(a|m\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,any:/^([ap]\.?\s?m\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i},JD={any:{am:/^a/i,pm:/^p/i,midnight:/^mezza/i,noon:/^mezzo/i,morning:/mattina/i,afternoon:/pomeriggio/i,evening:/sera/i,night:/notte/i}},eP={ordinalNumber:Or({matchPattern:zD,parsePattern:BD,valueCallback:function(t){return parseInt(t,10)}}),era:Le({matchPatterns:HD,defaultMatchWidth:"wide",parsePatterns:jD,defaultParseWidth:"any"}),quarter:Le({matchPatterns:VD,defaultMatchWidth:"wide",parsePatterns:KD,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Le({matchPatterns:YD,defaultMatchWidth:"wide",parsePatterns:qD,defaultParseWidth:"any"}),day:Le({matchPatterns:XD,defaultMatchWidth:"wide",parsePatterns:ZD,defaultParseWidth:"any"}),dayPeriod:Le({matchPatterns:QD,defaultMatchWidth:"any",parsePatterns:JD,defaultParseWidth:"any"})};const tP=eP;var nP={code:"it",formatDistance:OD,formatLong:ND,formatRelative:wD,localize:GD,match:tP,options:{weekStartsOn:1,firstWeekContainsDate:4}};const rP=nP;var aP={lessThanXSeconds:{one:"mindre enn ett sekund",other:"mindre enn {{count}} sekunder"},xSeconds:{one:"ett sekund",other:"{{count}} sekunder"},halfAMinute:"et halvt minutt",lessThanXMinutes:{one:"mindre enn ett minutt",other:"mindre enn {{count}} minutter"},xMinutes:{one:"ett minutt",other:"{{count}} minutter"},aboutXHours:{one:"omtrent en time",other:"omtrent {{count}} timer"},xHours:{one:"en time",other:"{{count}} timer"},xDays:{one:"en dag",other:"{{count}} dager"},aboutXWeeks:{one:"omtrent en uke",other:"omtrent {{count}} uker"},xWeeks:{one:"en uke",other:"{{count}} uker"},aboutXMonths:{one:"omtrent en måned",other:"omtrent {{count}} måneder"},xMonths:{one:"en måned",other:"{{count}} måneder"},aboutXYears:{one:"omtrent ett år",other:"omtrent {{count}} år"},xYears:{one:"ett år",other:"{{count}} år"},overXYears:{one:"over ett år",other:"over {{count}} år"},almostXYears:{one:"nesten ett år",other:"nesten {{count}} år"}},sP=function(t,n,r){var a,s=aP[t];return typeof s=="string"?a=s:n===1?a=s.one:a=s.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"om "+a:a+" siden":a};const iP=sP;var oP={full:"EEEE d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd.MM.y"},uP={full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},cP={full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},lP={date:dt({formats:oP,defaultWidth:"full"}),time:dt({formats:uP,defaultWidth:"full"}),dateTime:dt({formats:cP,defaultWidth:"full"})};const dP=lP;var fP={lastWeek:"'forrige' eeee 'kl.' p",yesterday:"'i går kl.' p",today:"'i dag kl.' p",tomorrow:"'i morgen kl.' p",nextWeek:"EEEE 'kl.' p",other:"P"},pP=function(t,n,r,a){return fP[t]};const mP=pP;var EP={narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["før Kristus","etter Kristus"]},hP={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},_P={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mars","apr.","mai","juni","juli","aug.","sep.","okt.","nov.","des."],wide:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"]},TP={narrow:["S","M","T","O","T","F","L"],short:["sø","ma","ti","on","to","fr","lø"],abbreviated:["søn","man","tir","ons","tor","fre","lør"],wide:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"]},gP={narrow:{am:"a",pm:"p",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på etterm.",evening:"på kvelden",night:"på natten"},abbreviated:{am:"a.m.",pm:"p.m.",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på etterm.",evening:"på kvelden",night:"på natten"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnatt",noon:"middag",morning:"på morgenen",afternoon:"på ettermiddagen",evening:"på kvelden",night:"på natten"}},AP=function(t,n){var r=Number(t);return r+"."},SP={ordinalNumber:AP,era:we({values:EP,defaultWidth:"wide"}),quarter:we({values:hP,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:we({values:_P,defaultWidth:"wide"}),day:we({values:TP,defaultWidth:"wide"}),dayPeriod:we({values:gP,defaultWidth:"wide"})};const OP=SP;var IP=/^(\d+)\.?/i,vP=/\d+/i,RP={narrow:/^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,abbreviated:/^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,wide:/^(før Kristus|før vår tid|etter Kristus|vår tid)/i},bP={any:[/^f/i,/^e/i]},NP={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? kvartal/i},CP={any:[/1/i,/2/i,/3/i,/4/i]},yP={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mars?|apr|mai|juni?|juli?|aug|sep|okt|nov|des)\.?/i,wide:/^(januar|februar|mars|april|mai|juni|juli|august|september|oktober|november|desember)/i},DP={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^aug/i,/^s/i,/^o/i,/^n/i,/^d/i]},PP={narrow:/^[smtofl]/i,short:/^(sø|ma|ti|on|to|fr|lø)/i,abbreviated:/^(søn|man|tir|ons|tor|fre|lør)/i,wide:/^(søndag|mandag|tirsdag|onsdag|torsdag|fredag|lørdag)/i},wP={any:[/^s/i,/^m/i,/^ti/i,/^o/i,/^to/i,/^f/i,/^l/i]},LP={narrow:/^(midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten)|[ap])/i,any:/^([ap]\.?\s?m\.?|midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten))/i},$P={any:{am:/^a(\.?\s?m\.?)?$/i,pm:/^p(\.?\s?m\.?)?$/i,midnight:/^midn/i,noon:/^midd/i,morning:/morgen/i,afternoon:/ettermiddag/i,evening:/kveld/i,night:/natt/i}},kP={ordinalNumber:Or({matchPattern:IP,parsePattern:vP,valueCallback:function(t){return parseInt(t,10)}}),era:Le({matchPatterns:RP,defaultMatchWidth:"wide",parsePatterns:bP,defaultParseWidth:"any"}),quarter:Le({matchPatterns:NP,defaultMatchWidth:"wide",parsePatterns:CP,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Le({matchPatterns:yP,defaultMatchWidth:"wide",parsePatterns:DP,defaultParseWidth:"any"}),day:Le({matchPatterns:PP,defaultMatchWidth:"wide",parsePatterns:wP,defaultParseWidth:"any"}),dayPeriod:Le({matchPatterns:LP,defaultMatchWidth:"any",parsePatterns:$P,defaultParseWidth:"any"})};const UP=kP;var MP={code:"nb",formatDistance:iP,formatLong:dP,formatRelative:mP,localize:OP,match:UP,options:{weekStartsOn:1,firstWeekContainsDate:4}};const xP=MP;var FP={lessThanXSeconds:{one:"minder dan een seconde",other:"minder dan {{count}} seconden"},xSeconds:{one:"1 seconde",other:"{{count}} seconden"},halfAMinute:"een halve minuut",lessThanXMinutes:{one:"minder dan een minuut",other:"minder dan {{count}} minuten"},xMinutes:{one:"een minuut",other:"{{count}} minuten"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} uur"},xHours:{one:"1 uur",other:"{{count}} uur"},xDays:{one:"1 dag",other:"{{count}} dagen"},aboutXWeeks:{one:"ongeveer 1 week",other:"ongeveer {{count}} weken"},xWeeks:{one:"1 week",other:"{{count}} weken"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maanden"},xMonths:{one:"1 maand",other:"{{count}} maanden"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer dan 1 jaar",other:"meer dan {{count}} jaar"},almostXYears:{one:"bijna 1 jaar",other:"bijna {{count}} jaar"}},WP=function(t,n,r){var a,s=FP[t];return typeof s=="string"?a=s:n===1?a=s.one:a=s.other.replace("{{count}}",String(n)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"over "+a:a+" geleden":a};const GP=WP;var zP={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"},BP={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},HP={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},jP={date:dt({formats:zP,defaultWidth:"full"}),time:dt({formats:BP,defaultWidth:"full"}),dateTime:dt({formats:HP,defaultWidth:"full"})};const VP=jP;var KP={lastWeek:"'afgelopen' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"},YP=function(t,n,r,a){return KP[t]};const qP=YP;var XP={narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]},ZP={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]},QP={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]},JP={narrow:["Z","M","D","W","D","V","Z"],short:["zo","ma","di","wo","do","vr","za"],abbreviated:["zon","maa","din","woe","don","vri","zat"],wide:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]},e4={narrow:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},abbreviated:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},wide:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"}},t4=function(t,n){var r=Number(t);return r+"e"},n4={ordinalNumber:t4,era:we({values:XP,defaultWidth:"wide"}),quarter:we({values:ZP,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:we({values:QP,defaultWidth:"wide"}),day:we({values:JP,defaultWidth:"wide"}),dayPeriod:we({values:e4,defaultWidth:"wide"})};const r4=n4;var a4=/^(\d+)e?/i,s4=/\d+/i,i4={narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/},o4={any:[/^v/,/^n/]},u4={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i},c4={any:[/1/i,/2/i,/3/i,/4/i]},l4={narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i},d4={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^jan/i,/^feb/i,/^m(r|a)/i,/^apr/i,/^mei/i,/^jun/i,/^jul/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i]},f4={narrow:/^[zmdwv]/i,short:/^(zo|ma|di|wo|do|vr|za)/i,abbreviated:/^(zon|maa|din|woe|don|vri|zat)/i,wide:/^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i},p4={narrow:[/^z/i,/^m/i,/^d/i,/^w/i,/^d/i,/^v/i,/^z/i],any:[/^zo/i,/^ma/i,/^di/i,/^wo/i,/^do/i,/^vr/i,/^za/i]},m4={any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i},E4={any:{am:/^am/i,pm:/^pm/i,midnight:/^middernacht/i,noon:/^het middaguur/i,morning:/ochtend/i,afternoon:/middag/i,evening:/avond/i,night:/nacht/i}},h4={ordinalNumber:Or({matchPattern:a4,parsePattern:s4,valueCallback:function(t){return parseInt(t,10)}}),era:Le({matchPatterns:i4,defaultMatchWidth:"wide",parsePatterns:o4,defaultParseWidth:"any"}),quarter:Le({matchPatterns:u4,defaultMatchWidth:"wide",parsePatterns:c4,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Le({matchPatterns:l4,defaultMatchWidth:"wide",parsePatterns:d4,defaultParseWidth:"any"}),day:Le({matchPatterns:f4,defaultMatchWidth:"wide",parsePatterns:p4,defaultParseWidth:"any"}),dayPeriod:Le({matchPatterns:m4,defaultMatchWidth:"any",parsePatterns:E4,defaultParseWidth:"any"})};const _4=h4;var T4={code:"nl",formatDistance:GP,formatLong:VP,formatRelative:qP,localize:r4,match:_4,options:{weekStartsOn:1,firstWeekContainsDate:4}};const g4=T4;var A4={lessThanXSeconds:{one:{regular:"mniej niż sekunda",past:"mniej niż sekundę",future:"mniej niż sekundę"},twoFour:"mniej niż {{count}} sekundy",other:"mniej niż {{count}} sekund"},xSeconds:{one:{regular:"sekunda",past:"sekundę",future:"sekundę"},twoFour:"{{count}} sekundy",other:"{{count}} sekund"},halfAMinute:{one:"pół minuty",twoFour:"pół minuty",other:"pół minuty"},lessThanXMinutes:{one:{regular:"mniej niż minuta",past:"mniej niż minutę",future:"mniej niż minutę"},twoFour:"mniej niż {{count}} minuty",other:"mniej niż {{count}} minut"},xMinutes:{one:{regular:"minuta",past:"minutę",future:"minutę"},twoFour:"{{count}} minuty",other:"{{count}} minut"},aboutXHours:{one:{regular:"około godziny",past:"około godziny",future:"około godzinę"},twoFour:"około {{count}} godziny",other:"około {{count}} godzin"},xHours:{one:{regular:"godzina",past:"godzinę",future:"godzinę"},twoFour:"{{count}} godziny",other:"{{count}} godzin"},xDays:{one:{regular:"dzień",past:"dzień",future:"1 dzień"},twoFour:"{{count}} dni",other:"{{count}} dni"},aboutXWeeks:{one:"około tygodnia",twoFour:"około {{count}} tygodni",other:"około {{count}} tygodni"},xWeeks:{one:"tydzień",twoFour:"{{count}} tygodnie",other:"{{count}} tygodni"},aboutXMonths:{one:"około miesiąc",twoFour:"około {{count}} miesiące",other:"około {{count}} miesięcy"},xMonths:{one:"miesiąc",twoFour:"{{count}} miesiące",other:"{{count}} miesięcy"},aboutXYears:{one:"około rok",twoFour:"około {{count}} lata",other:"około {{count}} lat"},xYears:{one:"rok",twoFour:"{{count}} lata",other:"{{count}} lat"},overXYears:{one:"ponad rok",twoFour:"ponad {{count}} lata",other:"ponad {{count}} lat"},almostXYears:{one:"prawie rok",twoFour:"prawie {{count}} lata",other:"prawie {{count}} lat"}};function S4(e,t){if(t===1)return e.one;var n=t%100;if(n<=20&&n>10)return e.other;var r=n%10;return r>=2&&r<=4?e.twoFour:e.other}function Xc(e,t,n){var r=S4(e,t),a=typeof r=="string"?r:r[n];return a.replace("{{count}}",String(t))}var O4=function(t,n,r){var a=A4[t];return r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"za "+Xc(a,n,"future"):Xc(a,n,"past")+" temu":Xc(a,n,"regular")};const I4=O4;var v4={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},R4={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},b4={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},N4={date:dt({formats:v4,defaultWidth:"full"}),time:dt({formats:R4,defaultWidth:"full"}),dateTime:dt({formats:b4,defaultWidth:"full"})};const C4=N4;var y4={masculine:"ostatni",feminine:"ostatnia"},D4={masculine:"ten",feminine:"ta"},P4={masculine:"następny",feminine:"następna"},w4={0:"feminine",1:"masculine",2:"masculine",3:"feminine",4:"masculine",5:"masculine",6:"feminine"};function nm(e,t,n,r){var a;if(Kl(t,n,r))a=D4;else if(e==="lastWeek")a=y4;else if(e==="nextWeek")a=P4;else throw new Error("Cannot determine adjectives for token ".concat(e));var s=t.getUTCDay(),i=w4[s],o=a[i];return"'".concat(o,"' eeee 'o' p")}var L4={lastWeek:nm,yesterday:"'wczoraj o' p",today:"'dzisiaj o' p",tomorrow:"'jutro o' p",nextWeek:nm,other:"P"},$4=function(t,n,r,a){var s=L4[t];return typeof s=="function"?s(t,n,r,a):s};const k4=$4;var U4={narrow:["p.n.e.","n.e."],abbreviated:["p.n.e.","n.e."],wide:["przed naszą erą","naszej ery"]},M4={narrow:["1","2","3","4"],abbreviated:["I kw.","II kw.","III kw.","IV kw."],wide:["I kwartał","II kwartał","III kwartał","IV kwartał"]},x4={narrow:["S","L","M","K","M","C","L","S","W","P","L","G"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"]},F4={narrow:["s","l","m","k","m","c","l","s","w","p","l","g"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","września","października","listopada","grudnia"]},W4={narrow:["N","P","W","Ś","C","P","S"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},G4={narrow:["n","p","w","ś","c","p","s"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},z4={narrow:{am:"a",pm:"p",midnight:"półn.",noon:"poł",morning:"rano",afternoon:"popoł.",evening:"wiecz.",night:"noc"},abbreviated:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"},wide:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"}},B4={narrow:{am:"a",pm:"p",midnight:"o półn.",noon:"w poł.",morning:"rano",afternoon:"po poł.",evening:"wiecz.",night:"w nocy"},abbreviated:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"},wide:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"}},H4=function(t,n){return String(t)},j4={ordinalNumber:H4,era:we({values:U4,defaultWidth:"wide"}),quarter:we({values:M4,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:we({values:x4,defaultWidth:"wide",formattingValues:F4,defaultFormattingWidth:"wide"}),day:we({values:W4,defaultWidth:"wide",formattingValues:G4,defaultFormattingWidth:"wide"}),dayPeriod:we({values:z4,defaultWidth:"wide",formattingValues:B4,defaultFormattingWidth:"wide"})};const V4=j4;var K4=/^(\d+)?/i,Y4=/\d+/i,q4={narrow:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,abbreviated:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,wide:/^(przed\s*nasz(ą|a)\s*er(ą|a)|naszej\s*ery)/i},X4={any:[/^p/i,/^n/i]},Z4={narrow:/^[1234]/i,abbreviated:/^(I|II|III|IV)\s*kw\.?/i,wide:/^(I|II|III|IV)\s*kwarta(ł|l)/i},Q4={narrow:[/1/i,/2/i,/3/i,/4/i],any:[/^I kw/i,/^II kw/i,/^III kw/i,/^IV kw/i]},J4={narrow:/^[slmkcwpg]/i,abbreviated:/^(sty|lut|mar|kwi|maj|cze|lip|sie|wrz|pa(ź|z)|lis|gru)/i,wide:/^(stycznia|stycze(ń|n)|lutego|luty|marca|marzec|kwietnia|kwiecie(ń|n)|maja|maj|czerwca|czerwiec|lipca|lipiec|sierpnia|sierpie(ń|n)|wrze(ś|s)nia|wrzesie(ń|n)|pa(ź|z)dziernika|pa(ź|z)dziernik|listopada|listopad|grudnia|grudzie(ń|n))/i},ew={narrow:[/^s/i,/^l/i,/^m/i,/^k/i,/^m/i,/^c/i,/^l/i,/^s/i,/^w/i,/^p/i,/^l/i,/^g/i],any:[/^st/i,/^lu/i,/^mar/i,/^k/i,/^maj/i,/^c/i,/^lip/i,/^si/i,/^w/i,/^p/i,/^lis/i,/^g/i]},tw={narrow:/^[npwścs]/i,short:/^(nie|pon|wto|(ś|s)ro|czw|pi(ą|a)|sob)/i,abbreviated:/^(niedz|pon|wt|(ś|s)r|czw|pt|sob)\.?/i,wide:/^(niedziela|poniedzia(ł|l)ek|wtorek|(ś|s)roda|czwartek|pi(ą|a)tek|sobota)/i},nw={narrow:[/^n/i,/^p/i,/^w/i,/^ś/i,/^c/i,/^p/i,/^s/i],abbreviated:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pt/i,/^so/i],any:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pi/i,/^so/i]},rw={narrow:/^(^a$|^p$|pó(ł|l)n\.?|o\s*pó(ł|l)n\.?|po(ł|l)\.?|w\s*po(ł|l)\.?|po\s*po(ł|l)\.?|rano|wiecz\.?|noc|w\s*nocy)/i,any:/^(am|pm|pó(ł|l)noc|o\s*pó(ł|l)nocy|po(ł|l)udnie|w\s*po(ł|l)udnie|popo(ł|l)udnie|po\s*po(ł|l)udniu|rano|wieczór|wieczorem|noc|w\s*nocy)/i},aw={narrow:{am:/^a$/i,pm:/^p$/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i},any:{am:/^am/i,pm:/^pm/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i}},sw={ordinalNumber:Or({matchPattern:K4,parsePattern:Y4,valueCallback:function(t){return parseInt(t,10)}}),era:Le({matchPatterns:q4,defaultMatchWidth:"wide",parsePatterns:X4,defaultParseWidth:"any"}),quarter:Le({matchPatterns:Z4,defaultMatchWidth:"wide",parsePatterns:Q4,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Le({matchPatterns:J4,defaultMatchWidth:"wide",parsePatterns:ew,defaultParseWidth:"any"}),day:Le({matchPatterns:tw,defaultMatchWidth:"wide",parsePatterns:nw,defaultParseWidth:"any"}),dayPeriod:Le({matchPatterns:rw,defaultMatchWidth:"any",parsePatterns:aw,defaultParseWidth:"any"})};const iw=sw;var ow={code:"pl",formatDistance:I4,formatLong:C4,formatRelative:k4,localize:V4,match:iw,options:{weekStartsOn:1,firstWeekContainsDate:4}};const uw=ow;/*! + * shared v9.8.0 + * (c) 2023 kazuya kawaguchi + * Released under the MIT License. + */const ql=typeof window<"u",Yr=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Qa=e=>typeof e=="number"&&isFinite(e),Ja=e=>fw(e)==="[object RegExp]",cw=e=>It(e)&&Object.keys(e).length===0,wn=Object.assign;let rm;const La=()=>rm||(rm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),lw=Object.prototype.hasOwnProperty;function oi(e,t){return lw.call(e,t)}const en=Array.isArray,Fr=e=>typeof e=="function",nt=e=>typeof e=="string",Ot=e=>typeof e=="boolean",Tn=e=>e!==null&&typeof e=="object",dw=Object.prototype.toString,fw=e=>dw.call(e),It=e=>{if(!Tn(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object};function cT(e){let t=e;return()=>++t}const Qi=e=>!Tn(e)||en(e);function Hs(e,t){if(Qi(e)||Qi(t))throw new Error("Invalid value");for(const n in e)oi(e,n)&&(Qi(e[n])||Qi(t[n])?t[n]=e[n]:Hs(e[n],t[n]))}/*! + * shared v9.8.0 + * (c) 2023 kazuya kawaguchi + * Released under the MIT License. + */const pw=(e,t,n)=>mw({l:e,k:t,s:n}),mw=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),En=e=>typeof e=="number"&&isFinite(e),Ew=e=>dT(e)==="[object Date]",am=e=>dT(e)==="[object RegExp]",Lf=e=>Tt(e)&&Object.keys(e).length===0,_s=Object.assign;let sm;const Zc=()=>sm||(sm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function im(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const Zn=Array.isArray,Pt=e=>typeof e=="function",Me=e=>typeof e=="string",Zt=e=>typeof e=="boolean",kt=e=>e!==null&&typeof e=="object",hw=e=>kt(e)&&Pt(e.then)&&Pt(e.catch),lT=Object.prototype.toString,dT=e=>lT.call(e),Tt=e=>{if(!kt(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},_w=e=>e==null?"":Zn(e)||Tt(e)&&e.toString===lT?JSON.stringify(e,null,2):String(e);function Tw(e,t=""){return e.reduce((n,r,a)=>a===0?n+r:n+t+r,"")}function gw(e){let t=e;return()=>++t}function Aw(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}/*! + * message-compiler v9.8.0 + * (c) 2023 kazuya kawaguchi + * Released under the MIT License. + */function Sw(e,t,n){return{line:e,column:t,offset:n}}function Xl(e,t,n){const r={start:e,end:t};return n!=null&&(r.source=n),r}const Ow=/\{([0-9a-zA-Z]+)\}/g;function Iw(e,...t){return t.length===1&&vw(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Ow,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const fT=Object.assign,om=e=>typeof e=="string",vw=e=>e!==null&&typeof e=="object";function pT(e,t=""){return e.reduce((n,r,a)=>a===0?n+r:n+t+r,"")}const be={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},Rw={[be.EXPECTED_TOKEN]:"Expected token: '{0}'",[be.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[be.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[be.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[be.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[be.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[be.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[be.EMPTY_PLACEHOLDER]:"Empty placeholder",[be.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[be.INVALID_LINKED_FORMAT]:"Invalid linked format",[be.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[be.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[be.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[be.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[be.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[be.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Ts(e,t,n={}){const{domain:r,messages:a,args:s}=n,i=Iw((a||Rw)[e]||"",...s||[]),o=new SyntaxError(String(i));return o.code=e,t&&(o.location=t),o.domain=r,o}function bw(e){throw e}const ar=" ",Nw="\r",Yt=` +`,Cw="\u2028",yw="\u2029";function Dw(e){const t=e;let n=0,r=1,a=1,s=0;const i=P=>t[P]===Nw&&t[P+1]===Yt,o=P=>t[P]===Yt,u=P=>t[P]===yw,c=P=>t[P]===Cw,l=P=>i(P)||o(P)||u(P)||c(P),f=()=>n,d=()=>r,m=()=>a,E=()=>s,g=P=>i(P)||u(P)||c(P)?Yt:t[P],b=()=>g(n),O=()=>g(n+s);function R(){return s=0,l(n)&&(r++,a=0),i(n)&&n++,n++,a++,t[n]}function v(){return i(n+s)&&s++,s++,t[n+s]}function T(){n=0,r=1,a=1,s=0}function L(P=0){s=P}function w(){const P=n+s;for(;P!==n;)R();s=0}return{index:f,line:d,column:m,peekOffset:E,charAt:g,currentChar:b,currentPeek:O,next:R,peek:v,reset:T,resetPeek:L,skipToPeek:w}}const yr=void 0,Pw=".",um="'",ww="tokenizer";function Lw(e,t={}){const n=t.location!==!1,r=Dw(e),a=()=>r.index(),s=()=>Sw(r.line(),r.column(),r.index()),i=s(),o=a(),u={currentType:14,offset:o,startLoc:i,endLoc:i,lastType:14,lastOffset:o,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},c=()=>u,{onError:l}=t;function f(S,I,C,...M){const B=c();if(I.column+=C,I.offset+=C,l){const te=n?Xl(B.startLoc,I):null,oe=Ts(S,te,{domain:ww,args:M});l(oe)}}function d(S,I,C){S.endLoc=s(),S.currentType=I;const M={type:I};return n&&(M.loc=Xl(S.startLoc,S.endLoc)),C!=null&&(M.value=C),M}const m=S=>d(S,14);function E(S,I){return S.currentChar()===I?(S.next(),I):(f(be.EXPECTED_TOKEN,s(),0,I),"")}function g(S){let I="";for(;S.currentPeek()===ar||S.currentPeek()===Yt;)I+=S.currentPeek(),S.peek();return I}function b(S){const I=g(S);return S.skipToPeek(),I}function O(S){if(S===yr)return!1;const I=S.charCodeAt(0);return I>=97&&I<=122||I>=65&&I<=90||I===95}function R(S){if(S===yr)return!1;const I=S.charCodeAt(0);return I>=48&&I<=57}function v(S,I){const{currentType:C}=I;if(C!==2)return!1;g(S);const M=O(S.currentPeek());return S.resetPeek(),M}function T(S,I){const{currentType:C}=I;if(C!==2)return!1;g(S);const M=S.currentPeek()==="-"?S.peek():S.currentPeek(),B=R(M);return S.resetPeek(),B}function L(S,I){const{currentType:C}=I;if(C!==2)return!1;g(S);const M=S.currentPeek()===um;return S.resetPeek(),M}function w(S,I){const{currentType:C}=I;if(C!==8)return!1;g(S);const M=S.currentPeek()===".";return S.resetPeek(),M}function P(S,I){const{currentType:C}=I;if(C!==9)return!1;g(S);const M=O(S.currentPeek());return S.resetPeek(),M}function j(S,I){const{currentType:C}=I;if(!(C===8||C===12))return!1;g(S);const M=S.currentPeek()===":";return S.resetPeek(),M}function G(S,I){const{currentType:C}=I;if(C!==10)return!1;const M=()=>{const te=S.currentPeek();return te==="{"?O(S.peek()):te==="@"||te==="%"||te==="|"||te===":"||te==="."||te===ar||!te?!1:te===Yt?(S.peek(),M()):O(te)},B=M();return S.resetPeek(),B}function z(S){g(S);const I=S.currentPeek()==="|";return S.resetPeek(),I}function k(S){const I=g(S),C=S.currentPeek()==="%"&&S.peek()==="{";return S.resetPeek(),{isModulo:C,hasSpace:I.length>0}}function Z(S,I=!0){const C=(B=!1,te="",oe=!1)=>{const de=S.currentPeek();return de==="{"?te==="%"?!1:B:de==="@"||!de?te==="%"?!0:B:de==="%"?(S.peek(),C(B,"%",!0)):de==="|"?te==="%"||oe?!0:!(te===ar||te===Yt):de===ar?(S.peek(),C(!0,ar,oe)):de===Yt?(S.peek(),C(!0,Yt,oe)):!0},M=C();return I&&S.resetPeek(),M}function ee(S,I){const C=S.currentChar();return C===yr?yr:I(C)?(S.next(),C):null}function re(S){return ee(S,C=>{const M=C.charCodeAt(0);return M>=97&&M<=122||M>=65&&M<=90||M>=48&&M<=57||M===95||M===36})}function D(S){return ee(S,C=>{const M=C.charCodeAt(0);return M>=48&&M<=57})}function W(S){return ee(S,C=>{const M=C.charCodeAt(0);return M>=48&&M<=57||M>=65&&M<=70||M>=97&&M<=102})}function H(S){let I="",C="";for(;I=D(S);)C+=I;return C}function se(S){b(S);const I=S.currentChar();return I!=="%"&&f(be.EXPECTED_TOKEN,s(),0,I),S.next(),"%"}function Pe(S){let I="";for(;;){const C=S.currentChar();if(C==="{"||C==="}"||C==="@"||C==="|"||!C)break;if(C==="%")if(Z(S))I+=C,S.next();else break;else if(C===ar||C===Yt)if(Z(S))I+=C,S.next();else{if(z(S))break;I+=C,S.next()}else I+=C,S.next()}return I}function xe(S){b(S);let I="",C="";for(;I=re(S);)C+=I;return S.currentChar()===yr&&f(be.UNTERMINATED_CLOSING_BRACE,s(),0),C}function Ae(S){b(S);let I="";return S.currentChar()==="-"?(S.next(),I+=`-${H(S)}`):I+=H(S),S.currentChar()===yr&&f(be.UNTERMINATED_CLOSING_BRACE,s(),0),I}function ye(S){b(S),E(S,"'");let I="",C="";const M=te=>te!==um&&te!==Yt;for(;I=ee(S,M);)I==="\\"?C+=Wt(S):C+=I;const B=S.currentChar();return B===Yt||B===yr?(f(be.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),B===Yt&&(S.next(),E(S,"'")),C):(E(S,"'"),C)}function Wt(S){const I=S.currentChar();switch(I){case"\\":case"'":return S.next(),`\\${I}`;case"u":return ke(S,I,4);case"U":return ke(S,I,6);default:return f(be.UNKNOWN_ESCAPE_SEQUENCE,s(),0,I),""}}function ke(S,I,C){E(S,I);let M="";for(let B=0;BB!=="{"&&B!=="}"&&B!==ar&&B!==Yt;for(;I=ee(S,M);)C+=I;return C}function rt(S){let I="",C="";for(;I=re(S);)C+=I;return C}function X(S){const I=(C=!1,M)=>{const B=S.currentChar();return B==="{"||B==="%"||B==="@"||B==="|"||B==="("||B===")"||!B||B===ar?M:B===Yt||B===Pw?(M+=B,S.next(),I(C,M)):(M+=B,S.next(),I(!0,M))};return I(!1,"")}function pe(S){b(S);const I=E(S,"|");return b(S),I}function le(S,I){let C=null;switch(S.currentChar()){case"{":return I.braceNest>=1&&f(be.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),S.next(),C=d(I,2,"{"),b(S),I.braceNest++,C;case"}":return I.braceNest>0&&I.currentType===2&&f(be.EMPTY_PLACEHOLDER,s(),0),S.next(),C=d(I,3,"}"),I.braceNest--,I.braceNest>0&&b(S),I.inLinked&&I.braceNest===0&&(I.inLinked=!1),C;case"@":return I.braceNest>0&&f(be.UNTERMINATED_CLOSING_BRACE,s(),0),C=Se(S,I)||m(I),I.braceNest=0,C;default:let B=!0,te=!0,oe=!0;if(z(S))return I.braceNest>0&&f(be.UNTERMINATED_CLOSING_BRACE,s(),0),C=d(I,1,pe(S)),I.braceNest=0,I.inLinked=!1,C;if(I.braceNest>0&&(I.currentType===5||I.currentType===6||I.currentType===7))return f(be.UNTERMINATED_CLOSING_BRACE,s(),0),I.braceNest=0,je(S,I);if(B=v(S,I))return C=d(I,5,xe(S)),b(S),C;if(te=T(S,I))return C=d(I,6,Ae(S)),b(S),C;if(oe=L(S,I))return C=d(I,7,ye(S)),b(S),C;if(!B&&!te&&!oe)return C=d(I,13,ze(S)),f(be.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,C.value),b(S),C;break}return C}function Se(S,I){const{currentType:C}=I;let M=null;const B=S.currentChar();switch((C===8||C===9||C===12||C===10)&&(B===Yt||B===ar)&&f(be.INVALID_LINKED_FORMAT,s(),0),B){case"@":return S.next(),M=d(I,8,"@"),I.inLinked=!0,M;case".":return b(S),S.next(),d(I,9,".");case":":return b(S),S.next(),d(I,10,":");default:return z(S)?(M=d(I,1,pe(S)),I.braceNest=0,I.inLinked=!1,M):w(S,I)||j(S,I)?(b(S),Se(S,I)):P(S,I)?(b(S),d(I,12,rt(S))):G(S,I)?(b(S),B==="{"?le(S,I)||M:d(I,11,X(S))):(C===8&&f(be.INVALID_LINKED_FORMAT,s(),0),I.braceNest=0,I.inLinked=!1,je(S,I))}}function je(S,I){let C={type:14};if(I.braceNest>0)return le(S,I)||m(I);if(I.inLinked)return Se(S,I)||m(I);switch(S.currentChar()){case"{":return le(S,I)||m(I);case"}":return f(be.UNBALANCED_CLOSING_BRACE,s(),0),S.next(),d(I,3,"}");case"@":return Se(S,I)||m(I);default:if(z(S))return C=d(I,1,pe(S)),I.braceNest=0,I.inLinked=!1,C;const{isModulo:B,hasSpace:te}=k(S);if(B)return te?d(I,0,Pe(S)):d(I,4,se(S));if(Z(S))return d(I,0,Pe(S));break}return C}function y(){const{currentType:S,offset:I,startLoc:C,endLoc:M}=u;return u.lastType=S,u.lastOffset=I,u.lastStartLoc=C,u.lastEndLoc=M,u.offset=a(),u.startLoc=s(),r.currentChar()===yr?d(u,14):je(r,u)}return{nextToken:y,currentOffset:a,currentPosition:s,context:c}}const $w="parser",kw=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Uw(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function Mw(e={}){const t=e.location!==!1,{onError:n}=e;function r(O,R,v,T,...L){const w=O.currentPosition();if(w.offset+=T,w.column+=T,n){const P=t?Xl(v,w):null,j=Ts(R,P,{domain:$w,args:L});n(j)}}function a(O,R,v){const T={type:O};return t&&(T.start=R,T.end=R,T.loc={start:v,end:v}),T}function s(O,R,v,T){T&&(O.type=T),t&&(O.end=R,O.loc&&(O.loc.end=v))}function i(O,R){const v=O.context(),T=a(3,v.offset,v.startLoc);return T.value=R,s(T,O.currentOffset(),O.currentPosition()),T}function o(O,R){const v=O.context(),{lastOffset:T,lastStartLoc:L}=v,w=a(5,T,L);return w.index=parseInt(R,10),O.nextToken(),s(w,O.currentOffset(),O.currentPosition()),w}function u(O,R){const v=O.context(),{lastOffset:T,lastStartLoc:L}=v,w=a(4,T,L);return w.key=R,O.nextToken(),s(w,O.currentOffset(),O.currentPosition()),w}function c(O,R){const v=O.context(),{lastOffset:T,lastStartLoc:L}=v,w=a(9,T,L);return w.value=R.replace(kw,Uw),O.nextToken(),s(w,O.currentOffset(),O.currentPosition()),w}function l(O){const R=O.nextToken(),v=O.context(),{lastOffset:T,lastStartLoc:L}=v,w=a(8,T,L);return R.type!==12?(r(O,be.UNEXPECTED_EMPTY_LINKED_MODIFIER,v.lastStartLoc,0),w.value="",s(w,T,L),{nextConsumeToken:R,node:w}):(R.value==null&&r(O,be.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,zn(R)),w.value=R.value||"",s(w,O.currentOffset(),O.currentPosition()),{node:w})}function f(O,R){const v=O.context(),T=a(7,v.offset,v.startLoc);return T.value=R,s(T,O.currentOffset(),O.currentPosition()),T}function d(O){const R=O.context(),v=a(6,R.offset,R.startLoc);let T=O.nextToken();if(T.type===9){const L=l(O);v.modifier=L.node,T=L.nextConsumeToken||O.nextToken()}switch(T.type!==10&&r(O,be.UNEXPECTED_LEXICAL_ANALYSIS,R.lastStartLoc,0,zn(T)),T=O.nextToken(),T.type===2&&(T=O.nextToken()),T.type){case 11:T.value==null&&r(O,be.UNEXPECTED_LEXICAL_ANALYSIS,R.lastStartLoc,0,zn(T)),v.key=f(O,T.value||"");break;case 5:T.value==null&&r(O,be.UNEXPECTED_LEXICAL_ANALYSIS,R.lastStartLoc,0,zn(T)),v.key=u(O,T.value||"");break;case 6:T.value==null&&r(O,be.UNEXPECTED_LEXICAL_ANALYSIS,R.lastStartLoc,0,zn(T)),v.key=o(O,T.value||"");break;case 7:T.value==null&&r(O,be.UNEXPECTED_LEXICAL_ANALYSIS,R.lastStartLoc,0,zn(T)),v.key=c(O,T.value||"");break;default:r(O,be.UNEXPECTED_EMPTY_LINKED_KEY,R.lastStartLoc,0);const L=O.context(),w=a(7,L.offset,L.startLoc);return w.value="",s(w,L.offset,L.startLoc),v.key=w,s(v,L.offset,L.startLoc),{nextConsumeToken:T,node:v}}return s(v,O.currentOffset(),O.currentPosition()),{node:v}}function m(O){const R=O.context(),v=R.currentType===1?O.currentOffset():R.offset,T=R.currentType===1?R.endLoc:R.startLoc,L=a(2,v,T);L.items=[];let w=null;do{const G=w||O.nextToken();switch(w=null,G.type){case 0:G.value==null&&r(O,be.UNEXPECTED_LEXICAL_ANALYSIS,R.lastStartLoc,0,zn(G)),L.items.push(i(O,G.value||""));break;case 6:G.value==null&&r(O,be.UNEXPECTED_LEXICAL_ANALYSIS,R.lastStartLoc,0,zn(G)),L.items.push(o(O,G.value||""));break;case 5:G.value==null&&r(O,be.UNEXPECTED_LEXICAL_ANALYSIS,R.lastStartLoc,0,zn(G)),L.items.push(u(O,G.value||""));break;case 7:G.value==null&&r(O,be.UNEXPECTED_LEXICAL_ANALYSIS,R.lastStartLoc,0,zn(G)),L.items.push(c(O,G.value||""));break;case 8:const z=d(O);L.items.push(z.node),w=z.nextConsumeToken||null;break}}while(R.currentType!==14&&R.currentType!==1);const P=R.currentType===1?R.lastOffset:O.currentOffset(),j=R.currentType===1?R.lastEndLoc:O.currentPosition();return s(L,P,j),L}function E(O,R,v,T){const L=O.context();let w=T.items.length===0;const P=a(1,R,v);P.cases=[],P.cases.push(T);do{const j=m(O);w||(w=j.items.length===0),P.cases.push(j)}while(L.currentType!==14);return w&&r(O,be.MUST_HAVE_MESSAGES_IN_PLURAL,v,0),s(P,O.currentOffset(),O.currentPosition()),P}function g(O){const R=O.context(),{offset:v,startLoc:T}=R,L=m(O);return R.currentType===14?L:E(O,v,T,L)}function b(O){const R=Lw(O,fT({},e)),v=R.context(),T=a(0,v.offset,v.startLoc);return t&&T.loc&&(T.loc.source=O),T.body=g(R),e.onCacheKey&&(T.cacheKey=e.onCacheKey(O)),v.currentType!==14&&r(R,be.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,O[v.offset]||""),s(T,R.currentOffset(),R.currentPosition()),T}return{parse:b}}function zn(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function xw(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function cm(e,t){for(let n=0;nlm(n)),e}function lm(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;no;function c(b,O){o.code+=b}function l(b,O=!0){const R=O?a:"";c(s?R+" ".repeat(b):R)}function f(b=!0){const O=++o.indentLevel;b&&l(O)}function d(b=!0){const O=--o.indentLevel;b&&l(O)}function m(){l(o.indentLevel)}return{context:u,push:c,indent:f,deindent:d,newline:m,helper:b=>`_${b}`,needIndent:()=>o.needIndent}}function Hw(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),es(e,t.key),t.modifier?(e.push(", "),es(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function jw(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const a=t.items.length;for(let s=0;s1){e.push(`${n("plural")}([`),e.indent(r());const a=t.cases.length;for(let s=0;s{const n=om(t.mode)?t.mode:"normal",r=om(t.filename)?t.filename:"message.intl",a=!!t.sourceMap,s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` +`,i=t.needIndent?t.needIndent:n!=="arrow",o=e.helpers||[],u=Bw(e,{mode:n,filename:r,sourceMap:a,breakLineCode:s,needIndent:i});u.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),u.indent(i),o.length>0&&(u.push(`const { ${pT(o.map(f=>`${f}: _${f}`),", ")} } = ctx`),u.newline()),u.push("return "),es(u,e),u.deindent(i),u.push("}"),delete e.helpers;const{code:c,map:l}=u.context();return{ast:e,code:c,map:l?l.toJSON():void 0}};function qw(e,t={}){const n=fT({},t),r=!!n.jit,a=!!n.minify,s=n.optimize==null?!0:n.optimize,o=Mw(n).parse(e);return r?(s&&Ww(o),a&&$a(o),{ast:o,code:""}):(Fw(o,n),Yw(o,n))}/*! + * core-base v9.8.0 + * (c) 2023 kazuya kawaguchi + * Released under the MIT License. + */function Xw(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Zc().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Zc().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Zc().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const qr=[];qr[0]={w:[0],i:[3,0],"[":[4],o:[7]};qr[1]={w:[1],".":[2],"[":[4],o:[7]};qr[2]={w:[2],i:[3,0],0:[3,0]};qr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};qr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};qr[5]={"'":[4,0],o:8,l:[5,0]};qr[6]={'"':[4,0],o:8,l:[6,0]};const Zw=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Qw(e){return Zw.test(e)}function Jw(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function e6(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function t6(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Qw(t)?Jw(t):"*"+t}function n6(e){const t=[];let n=-1,r=0,a=0,s,i,o,u,c,l,f;const d=[];d[0]=()=>{i===void 0?i=o:i+=o},d[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},d[2]=()=>{d[0](),a++},d[3]=()=>{if(a>0)a--,r=4,d[0]();else{if(a=0,i===void 0||(i=t6(i),i===!1))return!1;d[1]()}};function m(){const E=e[n+1];if(r===5&&E==="'"||r===6&&E==='"')return n++,o="\\"+E,d[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&m())){if(u=e6(s),f=qr[r],c=f[u]||f.l||8,c===8||(r=c[0],c[1]!==void 0&&(l=d[c[1]],l&&(o=s,l()===!1))))return;if(r===7)return t}}const dm=new Map;function r6(e,t){return kt(e)?e[t]:null}function a6(e,t){if(!kt(e))return null;let n=dm.get(t);if(n||(n=n6(t),n&&dm.set(t,n)),!n)return null;const r=n.length;let a=e,s=0;for(;se,i6=e=>"",o6="text",u6=e=>e.length===0?"":Tw(e),c6=_w;function fm(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function l6(e){const t=En(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(En(e.named.count)||En(e.named.n))?En(e.named.count)?e.named.count:En(e.named.n)?e.named.n:t:t}function d6(e,t){t.count||(t.count=e),t.n||(t.n=e)}function f6(e={}){const t=e.locale,n=l6(e),r=kt(e.pluralRules)&&Me(t)&&Pt(e.pluralRules[t])?e.pluralRules[t]:fm,a=kt(e.pluralRules)&&Me(t)&&Pt(e.pluralRules[t])?fm:void 0,s=O=>O[r(n,O.length,a)],i=e.list||[],o=O=>i[O],u=e.named||{};En(e.pluralIndex)&&d6(n,u);const c=O=>u[O];function l(O){const R=Pt(e.messages)?e.messages(O):kt(e.messages)?e.messages[O]:!1;return R||(e.parent?e.parent.message(O):i6)}const f=O=>e.modifiers?e.modifiers[O]:s6,d=Tt(e.processor)&&Pt(e.processor.normalize)?e.processor.normalize:u6,m=Tt(e.processor)&&Pt(e.processor.interpolate)?e.processor.interpolate:c6,E=Tt(e.processor)&&Me(e.processor.type)?e.processor.type:o6,b={list:o,named:c,plural:s,linked:(O,...R)=>{const[v,T]=R;let L="text",w="";R.length===1?kt(v)?(w=v.modifier||w,L=v.type||L):Me(v)&&(w=v||w):R.length===2&&(Me(v)&&(w=v||w),Me(T)&&(L=T||L));const P=l(O)(b),j=L==="vnode"&&Zn(P)&&w?P[0]:P;return w?f(w)(j,L):j},message:l,type:E,interpolate:m,normalize:d,values:_s({},i,u)};return b}let ui=null;function p6(e){ui=e}function m6(e,t,n){ui&&ui.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const E6=h6("function:translate");function h6(e){return t=>ui&&ui.emit(e,t)}const _6={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},mT=be.__EXTEND_POINT__,na=gw(mT),Dn={INVALID_ARGUMENT:mT,INVALID_DATE_ARGUMENT:na(),INVALID_ISO_DATE_ARGUMENT:na(),NOT_SUPPORT_NON_STRING_MESSAGE:na(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:na(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:na(),NOT_SUPPORT_LOCALE_TYPE:na(),__EXTEND_POINT__:na()};function Xn(e){return Ts(e,null,void 0)}function kf(e,t){return t.locale!=null?pm(t.locale):pm(e.locale)}let Qc;function pm(e){if(Me(e))return e;if(Pt(e)){if(e.resolvedOnce&&Qc!=null)return Qc;if(e.constructor.name==="Function"){const t=e();if(hw(t))throw Xn(Dn.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Qc=t}else throw Xn(Dn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Xn(Dn.NOT_SUPPORT_LOCALE_TYPE)}function T6(e,t,n){return[...new Set([n,...Zn(t)?t:kt(t)?Object.keys(t):Me(t)?[t]:[n]])]}function ET(e,t,n){const r=Me(n)?n:ts,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let s=a.__localeChainCache.get(r);if(!s){s=[];let i=[n];for(;Zn(i);)i=mm(s,i,t);const o=Zn(t)||!Tt(t)?t:t.default?t.default:null;i=Me(o)?[o]:o,Zn(i)&&mm(s,i,!1),a.__localeChainCache.set(r,s)}return s}function mm(e,t,n){let r=!0;for(let a=0;a`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function O6(){return{upper:(e,t)=>t==="text"&&Me(e)?e.toUpperCase():t==="vnode"&&kt(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Me(e)?e.toLowerCase():t==="vnode"&&kt(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Me(e)?hm(e):t==="vnode"&&kt(e)&&"__v_isVNode"in e?hm(e.children):e}}let hT;function _m(e){hT=e}let _T;function I6(e){_T=e}let TT;function v6(e){TT=e}let gT=null;const R6=e=>{gT=e},b6=()=>gT;let AT=null;const Tm=e=>{AT=e},N6=()=>AT;let gm=0;function C6(e={}){const t=Pt(e.onWarn)?e.onWarn:Aw,n=Me(e.version)?e.version:S6,r=Me(e.locale)||Pt(e.locale)?e.locale:ts,a=Pt(r)?ts:r,s=Zn(e.fallbackLocale)||Tt(e.fallbackLocale)||Me(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a,i=Tt(e.messages)?e.messages:{[a]:{}},o=Tt(e.datetimeFormats)?e.datetimeFormats:{[a]:{}},u=Tt(e.numberFormats)?e.numberFormats:{[a]:{}},c=_s({},e.modifiers||{},O6()),l=e.pluralRules||{},f=Pt(e.missing)?e.missing:null,d=Zt(e.missingWarn)||am(e.missingWarn)?e.missingWarn:!0,m=Zt(e.fallbackWarn)||am(e.fallbackWarn)?e.fallbackWarn:!0,E=!!e.fallbackFormat,g=!!e.unresolving,b=Pt(e.postTranslation)?e.postTranslation:null,O=Tt(e.processor)?e.processor:null,R=Zt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter,T=Pt(e.messageCompiler)?e.messageCompiler:hT,L=Pt(e.messageResolver)?e.messageResolver:_T||r6,w=Pt(e.localeFallbacker)?e.localeFallbacker:TT||T6,P=kt(e.fallbackContext)?e.fallbackContext:void 0,j=e,G=kt(j.__datetimeFormatters)?j.__datetimeFormatters:new Map,z=kt(j.__numberFormatters)?j.__numberFormatters:new Map,k=kt(j.__meta)?j.__meta:{};gm++;const Z={version:n,cid:gm,locale:r,fallbackLocale:s,messages:i,modifiers:c,pluralRules:l,missing:f,missingWarn:d,fallbackWarn:m,fallbackFormat:E,unresolving:g,postTranslation:b,processor:O,warnHtmlMessage:R,escapeParameter:v,messageCompiler:T,messageResolver:L,localeFallbacker:w,fallbackContext:P,onWarn:t,__meta:k};return Z.datetimeFormats=o,Z.numberFormats=u,Z.__datetimeFormatters=G,Z.__numberFormatters=z,__INTLIFY_PROD_DEVTOOLS__&&m6(Z,n,k),Z}function Uf(e,t,n,r,a){const{missing:s,onWarn:i}=e;if(s!==null){const o=s(e,n,t,a);return Me(o)?o:t}else return t}function Ds(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Jc(e){return n=>y6(n,e)}function y6(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const r=n,a=r.c||r.cases;return e.plural(a.reduce((s,i)=>[...s,Am(e,i)],[]))}else return Am(e,n)}function Am(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const r=(t.i||t.items).reduce((a,s)=>[...a,Zl(e,s)],[]);return e.normalize(r)}}function Zl(e,t){const n=t.t||t.type;switch(n){case 3:const r=t;return r.v||r.value;case 9:const a=t;return a.v||a.value;case 4:const s=t;return e.interpolate(e.named(s.k||s.key));case 5:const i=t;return e.interpolate(e.list(i.i!=null?i.i:i.index));case 6:const o=t,u=o.m||o.modifier;return e.linked(Zl(e,o.k||o.key),u?Zl(e,u):void 0,e.type);case 7:const c=t;return c.v||c.value;case 8:const l=t;return l.v||l.value;default:throw new Error(`unhandled node type on format message part: ${n}`)}}const ST=e=>e;let Ma=Object.create(null);const ns=e=>kt(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function OT(e,t={}){let n=!1;const r=t.onError||bw;return t.onError=a=>{n=!0,r(a)},{...qw(e,t),detectError:n}}const D6=(e,t)=>{if(!Me(e))throw Xn(Dn.NOT_SUPPORT_NON_STRING_MESSAGE);{Zt(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||ST)(e),a=Ma[r];if(a)return a;const{code:s,detectError:i}=OT(e,t),o=new Function(`return ${s}`)();return i?o:Ma[r]=o}};function P6(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&Me(e)){Zt(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||ST)(e),a=Ma[r];if(a)return a;const{ast:s,detectError:i}=OT(e,{...t,location:!1,jit:!0}),o=Jc(s);return i?o:Ma[r]=o}else{const n=e.cacheKey;if(n){const r=Ma[n];return r||(Ma[n]=Jc(e))}else return Jc(e)}}const Sm=()=>"",In=e=>Pt(e);function Om(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:a,messageCompiler:s,fallbackLocale:i,messages:o}=e,[u,c]=Ql(...t),l=Zt(c.missingWarn)?c.missingWarn:e.missingWarn,f=Zt(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,d=Zt(c.escapeParameter)?c.escapeParameter:e.escapeParameter,m=!!c.resolvedMessage,E=Me(c.default)||Zt(c.default)?Zt(c.default)?s?u:()=>u:c.default:n?s?u:()=>u:"",g=n||E!=="",b=kf(e,c);d&&w6(c);let[O,R,v]=m?[u,b,o[b]||{}]:IT(e,u,b,i,f,l),T=O,L=u;if(!m&&!(Me(T)||ns(T)||In(T))&&g&&(T=E,L=T),!m&&(!(Me(T)||ns(T)||In(T))||!Me(R)))return a?dc:u;let w=!1;const P=()=>{w=!0},j=In(T)?T:vT(e,u,R,T,L,P);if(w)return T;const G=k6(e,R,v,c),z=f6(G),k=L6(e,j,z),Z=r?r(k,u):k;if(__INTLIFY_PROD_DEVTOOLS__){const ee={timestamp:Date.now(),key:Me(u)?u:In(T)?T.key:"",locale:R||(In(T)?T.locale:""),format:Me(T)?T:In(T)?T.source:"",message:Z};ee.meta=_s({},e.__meta,b6()||{}),E6(ee)}return Z}function w6(e){Zn(e.list)?e.list=e.list.map(t=>Me(t)?im(t):t):kt(e.named)&&Object.keys(e.named).forEach(t=>{Me(e.named[t])&&(e.named[t]=im(e.named[t]))})}function IT(e,t,n,r,a,s){const{messages:i,onWarn:o,messageResolver:u,localeFallbacker:c}=e,l=c(e,r,n);let f={},d,m=null;const E="translate";for(let g=0;gr;return c.locale=n,c.key=t,c}const u=i(r,$6(e,n,a,r,o,s));return u.locale=n,u.key=t,u.source=r,u}function L6(e,t,n){return t(n)}function Ql(...e){const[t,n,r]=e,a={};if(!Me(t)&&!En(t)&&!In(t)&&!ns(t))throw Xn(Dn.INVALID_ARGUMENT);const s=En(t)?String(t):(In(t),t);return En(n)?a.plural=n:Me(n)?a.default=n:Tt(n)&&!Lf(n)?a.named=n:Zn(n)&&(a.list=n),En(r)?a.plural=r:Me(r)?a.default=r:Tt(r)&&_s(a,r),[s,a]}function $6(e,t,n,r,a,s){return{locale:t,key:n,warnHtmlMessage:a,onError:i=>{throw s&&s(i),i},onCacheKey:i=>pw(t,n,i)}}function k6(e,t,n,r){const{modifiers:a,pluralRules:s,messageResolver:i,fallbackLocale:o,fallbackWarn:u,missingWarn:c,fallbackContext:l}=e,d={locale:t,modifiers:a,pluralRules:s,messages:m=>{let E=i(n,m);if(E==null&&l){const[,,g]=IT(l,m,t,o,u,c);E=i(g,m)}if(Me(E)||ns(E)){let g=!1;const O=vT(e,m,t,E,m,()=>{g=!0});return g?Sm:O}else return In(E)?E:Sm}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),En(r.plural)&&(d.pluralIndex=r.plural),d}function Im(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:a,onWarn:s,localeFallbacker:i}=e,{__datetimeFormatters:o}=e,[u,c,l,f]=Jl(...t),d=Zt(l.missingWarn)?l.missingWarn:e.missingWarn;Zt(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn;const m=!!l.part,E=kf(e,l),g=i(e,a,E);if(!Me(u)||u==="")return new Intl.DateTimeFormat(E,f).format(c);let b={},O,R=null;const v="datetime format";for(let w=0;w{RT.includes(u)?i[u]=n[u]:s[u]=n[u]}),Me(r)?s.locale=r:Tt(r)&&(i=r),Tt(a)&&(i=a),[s.key||"",o,s,i]}function vm(e,t,n){const r=e;for(const a in n){const s=`${t}__${a}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function Rm(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:a,onWarn:s,localeFallbacker:i}=e,{__numberFormatters:o}=e,[u,c,l,f]=ed(...t),d=Zt(l.missingWarn)?l.missingWarn:e.missingWarn;Zt(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn;const m=!!l.part,E=kf(e,l),g=i(e,a,E);if(!Me(u)||u==="")return new Intl.NumberFormat(E,f).format(c);let b={},O,R=null;const v="number format";for(let w=0;w{bT.includes(u)?i[u]=n[u]:s[u]=n[u]}),Me(r)?s.locale=r:Tt(r)&&(i=r),Tt(a)&&(i=a),[s.key||"",o,s,i]}function bm(e,t,n){const r=e;for(const a in n){const s=`${t}__${a}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}Xw();/*! + * vue-i18n v9.8.0 + * (c) 2023 kazuya kawaguchi + * Released under the MIT License. + */const U6="9.8.0";function M6(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(La().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(La().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(La().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(La().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(La().__INTLIFY_PROD_DEVTOOLS__=!1)}const NT=_6.__EXTEND_POINT__,Dr=cT(NT);Dr(),Dr(),Dr(),Dr(),Dr(),Dr(),Dr(),Dr();const CT=Dn.__EXTEND_POINT__,nn=cT(CT),yt={UNEXPECTED_RETURN_TYPE:CT,INVALID_ARGUMENT:nn(),MUST_BE_CALL_SETUP_TOP:nn(),NOT_INSTALLED:nn(),NOT_AVAILABLE_IN_LEGACY_MODE:nn(),REQUIRED_VALUE:nn(),INVALID_VALUE:nn(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:nn(),NOT_INSTALLED_WITH_PROVIDE:nn(),UNEXPECTED_ERROR:nn(),NOT_COMPATIBLE_LEGACY_VUE_I18N:nn(),BRIDGE_SUPPORT_VUE_2_ONLY:nn(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:nn(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:nn(),__EXTEND_POINT__:nn()};function Ut(e,...t){return Ts(e,null,void 0)}const td=Yr("__translateVNode"),nd=Yr("__datetimeParts"),rd=Yr("__numberParts"),yT=Yr("__setPluralRules"),DT=Yr("__injectWithOption"),ad=Yr("__dispose");function ci(e){if(!Tn(e))return e;for(const t in e)if(oi(e,t))if(!t.includes("."))Tn(e[t])&&ci(e[t]);else{const n=t.split("."),r=n.length-1;let a=e,s=!1;for(let i=0;i{if("locale"in o&&"resource"in o){const{locale:u,resource:c}=o;u?(i[u]=i[u]||{},Hs(c,i[u])):Hs(c,i)}else nt(o)&&Hs(JSON.parse(o),i)}),a==null&&s)for(const o in i)oi(i,o)&&ci(i[o]);return i}function PT(e){return e.type}function wT(e,t,n){let r=Tn(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=fc(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const a=Object.keys(r);a.length&&a.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(Tn(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(Tn(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Nm(e){return U(bi,null,e,0)}const Cm="__INTLIFY_META__",ym=()=>[],x6=()=>!1;let Dm=0;function Pm(e){return(t,n,r,a)=>e(n,r,ri()||void 0,a)}const F6=()=>{const e=ri();let t=null;return e&&(t=PT(e)[Cm])?{[Cm]:t}:null};function Mf(e={},t){const{__root:n,__injectWithOption:r}=e,a=n===void 0,s=e.flatJson;let i=Ot(e.inheritLocale)?e.inheritLocale:!0;const o=ce(n&&i?n.locale.value:nt(e.locale)?e.locale:ts),u=ce(n&&i?n.fallbackLocale.value:nt(e.fallbackLocale)||en(e.fallbackLocale)||It(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o.value),c=ce(fc(o.value,e)),l=ce(It(e.datetimeFormats)?e.datetimeFormats:{[o.value]:{}}),f=ce(It(e.numberFormats)?e.numberFormats:{[o.value]:{}});let d=n?n.missingWarn:Ot(e.missingWarn)||Ja(e.missingWarn)?e.missingWarn:!0,m=n?n.fallbackWarn:Ot(e.fallbackWarn)||Ja(e.fallbackWarn)?e.fallbackWarn:!0,E=n?n.fallbackRoot:Ot(e.fallbackRoot)?e.fallbackRoot:!0,g=!!e.fallbackFormat,b=Fr(e.missing)?e.missing:null,O=Fr(e.missing)?Pm(e.missing):null,R=Fr(e.postTranslation)?e.postTranslation:null,v=n?n.warnHtmlMessage:Ot(e.warnHtmlMessage)?e.warnHtmlMessage:!0,T=!!e.escapeParameter;const L=n?n.modifiers:It(e.modifiers)?e.modifiers:{};let w=e.pluralRules||n&&n.pluralRules,P;P=(()=>{a&&Tm(null);const F={version:U6,locale:o.value,fallbackLocale:u.value,messages:c.value,modifiers:L,pluralRules:w,missing:O===null?void 0:O,missingWarn:d,fallbackWarn:m,fallbackFormat:g,unresolving:!0,postTranslation:R===null?void 0:R,warnHtmlMessage:v,escapeParameter:T,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};F.datetimeFormats=l.value,F.numberFormats=f.value,F.__datetimeFormatters=It(P)?P.__datetimeFormatters:void 0,F.__numberFormatters=It(P)?P.__numberFormatters:void 0;const q=C6(F);return a&&Tm(q),q})(),Ds(P,o.value,u.value);function G(){return[o.value,u.value,c.value,l.value,f.value]}const z=$({get:()=>o.value,set:F=>{o.value=F,P.locale=o.value}}),k=$({get:()=>u.value,set:F=>{u.value=F,P.fallbackLocale=u.value,Ds(P,o.value,F)}}),Z=$(()=>c.value),ee=$(()=>l.value),re=$(()=>f.value);function D(){return Fr(R)?R:null}function W(F){R=F,P.postTranslation=F}function H(){return b}function se(F){F!==null&&(O=Pm(F)),b=F,P.missing=O}const Pe=(F,q,Oe,Ne,Ze,ft)=>{G();let Dt;try{__INTLIFY_PROD_DEVTOOLS__,a||(P.fallbackContext=n?N6():void 0),Dt=F(P)}finally{__INTLIFY_PROD_DEVTOOLS__,a||(P.fallbackContext=void 0)}if(Oe!=="translate exists"&&Qa(Dt)&&Dt===dc||Oe==="translate exists"&&!Dt){const[Rr,Pc]=q();return n&&E?Ne(n):Ze(Rr)}else{if(ft(Dt))return Dt;throw Ut(yt.UNEXPECTED_RETURN_TYPE)}};function xe(...F){return Pe(q=>Reflect.apply(Om,null,[q,...F]),()=>Ql(...F),"translate",q=>Reflect.apply(q.t,q,[...F]),q=>q,q=>nt(q))}function Ae(...F){const[q,Oe,Ne]=F;if(Ne&&!Tn(Ne))throw Ut(yt.INVALID_ARGUMENT);return xe(q,Oe,wn({resolvedMessage:!0},Ne||{}))}function ye(...F){return Pe(q=>Reflect.apply(Im,null,[q,...F]),()=>Jl(...F),"datetime format",q=>Reflect.apply(q.d,q,[...F]),()=>Em,q=>nt(q))}function Wt(...F){return Pe(q=>Reflect.apply(Rm,null,[q,...F]),()=>ed(...F),"number format",q=>Reflect.apply(q.n,q,[...F]),()=>Em,q=>nt(q))}function ke(F){return F.map(q=>nt(q)||Qa(q)||Ot(q)?Nm(String(q)):q)}const rt={normalize:ke,interpolate:F=>F,type:"vnode"};function X(...F){return Pe(q=>{let Oe;const Ne=q;try{Ne.processor=rt,Oe=Reflect.apply(Om,null,[Ne,...F])}finally{Ne.processor=null}return Oe},()=>Ql(...F),"translate",q=>q[td](...F),q=>[Nm(q)],q=>en(q))}function pe(...F){return Pe(q=>Reflect.apply(Rm,null,[q,...F]),()=>ed(...F),"number format",q=>q[rd](...F),ym,q=>nt(q)||en(q))}function le(...F){return Pe(q=>Reflect.apply(Im,null,[q,...F]),()=>Jl(...F),"datetime format",q=>q[nd](...F),ym,q=>nt(q)||en(q))}function Se(F){w=F,P.pluralRules=w}function je(F,q){return Pe(()=>{if(!F)return!1;const Oe=nt(q)?q:o.value,Ne=I(Oe),Ze=P.messageResolver(Ne,F);return ns(Ze)||In(Ze)||nt(Ze)},()=>[F],"translate exists",Oe=>Reflect.apply(Oe.te,Oe,[F,q]),x6,Oe=>Ot(Oe))}function y(F){let q=null;const Oe=ET(P,u.value,o.value);for(let Ne=0;Ne{i&&(o.value=F,P.locale=F,Ds(P,o.value,u.value))}),Ge(n.fallbackLocale,F=>{i&&(u.value=F,P.fallbackLocale=F,Ds(P,o.value,u.value))}));const Ee={id:Dm,locale:z,fallbackLocale:k,get inheritLocale(){return i},set inheritLocale(F){i=F,F&&n&&(o.value=n.locale.value,u.value=n.fallbackLocale.value,Ds(P,o.value,u.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:Z,get modifiers(){return L},get pluralRules(){return w||{}},get isGlobal(){return a},get missingWarn(){return d},set missingWarn(F){d=F,P.missingWarn=d},get fallbackWarn(){return m},set fallbackWarn(F){m=F,P.fallbackWarn=m},get fallbackRoot(){return E},set fallbackRoot(F){E=F},get fallbackFormat(){return g},set fallbackFormat(F){g=F,P.fallbackFormat=g},get warnHtmlMessage(){return v},set warnHtmlMessage(F){v=F,P.warnHtmlMessage=F},get escapeParameter(){return T},set escapeParameter(F){T=F,P.escapeParameter=F},t:xe,getLocaleMessage:I,setLocaleMessage:C,mergeLocaleMessage:M,getPostTranslationHandler:D,setPostTranslationHandler:W,getMissingHandler:H,setMissingHandler:se,[yT]:Se};return Ee.datetimeFormats=ee,Ee.numberFormats=re,Ee.rt=Ae,Ee.te=je,Ee.tm=S,Ee.d=ye,Ee.n=Wt,Ee.getDateTimeFormat=B,Ee.setDateTimeFormat=te,Ee.mergeDateTimeFormat=oe,Ee.getNumberFormat=de,Ee.setNumberFormat=ie,Ee.mergeNumberFormat=ve,Ee[DT]=r,Ee[td]=X,Ee[nd]=le,Ee[rd]=pe,Ee}function W6(e){const t=nt(e.locale)?e.locale:ts,n=nt(e.fallbackLocale)||en(e.fallbackLocale)||It(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=Fr(e.missing)?e.missing:void 0,a=Ot(e.silentTranslationWarn)||Ja(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=Ot(e.silentFallbackWarn)||Ja(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=Ot(e.fallbackRoot)?e.fallbackRoot:!0,o=!!e.formatFallbackMessages,u=It(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,l=Fr(e.postTranslation)?e.postTranslation:void 0,f=nt(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,m=Ot(e.sync)?e.sync:!0;let E=e.messages;if(It(e.sharedMessages)){const L=e.sharedMessages;E=Object.keys(L).reduce((P,j)=>{const G=P[j]||(P[j]={});return wn(G,L[j]),P},E||{})}const{__i18n:g,__root:b,__injectWithOption:O}=e,R=e.datetimeFormats,v=e.numberFormats,T=e.flatJson;return{locale:t,fallbackLocale:n,messages:E,flatJson:T,datetimeFormats:R,numberFormats:v,missing:r,missingWarn:a,fallbackWarn:s,fallbackRoot:i,fallbackFormat:o,modifiers:u,pluralRules:c,postTranslation:l,warnHtmlMessage:f,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:m,__i18n:g,__root:b,__injectWithOption:O}}function sd(e={},t){{const n=Mf(W6(e)),{__extender:r}=e,a={id:n.id,get locale(){return n.locale.value},set locale(s){n.locale.value=s},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(s){n.fallbackLocale.value=s},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(s){},get missing(){return n.getMissingHandler()},set missing(s){n.setMissingHandler(s)},get silentTranslationWarn(){return Ot(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(s){n.missingWarn=Ot(s)?!s:s},get silentFallbackWarn(){return Ot(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(s){n.fallbackWarn=Ot(s)?!s:s},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(s){n.fallbackFormat=s},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(s){n.setPostTranslationHandler(s)},get sync(){return n.inheritLocale},set sync(s){n.inheritLocale=s},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){n.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(s){n.escapeParameter=s},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(s){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...s){const[i,o,u]=s,c={};let l=null,f=null;if(!nt(i))throw Ut(yt.INVALID_ARGUMENT);const d=i;return nt(o)?c.locale=o:en(o)?l=o:It(o)&&(f=o),en(u)?l=u:It(u)&&(f=u),Reflect.apply(n.t,n,[d,l||f||{},c])},rt(...s){return Reflect.apply(n.rt,n,[...s])},tc(...s){const[i,o,u]=s,c={plural:1};let l=null,f=null;if(!nt(i))throw Ut(yt.INVALID_ARGUMENT);const d=i;return nt(o)?c.locale=o:Qa(o)?c.plural=o:en(o)?l=o:It(o)&&(f=o),nt(u)?c.locale=u:en(u)?l=u:It(u)&&(f=u),Reflect.apply(n.t,n,[d,l||f||{},c])},te(s,i){return n.te(s,i)},tm(s){return n.tm(s)},getLocaleMessage(s){return n.getLocaleMessage(s)},setLocaleMessage(s,i){n.setLocaleMessage(s,i)},mergeLocaleMessage(s,i){n.mergeLocaleMessage(s,i)},d(...s){return Reflect.apply(n.d,n,[...s])},getDateTimeFormat(s){return n.getDateTimeFormat(s)},setDateTimeFormat(s,i){n.setDateTimeFormat(s,i)},mergeDateTimeFormat(s,i){n.mergeDateTimeFormat(s,i)},n(...s){return Reflect.apply(n.n,n,[...s])},getNumberFormat(s){return n.getNumberFormat(s)},setNumberFormat(s,i){n.setNumberFormat(s,i)},mergeNumberFormat(s,i){n.mergeNumberFormat(s,i)},getChoiceIndex(s,i){return-1}};return a.__extender=r,a}}const xf={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function G6({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,a)=>[...r,...a.type===Ie?a.children:[a]],[]):t.reduce((n,r)=>{const a=e[r];return a&&(n[r]=a()),n},{})}function LT(e){return Ie}const z6=Q({name:"i18n-t",props:wn({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Qa(e)||!isNaN(e)}},xf),setup(e,t){const{slots:n,attrs:r}=t,a=e.i18n||jt({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(f=>f!=="_"),i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=nt(e.plural)?+e.plural:e.plural);const o=G6(t,s),u=a[td](e.keypath,o,i),c=wn({},r),l=nt(e.tag)||Tn(e.tag)?e.tag:LT();return An(l,c,u)}}}),wm=z6;function B6(e){return en(e)&&!nt(e[0])}function $T(e,t,n,r){const{slots:a,attrs:s}=t;return()=>{const i={part:!0};let o={};e.locale&&(i.locale=e.locale),nt(e.format)?i.key=e.format:Tn(e.format)&&(nt(e.format.key)&&(i.key=e.format.key),o=Object.keys(e.format).reduce((d,m)=>n.includes(m)?wn({},d,{[m]:e.format[m]}):d,{}));const u=r(e.value,i,o);let c=[i.key];en(u)?c=u.map((d,m)=>{const E=a[d.type],g=E?E({[d.type]:d.value,index:m,parts:u}):[d.value];return B6(g)&&(g[0].key=`${d.type}-${m}`),g}):nt(u)&&(c=[u]);const l=wn({},s),f=nt(e.tag)||Tn(e.tag)?e.tag:LT();return An(f,l,c)}}const H6=Q({name:"i18n-n",props:wn({value:{type:Number,required:!0},format:{type:[String,Object]}},xf),setup(e,t){const n=e.i18n||jt({useScope:"parent",__useComponent:!0});return $T(e,t,bT,(...r)=>n[rd](...r))}}),Lm=H6,j6=Q({name:"i18n-d",props:wn({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},xf),setup(e,t){const n=e.i18n||jt({useScope:"parent",__useComponent:!0});return $T(e,t,RT,(...r)=>n[nd](...r))}}),$m=j6;function V6(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function K6(e){const t=i=>{const{instance:o,modifiers:u,value:c}=i;if(!o||!o.$)throw Ut(yt.UNEXPECTED_ERROR);const l=V6(e,o.$),f=km(c);return[Reflect.apply(l.t,l,[...Um(f)]),l]};return{created:(i,o)=>{const[u,c]=t(o);ql&&e.global===c&&(i.__i18nWatcher=Ge(c.locale,()=>{o.instance&&o.instance.$forceUpdate()})),i.__composer=c,i.textContent=u},unmounted:i=>{ql&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:o})=>{if(i.__composer){const u=i.__composer,c=km(o);i.textContent=Reflect.apply(u.t,u,[...Um(c)])}},getSSRProps:i=>{const[o]=t(i);return{textContent:o}}}}function km(e){if(nt(e))return{path:e};if(It(e)){if(!("path"in e))throw Ut(yt.REQUIRED_VALUE,"path");return e}else throw Ut(yt.INVALID_VALUE)}function Um(e){const{path:t,locale:n,args:r,choice:a,plural:s}=e,i={},o=r||{};return nt(n)&&(i.locale=n),Qa(a)&&(i.plural=a),Qa(s)&&(i.plural=s),[t,o,i]}function Y6(e,t,...n){const r=It(n[0])?n[0]:{},a=!!r.useI18nComponentName;(Ot(r.globalInstall)?r.globalInstall:!0)&&([a?"i18n":wm.name,"I18nT"].forEach(i=>e.component(i,wm)),[Lm.name,"I18nN"].forEach(i=>e.component(i,Lm)),[$m.name,"I18nD"].forEach(i=>e.component(i,$m))),e.directive("t",K6(t))}function q6(e,t,n){return{beforeCreate(){const r=ri();if(!r)throw Ut(yt.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const s=a.i18n;if(a.__i18n&&(s.__i18n=a.__i18n),s.__root=t,this===this.$root)this.$i18n=Mm(e,s);else{s.__injectWithOption=!0,s.__extender=n.__vueI18nExtend,this.$i18n=sd(s);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=Mm(e,a);else{this.$i18n=sd({__i18n:a.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;a.__i18nGlobal&&wT(t,a,a),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$tc=(...s)=>this.$i18n.tc(...s),this.$te=(s,i)=>this.$i18n.te(s,i),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=ri();if(!r)throw Ut(yt.UNEXPECTED_ERROR);const a=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,a.__disposer&&(a.__disposer(),delete a.__disposer,delete a.__extender),n.__deleteInstance(r),delete this.$i18n}}}function Mm(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[yT](t.pluralizationRules||e.pluralizationRules);const n=fc(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const X6=Yr("global-vue-i18n");function Z6(e={},t){const n=__VUE_I18N_LEGACY_API__&&Ot(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=Ot(e.globalInjection)?e.globalInjection:!0,a=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,s=new Map,[i,o]=Q6(e,n),u=Yr("");function c(d){return s.get(d)||null}function l(d,m){s.set(d,m)}function f(d){s.delete(d)}{const d={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return a},async install(m,...E){if(m.__VUE_I18N_SYMBOL__=u,m.provide(m.__VUE_I18N_SYMBOL__,d),It(E[0])){const O=E[0];d.__composerExtend=O.__composerExtend,d.__vueI18nExtend=O.__vueI18nExtend}let g=null;!n&&r&&(g=oL(m,d.global)),__VUE_I18N_FULL_INSTALL__&&Y6(m,d,...E),__VUE_I18N_LEGACY_API__&&n&&m.mixin(q6(o,o.__composer,d));const b=m.unmount;m.unmount=()=>{g&&g(),d.dispose(),b()}},get global(){return o},dispose(){i.stop()},__instances:s,__getInstance:c,__setInstance:l,__deleteInstance:f};return d}}function jt(e={}){const t=ri();if(t==null)throw Ut(yt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Ut(yt.NOT_INSTALLED);const n=J6(t),r=tL(n),a=PT(t),s=eL(e,a);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw Ut(yt.NOT_AVAILABLE_IN_LEGACY_MODE);return sL(t,s,r,e)}if(s==="global")return wT(r,e,a),r;if(s==="parent"){let u=nL(n,t,e.__useComponent);return u==null&&(u=r),u}const i=n;let o=i.__getInstance(t);if(o==null){const u=wn({},e);"__i18n"in a&&(u.__i18n=a.__i18n),r&&(u.__root=r),o=Mf(u),i.__composerExtend&&(o[ad]=i.__composerExtend(o)),aL(i,t,o),i.__setInstance(t,o)}return o}function Q6(e,t,n){const r=xh();{const a=__VUE_I18N_LEGACY_API__&&t?r.run(()=>sd(e)):r.run(()=>Mf(e));if(a==null)throw Ut(yt.UNEXPECTED_ERROR);return[r,a]}}function J6(e){{const t=ht(e.isCE?X6:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Ut(e.isCE?yt.NOT_INSTALLED_WITH_PROVIDE:yt.UNEXPECTED_ERROR);return t}}function eL(e,t){return cw(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function tL(e){return e.mode==="composition"?e.global:e.global.__composer}function nL(e,t,n=!1){let r=null;const a=t.root;let s=rL(t,n);for(;s!=null;){const i=e;if(e.mode==="composition")r=i.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const o=i.__getInstance(s);o!=null&&(r=o.__composer,n&&r&&!r[DT]&&(r=null))}if(r!=null||a===s)break;s=s.parent}return r}function rL(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function aL(e,t,n){gt(()=>{},t),Rt(()=>{const r=n;e.__deleteInstance(t);const a=r[ad];a&&(a(),delete r[ad])},t)}function sL(e,t,n,r={}){const a=t==="local",s=Vu(null);if(a&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Ut(yt.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const i=Ot(r.inheritLocale)?r.inheritLocale:!nt(r.locale),o=ce(!a||i?n.locale.value:nt(r.locale)?r.locale:ts),u=ce(!a||i?n.fallbackLocale.value:nt(r.fallbackLocale)||en(r.fallbackLocale)||It(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:o.value),c=ce(fc(o.value,r)),l=ce(It(r.datetimeFormats)?r.datetimeFormats:{[o.value]:{}}),f=ce(It(r.numberFormats)?r.numberFormats:{[o.value]:{}}),d=a?n.missingWarn:Ot(r.missingWarn)||Ja(r.missingWarn)?r.missingWarn:!0,m=a?n.fallbackWarn:Ot(r.fallbackWarn)||Ja(r.fallbackWarn)?r.fallbackWarn:!0,E=a?n.fallbackRoot:Ot(r.fallbackRoot)?r.fallbackRoot:!0,g=!!r.fallbackFormat,b=Fr(r.missing)?r.missing:null,O=Fr(r.postTranslation)?r.postTranslation:null,R=a?n.warnHtmlMessage:Ot(r.warnHtmlMessage)?r.warnHtmlMessage:!0,v=!!r.escapeParameter,T=a?n.modifiers:It(r.modifiers)?r.modifiers:{},L=r.pluralRules||a&&n.pluralRules;function w(){return[o.value,u.value,c.value,l.value,f.value]}const P=$({get:()=>s.value?s.value.locale.value:o.value,set:I=>{s.value&&(s.value.locale.value=I),o.value=I}}),j=$({get:()=>s.value?s.value.fallbackLocale.value:u.value,set:I=>{s.value&&(s.value.fallbackLocale.value=I),u.value=I}}),G=$(()=>s.value?s.value.messages.value:c.value),z=$(()=>l.value),k=$(()=>f.value);function Z(){return s.value?s.value.getPostTranslationHandler():O}function ee(I){s.value&&s.value.setPostTranslationHandler(I)}function re(){return s.value?s.value.getMissingHandler():b}function D(I){s.value&&s.value.setMissingHandler(I)}function W(I){return w(),I()}function H(...I){return s.value?W(()=>Reflect.apply(s.value.t,null,[...I])):W(()=>"")}function se(...I){return s.value?Reflect.apply(s.value.rt,null,[...I]):""}function Pe(...I){return s.value?W(()=>Reflect.apply(s.value.d,null,[...I])):W(()=>"")}function xe(...I){return s.value?W(()=>Reflect.apply(s.value.n,null,[...I])):W(()=>"")}function Ae(I){return s.value?s.value.tm(I):{}}function ye(I,C){return s.value?s.value.te(I,C):!1}function Wt(I){return s.value?s.value.getLocaleMessage(I):{}}function ke(I,C){s.value&&(s.value.setLocaleMessage(I,C),c.value[I]=C)}function ze(I,C){s.value&&s.value.mergeLocaleMessage(I,C)}function rt(I){return s.value?s.value.getDateTimeFormat(I):{}}function X(I,C){s.value&&(s.value.setDateTimeFormat(I,C),l.value[I]=C)}function pe(I,C){s.value&&s.value.mergeDateTimeFormat(I,C)}function le(I){return s.value?s.value.getNumberFormat(I):{}}function Se(I,C){s.value&&(s.value.setNumberFormat(I,C),f.value[I]=C)}function je(I,C){s.value&&s.value.mergeNumberFormat(I,C)}const y={get id(){return s.value?s.value.id:-1},locale:P,fallbackLocale:j,messages:G,datetimeFormats:z,numberFormats:k,get inheritLocale(){return s.value?s.value.inheritLocale:i},set inheritLocale(I){s.value&&(s.value.inheritLocale=I)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(c.value)},get modifiers(){return s.value?s.value.modifiers:T},get pluralRules(){return s.value?s.value.pluralRules:L},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:d},set missingWarn(I){s.value&&(s.value.missingWarn=I)},get fallbackWarn(){return s.value?s.value.fallbackWarn:m},set fallbackWarn(I){s.value&&(s.value.missingWarn=I)},get fallbackRoot(){return s.value?s.value.fallbackRoot:E},set fallbackRoot(I){s.value&&(s.value.fallbackRoot=I)},get fallbackFormat(){return s.value?s.value.fallbackFormat:g},set fallbackFormat(I){s.value&&(s.value.fallbackFormat=I)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:R},set warnHtmlMessage(I){s.value&&(s.value.warnHtmlMessage=I)},get escapeParameter(){return s.value?s.value.escapeParameter:v},set escapeParameter(I){s.value&&(s.value.escapeParameter=I)},t:H,getPostTranslationHandler:Z,setPostTranslationHandler:ee,getMissingHandler:re,setMissingHandler:D,rt:se,d:Pe,n:xe,tm:Ae,te:ye,getLocaleMessage:Wt,setLocaleMessage:ke,mergeLocaleMessage:ze,getDateTimeFormat:rt,setDateTimeFormat:X,mergeDateTimeFormat:pe,getNumberFormat:le,setNumberFormat:Se,mergeNumberFormat:je};function S(I){I.locale.value=o.value,I.fallbackLocale.value=u.value,Object.keys(c.value).forEach(C=>{I.mergeLocaleMessage(C,c.value[C])}),Object.keys(l.value).forEach(C=>{I.mergeDateTimeFormat(C,l.value[C])}),Object.keys(f.value).forEach(C=>{I.mergeNumberFormat(C,f.value[C])}),I.escapeParameter=v,I.fallbackFormat=g,I.fallbackRoot=E,I.fallbackWarn=m,I.missingWarn=d,I.warnHtmlMessage=R}return vt(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Ut(yt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const I=s.value=e.proxy.$i18n.__composer;t==="global"?(o.value=I.locale.value,u.value=I.fallbackLocale.value,c.value=I.messages.value,l.value=I.datetimeFormats.value,f.value=I.numberFormats.value):a&&S(I)}),y}const iL=["locale","fallbackLocale","availableLocales"],xm=["t","rt","d","n","tm","te"];function oL(e,t){const n=Object.create(null);return iL.forEach(a=>{const s=Object.getOwnPropertyDescriptor(t,a);if(!s)throw Ut(yt.UNEXPECTED_ERROR);const i=Bt(s.value)?{get(){return s.value.value},set(o){s.value.value=o}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,a,i)}),e.config.globalProperties.$i18n=n,xm.forEach(a=>{const s=Object.getOwnPropertyDescriptor(t,a);if(!s||!s.value)throw Ut(yt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${a}`,s)}),()=>{delete e.config.globalProperties.$i18n,xm.forEach(a=>{delete e.config.globalProperties[`$${a}`]})}}M6();__INTLIFY_JIT_COMPILATION__?_m(P6):_m(D6);I6(a6);v6(ET);if(__INTLIFY_PROD_DEVTOOLS__){const e=La();e.__INTLIFY__=!0,p6(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const uL="Über diese Instanz",cL="Kontaktiere den Administrator",lL="FitTrackee ist ein selbst-gehosteter Outdoor-Aktivitäts-Tracker.",dL="unter {0} Lizenz ",fL="Quellcode",pL="Wetterdaten von:",mL={ABOUT_THIS_INSTANCE:uL,CONTACT_ADMIN:cL,FITTRACKEE_DESCRIPTION:lL,FITTRACKEE_LICENSE:dL,SOURCE_CODE:fL,WEATHER_DATA_FROM:pL},EL={DESCRIPTION:"Zusätzliche Informationen, die für deine Nutzer nützlich sein könnten. Markdown-Syntax wird unterstützt.",TEXT:"Detaillierte Instanz-Informationen"},hL="Aktion",_L="Aktiviere Konto",TL="Aktiv",gL="Admin",AL="Administration",SL="Hinzufügen/Entfernen von Administratorrechten, Lösche Nutzerkonto.",OL="Anwendung",IL={ADMIN_CONTACT:"Kontakt-E-Mail des Administrators",MAX_FILES_IN_ZIP_LABEL:"Max. Dateianzahl im zip Archiv",MAX_USERS_HELP:"Wenn 0, gibt es keine Registrierungslimitierung..",MAX_USERS_LABEL:"Max. Anzahl aktiver Nutzer",NO_CONTACT_EMAIL:"keine Kontakt-E-Mail",SINGLE_UPLOAD_MAX_SIZE_LABEL:"Max. Größe der hochgeladenen Dateien (in Mb)",TITLE:"Anwendungskonfiguration",ZIP_UPLOAD_MAX_SIZE_LABEL:"Max. Größe des zip Archives (in Mb)"},vL="Zurück zu Admin",RL="Möchtest du wirklich das {0} Konto löschen? Alle Daten werden gelöscht. Dieser Vorgang kann nicht rückgängig gemacht werden.",bL="Möchtest du wirklich das {0} Passwort zurücksetzen?",NL="Aktuelle E-Mail",CL="Lösche Nutzer",yL="E-Mail-Versand ist deaktiviert.",DL="Aktivieren/Deaktivieren von Sportarten.",PL="Neue E-Mail",wL="Kein Text eingegeben",LL="Das wasswort wurde zurückgesetzt.",$L="Füge deine eigene Datenschutzrichtlinie hinzu oder leer lassen, um die standardmäßige zu verwenden. Markdown-Syntax wird unterstützt.",kL="Registrierung ist derzeit deaktiviert.",UL="Registrierung ist derzeit aktiviert.",ML="Passwort zurücksetzen",xL={TABLE:{ACTIVE:"Aktiv",HAS_WORKOUTS:"Trainings existieren",IMAGE:"Bild",LABEL:"Titel"},TITLE:"Sportarten Administration"},FL="Aktualisiere Anwemdungskonfiguration.",WL="Aktualisiere E-Mail",GL="Nutzer",zL={SELECTS:{ORDER_BY:{ADMIN:"Adminstatus",CREATED_AT:"Registrierungsdatum",IS_ACTIVE:"Accountstatus",USERNAME:"Nutzername",WORKOUTS_COUNT:"Trainingsanzahl"}},TABLE:{ADD_ADMIN_RIGHTS:"Administratorrechte hinzufügen",REMOVE_ADMIN_RIGHTS:"Administratorrechte entfernen"},TITLE:"Administration - Benutzer"},BL="Die E-Mail Adresse wurde aktualisiert.",HL={ABOUT:EL,ACTION:hL,ACTIVATE_USER_ACCOUNT:_L,ACTIVE:TL,ADMIN:gL,ADMINISTRATION:AL,ADMIN_RIGHTS_DELETE_USER_ACCOUNT:SL,APPLICATION:OL,APP_CONFIG:IL,BACK_TO_ADMIN:vL,CONFIRM_USER_ACCOUNT_DELETION:RL,CONFIRM_USER_PASSWORD_RESET:bL,CURRENT_EMAIL:NL,DELETE_USER:CL,EMAIL_SENDING_DISABLED:yL,ENABLE_DISABLE_SPORTS:DL,NEW_EMAIL:PL,NO_TEXT_ENTERED:wL,PASSWORD_RESET_SUCCESSFUL:LL,PRIVACY_POLICY_DESCRIPTION:$L,REGISTRATION_DISABLED:kL,REGISTRATION_ENABLED:UL,RESET_USER_PASSWORD:ML,SPORTS:xL,UPDATE_APPLICATION_DESCRIPTION:FL,UPDATE_USER_EMAIL:WL,USER:GL,USERS:zL,USER_EMAIL_UPDATE_SUCCESSFUL:BL},jL={"