@adminkit/core 4.0.0 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +31 -139
- package/dist/charts-chartjs.html +2 -2
- package/dist/css/app.css +2 -2
- package/dist/icons-lucide.html +1851 -1009
- package/dist/index.html +6 -6
- package/dist/js/app.js +3 -3
- package/dist/js/icons-all.js +1 -1
- package/dist/maps-google.html +2 -2
- package/dist/pages-404.html +1 -1
- package/dist/pages-500.html +1 -1
- package/dist/pages-blank.html +2 -2
- package/dist/pages-invoice.html +2 -2
- package/dist/pages-pricing.html +2 -2
- package/dist/pages-profile.html +2 -2
- package/dist/pages-sign-in.html +1 -1
- package/dist/pages-sign-up.html +1 -1
- package/dist/tables-bootstrap.html +2 -2
- package/dist/ui-alerts.html +2 -2
- package/dist/ui-buttons.html +2 -2
- package/dist/ui-cards.html +2 -2
- package/dist/ui-forms.html +2 -2
- package/dist/ui-modals.html +2 -2
- package/dist/ui-typography.html +2 -2
- package/dist/upgrade-to-pro.html +27 -27
- package/package.json +9 -5
package/dist/js/app.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(()=>{if(typeof window>`u`)return;var e=Object.defineProperty,t=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n||e(r,Symbol.toStringTag,{value:`Module`}),r},n=`bottom`,r=`right`,i=`left`,a=`auto`,o=[`top`,n,r,i],s=`start`,c=`clippingParents`,l=`viewport`,u=`popper`,d=`reference`,f=o.reduce(function(e,t){return e.concat([t+`-`+s,t+`-end`])},[]),p=[].concat(o,[a]).reduce(function(e,t){return e.concat([t,t+`-`+s,t+`-end`])},[]),m=`beforeRead`,h=`read`,g=`afterRead`,_=`beforeMain`,v=`main`,y=`afterMain`,b=`beforeWrite`,x=`write`,S=`afterWrite`,C=[m,h,g,_,v,y,b,x,S];function w(e){return e?(e.nodeName||``).toLowerCase():null}function T(e){if(e==null)return window;if(e.toString()!==`[object Window]`){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function E(e){return e instanceof T(e).Element||e instanceof Element}function D(e){return e instanceof T(e).HTMLElement||e instanceof HTMLElement}function O(e){return typeof ShadowRoot>`u`?!1:e instanceof T(e).ShadowRoot||e instanceof ShadowRoot}function k(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];D(i)&&w(i)&&(Object.assign(i.style,n),Object.keys(r).forEach(function(e){var t=r[e];t===!1?i.removeAttribute(e):i.setAttribute(e,t===!0?``:t)}))})}function ee(e){var t=e.state,n={popper:{position:t.options.strategy,left:`0`,top:`0`,margin:`0`},arrow:{position:`absolute`},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],i=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]=``,e},{});D(r)&&w(r)&&(Object.assign(r.style,a),Object.keys(i).forEach(function(e){r.removeAttribute(e)}))})}}var A={name:`applyStyles`,enabled:!0,phase:`write`,fn:k,effect:ee,requires:[`computeStyles`]};function j(e){return e.split(`-`)[0]}var M=Math.max,te=Math.min,ne=Math.round;function re(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+`/`+e.version}).join(` `):navigator.userAgent}function ie(){return!/^((?!chrome|android).)*safari/i.test(re())}function ae(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,a=1;t&&D(e)&&(i=e.offsetWidth>0&&ne(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&ne(r.height)/e.offsetHeight||1);var o=(E(e)?T(e):window).visualViewport,s=!ie()&&n,c=(r.left+(s&&o?o.offsetLeft:0))/i,l=(r.top+(s&&o?o.offsetTop:0))/a,u=r.width/i,d=r.height/a;return{width:u,height:d,top:l,right:c+u,bottom:l+d,left:c,x:c,y:l}}function oe(e){var t=ae(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function se(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&O(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ce(e){return T(e).getComputedStyle(e)}function le(e){return[`table`,`td`,`th`].indexOf(w(e))>=0}function ue(e){return((E(e)?e.ownerDocument:e.document)||window.document).documentElement}function de(e){return w(e)===`html`?e:e.assignedSlot||e.parentNode||(O(e)?e.host:null)||ue(e)}function fe(e){return!D(e)||ce(e).position===`fixed`?null:e.offsetParent}function pe(e){var t=/firefox/i.test(re());if(/Trident/i.test(re())&&D(e)&&ce(e).position===`fixed`)return null;var n=de(e);for(O(n)&&(n=n.host);D(n)&&[`html`,`body`].indexOf(w(n))<0;){var r=ce(n);if(r.transform!==`none`||r.perspective!==`none`||r.contain===`paint`||[`transform`,`perspective`].indexOf(r.willChange)!==-1||t&&r.willChange===`filter`||t&&r.filter&&r.filter!==`none`)return n;n=n.parentNode}return null}function me(e){for(var t=T(e),n=fe(e);n&&le(n)&&ce(n).position===`static`;)n=fe(n);return n&&(w(n)===`html`||w(n)===`body`&&ce(n).position===`static`)?t:n||pe(e)||t}function he(e){return[`top`,`bottom`].indexOf(e)>=0?`x`:`y`}function ge(e,t,n){return M(e,te(t,n))}function _e(e,t,n){var r=ge(e,t,n);return r>n?n:r}function ve(){return{top:0,right:0,bottom:0,left:0}}function ye(e){return Object.assign({},ve(),e)}function be(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var xe=function(e,t){return e=typeof e==`function`?e(Object.assign({},t.rects,{placement:t.placement})):e,ye(typeof e==`number`?be(e,o):e)};function Se(e){var t,a=e.state,o=e.name,s=e.options,c=a.elements.arrow,l=a.modifiersData.popperOffsets,u=j(a.placement),d=he(u),f=[`left`,`right`].indexOf(u)>=0?`height`:`width`;if(c&&l){var p=xe(s.padding,a),m=oe(c),h=d===`y`?`top`:i,g=d===`y`?n:r,_=a.rects.reference[f]+a.rects.reference[d]-l[d]-a.rects.popper[f],v=l[d]-a.rects.reference[d],y=me(c),b=y?d===`y`?y.clientHeight||0:y.clientWidth||0:0,x=_/2-v/2,S=p[h],C=b-m[f]-p[g],w=b/2-m[f]/2+x,T=ge(S,w,C),E=d;a.modifiersData[o]=(t={},t[E]=T,t.centerOffset=T-w,t)}}function Ce(e){var t=e.state,n=e.options.element,r=n===void 0?`[data-popper-arrow]`:n;r!=null&&(typeof r==`string`&&(r=t.elements.popper.querySelector(r),!r)||se(t.elements.popper,r)&&(t.elements.arrow=r))}var we={name:`arrow`,enabled:!0,phase:`main`,fn:Se,effect:Ce,requires:[`popperOffsets`],requiresIfExists:[`preventOverflow`]};function Te(e){return e.split(`-`)[1]}var Ee={top:`auto`,right:`auto`,bottom:`auto`,left:`auto`};function De(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:ne(n*i)/i||0,y:ne(r*i)/i||0}}function Oe(e){var t,a=e.popper,o=e.popperRect,s=e.placement,c=e.variation,l=e.offsets,u=e.position,d=e.gpuAcceleration,f=e.adaptive,p=e.roundOffsets,m=e.isFixed,h=l.x,g=h===void 0?0:h,_=l.y,v=_===void 0?0:_,y=typeof p==`function`?p({x:g,y:v}):{x:g,y:v};g=y.x,v=y.y;var b=l.hasOwnProperty(`x`),x=l.hasOwnProperty(`y`),S=i,C=`top`,w=window;if(f){var E=me(a),D=`clientHeight`,O=`clientWidth`;if(E===T(a)&&(E=ue(a),ce(E).position!==`static`&&u===`absolute`&&(D=`scrollHeight`,O=`scrollWidth`)),E=E,s===`top`||(s===`left`||s===`right`)&&c===`end`){C=n;var k=m&&E===w&&w.visualViewport?w.visualViewport.height:E[D];v-=k-o.height,v*=d?1:-1}if(s===`left`||(s===`top`||s===`bottom`)&&c===`end`){S=r;var ee=m&&E===w&&w.visualViewport?w.visualViewport.width:E[O];g-=ee-o.width,g*=d?1:-1}}var A=Object.assign({position:u},f&&Ee),j=p===!0?De({x:g,y:v},T(a)):{x:g,y:v};if(g=j.x,v=j.y,d){var M;return Object.assign({},A,(M={},M[C]=x?`0`:``,M[S]=b?`0`:``,M.transform=(w.devicePixelRatio||1)<=1?`translate(`+g+`px, `+v+`px)`:`translate3d(`+g+`px, `+v+`px, 0)`,M))}return Object.assign({},A,(t={},t[C]=x?v+`px`:``,t[S]=b?g+`px`:``,t.transform=``,t))}function ke(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0||r,a=n.adaptive,o=a===void 0||a,s=n.roundOffsets,c=s===void 0||s,l={placement:j(t.placement),variation:Te(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy===`fixed`};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Oe(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Oe(Object.assign({},l,{offsets:t.modifiersData.arrow,position:`absolute`,adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Ae={name:`computeStyles`,enabled:!0,phase:`beforeWrite`,fn:ke,data:{}},je={passive:!0};function Me(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,a=i===void 0||i,o=r.resize,s=o===void 0||o,c=T(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&l.forEach(function(e){e.addEventListener(`scroll`,n.update,je)}),s&&c.addEventListener(`resize`,n.update,je),function(){a&&l.forEach(function(e){e.removeEventListener(`scroll`,n.update,je)}),s&&c.removeEventListener(`resize`,n.update,je)}}var Ne={name:`eventListeners`,enabled:!0,phase:`write`,fn:function(){},effect:Me,data:{}},Pe={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function Fe(e){return e.replace(/left|right|bottom|top/g,function(e){return Pe[e]})}var Ie={start:`end`,end:`start`};function Le(e){return e.replace(/start|end/g,function(e){return Ie[e]})}function Re(e){var t=T(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ze(e){return ae(ue(e)).left+Re(e).scrollLeft}function Be(e,t){var n=T(e),r=ue(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;var l=ie();(l||!l&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:a,height:o,x:s+ze(e),y:c}}function Ve(e){var t=ue(e),n=Re(e),r=e.ownerDocument?.body,i=M(t.scrollWidth,t.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=M(t.scrollHeight,t.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),o=-n.scrollLeft+ze(e),s=-n.scrollTop;return ce(r||t).direction===`rtl`&&(o+=M(t.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:o,y:s}}function He(e){var t=ce(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Ue(e){return[`html`,`body`,`#document`].indexOf(w(e))>=0?e.ownerDocument.body:D(e)&&He(e)?e:Ue(de(e))}function We(e,t){t===void 0&&(t=[]);var n=Ue(e),r=n===e.ownerDocument?.body,i=T(n),a=r?[i].concat(i.visualViewport||[],He(n)?n:[]):n,o=t.concat(a);return r?o:o.concat(We(de(a)))}function Ge(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ke(e,t){var n=ae(e,!1,t===`fixed`);return n.top+=e.clientTop,n.left+=e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function qe(e,t,n){return t===`viewport`?Ge(Be(e,n)):E(t)?Ke(t,n):Ge(Ve(ue(e)))}function Je(e){var t=We(de(e)),n=[`absolute`,`fixed`].indexOf(ce(e).position)>=0&&D(e)?me(e):e;return E(n)?t.filter(function(e){return E(e)&&se(e,n)&&w(e)!==`body`}):[]}function Ye(e,t,n,r){var i=t===`clippingParents`?Je(e):[].concat(t),a=[].concat(i,[n]),o=a[0],s=a.reduce(function(t,n){var i=qe(e,n,r);return t.top=M(i.top,t.top),t.right=te(i.right,t.right),t.bottom=te(i.bottom,t.bottom),t.left=M(i.left,t.left),t},qe(e,o,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Xe(e){var t=e.reference,a=e.element,o=e.placement,c=o?j(o):null,l=o?Te(o):null,u=t.x+t.width/2-a.width/2,d=t.y+t.height/2-a.height/2,f;switch(c){case`top`:f={x:u,y:t.y-a.height};break;case n:f={x:u,y:t.y+t.height};break;case r:f={x:t.x+t.width,y:d};break;case i:f={x:t.x-a.width,y:d};break;default:f={x:t.x,y:t.y}}var p=c?he(c):null;if(p!=null){var m=p===`y`?`height`:`width`;switch(l){case s:f[p]=f[p]-(t[m]/2-a[m]/2);break;case`end`:f[p]=f[p]+(t[m]/2-a[m]/2)}}return f}function Ze(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,a=n.strategy,s=a===void 0?e.strategy:a,f=n.boundary,p=f===void 0?c:f,m=n.rootBoundary,h=m===void 0?l:m,g=n.elementContext,_=g===void 0?u:g,v=n.altBoundary,y=v!==void 0&&v,b=n.padding,x=b===void 0?0:b,S=ye(typeof x==`number`?be(x,o):x),C=_===`popper`?d:u,w=e.rects.popper,T=e.elements[y?C:_],D=Ye(E(T)?T:T.contextElement||ue(e.elements.popper),p,h,s),O=ae(e.elements.reference),k=Xe({reference:O,element:w,strategy:`absolute`,placement:i}),ee=Ge(Object.assign({},w,k)),A=_===`popper`?ee:O,j={top:D.top-A.top+S.top,bottom:A.bottom-D.bottom+S.bottom,left:D.left-A.left+S.left,right:A.right-D.right+S.right},M=e.modifiersData.offset;if(_===`popper`&&M){var te=M[i];Object.keys(j).forEach(function(e){var t=[`right`,`bottom`].indexOf(e)>=0?1:-1,n=[`top`,`bottom`].indexOf(e)>=0?`y`:`x`;j[e]+=te[n]*t})}return j}function Qe(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,a=n.rootBoundary,s=n.padding,c=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?p:l,d=Te(r),m=d?c?f:f.filter(function(e){return Te(e)===d}):o,h=m.filter(function(e){return u.indexOf(e)>=0});h.length===0&&(h=m);var g=h.reduce(function(t,n){return t[n]=Ze(e,{placement:n,boundary:i,rootBoundary:a,padding:s})[j(n)],t},{});return Object.keys(g).sort(function(e,t){return g[e]-g[t]})}function $e(e){if(j(e)===`auto`)return[];var t=Fe(e);return[Le(e),t,Le(t)]}function et(e){var t=e.state,a=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var c=a.mainAxis,l=c===void 0||c,u=a.altAxis,d=u===void 0||u,f=a.fallbackPlacements,p=a.padding,m=a.boundary,h=a.rootBoundary,g=a.altBoundary,_=a.flipVariations,v=_===void 0||_,y=a.allowedAutoPlacements,b=t.options.placement,x=j(b)===b,S=f||(x||!v?[Fe(b)]:$e(b)),C=[b].concat(S).reduce(function(e,n){return e.concat(j(n)===`auto`?Qe(t,{placement:n,boundary:m,rootBoundary:h,padding:p,flipVariations:v,allowedAutoPlacements:y}):n)},[]),w=t.rects.reference,T=t.rects.popper,E=new Map,D=!0,O=C[0],k=0;k<C.length;k++){var ee=C[k],A=j(ee),M=Te(ee)===s,te=[`top`,n].indexOf(A)>=0,ne=te?`width`:`height`,re=Ze(t,{placement:ee,boundary:m,rootBoundary:h,altBoundary:g,padding:p}),ie=te?M?r:i:M?n:`top`;w[ne]>T[ne]&&(ie=Fe(ie));var ae=Fe(ie),oe=[];if(l&&oe.push(re[A]<=0),d&&oe.push(re[ie]<=0,re[ae]<=0),oe.every(function(e){return e})){O=ee,D=!1;break}E.set(ee,oe)}if(D)for(var se=v?3:1,ce=function(e){var t=C.find(function(t){var n=E.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return O=t,`break`},le=se;le>0&&ce(le)!==`break`;le--);t.placement!==O&&(t.modifiersData[o]._skip=!0,t.placement=O,t.reset=!0)}}var tt={name:`flip`,enabled:!0,phase:`main`,fn:et,requiresIfExists:[`offset`],data:{_skip:!1}};function nt(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function rt(e){return[`top`,r,n,i].some(function(t){return e[t]>=0})}function it(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,o=Ze(t,{elementContext:`reference`}),s=Ze(t,{altBoundary:!0}),c=nt(o,r),l=nt(s,i,a),u=rt(c),d=rt(l);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}var at={name:`hide`,enabled:!0,phase:`main`,requiresIfExists:[`preventOverflow`],fn:it};function ot(e,t,n){var r=j(e),i=[`left`,`top`].indexOf(r)>=0?-1:1,a=typeof n==`function`?n(Object.assign({},t,{placement:e})):n,o=a[0],s=a[1];return o||=0,s=(s||0)*i,[`left`,`right`].indexOf(r)>=0?{x:s,y:o}:{x:o,y:s}}function st(e){var t=e.state,n=e.options,r=e.name,i=n.offset,a=i===void 0?[0,0]:i,o=p.reduce(function(e,n){return e[n]=ot(n,t.rects,a),e},{}),s=o[t.placement],c=s.x,l=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=o}var ct={name:`offset`,enabled:!0,phase:`main`,requires:[`popperOffsets`],fn:st};function lt(e){var t=e.state,n=e.name;t.modifiersData[n]=Xe({reference:t.rects.reference,element:t.rects.popper,strategy:`absolute`,placement:t.placement})}var ut={name:`popperOffsets`,enabled:!0,phase:`read`,fn:lt,data:{}};function dt(e){return e===`x`?`y`:`x`}function ft(e){var t=e.state,a=e.options,o=e.name,s=a.mainAxis,c=s===void 0||s,l=a.altAxis,u=l!==void 0&&l,d=a.boundary,f=a.rootBoundary,p=a.altBoundary,m=a.padding,h=a.tether,g=h===void 0||h,_=a.tetherOffset,v=_===void 0?0:_,y=Ze(t,{boundary:d,rootBoundary:f,padding:m,altBoundary:p}),b=j(t.placement),x=Te(t.placement),S=!x,C=he(b),w=dt(C),T=t.modifiersData.popperOffsets,E=t.rects.reference,D=t.rects.popper,O=typeof v==`function`?v(Object.assign({},t.rects,{placement:t.placement})):v,k=typeof O==`number`?{mainAxis:O,altAxis:O}:Object.assign({mainAxis:0,altAxis:0},O),ee=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,A={x:0,y:0};if(T){if(c){var ne=C===`y`?`top`:i,re=C===`y`?n:r,ie=C===`y`?`height`:`width`,ae=T[C],se=ae+y[ne],ce=ae-y[re],le=g?-D[ie]/2:0,ue=x===`start`?E[ie]:D[ie],de=x===`start`?-D[ie]:-E[ie],fe=t.elements.arrow,pe=g&&fe?oe(fe):{width:0,height:0},ye=t.modifiersData[`arrow#persistent`]?t.modifiersData[`arrow#persistent`].padding:ve(),be=ye[ne],xe=ye[re],Se=ge(0,E[ie],pe[ie]),Ce=S?E[ie]/2-le-Se-be-k.mainAxis:ue-Se-be-k.mainAxis,we=S?-E[ie]/2+le+Se+xe+k.mainAxis:de+Se+xe+k.mainAxis,Ee=t.elements.arrow&&me(t.elements.arrow),De=Ee?C===`y`?Ee.clientTop||0:Ee.clientLeft||0:0,Oe=ee?.[C]??0,ke=ae+Ce-Oe-De,Ae=ae+we-Oe,je=ge(g?te(se,ke):se,ae,g?M(ce,Ae):ce);T[C]=je,A[C]=je-ae}if(u){var Me=C===`x`?`top`:i,Ne=C===`x`?n:r,Pe=T[w],Fe=w===`y`?`height`:`width`,Ie=Pe+y[Me],Le=Pe-y[Ne],Re=[`top`,i].indexOf(b)!==-1,ze=ee?.[w]??0,Be=Re?Ie:Pe-E[Fe]-D[Fe]-ze+k.altAxis,Ve=Re?Pe+E[Fe]+D[Fe]-ze-k.altAxis:Le,He=g&&Re?_e(Be,Pe,Ve):ge(g?Be:Ie,Pe,g?Ve:Le);T[w]=He,A[w]=He-Pe}t.modifiersData[o]=A}}var pt={name:`preventOverflow`,enabled:!0,phase:`main`,fn:ft,requiresIfExists:[`offset`]};function mt(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function ht(e){return e===T(e)||!D(e)?Re(e):mt(e)}function gt(e){var t=e.getBoundingClientRect(),n=ne(t.width)/e.offsetWidth||1,r=ne(t.height)/e.offsetHeight||1;return n!==1||r!==1}function _t(e,t,n){n===void 0&&(n=!1);var r=D(t),i=D(t)&>(t),a=ue(t),o=ae(e,i,n),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((w(t)!==`body`||He(a))&&(s=ht(t)),D(t)?(c=ae(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):a&&(c.x=ze(a))),{x:o.left+s.scrollLeft-c.x,y:o.top+s.scrollTop-c.y,width:o.width,height:o.height}}function vt(e){var t=new Map,n=new Set,r=[];e.forEach(function(e){t.set(e.name,e)});function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}}),r.push(e)}return e.forEach(function(e){n.has(e.name)||i(e)}),r}function yt(e){var t=vt(e);return C.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}function bt(e){var t;return function(){return t||=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})}),t}}function xt(e){var t=e.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{});return Object.keys(t).map(function(e){return t[e]})}var St={placement:`bottom`,modifiers:[],strategy:`absolute`};function Ct(){return![...arguments].some(function(e){return!(e&&typeof e.getBoundingClientRect==`function`)})}function wt(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,a=i===void 0?St:i;return function(e,t,n){n===void 0&&(n=a);var i={placement:`bottom`,orderedModifiers:[],options:Object.assign({},St,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},o=[],s=!1,c={state:i,setOptions:function(n){var o=typeof n==`function`?n(i.options):n;u(),i.options=Object.assign({},a,i.options,o),i.scrollParents={reference:E(e)?We(e):e.contextElement?We(e.contextElement):[],popper:We(t)};var s=yt(xt([].concat(r,i.options.modifiers)));return i.orderedModifiers=s.filter(function(e){return e.enabled}),l(),c.update()},forceUpdate:function(){if(!s){var e=i.elements,t=e.reference,n=e.popper;if(Ct(t,n)){i.rects={reference:_t(t,me(n),i.options.strategy===`fixed`),popper:oe(n)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach(function(e){return i.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<i.orderedModifiers.length;r++)if(i.reset===!0)i.reset=!1,r=-1;else{var a=i.orderedModifiers[r],o=a.fn,l=a.options,u=l===void 0?{}:l,d=a.name;typeof o==`function`&&(i=o({state:i,options:u,name:d,instance:c})||i)}}}},update:bt(function(){return new Promise(function(e){c.forceUpdate(),e(i)})}),destroy:function(){u(),s=!0}};if(!Ct(e,t))return c;c.setOptions(n).then(function(e){!s&&n.onFirstUpdate&&n.onFirstUpdate(e)});function l(){i.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=n===void 0?{}:n,a=e.effect;if(typeof a==`function`){var s=a({state:i,name:t,instance:c,options:r});o.push(s||function(){})}})}function u(){o.forEach(function(e){return e()}),o=[]}return c}}var Tt=wt(),Et=wt({defaultModifiers:[Ne,ut,Ae,A]}),Dt=wt({defaultModifiers:[Ne,ut,Ae,A,ct,tt,pt,we,at]}),Ot=t({afterMain:()=>y,afterRead:()=>g,afterWrite:()=>S,applyStyles:()=>A,arrow:()=>we,auto:()=>a,basePlacements:()=>o,beforeMain:()=>_,beforeRead:()=>m,beforeWrite:()=>b,bottom:()=>n,clippingParents:()=>c,computeStyles:()=>Ae,createPopper:()=>Dt,createPopperBase:()=>Tt,createPopperLite:()=>Et,detectOverflow:()=>Ze,end:()=>`end`,eventListeners:()=>Ne,flip:()=>tt,hide:()=>at,left:()=>i,main:()=>v,modifierPhases:()=>C,offset:()=>ct,placements:()=>p,popper:()=>u,popperGenerator:()=>wt,popperOffsets:()=>ut,preventOverflow:()=>pt,read:()=>h,reference:()=>d,right:()=>r,start:()=>s,top:()=>`top`,variationPlacements:()=>f,viewport:()=>l,write:()=>x}),kt=t({Alert:()=>Pn,Button:()=>Vn,Carousel:()=>Lr,Collapse:()=>ii,Dropdown:()=>Hi,Modal:()=>Fa,Offcanvas:()=>ro,Popover:()=>Ko,ScrollSpy:()=>us,Tab:()=>zs,Toast:()=>nc,Tooltip:()=>Bo}),At=new Map,jt={set(e,t,n){At.has(e)||At.set(e,new Map);let r=At.get(e);!r.has(t)&&r.size!==0?console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`):r.set(t,n)},get(e,t){return At.has(e)&&At.get(e).get(t)||null},remove(e,t){if(!At.has(e))return;let n=At.get(e);n.delete(t),n.size===0&&At.delete(e)}},Mt=1e6,Nt=1e3,Pt=`transitionend`,Ft=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),e),It=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),Lt=e=>{do e+=Math.floor(Math.random()*Mt);while(document.getElementById(e));return e},Rt=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);return!Number.parseFloat(t)&&!Number.parseFloat(n)?0:(t=t.split(`,`)[0],n=n.split(`,`)[0],(Number.parseFloat(t)+Number.parseFloat(n))*Nt)},zt=e=>{e.dispatchEvent(new Event(Pt))},Bt=e=>!e||typeof e!=`object`?!1:(e.jquery!==void 0&&(e=e[0]),e.nodeType!==void 0),Vt=e=>Bt(e)?e.jquery?e[0]:e:typeof e==`string`&&e.length>0?document.querySelector(Ft(e)):null,Ht=e=>{if(!Bt(e)||e.getClientRects().length===0)return!1;let t=getComputedStyle(e).getPropertyValue(`visibility`)===`visible`,n=e.closest(`details:not([open])`);if(!n)return t;if(n!==e){let t=e.closest(`summary`);if(t&&t.parentNode!==n||t===null)return!1}return t},Ut=e=>!e||e.nodeType!==Node.ELEMENT_NODE||e.classList.contains(`disabled`)?!0:e.disabled===void 0?e.hasAttribute(`disabled`)&&e.getAttribute(`disabled`)!==`false`:e.disabled,Wt=e=>{if(!document.documentElement.attachShadow)return null;if(typeof e.getRootNode==`function`){let t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?Wt(e.parentNode):null},Gt=()=>{},Kt=e=>{e.offsetHeight},qt=()=>window.jQuery&&!document.body.hasAttribute(`data-bs-no-jquery`)?window.jQuery:null,Jt=[],Yt=e=>{document.readyState===`loading`?(Jt.length||document.addEventListener(`DOMContentLoaded`,()=>{for(let e of Jt)e()}),Jt.push(e)):e()},Xt=()=>document.documentElement.dir===`rtl`,Zt=e=>{Yt(()=>{let t=qt();if(t){let n=e.NAME,r=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=r,e.jQueryInterface)}})},Qt=(e,t=[],n=e)=>typeof e==`function`?e.call(...t):n,$t=(e,t,n=!0)=>{if(!n){Qt(e);return}let r=Rt(t)+5,i=!1,a=({target:n})=>{n===t&&(i=!0,t.removeEventListener(Pt,a),Qt(e))};t.addEventListener(Pt,a),setTimeout(()=>{i||zt(t)},r)},en=(e,t,n,r)=>{let i=e.length,a=e.indexOf(t);return a===-1?!n&&r?e[i-1]:e[0]:(a+=n?1:-1,r&&(a=(a+i)%i),e[Math.max(0,Math.min(a,i-1))])},tn=/[^.]*(?=\..*)\.|.*/,nn=/\..*/,rn=/::\d+$/,an={},on=1,sn={mouseenter:`mouseover`,mouseleave:`mouseout`},cn=new Set(`click.dblclick.mouseup.mousedown.contextmenu.mousewheel.DOMMouseScroll.mouseover.mouseout.mousemove.selectstart.selectend.keydown.keypress.keyup.orientationchange.touchstart.touchmove.touchend.touchcancel.pointerdown.pointermove.pointerup.pointerleave.pointercancel.gesturestart.gesturechange.gestureend.focus.blur.change.reset.select.submit.focusin.focusout.load.unload.beforeunload.resize.move.DOMContentLoaded.readystatechange.error.abort.scroll`.split(`.`));function ln(e,t){return t&&`${t}::${on++}`||e.uidEvent||on++}function un(e){let t=ln(e);return e.uidEvent=t,an[t]=an[t]||{},an[t]}function dn(e,t){return function n(r){return yn(r,{delegateTarget:e}),n.oneOff&&N.off(e,r.type,t),t.apply(e,[r])}}function fn(e,t,n){return function r(i){let a=e.querySelectorAll(t);for(let{target:o}=i;o&&o!==this;o=o.parentNode)for(let s of a)if(s===o)return yn(i,{delegateTarget:o}),r.oneOff&&N.off(e,i.type,t,n),n.apply(o,[i])}}function pn(e,t,n=null){return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===n)}function mn(e,t,n){let r=typeof t==`string`,i=r?n:t||n,a=vn(e);return cn.has(a)||(a=e),[r,i,a]}function hn(e,t,n,r,i){if(typeof t!=`string`||!e)return;let[a,o,s]=mn(t,n,r);t in sn&&(o=(e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)})(o));let c=un(e),l=c[s]||(c[s]={}),u=pn(l,o,a?n:null);if(u){u.oneOff=u.oneOff&&i;return}let d=ln(o,t.replace(tn,``)),f=a?fn(e,n,o):dn(e,o);f.delegationSelector=a?n:null,f.callable=o,f.oneOff=i,f.uidEvent=d,l[d]=f,e.addEventListener(s,f,a)}function gn(e,t,n,r,i){let a=pn(t[n],r,i);a&&(e.removeEventListener(n,a,!!i),delete t[n][a.uidEvent])}function _n(e,t,n,r){let i=t[n]||{};for(let[a,o]of Object.entries(i))a.includes(r)&&gn(e,t,n,o.callable,o.delegationSelector)}function vn(e){return e=e.replace(nn,``),sn[e]||e}var N={on(e,t,n,r){hn(e,t,n,r,!1)},one(e,t,n,r){hn(e,t,n,r,!0)},off(e,t,n,r){if(typeof t!=`string`||!e)return;let[i,a,o]=mn(t,n,r),s=o!==t,c=un(e),l=c[o]||{},u=t.startsWith(`.`);if(a!==void 0){if(!Object.keys(l).length)return;gn(e,c,o,a,i?n:null)}else{if(u)for(let n of Object.keys(c))_n(e,c,n,t.slice(1));for(let[n,r]of Object.entries(l)){let i=n.replace(rn,``);(!s||t.includes(i))&&gn(e,c,o,r.callable,r.delegationSelector)}}},trigger(e,t,n){if(typeof t!=`string`||!e)return null;let r=qt(),i=t!==vn(t),a=null,o=!0,s=!0,c=!1;i&&r&&(a=r.Event(t,n),r(e).trigger(a),o=!a.isPropagationStopped(),s=!a.isImmediatePropagationStopped(),c=a.isDefaultPrevented());let l=yn(new Event(t,{bubbles:o,cancelable:!0}),n);return c&&l.preventDefault(),s&&e.dispatchEvent(l),l.defaultPrevented&&a&&a.preventDefault(),l}};function yn(e,t={}){for(let[n,r]of Object.entries(t))try{e[n]=r}catch{Object.defineProperty(e,n,{configurable:!0,get(){return r}})}return e}function bn(e){if(e===`true`)return!0;if(e===`false`)return!1;if(e===Number(e).toString())return Number(e);if(e===``||e===`null`)return null;if(typeof e!=`string`)return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function xn(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}var Sn={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${xn(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${xn(t)}`)},getDataAttributes(e){if(!e)return{};let t={},n=Object.keys(e.dataset).filter(e=>e.startsWith(`bs`)&&!e.startsWith(`bsConfig`));for(let r of n){let n=r.replace(/^bs/,``);n=n.charAt(0).toLowerCase()+n.slice(1),t[n]=bn(e.dataset[r])}return t},getDataAttribute(e,t){return bn(e.getAttribute(`data-bs-${xn(t)}`))}},Cn=class{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw Error(`You have to implement the static method "NAME", for each component!`)}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){let n=Bt(t)?Sn.getDataAttribute(t,`config`):{};return{...this.constructor.Default,...typeof n==`object`?n:{},...Bt(t)?Sn.getDataAttributes(t):{},...typeof e==`object`?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(let[n,r]of Object.entries(t)){let t=e[n],i=Bt(t)?`element`:It(t);if(!new RegExp(r).test(i))throw TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${i}" but expected type "${r}".`)}}},wn=`5.3.8`,Tn=class extends Cn{constructor(e,t){super(),e=Vt(e),e&&(this._element=e,this._config=this._getConfig(t),jt.set(this._element,this.constructor.DATA_KEY,this))}dispose(){jt.remove(this._element,this.constructor.DATA_KEY),N.off(this._element,this.constructor.EVENT_KEY);for(let e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){$t(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return jt.get(Vt(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t==`object`?t:null)}static get VERSION(){return wn}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}},En=e=>{let t=e.getAttribute(`data-bs-target`);if(!t||t===`#`){let n=e.getAttribute(`href`);if(!n||!n.includes(`#`)&&!n.startsWith(`.`))return null;n.includes(`#`)&&!n.startsWith(`#`)&&(n=`#${n.split(`#`)[1]}`),t=n&&n!==`#`?n.trim():null}return t?t.split(`,`).map(e=>Ft(e)).join(`,`):null},P={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(e=>e.matches(t))},parents(e,t){let n=[],r=e.parentNode.closest(t);for(;r;)n.push(r),r=r.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){let t=[`a`,`button`,`input`,`textarea`,`select`,`details`,`[tabindex]`,`[contenteditable="true"]`].map(e=>`${e}:not([tabindex^="-"])`).join(`,`);return this.find(t,e).filter(e=>!Ut(e)&&Ht(e))},getSelectorFromElement(e){let t=En(e);return t&&P.findOne(t)?t:null},getElementFromSelector(e){let t=En(e);return t?P.findOne(t):null},getMultipleElementsFromSelector(e){let t=En(e);return t?P.find(t):[]}},Dn=(e,t=`hide`)=>{let n=`click.dismiss${e.EVENT_KEY}`,r=e.NAME;N.on(document,n,`[data-bs-dismiss="${r}"]`,function(n){if([`A`,`AREA`].includes(this.tagName)&&n.preventDefault(),Ut(this))return;let i=P.getElementFromSelector(this)||this.closest(`.${r}`);e.getOrCreateInstance(i)[t]()})},On=`alert`,kn=`.bs.alert`,An=`close${kn}`,jn=`closed${kn}`,Mn=`fade`,Nn=`show`,Pn=class e extends Tn{static get NAME(){return On}close(){if(N.trigger(this._element,An).defaultPrevented)return;this._element.classList.remove(Nn);let e=this._element.classList.contains(Mn);this._queueCallback(()=>this._destroyElement(),this._element,e)}_destroyElement(){this._element.remove(),N.trigger(this._element,jn),this.dispose()}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this);if(typeof t==`string`){if(n[t]===void 0||t.startsWith(`_`)||t===`constructor`)throw TypeError(`No method named "${t}"`);n[t](this)}})}};Dn(Pn,`close`),Zt(Pn);var Fn=`button`,In=`.bs.button`,Ln=`.data-api`,Rn=`active`,zn=`[data-bs-toggle="button"]`,Bn=`click${In}${Ln}`,Vn=class e extends Tn{static get NAME(){return Fn}toggle(){this._element.setAttribute(`aria-pressed`,this._element.classList.toggle(Rn))}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this);t===`toggle`&&n[t]()})}};N.on(document,Bn,zn,e=>{e.preventDefault();let t=e.target.closest(zn);Vn.getOrCreateInstance(t).toggle()}),Zt(Vn);var Hn=`swipe`,Un=`.bs.swipe`,Wn=`touchstart${Un}`,Gn=`touchmove${Un}`,Kn=`touchend${Un}`,qn=`pointerdown${Un}`,Jn=`pointerup${Un}`,Yn=`touch`,Xn=`pen`,Zn=`pointer-event`,Qn=40,$n={endCallback:null,leftCallback:null,rightCallback:null},er={endCallback:`(function|null)`,leftCallback:`(function|null)`,rightCallback:`(function|null)`},tr=class e extends Cn{constructor(t,n){super(),this._element=t,t&&e.isSupported()&&(this._config=this._getConfig(n),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return $n}static get DefaultType(){return er}static get NAME(){return Hn}dispose(){N.off(this._element,Un)}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),Qt(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){let e=Math.abs(this._deltaX);if(e<=Qn)return;let t=e/this._deltaX;this._deltaX=0,t&&Qt(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(N.on(this._element,qn,e=>this._start(e)),N.on(this._element,Jn,e=>this._end(e)),this._element.classList.add(Zn)):(N.on(this._element,Wn,e=>this._start(e)),N.on(this._element,Gn,e=>this._move(e)),N.on(this._element,Kn,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===Xn||e.pointerType===Yn)}static isSupported(){return`ontouchstart`in document.documentElement||navigator.maxTouchPoints>0}},nr=`carousel`,rr=`.bs.carousel`,ir=`.data-api`,ar=`ArrowLeft`,or=`ArrowRight`,sr=500,cr=`next`,lr=`prev`,ur=`left`,dr=`right`,fr=`slide${rr}`,pr=`slid${rr}`,mr=`keydown${rr}`,hr=`mouseenter${rr}`,gr=`mouseleave${rr}`,_r=`dragstart${rr}`,vr=`load${rr}${ir}`,yr=`click${rr}${ir}`,br=`carousel`,xr=`active`,Sr=`slide`,Cr=`carousel-item-end`,wr=`carousel-item-start`,Tr=`carousel-item-next`,Er=`carousel-item-prev`,Dr=`.active`,Or=`.carousel-item`,kr=`.active.carousel-item`,Ar=`.carousel-item img`,jr=`.carousel-indicators`,Mr=`[data-bs-slide], [data-bs-slide-to]`,Nr=`[data-bs-ride="carousel"]`,Pr={[ar]:dr,[or]:ur},Fr={interval:5e3,keyboard:!0,pause:`hover`,ride:!1,touch:!0,wrap:!0},Ir={interval:`(number|boolean)`,keyboard:`boolean`,pause:`(string|boolean)`,ride:`(boolean|string)`,touch:`boolean`,wrap:`boolean`},Lr=class e extends Tn{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=P.findOne(jr,this._element),this._addEventListeners(),this._config.ride===br&&this.cycle()}static get Default(){return Fr}static get DefaultType(){return Ir}static get NAME(){return nr}next(){this._slide(cr)}nextWhenVisible(){!document.hidden&&Ht(this._element)&&this.next()}prev(){this._slide(lr)}pause(){this._isSliding&&zt(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?N.one(this._element,pr,()=>this.cycle()):this.cycle())}to(e){let t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding){N.one(this._element,pr,()=>this.to(e));return}let n=this._getItemIndex(this._getActive());if(n===e)return;let r=e>n?cr:lr;this._slide(r,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&N.on(this._element,mr,e=>this._keydown(e)),this._config.pause===`hover`&&(N.on(this._element,hr,()=>this.pause()),N.on(this._element,gr,()=>this._maybeEnableCycle())),this._config.touch&&tr.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(let e of P.find(Ar,this._element))N.on(e,_r,e=>e.preventDefault());let e={leftCallback:()=>this._slide(this._directionToOrder(ur)),rightCallback:()=>this._slide(this._directionToOrder(dr)),endCallback:()=>{this._config.pause===`hover`&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),sr+this._config.interval))}};this._swipeHelper=new tr(this._element,e)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;let t=Pr[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;let t=P.findOne(Dr,this._indicatorsElement);t.classList.remove(xr),t.removeAttribute(`aria-current`);let n=P.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);n&&(n.classList.add(xr),n.setAttribute(`aria-current`,`true`))}_updateInterval(){let e=this._activeElement||this._getActive();if(!e)return;let t=Number.parseInt(e.getAttribute(`data-bs-interval`),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;let n=this._getActive(),r=e===cr,i=t||en(this._getItems(),n,r,this._config.wrap);if(i===n)return;let a=this._getItemIndex(i),o=t=>N.trigger(this._element,t,{relatedTarget:i,direction:this._orderToDirection(e),from:this._getItemIndex(n),to:a});if(o(fr).defaultPrevented||!n||!i)return;let s=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(a),this._activeElement=i;let c=r?wr:Cr,l=r?Tr:Er;i.classList.add(l),Kt(i),n.classList.add(c),i.classList.add(c),this._queueCallback(()=>{i.classList.remove(c,l),i.classList.add(xr),n.classList.remove(xr,l,c),this._isSliding=!1,o(pr)},n,this._isAnimated()),s&&this.cycle()}_isAnimated(){return this._element.classList.contains(Sr)}_getActive(){return P.findOne(kr,this._element)}_getItems(){return P.find(Or,this._element)}_clearInterval(){this._interval&&=(clearInterval(this._interval),null)}_directionToOrder(e){return Xt()?e===ur?lr:cr:e===ur?cr:lr}_orderToDirection(e){return Xt()?e===lr?ur:dr:e===lr?dr:ur}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this,t);if(typeof t==`number`)n.to(t);else if(typeof t==`string`){if(n[t]===void 0||t.startsWith(`_`)||t===`constructor`)throw TypeError(`No method named "${t}"`);n[t]()}})}};N.on(document,yr,Mr,function(e){let t=P.getElementFromSelector(this);if(!t||!t.classList.contains(br))return;e.preventDefault();let n=Lr.getOrCreateInstance(t),r=this.getAttribute(`data-bs-slide-to`);r?(n.to(r),n._maybeEnableCycle()):Sn.getDataAttribute(this,`slide`)===`next`?(n.next(),n._maybeEnableCycle()):(n.prev(),n._maybeEnableCycle())}),N.on(window,vr,()=>{let e=P.find(Nr);for(let t of e)Lr.getOrCreateInstance(t)}),Zt(Lr);var Rr=`collapse`,zr=`.bs.collapse`,Br=`.data-api`,Vr=`show${zr}`,Hr=`shown${zr}`,Ur=`hide${zr}`,Wr=`hidden${zr}`,Gr=`click${zr}${Br}`,Kr=`show`,qr=`collapse`,Jr=`collapsing`,Yr=`collapsed`,Xr=`:scope .${qr} .${qr}`,Zr=`collapse-horizontal`,Qr=`width`,$r=`height`,ei=`.collapse.show, .collapse.collapsing`,ti=`[data-bs-toggle="collapse"]`,ni={parent:null,toggle:!0},ri={parent:`(null|element)`,toggle:`boolean`},ii=class e extends Tn{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];let n=P.find(ti);for(let e of n){let t=P.getSelectorFromElement(e),n=P.find(t).filter(e=>e===this._element);t!==null&&n.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return ni}static get DefaultType(){return ri}static get NAME(){return Rr}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(ei).filter(e=>e!==this._element).map(t=>e.getOrCreateInstance(t,{toggle:!1}))),t.length&&t[0]._isTransitioning||N.trigger(this._element,Vr).defaultPrevented)return;for(let e of t)e.hide();let n=this._getDimension();this._element.classList.remove(qr),this._element.classList.add(Jr),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;let r=()=>{this._isTransitioning=!1,this._element.classList.remove(Jr),this._element.classList.add(qr,Kr),this._element.style[n]=``,N.trigger(this._element,Hr)},i=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback(r,this._element,!0),this._element.style[n]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown()||N.trigger(this._element,Ur).defaultPrevented)return;let e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,Kt(this._element),this._element.classList.add(Jr),this._element.classList.remove(qr,Kr);for(let e of this._triggerArray){let t=P.getElementFromSelector(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0;let t=()=>{this._isTransitioning=!1,this._element.classList.remove(Jr),this._element.classList.add(qr),N.trigger(this._element,Wr)};this._element.style[e]=``,this._queueCallback(t,this._element,!0)}_isShown(e=this._element){return e.classList.contains(Kr)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=Vt(e.parent),e}_getDimension(){return this._element.classList.contains(Zr)?Qr:$r}_initializeChildren(){if(!this._config.parent)return;let e=this._getFirstLevelChildren(ti);for(let t of e){let e=P.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){let t=P.find(Xr,this._config.parent);return P.find(e,this._config.parent).filter(e=>!t.includes(e))}_addAriaAndCollapsedClass(e,t){if(e.length)for(let n of e)n.classList.toggle(Yr,!t),n.setAttribute(`aria-expanded`,t)}static jQueryInterface(t){let n={};return typeof t==`string`&&/show|hide/.test(t)&&(n.toggle=!1),this.each(function(){let r=e.getOrCreateInstance(this,n);if(typeof t==`string`){if(r[t]===void 0)throw TypeError(`No method named "${t}"`);r[t]()}})}};N.on(document,Gr,ti,function(e){(e.target.tagName===`A`||e.delegateTarget&&e.delegateTarget.tagName===`A`)&&e.preventDefault();for(let e of P.getMultipleElementsFromSelector(this))ii.getOrCreateInstance(e,{toggle:!1}).toggle()}),Zt(ii);var ai=`dropdown`,oi=`.bs.dropdown`,si=`.data-api`,ci=`Escape`,li=`Tab`,ui=`ArrowUp`,di=`ArrowDown`,fi=2,pi=`hide${oi}`,mi=`hidden${oi}`,hi=`show${oi}`,gi=`shown${oi}`,_i=`click${oi}${si}`,vi=`keydown${oi}${si}`,yi=`keyup${oi}${si}`,bi=`show`,xi=`dropup`,Si=`dropend`,Ci=`dropstart`,wi=`dropup-center`,Ti=`dropdown-center`,Ei=`[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)`,Di=`${Ei}.${bi}`,Oi=`.dropdown-menu`,ki=`.navbar`,Ai=`.navbar-nav`,ji=`.dropdown-menu .dropdown-item:not(.disabled):not(:disabled)`,Mi=Xt()?`top-end`:`top-start`,Ni=Xt()?`top-start`:`top-end`,Pi=Xt()?`bottom-end`:`bottom-start`,Fi=Xt()?`bottom-start`:`bottom-end`,Ii=Xt()?`left-start`:`right-start`,Li=Xt()?`right-start`:`left-start`,Ri=`top`,zi=`bottom`,Bi={autoClose:!0,boundary:`clippingParents`,display:`dynamic`,offset:[0,2],popperConfig:null,reference:`toggle`},Vi={autoClose:`(boolean|string)`,boundary:`(string|element)`,display:`string`,offset:`(array|string|function)`,popperConfig:`(null|object|function)`,reference:`(string|element|object)`},Hi=class e extends Tn{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=P.next(this._element,Oi)[0]||P.prev(this._element,Oi)[0]||P.findOne(Oi,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Bi}static get DefaultType(){return Vi}static get NAME(){return ai}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Ut(this._element)||this._isShown())return;let e={relatedTarget:this._element};if(!N.trigger(this._element,hi,e).defaultPrevented){if(this._createPopper(),`ontouchstart`in document.documentElement&&!this._parent.closest(Ai))for(let e of[].concat(...document.body.children))N.on(e,`mouseover`,Gt);this._element.focus(),this._element.setAttribute(`aria-expanded`,!0),this._menu.classList.add(bi),this._element.classList.add(bi),N.trigger(this._element,gi,e)}}hide(){if(Ut(this._element)||!this._isShown())return;let e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!N.trigger(this._element,pi,e).defaultPrevented){if(`ontouchstart`in document.documentElement)for(let e of[].concat(...document.body.children))N.off(e,`mouseover`,Gt);this._popper&&this._popper.destroy(),this._menu.classList.remove(bi),this._element.classList.remove(bi),this._element.setAttribute(`aria-expanded`,`false`),Sn.removeDataAttribute(this._menu,`popper`),N.trigger(this._element,mi,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference==`object`&&!Bt(e.reference)&&typeof e.reference.getBoundingClientRect!=`function`)throw TypeError(`${ai.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(Ot===void 0)throw TypeError(`Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)`);let e=this._element;this._config.reference===`parent`?e=this._parent:Bt(this._config.reference)?e=Vt(this._config.reference):typeof this._config.reference==`object`&&(e=this._config.reference);let t=this._getPopperConfig();this._popper=Dt(e,this._menu,t)}_isShown(){return this._menu.classList.contains(bi)}_getPlacement(){let e=this._parent;if(e.classList.contains(Si))return Ii;if(e.classList.contains(Ci))return Li;if(e.classList.contains(wi))return Ri;if(e.classList.contains(Ti))return zi;let t=getComputedStyle(this._menu).getPropertyValue(`--bs-position`).trim()===`end`;return e.classList.contains(xi)?t?Ni:Mi:t?Fi:Pi}_detectNavbar(){return this._element.closest(ki)!==null}_getOffset(){let{offset:e}=this._config;return typeof e==`string`?e.split(`,`).map(e=>Number.parseInt(e,10)):typeof e==`function`?t=>e(t,this._element):e}_getPopperConfig(){let e={placement:this._getPlacement(),modifiers:[{name:`preventOverflow`,options:{boundary:this._config.boundary}},{name:`offset`,options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display===`static`)&&(Sn.setDataAttribute(this._menu,`popper`,`static`),e.modifiers=[{name:`applyStyles`,enabled:!1}]),{...e,...Qt(this._config.popperConfig,[void 0,e])}}_selectMenuItem({key:e,target:t}){let n=P.find(ji,this._menu).filter(e=>Ht(e));n.length&&en(n,t,e===di,!n.includes(t)).focus()}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this,t);if(typeof t==`string`){if(n[t]===void 0)throw TypeError(`No method named "${t}"`);n[t]()}})}static clearMenus(t){if(t.button===fi||t.type===`keyup`&&t.key!==li)return;let n=P.find(Di);for(let r of n){let n=e.getInstance(r);if(!n||n._config.autoClose===!1)continue;let i=t.composedPath(),a=i.includes(n._menu);if(i.includes(n._element)||n._config.autoClose===`inside`&&!a||n._config.autoClose===`outside`&&a||n._menu.contains(t.target)&&(t.type===`keyup`&&t.key===li||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;let o={relatedTarget:n._element};t.type===`click`&&(o.clickEvent=t),n._completeHide(o)}}static dataApiKeydownHandler(t){let n=/input|textarea/i.test(t.target.tagName),r=t.key===ci,i=[ui,di].includes(t.key);if(!i&&!r||n&&!r)return;t.preventDefault();let a=this.matches(Ei)?this:P.prev(this,Ei)[0]||P.next(this,Ei)[0]||P.findOne(Ei,t.delegateTarget.parentNode),o=e.getOrCreateInstance(a);i?(t.stopPropagation(),o.show(),o._selectMenuItem(t)):o._isShown()&&(t.stopPropagation(),o.hide(),a.focus())}};N.on(document,vi,Ei,Hi.dataApiKeydownHandler),N.on(document,vi,Oi,Hi.dataApiKeydownHandler),N.on(document,_i,Hi.clearMenus),N.on(document,yi,Hi.clearMenus),N.on(document,_i,Ei,function(e){e.preventDefault(),Hi.getOrCreateInstance(this).toggle()}),Zt(Hi);var Ui=`backdrop`,Wi=`fade`,Gi=`show`,Ki=`mousedown.bs.${Ui}`,qi={className:`modal-backdrop`,clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:`body`},Ji={className:`string`,clickCallback:`(function|null)`,isAnimated:`boolean`,isVisible:`boolean`,rootElement:`(element|string)`},Yi=class extends Cn{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return qi}static get DefaultType(){return Ji}static get NAME(){return Ui}show(e){if(!this._config.isVisible){Qt(e);return}this._append();let t=this._getElement();this._config.isAnimated&&Kt(t),t.classList.add(Gi),this._emulateAnimation(()=>{Qt(e)})}hide(e){this._config.isVisible?(this._getElement().classList.remove(Gi),this._emulateAnimation(()=>{this.dispose(),Qt(e)})):Qt(e)}dispose(){this._isAppended&&=(N.off(this._element,Ki),this._element.remove(),!1)}_getElement(){if(!this._element){let e=document.createElement(`div`);e.className=this._config.className,this._config.isAnimated&&e.classList.add(Wi),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=Vt(e.rootElement),e}_append(){if(this._isAppended)return;let e=this._getElement();this._config.rootElement.append(e),N.on(e,Ki,()=>{Qt(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){$t(e,this._getElement(),this._config.isAnimated)}},Xi=`focustrap`,Zi=`.bs.focustrap`,Qi=`focusin${Zi}`,$i=`keydown.tab${Zi}`,ea=`Tab`,ta=`forward`,na=`backward`,ra={autofocus:!0,trapElement:null},ia={autofocus:`boolean`,trapElement:`element`},aa=class extends Cn{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return ra}static get DefaultType(){return ia}static get NAME(){return Xi}activate(){this._isActive||=(this._config.autofocus&&this._config.trapElement.focus(),N.off(document,Zi),N.on(document,Qi,e=>this._handleFocusin(e)),N.on(document,$i,e=>this._handleKeydown(e)),!0)}deactivate(){this._isActive&&(this._isActive=!1,N.off(document,Zi))}_handleFocusin(e){let{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;let n=P.focusableChildren(t);n.length===0?t.focus():this._lastTabNavDirection===na?n[n.length-1].focus():n[0].focus()}_handleKeydown(e){e.key===ea&&(this._lastTabNavDirection=e.shiftKey?na:ta)}},oa=`.fixed-top, .fixed-bottom, .is-fixed, .sticky-top`,sa=`.sticky-top`,ca=`padding-right`,la=`margin-right`,ua=class{constructor(){this._element=document.body}getWidth(){let e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){let e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,ca,t=>t+e),this._setElementAttributes(oa,ca,t=>t+e),this._setElementAttributes(sa,la,t=>t-e)}reset(){this._resetElementAttributes(this._element,`overflow`),this._resetElementAttributes(this._element,ca),this._resetElementAttributes(oa,ca),this._resetElementAttributes(sa,la)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,`overflow`),this._element.style.overflow=`hidden`}_setElementAttributes(e,t,n){let r=this.getWidth();this._applyManipulationCallback(e,e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+r)return;this._saveInitialAttribute(e,t);let i=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,`${n(Number.parseFloat(i))}px`)})}_saveInitialAttribute(e,t){let n=e.style.getPropertyValue(t);n&&Sn.setDataAttribute(e,t,n)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,e=>{let n=Sn.getDataAttribute(e,t);n===null?e.style.removeProperty(t):(Sn.removeDataAttribute(e,t),e.style.setProperty(t,n))})}_applyManipulationCallback(e,t){if(Bt(e))t(e);else for(let n of P.find(e,this._element))t(n)}},da=`modal`,fa=`.bs.modal`,pa=`.data-api`,ma=`Escape`,ha=`hide${fa}`,ga=`hidePrevented${fa}`,_a=`hidden${fa}`,va=`show${fa}`,ya=`shown${fa}`,ba=`resize${fa}`,xa=`click.dismiss${fa}`,Sa=`mousedown.dismiss${fa}`,Ca=`keydown.dismiss${fa}`,wa=`click${fa}${pa}`,Ta=`modal-open`,Ea=`fade`,Da=`show`,Oa=`modal-static`,ka=`.modal.show`,Aa=`.modal-dialog`,ja=`.modal-body`,Ma=`[data-bs-toggle="modal"]`,Na={backdrop:!0,focus:!0,keyboard:!0},Pa={backdrop:`(boolean|string)`,focus:`boolean`,keyboard:`boolean`},Fa=class e extends Tn{constructor(e,t){super(e,t),this._dialog=P.findOne(Aa,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new ua,this._addEventListeners()}static get Default(){return Na}static get DefaultType(){return Pa}static get NAME(){return da}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||N.trigger(this._element,va,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Ta),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){this._isShown&&!this._isTransitioning&&(N.trigger(this._element,ha).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Da),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){N.off(window,fa),N.off(this._dialog,fa),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Yi({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new aa({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display=`block`,this._element.removeAttribute(`aria-hidden`),this._element.setAttribute(`aria-modal`,!0),this._element.setAttribute(`role`,`dialog`),this._element.scrollTop=0;let t=P.findOne(ja,this._dialog);t&&(t.scrollTop=0),Kt(this._element),this._element.classList.add(Da),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,N.trigger(this._element,ya,{relatedTarget:e})},this._dialog,this._isAnimated())}_addEventListeners(){N.on(this._element,Ca,e=>{e.key===ma&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),N.on(window,ba,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),N.on(this._element,Sa,e=>{N.one(this._element,xa,t=>{this._element===e.target&&this._element===t.target&&(this._config.backdrop===`static`?this._triggerBackdropTransition():this._config.backdrop&&this.hide())})})}_hideModal(){this._element.style.display=`none`,this._element.setAttribute(`aria-hidden`,!0),this._element.removeAttribute(`aria-modal`),this._element.removeAttribute(`role`),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Ta),this._resetAdjustments(),this._scrollBar.reset(),N.trigger(this._element,_a)})}_isAnimated(){return this._element.classList.contains(Ea)}_triggerBackdropTransition(){if(N.trigger(this._element,ga).defaultPrevented)return;let e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;t===`hidden`||this._element.classList.contains(Oa)||(e||(this._element.style.overflowY=`hidden`),this._element.classList.add(Oa),this._queueCallback(()=>{this._element.classList.remove(Oa),this._queueCallback(()=>{this._element.style.overflowY=t},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){let e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;if(n&&!e){let e=Xt()?`paddingLeft`:`paddingRight`;this._element.style[e]=`${t}px`}if(!n&&e){let e=Xt()?`paddingRight`:`paddingLeft`;this._element.style[e]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft=``,this._element.style.paddingRight=``}static jQueryInterface(t,n){return this.each(function(){let r=e.getOrCreateInstance(this,t);if(typeof t==`string`){if(r[t]===void 0)throw TypeError(`No method named "${t}"`);r[t](n)}})}};N.on(document,wa,Ma,function(e){let t=P.getElementFromSelector(this);[`A`,`AREA`].includes(this.tagName)&&e.preventDefault(),N.one(t,va,e=>{e.defaultPrevented||N.one(t,_a,()=>{Ht(this)&&this.focus()})});let n=P.findOne(ka);n&&Fa.getInstance(n).hide(),Fa.getOrCreateInstance(t).toggle(this)}),Dn(Fa),Zt(Fa);var Ia=`offcanvas`,La=`.bs.offcanvas`,Ra=`.data-api`,za=`load${La}${Ra}`,Ba=`Escape`,Va=`show`,Ha=`showing`,Ua=`hiding`,Wa=`offcanvas-backdrop`,Ga=`.offcanvas.show`,Ka=`show${La}`,qa=`shown${La}`,Ja=`hide${La}`,Ya=`hidePrevented${La}`,Xa=`hidden${La}`,Za=`resize${La}`,Qa=`click${La}${Ra}`,$a=`keydown.dismiss${La}`,eo=`[data-bs-toggle="offcanvas"]`,to={backdrop:!0,keyboard:!0,scroll:!1},no={backdrop:`(boolean|string)`,keyboard:`boolean`,scroll:`boolean`},ro=class e extends Tn{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return to}static get DefaultType(){return no}static get NAME(){return Ia}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||N.trigger(this._element,Ka,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||new ua().hide(),this._element.setAttribute(`aria-modal`,!0),this._element.setAttribute(`role`,`dialog`),this._element.classList.add(Ha),this._queueCallback(()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Va),this._element.classList.remove(Ha),N.trigger(this._element,qa,{relatedTarget:e})},this._element,!0))}hide(){this._isShown&&!N.trigger(this._element,Ja).defaultPrevented&&(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Ua),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove(Va,Ua),this._element.removeAttribute(`aria-modal`),this._element.removeAttribute(`role`),this._config.scroll||new ua().reset(),N.trigger(this._element,Xa)},this._element,!0))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){let e=()=>{this._config.backdrop===`static`?N.trigger(this._element,Ya):this.hide()},t=!!this._config.backdrop;return new Yi({className:Wa,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?e:null})}_initializeFocusTrap(){return new aa({trapElement:this._element})}_addEventListeners(){N.on(this._element,$a,e=>{e.key===Ba&&(this._config.keyboard?this.hide():N.trigger(this._element,Ya))})}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this,t);if(typeof t==`string`){if(n[t]===void 0||t.startsWith(`_`)||t===`constructor`)throw TypeError(`No method named "${t}"`);n[t](this)}})}};N.on(document,Qa,eo,function(e){let t=P.getElementFromSelector(this);if([`A`,`AREA`].includes(this.tagName)&&e.preventDefault(),Ut(this))return;N.one(t,Xa,()=>{Ht(this)&&this.focus()});let n=P.findOne(Ga);n&&n!==t&&ro.getInstance(n).hide(),ro.getOrCreateInstance(t).toggle(this)}),N.on(window,za,()=>{for(let e of P.find(Ga))ro.getOrCreateInstance(e).show()}),N.on(window,Za,()=>{for(let e of P.find(`[aria-modal][class*=show][class*=offcanvas-]`))getComputedStyle(e).position!==`fixed`&&ro.getOrCreateInstance(e).hide()}),Dn(ro),Zt(ro);var io={"*":[`class`,`dir`,`id`,`lang`,`role`,/^aria-[\w-]*$/i],a:[`target`,`href`,`title`,`rel`],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:[`src`,`srcset`,`alt`,`title`,`width`,`height`],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},ao=new Set([`background`,`cite`,`href`,`itemtype`,`longdesc`,`poster`,`src`,`xlink:href`]),oo=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,so=(e,t)=>{let n=e.nodeName.toLowerCase();return t.includes(n)?!ao.has(n)||!!oo.test(e.nodeValue):t.filter(e=>e instanceof RegExp).some(e=>e.test(n))};function co(e,t,n){if(!e.length)return e;if(n&&typeof n==`function`)return n(e);let r=new window.DOMParser().parseFromString(e,`text/html`),i=[].concat(...r.body.querySelectorAll(`*`));for(let e of i){let n=e.nodeName.toLowerCase();if(!Object.keys(t).includes(n)){e.remove();continue}let r=[].concat(...e.attributes),i=[].concat(t[`*`]||[],t[n]||[]);for(let t of r)so(t,i)||e.removeAttribute(t.nodeName)}return r.body.innerHTML}var lo=`TemplateFactory`,uo={allowList:io,content:{},extraClass:``,html:!1,sanitize:!0,sanitizeFn:null,template:`<div></div>`},fo={allowList:`object`,content:`object`,extraClass:`(string|function)`,html:`boolean`,sanitize:`boolean`,sanitizeFn:`(null|function)`,template:`string`},po={entry:`(string|element|function|null)`,selector:`(string|element)`},mo=class extends Cn{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return uo}static get DefaultType(){return fo}static get NAME(){return lo}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){let e=document.createElement(`div`);e.innerHTML=this._maybeSanitize(this._config.template);for(let[t,n]of Object.entries(this._config.content))this._setContent(e,n,t);let t=e.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&t.classList.add(...n.split(` `)),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(let[t,n]of Object.entries(e))super._typeCheckConfig({selector:t,entry:n},po)}_setContent(e,t,n){let r=P.findOne(n,e);r&&(t=this._resolvePossibleFunction(t),t?Bt(t)?this._putElementInTemplate(Vt(t),r):this._config.html?r.innerHTML=this._maybeSanitize(t):r.textContent=t:r.remove())}_maybeSanitize(e){return this._config.sanitize?co(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return Qt(e,[void 0,this])}_putElementInTemplate(e,t){this._config.html?(t.innerHTML=``,t.append(e)):t.textContent=e.textContent}},ho=`tooltip`,go=new Set([`sanitize`,`allowList`,`sanitizeFn`]),_o=`fade`,vo=`modal`,yo=`show`,bo=`.tooltip-inner`,xo=`.${vo}`,So=`hide.bs.modal`,Co=`hover`,wo=`focus`,To=`click`,Eo=`manual`,Do=`hide`,Oo=`hidden`,ko=`show`,Ao=`shown`,jo=`inserted`,Mo=`click`,No=`focusin`,Po=`focusout`,Fo=`mouseenter`,Io=`mouseleave`,Lo={AUTO:`auto`,TOP:`top`,RIGHT:Xt()?`left`:`right`,BOTTOM:`bottom`,LEFT:Xt()?`right`:`left`},Ro={allowList:io,animation:!0,boundary:`clippingParents`,container:!1,customClass:``,delay:0,fallbackPlacements:[`top`,`right`,`bottom`,`left`],html:!1,offset:[0,6],placement:`top`,popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:`<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>`,title:``,trigger:`hover focus`},zo={allowList:`object`,animation:`boolean`,boundary:`(string|element)`,container:`(string|element|boolean)`,customClass:`(string|function)`,delay:`(number|object)`,fallbackPlacements:`array`,html:`boolean`,offset:`(array|string|function)`,placement:`(string|function)`,popperConfig:`(null|object|function)`,sanitize:`boolean`,sanitizeFn:`(null|function)`,selector:`(string|boolean)`,template:`string`,title:`(string|element|function)`,trigger:`string`},Bo=class e extends Tn{constructor(e,t){if(Ot===void 0)throw TypeError(`Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)`);super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Ro}static get DefaultType(){return zo}static get NAME(){return ho}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),N.off(this._element.closest(xo),So,this._hideModalHandler),this._element.getAttribute(`data-bs-original-title`)&&this._element.setAttribute(`title`,this._element.getAttribute(`data-bs-original-title`)),this._disposePopper(),super.dispose()}show(){if(this._element.style.display===`none`)throw Error(`Please use show on visible elements`);if(!(this._isWithContent()&&this._isEnabled))return;let e=N.trigger(this._element,this.constructor.eventName(ko)),t=(Wt(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this._disposePopper();let n=this._getTipElement();this._element.setAttribute(`aria-describedby`,n.getAttribute(`id`));let{container:r}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(r.append(n),N.trigger(this._element,this.constructor.eventName(jo))),this._popper=this._createPopper(n),n.classList.add(yo),`ontouchstart`in document.documentElement)for(let e of[].concat(...document.body.children))N.on(e,`mouseover`,Gt);this._queueCallback(()=>{N.trigger(this._element,this.constructor.eventName(Ao)),this._isHovered===!1&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(this._isShown()&&!N.trigger(this._element,this.constructor.eventName(Do)).defaultPrevented){if(this._getTipElement().classList.remove(yo),`ontouchstart`in document.documentElement)for(let e of[].concat(...document.body.children))N.off(e,`mouseover`,Gt);this._activeTrigger[To]=!1,this._activeTrigger[wo]=!1,this._activeTrigger[Co]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute(`aria-describedby`),N.trigger(this._element,this.constructor.eventName(Oo)))},this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||=this._createTipElement(this._newContent||this._getContentForTemplate()),this.tip}_createTipElement(e){let t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(_o,yo),t.classList.add(`bs-${this.constructor.NAME}-auto`);let n=Lt(this.constructor.NAME).toString();return t.setAttribute(`id`,n),this._isAnimated()&&t.classList.add(_o),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new mo({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[bo]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute(`data-bs-original-title`)}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(_o)}_isShown(){return this.tip&&this.tip.classList.contains(yo)}_createPopper(e){let t=Lo[Qt(this._config.placement,[this,e,this._element]).toUpperCase()];return Dt(this._element,e,this._getPopperConfig(t))}_getOffset(){let{offset:e}=this._config;return typeof e==`string`?e.split(`,`).map(e=>Number.parseInt(e,10)):typeof e==`function`?t=>e(t,this._element):e}_resolvePossibleFunction(e){return Qt(e,[this._element,this._element])}_getPopperConfig(e){let t={placement:e,modifiers:[{name:`flip`,options:{fallbackPlacements:this._config.fallbackPlacements}},{name:`offset`,options:{offset:this._getOffset()}},{name:`preventOverflow`,options:{boundary:this._config.boundary}},{name:`arrow`,options:{element:`.${this.constructor.NAME}-arrow`}},{name:`preSetPlacement`,enabled:!0,phase:`beforeMain`,fn:e=>{this._getTipElement().setAttribute(`data-popper-placement`,e.state.placement)}}]};return{...t,...Qt(this._config.popperConfig,[void 0,t])}}_setListeners(){let e=this._config.trigger.split(` `);for(let t of e)if(t===`click`)N.on(this._element,this.constructor.eventName(Mo),this._config.selector,e=>{let t=this._initializeOnDelegatedTarget(e);t._activeTrigger[To]=!(t._isShown()&&t._activeTrigger[To]),t.toggle()});else if(t!==Eo){let e=t===Co?this.constructor.eventName(Fo):this.constructor.eventName(No),n=t===Co?this.constructor.eventName(Io):this.constructor.eventName(Po);N.on(this._element,e,this._config.selector,e=>{let t=this._initializeOnDelegatedTarget(e);t._activeTrigger[e.type===`focusin`?wo:Co]=!0,t._enter()}),N.on(this._element,n,this._config.selector,e=>{let t=this._initializeOnDelegatedTarget(e);t._activeTrigger[e.type===`focusout`?wo:Co]=t._element.contains(e.relatedTarget),t._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},N.on(this._element.closest(xo),So,this._hideModalHandler)}_fixTitle(){let e=this._element.getAttribute(`title`);e&&(!this._element.getAttribute(`aria-label`)&&!this._element.textContent.trim()&&this._element.setAttribute(`aria-label`,e),this._element.setAttribute(`data-bs-original-title`,e),this._element.removeAttribute(`title`))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){let t=Sn.getDataAttributes(this._element);for(let e of Object.keys(t))go.has(e)&&delete t[e];return e={...t,...typeof e==`object`&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:Vt(e.container),typeof e.delay==`number`&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title==`number`&&(e.title=e.title.toString()),typeof e.content==`number`&&(e.content=e.content.toString()),e}_getDelegateConfig(){let e={};for(let[t,n]of Object.entries(this._config))this.constructor.Default[t]!==n&&(e[t]=n);return e.selector=!1,e.trigger=`manual`,e}_disposePopper(){this._popper&&=(this._popper.destroy(),null),this.tip&&=(this.tip.remove(),null)}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this,t);if(typeof t==`string`){if(n[t]===void 0)throw TypeError(`No method named "${t}"`);n[t]()}})}};Zt(Bo);var Vo=`popover`,Ho=`.popover-header`,Uo=`.popover-body`,Wo={...Bo.Default,content:``,offset:[0,8],placement:`right`,template:`<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>`,trigger:`click`},Go={...Bo.DefaultType,content:`(null|string|element|function)`},Ko=class e extends Bo{static get Default(){return Wo}static get DefaultType(){return Go}static get NAME(){return Vo}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Ho]:this._getTitle(),[Uo]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this,t);if(typeof t==`string`){if(n[t]===void 0)throw TypeError(`No method named "${t}"`);n[t]()}})}};Zt(Ko);var qo=`scrollspy`,Jo=`.bs.scrollspy`,Yo=`.data-api`,Xo=`activate${Jo}`,Zo=`click${Jo}`,Qo=`load${Jo}${Yo}`,$o=`dropdown-item`,es=`active`,ts=`[data-bs-spy="scroll"]`,ns=`[href]`,rs=`.nav, .list-group`,is=`.nav-link`,as=`${is}, .nav-item > ${is}, .list-group-item`,os=`.dropdown`,ss=`.dropdown-toggle`,cs={offset:null,rootMargin:`0px 0px -25%`,smoothScroll:!1,target:null,threshold:[.1,.5,1]},ls={offset:`(number|null)`,rootMargin:`string`,smoothScroll:`boolean`,target:`element`,threshold:`array`},us=class e extends Tn{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY===`visible`?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return cs}static get DefaultType(){return ls}static get NAME(){return qo}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(let e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=Vt(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold==`string`&&(e.threshold=e.threshold.split(`,`).map(e=>Number.parseFloat(e))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(N.off(this._config.target,Zo),N.on(this._config.target,Zo,ns,e=>{let t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();let n=this._rootElement||window,r=t.offsetTop-this._element.offsetTop;if(n.scrollTo){n.scrollTo({top:r,behavior:`smooth`});return}n.scrollTop=r}}))}_getNewObserver(){let e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(e=>this._observerCallback(e),e)}_observerCallback(e){let t=e=>this._targetLinks.get(`#${e.target.id}`),n=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},r=(this._rootElement||document.documentElement).scrollTop,i=r>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=r;for(let a of e){if(!a.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(a));continue}let e=a.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&e){if(n(a),!r)return}else!i&&!e&&n(a)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;let e=P.find(ns,this._config.target);for(let t of e){if(!t.hash||Ut(t))continue;let e=P.findOne(decodeURI(t.hash),this._element);Ht(e)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,e))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(es),this._activateParents(e),N.trigger(this._element,Xo,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains($o))P.findOne(ss,e.closest(os)).classList.add(es);else for(let t of P.parents(e,rs))for(let e of P.prev(t,as))e.classList.add(es)}_clearActiveClass(e){e.classList.remove(es);let t=P.find(`${ns}.${es}`,e);for(let e of t)e.classList.remove(es)}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this,t);if(typeof t==`string`){if(n[t]===void 0||t.startsWith(`_`)||t===`constructor`)throw TypeError(`No method named "${t}"`);n[t]()}})}};N.on(window,Qo,()=>{for(let e of P.find(ts))us.getOrCreateInstance(e)}),Zt(us);var ds=`tab`,fs=`.bs.tab`,ps=`hide${fs}`,ms=`hidden${fs}`,hs=`show${fs}`,gs=`shown${fs}`,_s=`click${fs}`,vs=`keydown${fs}`,ys=`load${fs}`,bs=`ArrowLeft`,xs=`ArrowRight`,Ss=`ArrowUp`,Cs=`ArrowDown`,ws=`Home`,Ts=`End`,Es=`active`,Ds=`fade`,Os=`show`,ks=`dropdown`,As=`.dropdown-toggle`,js=`.dropdown-menu`,Ms=`:not(${As})`,Ns=`.list-group, .nav, [role="tablist"]`,Ps=`.nav-item, .list-group-item`,Fs=`.nav-link${Ms}, .list-group-item${Ms}, [role="tab"]${Ms}`,Is=`[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]`,Ls=`${Fs}, ${Is}`,Rs=`.${Es}[data-bs-toggle="tab"], .${Es}[data-bs-toggle="pill"], .${Es}[data-bs-toggle="list"]`,zs=class e extends Tn{constructor(e){super(e),this._parent=this._element.closest(Ns),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),N.on(this._element,vs,e=>this._keydown(e)))}static get NAME(){return ds}show(){let e=this._element;if(this._elemIsActive(e))return;let t=this._getActiveElem(),n=t?N.trigger(t,ps,{relatedTarget:e}):null;N.trigger(e,hs,{relatedTarget:t}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){e&&(e.classList.add(Es),this._activate(P.getElementFromSelector(e)),this._queueCallback(()=>{e.getAttribute(`role`)===`tab`?(e.removeAttribute(`tabindex`),e.setAttribute(`aria-selected`,!0),this._toggleDropDown(e,!0),N.trigger(e,gs,{relatedTarget:t})):e.classList.add(Os)},e,e.classList.contains(Ds)))}_deactivate(e,t){e&&(e.classList.remove(Es),e.blur(),this._deactivate(P.getElementFromSelector(e)),this._queueCallback(()=>{e.getAttribute(`role`)===`tab`?(e.setAttribute(`aria-selected`,!1),e.setAttribute(`tabindex`,`-1`),this._toggleDropDown(e,!1),N.trigger(e,ms,{relatedTarget:t})):e.classList.remove(Os)},e,e.classList.contains(Ds)))}_keydown(t){if(![bs,xs,Ss,Cs,ws,Ts].includes(t.key))return;t.stopPropagation(),t.preventDefault();let n=this._getChildren().filter(e=>!Ut(e)),r;if([ws,Ts].includes(t.key))r=n[t.key===ws?0:n.length-1];else{let e=[xs,Cs].includes(t.key);r=en(n,t.target,e,!0)}r&&(r.focus({preventScroll:!0}),e.getOrCreateInstance(r).show())}_getChildren(){return P.find(Ls,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,`role`,`tablist`);for(let e of t)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);let t=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute(`aria-selected`,t),n!==e&&this._setAttributeIfNotExists(n,`role`,`presentation`),t||e.setAttribute(`tabindex`,`-1`),this._setAttributeIfNotExists(e,`role`,`tab`),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){let t=P.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,`role`,`tabpanel`),e.id&&this._setAttributeIfNotExists(t,`aria-labelledby`,`${e.id}`))}_toggleDropDown(e,t){let n=this._getOuterElement(e);if(!n.classList.contains(ks))return;let r=(e,r)=>{let i=P.findOne(e,n);i&&i.classList.toggle(r,t)};r(As,Es),r(js,Os),n.setAttribute(`aria-expanded`,t)}_setAttributeIfNotExists(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}_elemIsActive(e){return e.classList.contains(Es)}_getInnerElement(e){return e.matches(Ls)?e:P.findOne(Ls,e)}_getOuterElement(e){return e.closest(Ps)||e}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this);if(typeof t==`string`){if(n[t]===void 0||t.startsWith(`_`)||t===`constructor`)throw TypeError(`No method named "${t}"`);n[t]()}})}};N.on(document,_s,Is,function(e){[`A`,`AREA`].includes(this.tagName)&&e.preventDefault(),!Ut(this)&&zs.getOrCreateInstance(this).show()}),N.on(window,ys,()=>{for(let e of P.find(Rs))zs.getOrCreateInstance(e)}),Zt(zs);var Bs=`toast`,Vs=`.bs.toast`,Hs=`mouseover${Vs}`,Us=`mouseout${Vs}`,Ws=`focusin${Vs}`,Gs=`focusout${Vs}`,Ks=`hide${Vs}`,qs=`hidden${Vs}`,Js=`show${Vs}`,Ys=`shown${Vs}`,Xs=`fade`,Zs=`hide`,Qs=`show`,$s=`showing`,ec={animation:`boolean`,autohide:`boolean`,delay:`number`},tc={animation:!0,autohide:!0,delay:5e3},nc=class e extends Tn{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return tc}static get DefaultType(){return ec}static get NAME(){return Bs}show(){N.trigger(this._element,Js).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add(Xs),this._element.classList.remove(Zs),Kt(this._element),this._element.classList.add(Qs,$s),this._queueCallback(()=>{this._element.classList.remove($s),N.trigger(this._element,Ys),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&!N.trigger(this._element,Ks).defaultPrevented&&(this._element.classList.add($s),this._queueCallback(()=>{this._element.classList.add(Zs),this._element.classList.remove($s,Qs),N.trigger(this._element,qs)},this._element,this._config.animation))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Qs),super.dispose()}isShown(){return this._element.classList.contains(Qs)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,t){switch(e.type){case`mouseover`:case`mouseout`:this._hasMouseInteraction=t;break;case`focusin`:case`focusout`:this._hasKeyboardInteraction=t}if(t){this._clearTimeout();return}let n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){N.on(this._element,Hs,e=>this._onInteraction(e,!0)),N.on(this._element,Us,e=>this._onInteraction(e,!1)),N.on(this._element,Ws,e=>this._onInteraction(e,!0)),N.on(this._element,Gs,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this,t);if(typeof t==`string`){if(n[t]===void 0)throw TypeError(`No method named "${t}"`);n[t](this)}})}};Dn(nc),Zt(nc),window.bootstrap=kt;var rc=[],ic=!1,ac=(e,t)=>{let n=[...t.querySelectorAll(e)];return t.matches(e)?[t,...n]:n},oc=(e,t)=>{e.cleanups.get(t)?.();let n=e.setup(t);e.cleanups.set(t,typeof n==`function`?n:null),e.cleansUp||=typeof n==`function`},sc=(e,t)=>{for(let n of ac(e.selector,t))e.cleanups.has(n)||oc(e,n)},cc=(e,t)=>{for(let n of ac(e.selector,t))!n.isConnected&&e.cleanups.has(n)&&(e.cleanups.get(n)?.(),e.cleanups.delete(n))},lc=e=>[...e].filter(e=>e.nodeType===Node.ELEMENT_NODE),uc=new MutationObserver(e=>{for(let{type:t,target:n,addedNodes:r,removedNodes:i}of e)if(t===`attributes`)for(let e of rc)n.isConnected&&n.matches(e.selector)&&oc(e,n);else{for(let e of lc(i))for(let t of rc.filter(({cleansUp:e})=>e))cc(t,e);for(let e of lc(r))if(e.isConnected)for(let t of rc)sc(t,e)}}),dc=()=>{ic=!0;for(let e of rc)sc(e,document.body);uc.observe(document.documentElement,{childList:!0,subtree:!0,attributeFilter:[`data-lucide`]})},fc=(e,t)=>{let n={selector:e,setup:t,cleanups:new WeakMap,cleansUp:!1};rc.push(n),ic&&sc(n,document.body)};(()=>{if(document.readyState!==`interactive`)return document.readyState===`complete`;let[e]=performance.getEntriesByType(`navigation`);return!e||e.domContentLoadedEventStart>0})()?dc():document.addEventListener(`DOMContentLoaded`,dc);var pc={colorModes:[`light`,`dark`],colorSchemes:[`default`]},mc=`adminkit_config_colorMode`,hc=[...pc.colorModes,`auto`],gc=window.matchMedia(`(prefers-color-scheme: dark)`),_c=(()=>{try{let e=localStorage.getItem(mc);return hc.includes(e)?e:null}catch{return null}})()??`auto`,vc=()=>{let e=_c===`auto`?gc.matches?`dark`:`light`:_c;document.documentElement.setAttribute(`data-bs-theme`,e)},yc=(e,{persist:t=!0}={})=>{if(hc.includes(e)){if(_c=e,t)try{localStorage.setItem(mc,e)}catch{}vc(),document.dispatchEvent(new CustomEvent(`adminkit:colormodechange`,{detail:{colorMode:_c}}))}},bc=`[data-color-mode-value], [data-color-mode-icon], [data-color-mode-toggle]`,xc=e=>{let{colorModeValue:t,colorModeIcon:n}=e.dataset;t&&e instanceof HTMLInputElement?e.checked=t===_c:t&&(e.classList.toggle(`active`,t===_c),e.setAttribute(`aria-pressed`,t===_c)),n&&(e.hidden=n!==_c),e.hasAttribute(`data-color-mode-toggle`)&&e.setAttribute(`aria-label`,`Color mode (${_c})`)};document.documentElement.hasAttribute(`data-bs-theme`)||vc(),new MutationObserver(()=>{document.documentElement.hasAttribute(`data-bs-theme`)||vc()}).observe(document.documentElement,{attributes:!0,attributeFilter:[`data-bs-theme`]}),gc.addEventListener(`change`,()=>{_c===`auto`&&vc()}),document.addEventListener(`click`,e=>{let t=e.target.closest(`[data-color-mode-value]`);t&&yc(t.dataset.colorModeValue)}),document.addEventListener(`adminkit:colormodechange`,()=>{document.querySelectorAll(bc).forEach(xc)}),fc(bc,xc);function Sc(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}var Cc=typeof global==`object`&&global&&global.Object===Object&&global,wc=typeof self==`object`&&self&&self.Object===Object&&self,Tc=Cc||wc||Function(`return this`)(),Ec=function(){return Tc.Date.now()},Dc=/\s/;function Oc(e){for(var t=e.length;t--&&Dc.test(e.charAt(t)););return t}var kc=/^\s+/;function Ac(e){return e&&e.slice(0,Oc(e)+1).replace(kc,``)}var jc=Tc.Symbol,Mc=Object.prototype,Nc=Mc.hasOwnProperty,Pc=Mc.toString,Fc=jc?jc.toStringTag:void 0;function Ic(e){var t=Nc.call(e,Fc),n=e[Fc];try{e[Fc]=void 0;var r=!0}catch{}var i=Pc.call(e);return r&&(t?e[Fc]=n:delete e[Fc]),i}var Lc=Object.prototype.toString;function Rc(e){return Lc.call(e)}var zc=`[object Null]`,Bc=`[object Undefined]`,Vc=jc?jc.toStringTag:void 0;function Hc(e){return e==null?e===void 0?Bc:zc:Vc&&Vc in Object(e)?Ic(e):Rc(e)}function Uc(e){return typeof e==`object`&&!!e}var Wc=`[object Symbol]`;function Gc(e){return typeof e==`symbol`||Uc(e)&&Hc(e)==Wc}var Kc=NaN,qc=/^[-+]0x[0-9a-f]+$/i,Jc=/^0b[01]+$/i,Yc=/^0o[0-7]+$/i,Xc=parseInt;function Zc(e){if(typeof e==`number`)return e;if(Gc(e))return Kc;if(Sc(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=Sc(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=Ac(e);var n=Jc.test(e);return n||Yc.test(e)?Xc(e.slice(2),n?2:8):qc.test(e)?Kc:+e}var Qc=`Expected a function`,$c=Math.max,el=Math.min;function tl(e,t,n){var r,i,a,o,s,c,l=0,u=!1,d=!1,f=!0;if(typeof e!=`function`)throw TypeError(Qc);t=Zc(t)||0,Sc(n)&&(u=!!n.leading,d=`maxWait`in n,a=d?$c(Zc(n.maxWait)||0,t):a,f=`trailing`in n?!!n.trailing:f);function p(t){var n=r,a=i;return r=i=void 0,l=t,o=e.apply(a,n),o}function m(e){return l=e,s=setTimeout(_,t),u?p(e):o}function h(e){var n=e-c,r=e-l,i=t-n;return d?el(i,a-r):i}function g(e){var n=e-c,r=e-l;return c===void 0||n>=t||n<0||d&&r>=a}function _(){var e=Ec();if(g(e))return v(e);s=setTimeout(_,h(e))}function v(e){return s=void 0,f&&r?p(e):(r=i=void 0,o)}function y(){s!==void 0&&clearTimeout(s),l=0,r=c=i=s=void 0}function b(){return s===void 0?o:v(Ec())}function x(){var e=Ec(),n=g(e);if(r=arguments,i=this,c=e,n){if(s===void 0)return m(c);if(d)return clearTimeout(s),s=setTimeout(_,t),p(c)}return s===void 0&&(s=setTimeout(_,t)),o}return x.cancel=y,x.flush=b,x}var nl=`Expected a function`;function rl(e,t,n){var r=!0,i=!0;if(typeof e!=`function`)throw TypeError(nl);return Sc(n)&&(r=`leading`in n?!!n.leading:r,i=`trailing`in n?!!n.trailing:i),tl(e,t,{leading:r,maxWait:t,trailing:i})}var il=function(){return il=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},il.apply(this,arguments)};function al(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function ol(e){return!e||!e.ownerDocument?document:e.ownerDocument}var sl=function(e){return Array.prototype.reduce.call(e,function(e,t){var n=t.name.match(/data-simplebar-(.+)/);if(n){var r=n[1].replace(/\W+(.)/g,function(e,t){return t.toUpperCase()});switch(t.value){case`true`:e[r]=!0;break;case`false`:e[r]=!1;break;case void 0:e[r]=!0;break;default:e[r]=t.value}}return e},{})};function cl(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(` `))}function ll(e,t){e&&t.split(` `).forEach(function(t){e.classList.remove(t)})}function ul(e){return`.${e.split(` `).join(`.`)}`}var dl=!!(typeof window<`u`&&window.document&&window.document.createElement),fl=Object.freeze({__proto__:null,addClasses:cl,canUseDOM:dl,classNamesToQuery:ul,getElementDocument:ol,getElementWindow:al,getOptions:sl,removeClasses:ll}),pl=null,ml=null;dl&&window.addEventListener(`resize`,function(){ml!==window.devicePixelRatio&&(ml=window.devicePixelRatio,pl=null)});function hl(){if(pl===null){if(typeof document>`u`)return pl=0,pl;var e=document.body,t=document.createElement(`div`);t.classList.add(`simplebar-hide-scrollbar`),e.appendChild(t);var n=t.getBoundingClientRect().right;e.removeChild(t),pl=n}return pl}var gl=al,_l=ol,vl=sl,yl=cl,bl=ll,xl=ul,Sl=function(){function e(t,n){n===void 0&&(n={});var r=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var e=gl(r.el);r.scrollXTicking||=(e.requestAnimationFrame(r.scrollX),!0),r.scrollYTicking||=(e.requestAnimationFrame(r.scrollY),!0),r.isScrolling||(r.isScrolling=!0,yl(r.el,r.classNames.scrolling)),r.showScrollbar(`x`),r.showScrollbar(`y`),r.onStopScrolling()},this.scrollX=function(){r.axis.x.isOverflowing&&r.positionScrollbar(`x`),r.scrollXTicking=!1},this.scrollY=function(){r.axis.y.isOverflowing&&r.positionScrollbar(`y`),r.scrollYTicking=!1},this._onStopScrolling=function(){bl(r.el,r.classNames.scrolling),r.options.autoHide&&(r.hideScrollbar(`x`),r.hideScrollbar(`y`)),r.isScrolling=!1},this.onMouseEnter=function(){r.isMouseEntering||=(yl(r.el,r.classNames.mouseEntered),r.showScrollbar(`x`),r.showScrollbar(`y`),!0),r.onMouseEntered()},this._onMouseEntered=function(){bl(r.el,r.classNames.mouseEntered),r.options.autoHide&&(r.hideScrollbar(`x`),r.hideScrollbar(`y`)),r.isMouseEntering=!1},this._onMouseMove=function(e){r.mouseX=e.clientX,r.mouseY=e.clientY,(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseMoveForAxis(`x`),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseMoveForAxis(`y`)},this.onMouseLeave=function(){r.onMouseMove.cancel(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseLeaveForAxis(`x`),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseLeaveForAxis(`y`),r.mouseX=-1,r.mouseY=-1},this._onWindowResize=function(){r.scrollbarWidth=r.getScrollbarWidth(),r.hideNativeScrollbar()},this.onPointerEvent=function(e){if(r.axis.x.track.el&&r.axis.y.track.el&&r.axis.x.scrollbar.el&&r.axis.y.scrollbar.el){var t,n;r.axis.x.track.rect=r.axis.x.track.el.getBoundingClientRect(),r.axis.y.track.rect=r.axis.y.track.el.getBoundingClientRect(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&(t=r.isWithinBounds(r.axis.x.track.rect)),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&(n=r.isWithinBounds(r.axis.y.track.rect)),(t||n)&&(e.stopPropagation(),e.type===`pointerdown`&&e.pointerType!==`touch`&&(t&&(r.axis.x.scrollbar.rect=r.axis.x.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.x.scrollbar.rect)?r.onDragStart(e,`x`):r.onTrackClick(e,`x`)),n&&(r.axis.y.scrollbar.rect=r.axis.y.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.y.scrollbar.rect)?r.onDragStart(e,`y`):r.onTrackClick(e,`y`))))}},this.drag=function(t){if(r.draggedAxis&&r.contentWrapperEl){var n,i=r.axis[r.draggedAxis].track,a=i.rect?.[r.axis[r.draggedAxis].sizeAttr]??0,o=r.axis[r.draggedAxis].scrollbar,s=r.contentWrapperEl?.[r.axis[r.draggedAxis].scrollSizeAttr]??0,c=parseInt(r.elStyles?.[r.axis[r.draggedAxis].sizeAttr]??`0px`,10);t.preventDefault(),t.stopPropagation(),n=r.draggedAxis===`y`?t.pageY:t.pageX;var l=n-(i.rect?.[r.axis[r.draggedAxis].offsetAttr]??0)-r.axis[r.draggedAxis].dragOffset;l=r.draggedAxis===`x`&&r.isRtl?(i.rect?.[r.axis[r.draggedAxis].sizeAttr]??0)-o.size-l:l;var u=l/(a-o.size)*(s-c);r.draggedAxis===`x`&&r.isRtl&&(u=e.getRtlHelpers()?.isScrollingToNegative?-u:u),r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr]=u}},this.onEndDrag=function(e){r.isDragging=!1;var t=_l(r.el),n=gl(r.el);e.preventDefault(),e.stopPropagation(),bl(r.el,r.classNames.dragging),r.onStopScrolling(),t.removeEventListener(`mousemove`,r.drag,!0),t.removeEventListener(`mouseup`,r.onEndDrag,!0),r.removePreventClickId=n.setTimeout(function(){t.removeEventListener(`click`,r.preventClick,!0),t.removeEventListener(`dblclick`,r.preventClick,!0),r.removePreventClickId=null})},this.preventClick=function(e){e.preventDefault(),e.stopPropagation()},this.el=t,this.options=il(il({},e.defaultOptions),n),this.classNames=il(il({},e.defaultOptions.classNames),n.classNames),this.axis={x:{scrollOffsetAttr:`scrollLeft`,sizeAttr:`width`,scrollSizeAttr:`scrollWidth`,offsetSizeAttr:`offsetWidth`,offsetAttr:`left`,overflowAttr:`overflowX`,dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:`scrollTop`,sizeAttr:`height`,scrollSizeAttr:`scrollHeight`,offsetSizeAttr:`offsetHeight`,offsetAttr:`top`,overflowAttr:`overflowY`,dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!=`object`||!this.el.nodeName)throw Error(`Argument passed to SimpleBar must be an HTML element instead of ${this.el}`);this.onMouseMove=rl(this._onMouseMove,64),this.onWindowResize=tl(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=tl(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=tl(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var t=document.createElement(`div`);t.innerHTML=`<div class="simplebar-dummy-scrollbar-size"><div></div></div>`;var n=t.firstElementChild,r=n?.firstElementChild;if(!r)return null;document.body.appendChild(n),n.scrollLeft=0;var i=e.getOffset(n),a=e.getOffset(r);n.scrollLeft=-999;var o=e.getOffset(r);return document.body.removeChild(n),e.rtlHelpers={isScrollOriginAtZero:i.left!==a.left,isScrollingToNegative:a.left!==o.left},e.rtlHelpers},e.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,`::-webkit-scrollbar`).display===`none`||`scrollbarWidth`in document.documentElement.style||`-ms-overflow-style`in document.documentElement.style?0:hl()}catch{return hl()}},e.getOffset=function(e){var t=e.getBoundingClientRect(),n=_l(e),r=gl(e);return{top:t.top+(r.pageYOffset||n.documentElement.scrollTop),left:t.left+(r.pageXOffset||n.documentElement.scrollLeft)}},e.prototype.init=function(){dl&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){this.wrapperEl=this.el.querySelector(xl(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(xl(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(xl(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(xl(this.classNames.offset)),this.maskEl=this.el.querySelector(xl(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,xl(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(xl(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(xl(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,`${xl(this.classNames.track)}${xl(this.classNames.horizontal)}`),this.axis.y.track.el=this.findChild(this.el,`${xl(this.classNames.track)}${xl(this.classNames.vertical)}`),this.axis.x.scrollbar.el=this.axis.x.track.el?.querySelector(xl(this.classNames.scrollbar))||null,this.axis.y.scrollbar.el=this.axis.y.track.el?.querySelector(xl(this.classNames.scrollbar))||null,this.options.autoHide||(yl(this.axis.x.scrollbar.el,this.classNames.visible),yl(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var e=this,t,n=gl(this.el);if(this.el.addEventListener(`mouseenter`,this.onMouseEnter),this.el.addEventListener(`pointerdown`,this.onPointerEvent,!0),this.el.addEventListener(`mousemove`,this.onMouseMove),this.el.addEventListener(`mouseleave`,this.onMouseLeave),(t=this.contentWrapperEl)==null||t.addEventListener(`scroll`,this.onScroll),n.addEventListener(`resize`,this.onWindowResize),this.contentEl){if(window.ResizeObserver){var r=!1,i=n.ResizeObserver||ResizeObserver;this.resizeObserver=new i(function(){r&&n.requestAnimationFrame(function(){e.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),n.requestAnimationFrame(function(){r=!0})}this.mutationObserver=new n.MutationObserver(function(){n.requestAnimationFrame(function(){e.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},e.prototype.recalculate=function(){if(this.heightAutoObserverEl&&this.contentEl&&this.contentWrapperEl&&this.wrapperEl&&this.placeholderEl){var e=gl(this.el);this.elStyles=e.getComputedStyle(this.el),this.isRtl=this.elStyles.direction===`rtl`;var t=this.contentEl.offsetWidth,n=this.heightAutoObserverEl.offsetHeight<=1,r=this.heightAutoObserverEl.offsetWidth<=1||t>0,i=this.contentWrapperEl.offsetWidth,a=this.elStyles.overflowX,o=this.elStyles.overflowY;this.contentEl.style.padding=`${this.elStyles.paddingTop} ${this.elStyles.paddingRight} ${this.elStyles.paddingBottom} ${this.elStyles.paddingLeft}`,this.wrapperEl.style.margin=`-${this.elStyles.paddingTop} -${this.elStyles.paddingRight} -${this.elStyles.paddingBottom} -${this.elStyles.paddingLeft}`;var s=this.contentEl.scrollHeight,c=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=n?`auto`:`100%`,this.placeholderEl.style.width=r?`${t||c}px`:`auto`,this.placeholderEl.style.height=`${s}px`;var l=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=t!==0&&c>t,this.axis.y.isOverflowing=s>l,this.axis.x.isOverflowing=a!==`hidden`&&this.axis.x.isOverflowing,this.axis.y.isOverflowing=o!==`hidden`&&this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible===`x`||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible===`y`||this.options.forceVisible===!0,this.hideNativeScrollbar();var u=this.axis.x.isOverflowing?this.scrollbarWidth:0,d=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&c>i-d,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&s>l-u,this.axis.x.scrollbar.size=this.getScrollbarSize(`x`),this.axis.y.scrollbar.size=this.getScrollbarSize(`y`),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width=`${this.axis.x.scrollbar.size}px`),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height=`${this.axis.y.scrollbar.size}px`),this.positionScrollbar(`x`),this.positionScrollbar(`y`),this.toggleTrackVisibility(`x`),this.toggleTrackVisibility(`y`)}},e.prototype.getScrollbarSize=function(e){if(e===void 0&&(e=`y`),!this.axis[e].isOverflowing||!this.contentEl)return 0;var t=this.contentEl[this.axis[e].scrollSizeAttr],n=this.axis[e].track.el?.[this.axis[e].offsetSizeAttr]??0,r=n/t,i=Math.max(~~(r*n),this.options.scrollbarMinSize);return this.options.scrollbarMaxSize&&(i=Math.min(i,this.options.scrollbarMaxSize)),i},e.prototype.positionScrollbar=function(t){t===void 0&&(t=`y`);var n=this.axis[t].scrollbar;if(this.axis[t].isOverflowing&&this.contentWrapperEl&&n.el&&this.elStyles){var r=this.contentWrapperEl[this.axis[t].scrollSizeAttr],i=this.axis[t].track.el?.[this.axis[t].offsetSizeAttr]||0,a=parseInt(this.elStyles[this.axis[t].sizeAttr],10),o=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];o=t===`x`&&this.isRtl&&e.getRtlHelpers()?.isScrollOriginAtZero?-o:o,t===`x`&&this.isRtl&&(o=e.getRtlHelpers()?.isScrollingToNegative?o:-o);var s=o/(r-a),c=~~((i-n.size)*s);c=t===`x`&&this.isRtl?-c+(i-n.size):c,n.el.style.transform=t===`x`?`translate3d(${c}px, 0, 0)`:`translate3d(0, ${c}px, 0)`}},e.prototype.toggleTrackVisibility=function(e){e===void 0&&(e=`y`);var t=this.axis[e].track.el,n=this.axis[e].scrollbar.el;t&&n&&this.contentWrapperEl&&(this.axis[e].isOverflowing||this.axis[e].forceVisible?(t.style.visibility=`visible`,this.contentWrapperEl.style[this.axis[e].overflowAttr]=`scroll`,this.el.classList.add(`${this.classNames.scrollable}-${e}`)):(t.style.visibility=`hidden`,this.contentWrapperEl.style[this.axis[e].overflowAttr]=`hidden`,this.el.classList.remove(`${this.classNames.scrollable}-${e}`)),this.axis[e].isOverflowing?n.style.display=`block`:n.style.display=`none`)},e.prototype.showScrollbar=function(e){e===void 0&&(e=`y`),this.axis[e].isOverflowing&&!this.axis[e].scrollbar.isVisible&&(yl(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(e){e===void 0&&(e=`y`),!this.isDragging&&this.axis[e].isOverflowing&&this.axis[e].scrollbar.isVisible&&(bl(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?`left`:`right`]=this.axis.y.isOverflowing||this.axis.y.forceVisible?`-${this.scrollbarWidth}px`:`0px`,this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?`-${this.scrollbarWidth}px`:`0px`)},e.prototype.onMouseMoveForAxis=function(e){e===void 0&&(e=`y`);var t=this.axis[e];t.track.el&&t.scrollbar.el&&(t.track.rect=t.track.el.getBoundingClientRect(),t.scrollbar.rect=t.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(t.track.rect)?(this.showScrollbar(e),yl(t.track.el,this.classNames.hover),this.isWithinBounds(t.scrollbar.rect)?yl(t.scrollbar.el,this.classNames.hover):bl(t.scrollbar.el,this.classNames.hover)):(bl(t.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)))},e.prototype.onMouseLeaveForAxis=function(e){e===void 0&&(e=`y`),bl(this.axis[e].track.el,this.classNames.hover),bl(this.axis[e].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)},e.prototype.onDragStart=function(e,t){t===void 0&&(t=`y`),this.isDragging=!0;var n=_l(this.el),r=gl(this.el),i=this.axis[t].scrollbar,a=t===`y`?e.pageY:e.pageX;this.axis[t].dragOffset=a-(i.rect?.[this.axis[t].offsetAttr]||0),this.draggedAxis=t,yl(this.el,this.classNames.dragging),n.addEventListener(`mousemove`,this.drag,!0),n.addEventListener(`mouseup`,this.onEndDrag,!0),this.removePreventClickId===null?(n.addEventListener(`click`,this.preventClick,!0),n.addEventListener(`dblclick`,this.preventClick,!0)):(r.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(e,t){var n=this;t===void 0&&(t=`y`);var r=this.axis[t];if(this.options.clickOnTrack&&r.scrollbar.el&&this.contentWrapperEl){e.preventDefault();var i=gl(this.el);this.axis[t].scrollbar.rect=r.scrollbar.el.getBoundingClientRect();var a=this.axis[t].scrollbar.rect?.[this.axis[t].offsetAttr]??0,o=parseInt(this.elStyles?.[this.axis[t].sizeAttr]??`0px`,10),s=this.contentWrapperEl[this.axis[t].scrollOffsetAttr],c=(t===`y`?this.mouseY-a:this.mouseX-a)<0?-1:1,l=c===-1?s-o:s+o,u=40,d=function(){n.contentWrapperEl&&(c===-1?s>l&&(s-=u,n.contentWrapperEl[n.axis[t].scrollOffsetAttr]=s,i.requestAnimationFrame(d)):s<l&&(s+=u,n.contentWrapperEl[n.axis[t].scrollOffsetAttr]=s,i.requestAnimationFrame(d)))};d()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var e=gl(this.el);this.el.removeEventListener(`mouseenter`,this.onMouseEnter),this.el.removeEventListener(`pointerdown`,this.onPointerEvent,!0),this.el.removeEventListener(`mousemove`,this.onMouseMove),this.el.removeEventListener(`mouseleave`,this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener(`scroll`,this.onScroll),e.removeEventListener(`resize`,this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(e){return this.mouseX>=e.left&&this.mouseX<=e.left+e.width&&this.mouseY>=e.top&&this.mouseY<=e.top+e.height},e.prototype.findChild=function(e,t){var n=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;return Array.prototype.filter.call(e.children,function(e){return n.call(e,t)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:`scrollable content`,tabIndex:0,classNames:{contentEl:`simplebar-content`,contentWrapper:`simplebar-content-wrapper`,offset:`simplebar-offset`,mask:`simplebar-mask`,wrapper:`simplebar-wrapper`,placeholder:`simplebar-placeholder`,scrollbar:`simplebar-scrollbar`,track:`simplebar-track`,heightAutoObserverWrapperEl:`simplebar-height-auto-observer-wrapper`,heightAutoObserverEl:`simplebar-height-auto-observer`,visible:`simplebar-visible`,horizontal:`simplebar-horizontal`,vertical:`simplebar-vertical`,hover:`simplebar-hover`,dragging:`simplebar-dragging`,scrolling:`simplebar-scrolling`,scrollable:`simplebar-scrollable`,mouseEntered:`simplebar-mouse-entered`},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=vl,e.helpers=fl,e}(),Cl=function(e,t){return Cl=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Cl(e,t)};function wl(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Class extends value `+String(t)+` is not a constructor or null`);Cl(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var Tl=Sl.helpers,El=Tl.getOptions,Dl=Tl.addClasses,Ol=Tl.canUseDOM,kl=function(e){wl(t,e);function t(){var n=[...arguments],r=e.apply(this,n)||this;return t.instances.set(n[0],r),r}return t.initDOMLoadedElements=function(){document.removeEventListener(`DOMContentLoaded`,this.initDOMLoadedElements),window.removeEventListener(`load`,this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll(`[data-simplebar]`),function(e){e.getAttribute(`data-simplebar`)!==`init`&&!t.instances.has(e)&&new t(e,El(e.attributes))})},t.removeObserver=function(){var e;(e=t.globalObserver)==null||e.disconnect()},t.prototype.initDOM=function(){var e=this,t,n,r;if(!Array.prototype.filter.call(this.el.children,function(t){return t.classList.contains(e.classNames.wrapper)}).length){for(this.wrapperEl=document.createElement(`div`),this.contentWrapperEl=document.createElement(`div`),this.offsetEl=document.createElement(`div`),this.maskEl=document.createElement(`div`),this.contentEl=document.createElement(`div`),this.placeholderEl=document.createElement(`div`),this.heightAutoObserverWrapperEl=document.createElement(`div`),this.heightAutoObserverEl=document.createElement(`div`),Dl(this.wrapperEl,this.classNames.wrapper),Dl(this.contentWrapperEl,this.classNames.contentWrapper),Dl(this.offsetEl,this.classNames.offset),Dl(this.maskEl,this.classNames.mask),Dl(this.contentEl,this.classNames.contentEl),Dl(this.placeholderEl,this.classNames.placeholder),Dl(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),Dl(this.heightAutoObserverEl,this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl),(t=this.contentWrapperEl)==null||t.setAttribute(`tabindex`,this.options.tabIndex.toString()),(n=this.contentWrapperEl)==null||n.setAttribute(`role`,`region`),(r=this.contentWrapperEl)==null||r.setAttribute(`aria-label`,this.options.ariaLabel)}if(!this.axis.x.track.el||!this.axis.y.track.el){var i=document.createElement(`div`),a=document.createElement(`div`);Dl(i,this.classNames.track),Dl(a,this.classNames.scrollbar),i.appendChild(a),this.axis.x.track.el=i.cloneNode(!0),Dl(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=i.cloneNode(!0),Dl(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}Sl.prototype.initDOM.call(this),this.el.setAttribute(`data-simplebar`,`init`)},t.prototype.unMount=function(){Sl.prototype.unMount.call(this),t.instances.delete(this.el)},t.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),typeof MutationObserver<`u`&&(this.globalObserver=new MutationObserver(t.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),document.readyState===`complete`||document.readyState!==`loading`&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener(`DOMContentLoaded`,this.initDOMLoadedElements),window.addEventListener(`load`,this.initDOMLoadedElements))},t.handleMutations=function(e){e.forEach(function(e){e.addedNodes.forEach(function(e){e.nodeType===1&&(e.hasAttribute(`data-simplebar`)?!t.instances.has(e)&&document.documentElement.contains(e)&&new t(e,El(e.attributes)):e.querySelectorAll(`[data-simplebar]`).forEach(function(e){e.getAttribute(`data-simplebar`)!==`init`&&!t.instances.has(e)&&document.documentElement.contains(e)&&new t(e,El(e.attributes))}))}),e.removedNodes.forEach(function(e){var n;e.nodeType===1&&(e.getAttribute(`data-simplebar`)===`init`?document.documentElement.contains(e)||(n=t.instances.get(e))==null||n.unMount():Array.prototype.forEach.call(e.querySelectorAll(`[data-simplebar="init"]`),function(e){var n;document.documentElement.contains(e)||(n=t.instances.get(e))==null||n.unMount()}))})})},t.instances=new WeakMap,t}(Sl);Ol&&kl.initHtmlApi();var Al=`.js-sidebar`,jl=`.js-sidebar-toggle`,Ml,Nl=()=>{if(!Ml){let e=getComputedStyle(document.documentElement).getPropertyValue(`--bs-breakpoint-lg`);Ml=matchMedia(`(min-width: ${e})`),Ml.addEventListener(`change`,Pl)}return Ml.matches},Pl=()=>{let e=document.querySelector(Al);if(!e)return;let t=Nl()?!e.classList.contains(`collapsed`):e.classList.contains(`show`);for(let e of document.querySelectorAll(jl))e.setAttribute(`aria-expanded`,String(t)),e.setAttribute(`aria-label`,t?`Collapse sidebar`:`Expand sidebar`)},Fl=e=>{let t=()=>window.dispatchEvent(new Event(`resize`));if(!parseFloat(getComputedStyle(e).transitionDuration)){t();return}let n=r=>{r.target===e&&(e.removeEventListener(`transitionend`,n),t())};e.addEventListener(`transitionend`,n)};document.addEventListener(`click`,e=>{let t=document.querySelector(Al);t&&(e.target.closest(jl)?Nl()?(t.classList.toggle(`collapsed`),Pl(),Fl(t)):ro.getOrCreateInstance(t).toggle():!Nl()&&e.target.closest(`${Al} a[href]:not([data-bs-toggle])`)&&ro.getInstance(t)?.hide())}),document.addEventListener(`shown.bs.offcanvas`,({target:e})=>{e.matches(Al)&&Pl()}),document.addEventListener(`hidden.bs.offcanvas`,({target:e})=>{e.matches(Al)&&(Pl(),document.querySelector(jl)?.focus())}),fc(jl,Pl);var Il=e=>{let t=ro.getInstance(e);if(e.matches(`.showing, .hiding`)){let n=()=>t.dispose();e.addEventListener(`shown.bs.offcanvas`,n,{once:!0}),e.addEventListener(`hidden.bs.offcanvas`,n,{once:!0})}else t?.dispose()};fc(Al,e=>(Pl(),()=>Il(e))),fc(`.js-simplebar`,e=>{let t=new kl(e),n=()=>t.recalculate();return e.addEventListener(`shown.bs.collapse`,n),e.addEventListener(`hidden.bs.collapse`,n),()=>t.unMount()});var Ll=()=>{let e=getComputedStyle(document.documentElement),t=t=>e.getPropertyValue(`--${t}`).trim(),n=document.documentElement.getAttribute(`data-bs-theme`)===`dark`?`dark`:`light`,r={id:n,name:n===`dark`?`Dark`:`Light`,primary:t(`bs-primary`),secondary:t(`bs-secondary`),success:t(`bs-success`),info:t(`bs-info`),warning:t(`bs-warning`),danger:t(`bs-danger`),white:t(`ak-surface-bg`),black:t(`bs-emphasis-color`),"body-bg":t(`bs-body-bg`),"body-color":t(`bs-body-color`),"border-color":t(`bs-border-color`)};for(let e of[100,200,300,400,500,600,700,800,900])r[`gray-${e}`]=t(`bs-gray-${e}`);return r};window.theme=Ll(),new MutationObserver(()=>{let e=Ll();e.id!==window.theme.id&&(window.theme=e,document.dispatchEvent(new CustomEvent(`adminkit:themechange`,{detail:e})))}).observe(document.documentElement,{attributes:!0,attributeFilter:[`data-bs-theme`]});var Rl={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":2,"stroke-linecap":`round`,"stroke-linejoin":`round`},zl=([e,t,n])=>{let r=document.createElementNS(`http://www.w3.org/2000/svg`,e);return Object.keys(t).forEach(e=>{r.setAttribute(e,String(t[e]))}),n?.length&&n.forEach(e=>{let t=zl(e);r.appendChild(t)}),r},Bl=(e,t={})=>zl([`svg`,{...Rl,...t},e]),Vl={AppWindow:[[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`}],[`path`,{d:`M10 4v4`}],[`path`,{d:`M2 8h20`}],[`path`,{d:`M6 4v4`}]],Bell:[[`path`,{d:`M10.268 21a2 2 0 0 0 3.464 0`}],[`path`,{d:`M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326`}]],Book:[[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}]],Briefcase:[[`path`,{d:`M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`6`,rx:`2`}]],Calendar:[[`path`,{d:`M8 2v3`}],[`path`,{d:`M16 2v3`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}],[`path`,{d:`M3 9h18`}]],ChartNoAxesColumn:[[`path`,{d:`M5 21v-6`}],[`path`,{d:`M12 21V3`}],[`path`,{d:`M19 21V9`}]],ChartPie:[[`path`,{d:`M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z`}],[`path`,{d:`M21.21 15.89A10 10 0 1 1 8 2.83`}]],Check:[[`path`,{d:`M20 6 9 17l-5-5`}]],CircleAlert:[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`}]],CircleQuestionMark:[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3`}],[`path`,{d:`M12 17h.01`}]],Coffee:[[`path`,{d:`M10 2v2`}],[`path`,{d:`M14 2v2`}],[`path`,{d:`M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1`}],[`path`,{d:`M6 2v2`}]],Copy:[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`}]],CreditCard:[[`rect`,{width:`20`,height:`14`,x:`2`,y:`5`,rx:`2`}],[`line`,{x1:`2`,x2:`22`,y1:`10`,y2:`10`}],[`path`,{d:`M6 14h2`}]],Download:[[`path`,{d:`M12 15V3`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`}],[`path`,{d:`m7 10 5 5 5-5`}]],Eye:[[`path`,{d:`M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0`}],[`circle`,{cx:`12`,cy:`12`,r:`3`}]],File:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}]],Gauge:[[`path`,{d:`m12 14 4-4`}],[`path`,{d:`M3.34 19a10 10 0 1 1 17.32 0`}]],House:[[`path`,{d:`M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8`}],[`path`,{d:`M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`}]],LayoutGrid:[[`rect`,{width:`7`,height:`7`,x:`3`,y:`3`,rx:`1`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`3`,rx:`1`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`14`,rx:`1`}],[`rect`,{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`}]],LifeBuoy:[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`m4.93 4.93 4.24 4.24`}],[`path`,{d:`m14.83 9.17 4.24-4.24`}],[`path`,{d:`m14.83 14.83 4.24 4.24`}],[`path`,{d:`m9.17 14.83-4.24 4.24`}],[`circle`,{cx:`12`,cy:`12`,r:`4`}]],List:[[`path`,{d:`M3 5h.01`}],[`path`,{d:`M3 12h.01`}],[`path`,{d:`M3 19h.01`}],[`path`,{d:`M8 5h13`}],[`path`,{d:`M8 12h13`}],[`path`,{d:`M8 19h13`}]],LogIn:[[`path`,{d:`m10 17 5-5-5-5`}],[`path`,{d:`M15 12H3`}],[`path`,{d:`M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4`}]],LogOut:[[`path`,{d:`m16 17 5-5-5-5`}],[`path`,{d:`M21 12H9`}],[`path`,{d:`M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`}]],Mail:[[`path`,{d:`m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7`}],[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`}]],Map:[[`path`,{d:`M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z`}],[`path`,{d:`M15 5.764v15`}],[`path`,{d:`M9 3.236v15`}]],MapPin:[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`}],[`circle`,{cx:`12`,cy:`10`,r:`3`}]],MessageSquare:[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`}]],Minus:[[`path`,{d:`M5 12h14`}]],Moon:[[`path`,{d:`M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401`}]],Pen:[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`}]],Phone:[[`path`,{d:`M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384`}]],Printer:[[`path`,{d:`M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2`}],[`path`,{d:`M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6`}],[`rect`,{x:`6`,y:`14`,width:`12`,height:`8`,rx:`1`}]],SearchX:[[`path`,{d:`m13.5 8.5-5 5`}],[`path`,{d:`m8.5 8.5 5 5`}],[`circle`,{cx:`11`,cy:`11`,r:`8`}],[`path`,{d:`m21 21-4.3-4.3`}]],Send:[[`path`,{d:`M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z`}],[`path`,{d:`m21.854 2.147-10.94 10.939`}]],ServerCrash:[[`path`,{d:`M6 10H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-2`}],[`path`,{d:`M6 14H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-2`}],[`path`,{d:`M6 6h.01`}],[`path`,{d:`M6 18h.01`}],[`path`,{d:`m13 6-4 6h6l-4 6`}]],Settings:[[`path`,{d:`M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915`}],[`circle`,{cx:`12`,cy:`12`,r:`3`}]],ShieldCheck:[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`}],[`path`,{d:`m9 12 2 2 4-4`}]],SlidersVertical:[[`path`,{d:`M10 8h4`}],[`path`,{d:`M12 21v-9`}],[`path`,{d:`M12 8V3`}],[`path`,{d:`M17 16h4`}],[`path`,{d:`M19 12V3`}],[`path`,{d:`M19 21v-5`}],[`path`,{d:`M3 14h4`}],[`path`,{d:`M5 10V3`}],[`path`,{d:`M5 21v-7`}]],Square:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}]],SquareCheckBig:[[`path`,{d:`M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344`}],[`path`,{d:`m9 11 3 3L22 4`}]],Sun:[[`circle`,{cx:`12`,cy:`12`,r:`4`}],[`path`,{d:`M12 2v2`}],[`path`,{d:`M12 20v2`}],[`path`,{d:`m4.93 4.93 1.41 1.41`}],[`path`,{d:`m17.66 17.66 1.41 1.41`}],[`path`,{d:`M2 12h2`}],[`path`,{d:`M20 12h2`}],[`path`,{d:`m6.34 17.66-1.41 1.41`}],[`path`,{d:`m19.07 4.93-1.41 1.41`}]],SunMoon:[[`path`,{d:`M12 2v2`}],[`path`,{d:`M14.837 16.385a6 6 0 1 1-7.223-7.222c.624-.147.97.66.715 1.248a4 4 0 0 0 5.26 5.259c.589-.255 1.396.09 1.248.715`}],[`path`,{d:`M16 12a4 4 0 0 0-4-4`}],[`path`,{d:`m19 5-1.256 1.256`}],[`path`,{d:`M20 12h2`}]],Tag:[[`path`,{d:`M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z`}],[`circle`,{cx:`7.5`,cy:`7.5`,r:`.5`,fill:`currentColor`}]],TextAlignStart:[[`path`,{d:`M21 5H3`}],[`path`,{d:`M15 12H3`}],[`path`,{d:`M17 19H3`}]],Timer:[[`line`,{x1:`10`,x2:`14`,y1:`2`,y2:`2`}],[`line`,{x1:`12`,x2:`15`,y1:`14`,y2:`11`}],[`circle`,{cx:`12`,cy:`14`,r:`8`}]],Trash:[[`path`,{d:`M10 11v6`}],[`path`,{d:`M14 11v6`}],[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`}],[`path`,{d:`M3 6h18`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`}]],User:[[`path`,{d:`M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2`}],[`circle`,{cx:`12`,cy:`7`,r:`4`}]],UserPlus:[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`}],[`circle`,{cx:`9`,cy:`7`,r:`4`}],[`line`,{x1:`19`,x2:`19`,y1:`8`,y2:`14`}],[`line`,{x1:`22`,x2:`16`,y1:`11`,y2:`11`}]],Users:[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`}],[`path`,{d:`M16 3.128a4 4 0 0 1 0 7.744`}],[`path`,{d:`M22 21v-2a4 4 0 0 0-3-3.87`}],[`circle`,{cx:`9`,cy:`7`,r:`4`}]]},Hl=e=>e.replace(/(?:^|-)([a-z0-9])/g,(e,t)=>t.toUpperCase()),Ul=(e,{icons:t=window.lucide.icons,attrs:n={}}={})=>{let r=e.getAttribute(`data-lucide`),i=t[Hl(r)];if(!i){console.warn(`Lucide icon "${r}" is not bundled (src/js/modules/icons.js)`);return}let a={};for(let t of e.attributes)t.name!==`id`&&t.name!==`data-lucide`&&(a[t.name]=t.value);let o=Object.keys(a).some(e=>e.startsWith(`aria-`)||e===`role`||e===`title`),s=[`lucide`,`lucide-${r}`,...(a.class??``).split(` `),...(n.class??``).split(` `)];e.replaceChildren(Bl(i,{...o?{}:{"aria-hidden":`true`},...n,...a,class:[...new Set(s.filter(Boolean))].join(` `)}))};window.lucide={createIcons:({icons:e,attrs:t,root:n=document}={})=>{n.querySelectorAll(`[data-lucide]:not(svg)`).forEach(n=>{Ul(n,{icons:e,attrs:t})})},icons:{...Vl,...window.lucide?.icons}},fc(`[data-lucide]:not(svg)`,e=>Ul(e));var Wl=e=>{let t=e.closest(`[aria-busy="true"]`);t&&(t.querySelectorAll(`.ak-skeleton`).forEach(e=>{e.remove()}),t.setAttribute(`aria-busy`,`false`)),e.dispatchEvent(new CustomEvent(`adminkit:ready`,{bubbles:!0}))};window.adminkit={...window.adminkit,ready:Wl};var Gl=`.ak-reveal, .ak-reveal-cards .card:not(.card .card)`,Kl=8,ql=e=>{e.forEach((e,t)=>{let n=t=>{t.target===e&&t.propertyName===`opacity`&&(e.removeEventListener(`transitionend`,n),e.classList.remove(`ak-revealing`),e.style.removeProperty(`--ak-reveal-index`))};e.addEventListener(`transitionend`,n),e.style.setProperty(`--ak-reveal-index`,Math.min(t,Kl)),e.classList.add(`ak-revealed`,`ak-revealing`)})},Jl=new IntersectionObserver(e=>{let t=e.filter(e=>e.isIntersecting).map(e=>e.target);t.forEach(e=>Jl.unobserve(e)),ql(t)}),Yl=document.documentElement;Yl.classList.add(`js-reveal-ready`),Yl.classList.contains(`js-reveal`)&&(fc(`.ak-reveal-cards`,e=>e.classList.add(`ak-revealed`)),fc(Gl,e=>Jl.observe(e)));var Xl=1e3,Zl=/(\d{1,3}(?:,\d{3})+|\d+)(\.\d+)?/,Ql=window.matchMedia(`(prefers-reduced-motion: reduce)`),$l=e=>{let t=e.match(Zl);if(!t)return null;let[n,r,i=``]=t,a=Math.max(i.length-1,0);return{before:e.slice(0,t.index),after:e.slice(t.index+n.length),value:Number(r.replaceAll(`,`,``)+i),format:new Intl.NumberFormat(`en-US`,{minimumFractionDigits:a,maximumFractionDigits:a,useGrouping:r.includes(`,`)})}},eu=e=>{let t=e.textContent,n=$l(t);if(!n)return;let{before:r,after:i,value:a,format:o}=n,s=performance.now(),c=n=>{let l=Math.min((n-s)/Xl,1);if(l<1){let t=1-(1-l)**3;e.textContent=r+o.format(a*t)+i,requestAnimationFrame(c)}else e.textContent=t};requestAnimationFrame(c)},tu=new IntersectionObserver(e=>{for(let t of e)t.isIntersecting&&(tu.unobserve(t.target),eu(t.target))});Ql.matches||fc(`[data-count-up]`,e=>tu.observe(e));function nu(e){return e+.5|0}var ru=(e,t,n)=>Math.max(Math.min(e,n),t);function iu(e){return ru(nu(e*2.55),0,255)}function au(e){return ru(nu(e*255),0,255)}function ou(e){return ru(nu(e/2.55)/100,0,1)}function su(e){return ru(nu(e*100),0,100)}var cu={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},lu=[...`0123456789ABCDEF`],uu=e=>lu[e&15],du=e=>lu[(e&240)>>4]+lu[e&15],fu=e=>(e&240)>>4==(e&15),pu=e=>fu(e.r)&&fu(e.g)&&fu(e.b)&&fu(e.a);function mu(e){var t=e.length,n;return e[0]===`#`&&(t===4||t===5?n={r:255&cu[e[1]]*17,g:255&cu[e[2]]*17,b:255&cu[e[3]]*17,a:t===5?cu[e[4]]*17:255}:(t===7||t===9)&&(n={r:cu[e[1]]<<4|cu[e[2]],g:cu[e[3]]<<4|cu[e[4]],b:cu[e[5]]<<4|cu[e[6]],a:t===9?cu[e[7]]<<4|cu[e[8]]:255})),n}var hu=(e,t)=>e<255?t(e):``;function gu(e){var t=pu(e)?uu:du;return e?`#`+t(e.r)+t(e.g)+t(e.b)+hu(e.a,t):void 0}var _u=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function vu(e,t,n){let r=t*Math.min(n,1-n),i=(t,i=(t+e/30)%12)=>n-r*Math.max(Math.min(i-3,9-i,1),-1);return[i(0),i(8),i(4)]}function yu(e,t,n){let r=(r,i=(r+e/60)%6)=>n-n*t*Math.max(Math.min(i,4-i,1),0);return[r(5),r(3),r(1)]}function bu(e,t,n){let r=vu(e,1,.5),i;for(t+n>1&&(i=1/(t+n),t*=i,n*=i),i=0;i<3;i++)r[i]*=1-t-n,r[i]+=t;return r}function xu(e,t,n,r,i){return e===i?(t-n)/r+(t<n?6:0):t===i?(n-e)/r+2:(e-t)/r+4}function Su(e){let t=e.r/255,n=e.g/255,r=e.b/255,i=Math.max(t,n,r),a=Math.min(t,n,r),o=(i+a)/2,s,c,l;return i!==a&&(l=i-a,c=o>.5?l/(2-i-a):l/(i+a),s=xu(t,n,r,l,i),s=s*60+.5),[s|0,c||0,o]}function Cu(e,t,n,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,r)).map(au)}function wu(e,t,n){return Cu(vu,e,t,n)}function Tu(e,t,n){return Cu(bu,e,t,n)}function Eu(e,t,n){return Cu(yu,e,t,n)}function Du(e){return(e%360+360)%360}function Ou(e){let t=_u.exec(e),n=255,r;if(!t)return;t[5]!==r&&(n=t[6]?iu(+t[5]):au(+t[5]));let i=Du(+t[2]),a=t[3]/100,o=t[4]/100;return r=t[1]===`hwb`?Tu(i,a,o):t[1]===`hsv`?Eu(i,a,o):wu(i,a,o),{r:r[0],g:r[1],b:r[2],a:n}}function ku(e,t){var n=Su(e);n[0]=Du(n[0]+t),n=wu(n),e.r=n[0],e.g=n[1],e.b=n[2]}function Au(e){if(!e)return;let t=Su(e),n=t[0],r=su(t[1]),i=su(t[2]);return e.a<255?`hsla(${n}, ${r}%, ${i}%, ${ou(e.a)})`:`hsl(${n}, ${r}%, ${i}%)`}var ju={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`},Mu={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 Nu(){let e={},t=Object.keys(Mu),n=Object.keys(ju),r,i,a,o,s;for(r=0;r<t.length;r++){for(o=s=t[r],i=0;i<n.length;i++)a=n[i],s=s.replace(a,ju[a]);a=parseInt(Mu[o],16),e[s]=[a>>16&255,a>>8&255,a&255]}return e}var Pu;function Fu(e){Pu||(Pu=Nu(),Pu.transparent=[0,0,0,0]);let t=Pu[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}var Iu=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function Lu(e){let t=Iu.exec(e),n=255,r,i,a;if(t){if(t[7]!==r){let e=+t[7];n=t[8]?iu(e):ru(e*255,0,255)}return r=+t[1],i=+t[3],a=+t[5],r=255&(t[2]?iu(r):ru(r,0,255)),i=255&(t[4]?iu(i):ru(i,0,255)),a=255&(t[6]?iu(a):ru(a,0,255)),{r,g:i,b:a,a:n}}}function Ru(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${ou(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}var zu=e=>e<=.0031308?e*12.92:e**(1/2.4)*1.055-.055,Bu=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function Vu(e,t,n){let r=Bu(ou(e.r)),i=Bu(ou(e.g)),a=Bu(ou(e.b));return{r:au(zu(r+n*(Bu(ou(t.r))-r))),g:au(zu(i+n*(Bu(ou(t.g))-i))),b:au(zu(a+n*(Bu(ou(t.b))-a))),a:e.a+n*(t.a-e.a)}}function Hu(e,t,n){if(e){let r=Su(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*n,t===0?360:1)),r=wu(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function Uu(e,t){return e&&Object.assign(t||{},e)}function Wu(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=au(e[3]))):(t=Uu(e,{r:0,g:0,b:0,a:1}),t.a=au(t.a)),t}function Gu(e){return e.charAt(0)===`r`?Lu(e):Ou(e)}var Ku=class e{constructor(t){if(t instanceof e)return t;let n=typeof t,r;n===`object`?r=Wu(t):n===`string`&&(r=mu(t)||Fu(t)||Gu(t)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var e=Uu(this._rgb);return e&&(e.a=ou(e.a)),e}set rgb(e){this._rgb=Wu(e)}rgbString(){return this._valid?Ru(this._rgb):void 0}hexString(){return this._valid?gu(this._rgb):void 0}hslString(){return this._valid?Au(this._rgb):void 0}mix(e,t){if(e){let n=this.rgb,r=e.rgb,i,a=t===i?.5:t,o=2*a-1,s=n.a-r.a,c=((o*s===-1?o:(o+s)/(1+o*s))+1)/2;i=1-c,n.r=255&c*n.r+i*r.r+.5,n.g=255&c*n.g+i*r.g+.5,n.b=255&c*n.b+i*r.b+.5,n.a=a*n.a+(1-a)*r.a,this.rgb=n}return this}interpolate(e,t){return e&&(this._rgb=Vu(this._rgb,e._rgb,t)),this}clone(){return new e(this.rgb)}alpha(e){return this._rgb.a=au(e),this}clearer(e){let t=this._rgb;return t.a*=1-e,this}greyscale(){let e=this._rgb;return e.r=e.g=e.b=nu(e.r*.3+e.g*.59+e.b*.11),this}opaquer(e){let t=this._rgb;return t.a*=1+e,this}negate(){let e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return Hu(this._rgb,2,e),this}darken(e){return Hu(this._rgb,2,-e),this}saturate(e){return Hu(this._rgb,1,e),this}desaturate(e){return Hu(this._rgb,1,-e),this}rotate(e){return ku(this._rgb,e),this}};function qu(){}var Ju=(()=>{let e=0;return()=>e++})();function F(e){return e==null}function I(e){if(Array.isArray&&Array.isArray(e))return!0;let t=Object.prototype.toString.call(e);return t.slice(0,7)===`[object`&&t.slice(-6)===`Array]`}function L(e){return e!==null&&Object.prototype.toString.call(e)===`[object Object]`}function R(e){return(typeof e==`number`||e instanceof Number)&&isFinite(+e)}function Yu(e,t){return R(e)?e:t}function z(e,t){return e===void 0?t:e}var Xu=(e,t)=>typeof e==`string`&&e.endsWith(`%`)?parseFloat(e)/100:+e/t,Zu=(e,t)=>typeof e==`string`&&e.endsWith(`%`)?parseFloat(e)/100*t:+e;function B(e,t,n){if(e&&typeof e.call==`function`)return e.apply(n,t)}function V(e,t,n,r){let i,a,o;if(I(e)){if(a=e.length,r)for(i=a-1;i>=0;i--)t.call(n,e[i],i);else for(i=0;i<a;i++)t.call(n,e[i],i)}else if(L(e))for(o=Object.keys(e),a=o.length,i=0;i<a;i++)t.call(n,e[o[i]],o[i])}function Qu(e,t){let n,r,i,a;if(!e||!t||e.length!==t.length)return!1;for(n=0,r=e.length;n<r;++n)if(i=e[n],a=t[n],i.datasetIndex!==a.datasetIndex||i.index!==a.index)return!1;return!0}function $u(e){if(I(e))return e.map($u);if(L(e)){let t=Object.create(null),n=Object.keys(e),r=n.length,i=0;for(;i<r;++i)t[n[i]]=$u(e[n[i]]);return t}return e}function ed(e){return[`__proto__`,`prototype`,`constructor`].indexOf(e)===-1}function td(e,t,n,r){if(!ed(e))return;let i=t[e],a=n[e];L(i)&&L(a)?nd(i,a,r):t[e]=$u(a)}function nd(e,t,n){let r=I(t)?t:[t],i=r.length;if(!L(e))return e;n||={};let a=n.merger||td,o;for(let t=0;t<i;++t){if(o=r[t],!L(o))continue;let i=Object.keys(o);for(let t=0,r=i.length;t<r;++t)a(i[t],e,o,n)}return e}function rd(e,t){return nd(e,t,{merger:id})}function id(e,t,n){if(!ed(e))return;let r=t[e],i=n[e];L(r)&&L(i)?rd(r,i):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=$u(i))}var ad={"":e=>e,x:e=>e.x,y:e=>e.y};function od(e){let t=e.split(`.`),n=[],r=``;for(let e of t)r+=e,r.endsWith(`\\`)?r=r.slice(0,-1)+`.`:(n.push(r),r=``);return n}function sd(e){let t=od(e);return e=>{for(let n of t){if(n===``)break;e&&=e[n]}return e}}function cd(e,t){return(ad[t]||(ad[t]=sd(t)))(e)}function ld(e){return e.charAt(0).toUpperCase()+e.slice(1)}var ud=e=>e!==void 0,dd=e=>typeof e==`function`,fd=(e,t)=>{if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0};function pd(e){return e.type===`mouseup`||e.type===`click`||e.type===`contextmenu`}var H=Math.PI,U=2*H,md=U+H,hd=1/0,gd=H/180,W=H/2,_d=H/4,vd=H*2/3,yd=Math.log10,bd=Math.sign;function xd(e,t,n){return Math.abs(e-t)<n}function Sd(e){let t=Math.round(e);e=xd(e,t,e/1e3)?t:e;let n=10**Math.floor(yd(e)),r=e/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function Cd(e){let t=[],n=Math.sqrt(e),r=1;for(;r<n;r++)e%r===0&&(t.push(r),t.push(e/r));return n===(n|0)&&t.push(n),t.sort((e,t)=>e-t).pop(),t}function wd(e){return typeof e==`symbol`||typeof e==`object`&&!!e&&!(Symbol.toPrimitive in e||`toString`in e||`valueOf`in e)}function Td(e){return!wd(e)&&!isNaN(parseFloat(e))&&isFinite(e)}function Ed(e,t){let n=Math.round(e);return n-t<=e&&n+t>=e}function Dd(e,t,n){let r,i,a;for(r=0,i=e.length;r<i;r++)a=e[r][n],isNaN(a)||(t.min=Math.min(t.min,a),t.max=Math.max(t.max,a))}function Od(e){return H/180*e}function kd(e){return 180/H*e}function Ad(e){if(!R(e))return;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n++;return n}function jd(e,t){let n=t.x-e.x,r=t.y-e.y,i=Math.sqrt(n*n+r*r),a=Math.atan2(r,n);return a<-.5*H&&(a+=U),{angle:a,distance:i}}function Md(e,t){return Math.sqrt((t.x-e.x)**2+(t.y-e.y)**2)}function Nd(e,t){return(e-t+md)%U-H}function Pd(e){return(e%U+U)%U}function Fd(e,t,n,r){let i=Pd(e),a=Pd(t),o=Pd(n),s=Pd(a-i),c=Pd(o-i),l=Pd(i-a),u=Pd(i-o);return i===a||i===o||r&&a===o||s>c&&l<u}function G(e,t,n){return Math.max(t,Math.min(n,e))}function Id(e){return G(e,-32768,32767)}function Ld(e,t,n,r=1e-6){return e>=Math.min(t,n)-r&&e<=Math.max(t,n)+r}function Rd(e,t,n){n||=(n=>e[n]<t);let r=e.length-1,i=0,a;for(;r-i>1;)a=i+r>>1,n(a)?i=a:r=a;return{lo:i,hi:r}}var zd=(e,t,n,r)=>Rd(e,n,r?r=>{let i=e[r][t];return i<n||i===n&&e[r+1][t]===n}:r=>e[r][t]<n),Bd=(e,t,n)=>Rd(e,n,r=>e[r][t]>=n);function Vd(e,t,n){let r=0,i=e.length;for(;r<i&&e[r]<t;)r++;for(;i>r&&e[i-1]>n;)i--;return r>0||i<e.length?e.slice(r,i):e}var Hd=[`push`,`pop`,`shift`,`splice`,`unshift`];function Ud(e,t){e._chartjs?e._chartjs.listeners.push(t):(Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),Hd.forEach(t=>{let n=`_onData`+ld(t),r=e[t];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value(...t){let i=r.apply(this,t);return e._chartjs.listeners.forEach(e=>{typeof e[n]==`function`&&e[n](...t)}),i}})}))}function Wd(e,t){let n=e._chartjs;if(!n)return;let r=n.listeners,i=r.indexOf(t);i!==-1&&r.splice(i,1),!(r.length>0)&&(Hd.forEach(t=>{delete e[t]}),delete e._chartjs)}function Gd(e){let t=new Set(e);return t.size===e.length?e:Array.from(t)}var Kd=function(){return typeof window>`u`?function(e){return e()}:window.requestAnimationFrame}();function qd(e,t){let n=[],r=!1;return function(...i){n=i,r||(r=!0,Kd.call(window,()=>{r=!1,e.apply(t,n)}))}}function Jd(e,t){let n;return function(...r){return t?(clearTimeout(n),n=setTimeout(e,t,r)):e.apply(this,r),t}}var Yd=e=>e===`start`?`left`:e===`end`?`right`:`center`,Xd=(e,t,n)=>e===`start`?t:e===`end`?n:(t+n)/2,Zd=(e,t,n,r)=>e===(r?`left`:`right`)?n:e===`center`?(t+n)/2:t;function Qd(e,t,n){let r=t.length,i=0,a=r;if(e._sorted){let{iScale:o,vScale:s,_parsed:c}=e,l=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null,u=o.axis,{min:d,max:f,minDefined:p,maxDefined:m}=o.getUserBounds();if(p){if(i=Math.min(zd(c,u,d).lo,n?r:zd(t,u,o.getPixelForValue(d)).lo),l){let e=c.slice(0,i+1).reverse().findIndex(e=>!F(e[s.axis]));i-=Math.max(0,e)}i=G(i,0,r-1)}if(m){let e=Math.max(zd(c,o.axis,f,!0).hi+1,n?0:zd(t,u,o.getPixelForValue(f),!0).hi+1);if(l){let t=c.slice(e-1).findIndex(e=>!F(e[s.axis]));e+=Math.max(0,t)}a=G(e,i,r)-i}else a=r-i}return{start:i,count:a}}function $d(e){let{xScale:t,yScale:n,_scaleRanges:r}=e,i={xmin:t.min,xmax:t.max,ymin:n.min,ymax:n.max};if(!r)return e._scaleRanges=i,!0;let a=r.xmin!==t.min||r.xmax!==t.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,i),a}var ef=e=>e===0||e===1,tf=(e,t,n)=>-(2**(10*--e)*Math.sin((e-t)*U/n)),nf=(e,t,n)=>2**(-10*e)*Math.sin((e-t)*U/n)+1,rf={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>--e*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-(--e*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>--e*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*W)+1,easeOutSine:e=>Math.sin(e*W),easeInOutSine:e=>-.5*(Math.cos(H*e)-1),easeInExpo:e=>e===0?0:2**(10*(e-1)),easeOutExpo:e=>e===1?1:-(2**(-10*e))+1,easeInOutExpo:e=>ef(e)?e:e<.5?.5*2**(10*(e*2-1)):.5*(-(2**(-10*(e*2-1)))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1- --e*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>ef(e)?e:tf(e,.075,.3),easeOutElastic:e=>ef(e)?e:nf(e,.075,.3),easeInOutElastic(e){let t=.1125,n=.45;return ef(e)?e:e<.5?.5*tf(e*2,t,n):.5+.5*nf(e*2-1,t,n)},easeInBack(e){return e*e*(2.70158*e-1.70158)},easeOutBack(e){return--e*e*(2.70158*e+1.70158)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-rf.easeOutBounce(1-e),easeOutBounce(e){let t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},easeInOutBounce:e=>e<.5?rf.easeInBounce(e*2)*.5:rf.easeOutBounce(e*2-1)*.5+.5};function af(e){if(e&&typeof e==`object`){let t=e.toString();return t===`[object CanvasPattern]`||t===`[object CanvasGradient]`}return!1}function of(e){return af(e)?e:new Ku(e)}function sf(e){return af(e)?e:new Ku(e).saturate(.5).darken(.1).hexString()}var cf=[`x`,`y`,`borderWidth`,`radius`,`tension`],lf=[`color`,`borderColor`,`backgroundColor`];function uf(e){e.set(`animation`,{delay:void 0,duration:1e3,easing:`easeOutQuart`,fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe(`animation`,{_fallback:!1,_indexable:!1,_scriptable:e=>e!==`onProgress`&&e!==`onComplete`&&e!==`fn`}),e.set(`animations`,{colors:{type:`color`,properties:lf},numbers:{type:`number`,properties:cf}}),e.describe(`animations`,{_fallback:`animation`}),e.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:e=>e|0}}}})}function df(e){e.set(`layout`,{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}var ff=new Map;function pf(e,t){t||={};let n=e+JSON.stringify(t),r=ff.get(n);return r||(r=new Intl.NumberFormat(e,t),ff.set(n,r)),r}function mf(e,t,n){return pf(t,n).format(e)}var hf={values(e){return I(e)?e:``+e},numeric(e,t,n){if(e===0)return`0`;let r=this.chart.options.locale,i,a=e;if(n.length>1){let t=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(t<1e-4||t>0x38d7ea4c68000)&&(i=`scientific`),a=gf(e,n)}let o=yd(Math.abs(a)),s=isNaN(o)?1:Math.max(Math.min(-1*Math.floor(o),20),0),c={notation:i,minimumFractionDigits:s,maximumFractionDigits:s};return Object.assign(c,this.options.ticks.format),mf(e,r,c)},logarithmic(e,t,n){if(e===0)return`0`;let r=n[t].significand||e/10**Math.floor(yd(e));return[1,2,3,5,10,15].includes(r)||t>.8*n.length?hf.numeric.call(this,e,t,n):``}};function gf(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e)),n}var _f={formatters:hf};function vf(e){e.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:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.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:_f.formatters.values,minor:{},major:{},align:`center`,crossAlign:`near`,showLabelBackdrop:!1,backdropColor:`rgba(255, 255, 255, 0.75)`,backdropPadding:2}}),e.route(`scale.ticks`,`color`,``,`color`),e.route(`scale.grid`,`color`,``,`borderColor`),e.route(`scale.border`,`color`,``,`borderColor`),e.route(`scale.title`,`color`,``,`color`),e.describe(`scale`,{_fallback:!1,_scriptable:e=>!e.startsWith(`before`)&&!e.startsWith(`after`)&&e!==`callback`&&e!==`parser`,_indexable:e=>e!==`borderDash`&&e!==`tickBorderDash`&&e!==`dash`}),e.describe(`scales`,{_fallback:`scale`}),e.describe(`scale.ticks`,{_scriptable:e=>e!==`backdropPadding`&&e!==`callback`,_indexable:e=>e!==`backdropPadding`})}var yf=Object.create(null),bf=Object.create(null);function xf(e,t){if(!t)return e;let n=t.split(`.`);for(let t=0,r=n.length;t<r;++t){let r=n[t];e=e[r]||(e[r]=Object.create(null))}return e}function Sf(e,t,n){return typeof t==`string`?nd(xf(e,t),n):nd(xf(e,``),t)}var K=new class{constructor(e,t){this.animation=void 0,this.backgroundColor=`rgba(0,0,0,0.1)`,this.borderColor=`rgba(0,0,0,0.1)`,this.color=`#666`,this.datasets={},this.devicePixelRatio=e=>e.chart.platform.getDevicePixelRatio(),this.elements={},this.events=[`mousemove`,`mouseout`,`click`,`touchstart`,`touchmove`],this.font={family:`'Helvetica Neue', 'Helvetica', 'Arial', sans-serif`,size:12,style:`normal`,lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(e,t)=>sf(t.backgroundColor),this.hoverBorderColor=(e,t)=>sf(t.borderColor),this.hoverColor=(e,t)=>sf(t.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(e),this.apply(t)}set(e,t){return Sf(this,e,t)}get(e){return xf(this,e)}describe(e,t){return Sf(bf,e,t)}override(e,t){return Sf(yf,e,t)}route(e,t,n,r){let i=xf(this,e),a=xf(this,n),o=`_`+t;Object.defineProperties(i,{[o]:{value:i[t],writable:!0},[t]:{enumerable:!0,get(){let e=this[o],t=a[r];return L(e)?Object.assign({},t,e):z(e,t)},set(e){this[o]=e}}})}apply(e){e.forEach(e=>e(this))}}({_scriptable:e=>!e.startsWith(`on`),_indexable:e=>e!==`events`,hover:{_fallback:`interaction`},interaction:{_scriptable:!1,_indexable:!1}},[uf,df,vf]);function Cf(e){return!e||F(e.size)||F(e.family)?null:(e.style?e.style+` `:``)+(e.weight?e.weight+` `:``)+e.size+`px `+e.family}function wf(e,t,n,r,i){let a=t[i];return a||(a=t[i]=e.measureText(i).width,n.push(i)),a>r&&(r=a),r}function Tf(e,t,n,r){r||={};let i=r.data=r.data||{},a=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(i=r.data={},a=r.garbageCollect=[],r.font=t),e.save(),e.font=t;let o=0,s=n.length,c,l,u,d,f;for(c=0;c<s;c++)if(d=n[c],d!=null&&!I(d))o=wf(e,i,a,o,d);else if(I(d))for(l=0,u=d.length;l<u;l++)f=d[l],f!=null&&!I(f)&&(o=wf(e,i,a,o,f));e.restore();let p=a.length/2;if(p>n.length){for(c=0;c<p;c++)delete i[a[c]];a.splice(0,p)}return o}function Ef(e,t,n){let r=e.currentDevicePixelRatio,i=n===0?0:Math.max(n/2,.5);return Math.round((t-i)*r)/r+i}function Df(e,t){(t||e)&&(t||=e.getContext(`2d`),t.save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore())}function Of(e,t,n,r){kf(e,t,n,r,null)}function kf(e,t,n,r,i){let a,o,s,c,l,u,d,f,p=t.pointStyle,m=t.rotation,h=t.radius,g=(m||0)*gd;if(p&&typeof p==`object`&&(a=p.toString(),a===`[object HTMLImageElement]`||a===`[object HTMLCanvasElement]`))e.save(),e.translate(n,r),e.rotate(g),e.drawImage(p,-p.width/2,-p.height/2,p.width,p.height),e.restore();else if(!(isNaN(h)||h<=0)){switch(e.beginPath(),p){default:i?e.ellipse(n,r,i/2,h,0,0,U):e.arc(n,r,h,0,U),e.closePath();break;case`triangle`:u=i?i/2:h,e.moveTo(n+Math.sin(g)*u,r-Math.cos(g)*h),g+=vd,e.lineTo(n+Math.sin(g)*u,r-Math.cos(g)*h),g+=vd,e.lineTo(n+Math.sin(g)*u,r-Math.cos(g)*h),e.closePath();break;case`rectRounded`:l=h*.516,c=h-l,o=Math.cos(g+_d)*c,d=Math.cos(g+_d)*(i?i/2-l:c),s=Math.sin(g+_d)*c,f=Math.sin(g+_d)*(i?i/2-l:c),e.arc(n-d,r-s,l,g-H,g-W),e.arc(n+f,r-o,l,g-W,g),e.arc(n+d,r+s,l,g,g+W),e.arc(n-f,r+o,l,g+W,g+H),e.closePath();break;case`rect`:if(!m){c=Math.SQRT1_2*h,u=i?i/2:c,e.rect(n-u,r-c,2*u,2*c);break}g+=_d;case`rectRot`:d=Math.cos(g)*(i?i/2:h),o=Math.cos(g)*h,s=Math.sin(g)*h,f=Math.sin(g)*(i?i/2:h),e.moveTo(n-d,r-s),e.lineTo(n+f,r-o),e.lineTo(n+d,r+s),e.lineTo(n-f,r+o),e.closePath();break;case`crossRot`:g+=_d;case`cross`:d=Math.cos(g)*(i?i/2:h),o=Math.cos(g)*h,s=Math.sin(g)*h,f=Math.sin(g)*(i?i/2:h),e.moveTo(n-d,r-s),e.lineTo(n+d,r+s),e.moveTo(n+f,r-o),e.lineTo(n-f,r+o);break;case`star`:d=Math.cos(g)*(i?i/2:h),o=Math.cos(g)*h,s=Math.sin(g)*h,f=Math.sin(g)*(i?i/2:h),e.moveTo(n-d,r-s),e.lineTo(n+d,r+s),e.moveTo(n+f,r-o),e.lineTo(n-f,r+o),g+=_d,d=Math.cos(g)*(i?i/2:h),o=Math.cos(g)*h,s=Math.sin(g)*h,f=Math.sin(g)*(i?i/2:h),e.moveTo(n-d,r-s),e.lineTo(n+d,r+s),e.moveTo(n+f,r-o),e.lineTo(n-f,r+o);break;case`line`:o=i?i/2:Math.cos(g)*h,s=Math.sin(g)*h,e.moveTo(n-o,r-s),e.lineTo(n+o,r+s);break;case`dash`:e.moveTo(n,r),e.lineTo(n+Math.cos(g)*(i?i/2:h),r+Math.sin(g)*h);break;case!1:e.closePath()}e.fill(),t.borderWidth>0&&e.stroke()}}function Af(e,t,n){return n||=.5,!t||e&&e.x>t.left-n&&e.x<t.right+n&&e.y>t.top-n&&e.y<t.bottom+n}function jf(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function Mf(e){e.restore()}function Nf(e,t,n,r,i){if(!t)return e.lineTo(n.x,n.y);if(i===`middle`){let r=(t.x+n.x)/2;e.lineTo(r,t.y),e.lineTo(r,n.y)}else i===`after`==!!r?e.lineTo(n.x,t.y):e.lineTo(t.x,n.y);e.lineTo(n.x,n.y)}function Pf(e,t,n,r){if(!t)return e.lineTo(n.x,n.y);e.bezierCurveTo(r?t.cp1x:t.cp2x,r?t.cp1y:t.cp2y,r?n.cp2x:n.cp1x,r?n.cp2y:n.cp1y,n.x,n.y)}function Ff(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]),F(t.rotation)||e.rotate(t.rotation),t.color&&(e.fillStyle=t.color),t.textAlign&&(e.textAlign=t.textAlign),t.textBaseline&&(e.textBaseline=t.textBaseline)}function If(e,t,n,r,i){if(i.strikethrough||i.underline){let a=e.measureText(r),o=t-a.actualBoundingBoxLeft,s=t+a.actualBoundingBoxRight,c=n-a.actualBoundingBoxAscent,l=n+a.actualBoundingBoxDescent,u=i.strikethrough?(c+l)/2:l;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=i.decorationWidth||2,e.moveTo(o,u),e.lineTo(s,u),e.stroke()}}function Lf(e,t){let n=e.fillStyle;e.fillStyle=t.color,e.fillRect(t.left,t.top,t.width,t.height),e.fillStyle=n}function Rf(e,t,n,r,i,a={}){let o=I(t)?t:[t],s=a.strokeWidth>0&&a.strokeColor!==``,c,l;for(e.save(),e.font=i.string,Ff(e,a),c=0;c<o.length;++c)l=o[c],a.backdrop&&Lf(e,a.backdrop),s&&(a.strokeColor&&(e.strokeStyle=a.strokeColor),F(a.strokeWidth)||(e.lineWidth=a.strokeWidth),e.strokeText(l,n,r,a.maxWidth)),e.fillText(l,n,r,a.maxWidth),If(e,n,r,l,a),r+=Number(i.lineHeight);e.restore()}function zf(e,t){let{x:n,y:r,w:i,h:a,radius:o}=t;e.arc(n+o.topLeft,r+o.topLeft,o.topLeft,1.5*H,H,!0),e.lineTo(n,r+a-o.bottomLeft),e.arc(n+o.bottomLeft,r+a-o.bottomLeft,o.bottomLeft,H,W,!0),e.lineTo(n+i-o.bottomRight,r+a),e.arc(n+i-o.bottomRight,r+a-o.bottomRight,o.bottomRight,W,0,!0),e.lineTo(n+i,r+o.topRight),e.arc(n+i-o.topRight,r+o.topRight,o.topRight,0,-W,!0),e.lineTo(n+o.topLeft,r)}var Bf=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,Vf=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function Hf(e,t){let n=(``+e).match(Bf);if(!n||n[1]===`normal`)return t*1.2;switch(e=+n[2],n[3]){case`px`:return e;case`%`:e/=100}return t*e}var Uf=e=>+e||0;function Wf(e,t){let n={},r=L(t),i=r?Object.keys(t):t,a=L(e)?r?n=>z(e[n],e[t[n]]):t=>e[t]:()=>e;for(let e of i)n[e]=Uf(a(e));return n}function Gf(e){return Wf(e,{top:`y`,right:`x`,bottom:`y`,left:`x`})}function Kf(e){return Wf(e,[`topLeft`,`topRight`,`bottomLeft`,`bottomRight`])}function qf(e){let t=Gf(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function q(e,t){e||={},t||=K.font;let n=z(e.size,t.size);typeof n==`string`&&(n=parseInt(n,10));let r=z(e.style,t.style);r&&!(``+r).match(Vf)&&(console.warn(`Invalid font style specified: "`+r+`"`),r=void 0);let i={family:z(e.family,t.family),lineHeight:Hf(z(e.lineHeight,t.lineHeight),n),size:n,style:r,weight:z(e.weight,t.weight),string:``};return i.string=Cf(i),i}function Jf(e,t,n,r){let i=!0,a,o,s;for(a=0,o=e.length;a<o;++a)if(s=e[a],s!==void 0&&(t!==void 0&&typeof s==`function`&&(s=s(t),i=!1),n!==void 0&&I(s)&&(s=s[n%s.length],i=!1),s!==void 0))return r&&!i&&(r.cacheable=!1),s}function Yf(e,t,n){let{min:r,max:i}=e,a=Zu(t,(i-r)/2),o=(e,t)=>n&&e===0?0:e+t;return{min:o(r,-Math.abs(a)),max:o(i,a)}}function Xf(e,t){return Object.assign(Object.create(e),t)}function Zf(e,t=[``],n,r,i=()=>e[0]){let a=n||e;return r===void 0&&(r=pp(`_fallback`,e)),new Proxy({[Symbol.toStringTag]:`Object`,_cacheable:!0,_scopes:e,_rootScopes:a,_fallback:r,_getTarget:i,override:n=>Zf([n,...e],t,a,r)},{deleteProperty(t,n){return delete t[n],delete t._keys,delete e[0][n],!0},get(n,r){return np(n,r,()=>fp(r,t,e,n))},getOwnPropertyDescriptor(e,t){return Reflect.getOwnPropertyDescriptor(e._scopes[0],t)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(e,t){return mp(e).includes(t)},ownKeys(e){return mp(e)},set(e,t,n){let r=e._storage||=i();return e[t]=r[t]=n,delete e._keys,!0}})}function Qf(e,t,n,r){let i={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:$f(e,r),setContext:t=>Qf(e,t,n,r),override:i=>Qf(e.override(i),t,n,r)};return new Proxy(i,{deleteProperty(t,n){return delete t[n],delete e[n],!0},get(e,t,n){return np(e,t,()=>rp(e,t,n))},getOwnPropertyDescriptor(t,n){return t._descriptors.allKeys?Reflect.has(e,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,n)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(t,n){return Reflect.has(e,n)},ownKeys(){return Reflect.ownKeys(e)},set(t,n,r){return e[n]=r,delete t[n],!0}})}function $f(e,t={scriptable:!0,indexable:!0}){let{_scriptable:n=t.scriptable,_indexable:r=t.indexable,_allKeys:i=t.allKeys}=e;return{allKeys:i,scriptable:n,indexable:r,isScriptable:dd(n)?n:()=>n,isIndexable:dd(r)?r:()=>r}}var ep=(e,t)=>e?e+ld(t):t,tp=(e,t)=>L(t)&&e!==`adapters`&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function np(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t)||t===`constructor`)return e[t];let r=n();return e[t]=r,r}function rp(e,t,n){let{_proxy:r,_context:i,_subProxy:a,_descriptors:o}=e,s=r[t];return dd(s)&&o.isScriptable(t)&&(s=ip(t,s,e,n)),I(s)&&s.length&&(s=ap(t,s,e,o.isIndexable)),tp(t,s)&&(s=Qf(s,i,a&&a[t],o)),s}function ip(e,t,n,r){let{_proxy:i,_context:a,_subProxy:o,_stack:s}=n;if(s.has(e))throw Error(`Recursion detected: `+Array.from(s).join(`->`)+`->`+e);s.add(e);let c=t(a,o||r);return s.delete(e),tp(e,c)&&(c=lp(i._scopes,i,e,c)),c}function ap(e,t,n,r){let{_proxy:i,_context:a,_subProxy:o,_descriptors:s}=n;if(a.index!==void 0&&r(e))return t[a.index%t.length];if(L(t[0])){let n=t,r=i._scopes.filter(e=>e!==n);t=[];for(let c of n){let n=lp(r,i,e,c);t.push(Qf(n,a,o&&o[e],s))}}return t}function op(e,t,n){return dd(e)?e(t,n):e}var sp=(e,t)=>e===!0?t:typeof e==`string`?cd(t,e):void 0;function cp(e,t,n,r,i){for(let a of t){let t=sp(n,a);if(t){e.add(t);let a=op(t._fallback,n,i);if(a!==void 0&&a!==n&&a!==r)return a}else if(t===!1&&r!==void 0&&n!==r)return null}return!1}function lp(e,t,n,r){let i=t._rootScopes,a=op(t._fallback,n,r),o=[...e,...i],s=new Set;s.add(r);let c=up(s,o,n,a||n,r);return c===null||a!==void 0&&a!==n&&(c=up(s,o,a,c,r),c===null)?!1:Zf(Array.from(s),[``],i,a,()=>dp(t,n,r))}function up(e,t,n,r,i){for(;n;)n=cp(e,t,n,r,i);return n}function dp(e,t,n){let r=e._getTarget();t in r||(r[t]={});let i=r[t];return I(i)&&L(n)?n:i||{}}function fp(e,t,n,r){let i;for(let a of t)if(i=pp(ep(a,e),n),i!==void 0)return tp(e,i)?lp(n,r,e,i):i}function pp(e,t){for(let n of t){if(!n)continue;let t=n[e];if(t!==void 0)return t}}function mp(e){let t=e._keys;return t||=e._keys=hp(e._scopes),t}function hp(e){let t=new Set;for(let n of e)for(let e of Object.keys(n).filter(e=>!e.startsWith(`_`)))t.add(e);return Array.from(t)}function gp(e,t,n,r){let{iScale:i}=e,{key:a=`r`}=this._parsing,o=Array(r),s,c,l,u;for(s=0,c=r;s<c;++s)l=s+n,u=t[l],o[s]={r:i.parse(cd(u,a),l)};return o}var _p=2**-52||1e-14,vp=(e,t)=>t<e.length&&!e[t].skip&&e[t],yp=e=>e===`x`?`y`:`x`;function bp(e,t,n,r){let i=e.skip?t:e,a=t,o=n.skip?t:n,s=Md(a,i),c=Md(o,a),l=s/(s+c),u=c/(s+c);l=isNaN(l)?0:l,u=isNaN(u)?0:u;let d=r*l,f=r*u;return{previous:{x:a.x-d*(o.x-i.x),y:a.y-d*(o.y-i.y)},next:{x:a.x+f*(o.x-i.x),y:a.y+f*(o.y-i.y)}}}function xp(e,t,n){let r=e.length,i,a,o,s,c,l=vp(e,0);for(let u=0;u<r-1;++u)c=l,l=vp(e,u+1),c&&l&&(xd(t[u],0,_p)?n[u]=n[u+1]=0:(i=n[u]/t[u],a=n[u+1]/t[u],s=i**2+a**2,!(s<=9)&&(o=3/Math.sqrt(s),n[u]=i*o*t[u],n[u+1]=a*o*t[u])))}function Sp(e,t,n=`x`){let r=yp(n),i=e.length,a,o,s,c=vp(e,0);for(let l=0;l<i;++l){if(o=s,s=c,c=vp(e,l+1),!s)continue;let i=s[n],u=s[r];o&&(a=(i-o[n])/3,s[`cp1${n}`]=i-a,s[`cp1${r}`]=u-a*t[l]),c&&(a=(c[n]-i)/3,s[`cp2${n}`]=i+a,s[`cp2${r}`]=u+a*t[l])}}function Cp(e,t=`x`){let n=yp(t),r=e.length,i=Array(r).fill(0),a=Array(r),o,s,c,l=vp(e,0);for(o=0;o<r;++o)if(s=c,c=l,l=vp(e,o+1),c){if(l){let e=l[t]-c[t];i[o]=e===0?0:(l[n]-c[n])/e}a[o]=s?l?bd(i[o-1])===bd(i[o])?(i[o-1]+i[o])/2:0:i[o-1]:i[o]}xp(e,i,a),Sp(e,a,t)}function wp(e,t,n){return Math.max(Math.min(e,n),t)}function Tp(e,t){let n,r,i,a,o,s=Af(e[0],t);for(n=0,r=e.length;n<r;++n)o=a,a=s,s=n<r-1&&Af(e[n+1],t),a&&(i=e[n],o&&(i.cp1x=wp(i.cp1x,t.left,t.right),i.cp1y=wp(i.cp1y,t.top,t.bottom)),s&&(i.cp2x=wp(i.cp2x,t.left,t.right),i.cp2y=wp(i.cp2y,t.top,t.bottom)))}function Ep(e,t,n,r,i){let a,o,s,c;if(t.spanGaps&&(e=e.filter(e=>!e.skip)),t.cubicInterpolationMode===`monotone`)Cp(e,i);else{let n=r?e[e.length-1]:e[0];for(a=0,o=e.length;a<o;++a)s=e[a],c=bp(n,s,e[Math.min(a+1,o-+!r)%o],t.tension),s.cp1x=c.previous.x,s.cp1y=c.previous.y,s.cp2x=c.next.x,s.cp2y=c.next.y,n=s}t.capBezierPoints&&Tp(e,n)}function Dp(){return typeof window<`u`&&typeof document<`u`}function Op(e){let t=e.parentNode;return t&&t.toString()===`[object ShadowRoot]`&&(t=t.host),t}function kp(e,t,n){let r;return typeof e==`string`?(r=parseInt(e,10),e.indexOf(`%`)!==-1&&(r=r/100*t.parentNode[n])):r=e,r}var Ap=e=>e.ownerDocument.defaultView.getComputedStyle(e,null);function jp(e,t){return Ap(e).getPropertyValue(t)}var Mp=[`top`,`right`,`bottom`,`left`];function Np(e,t,n){let r={};n=n?`-`+n:``;for(let i=0;i<4;i++){let a=Mp[i];r[a]=parseFloat(e[t+`-`+a+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}var Pp=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function Fp(e,t){let n=e.touches,r=n&&n.length?n[0]:e,{offsetX:i,offsetY:a}=r,o=!1,s,c;if(Pp(i,a,e.target))s=i,c=a;else{let e=t.getBoundingClientRect();s=r.clientX-e.left,c=r.clientY-e.top,o=!0}return{x:s,y:c,box:o}}function Ip(e,t){if(`native`in e)return e;let{canvas:n,currentDevicePixelRatio:r}=t,i=Ap(n),a=i.boxSizing===`border-box`,o=Np(i,`padding`),s=Np(i,`border`,`width`),{x:c,y:l,box:u}=Fp(e,n),d=o.left+(u&&s.left),f=o.top+(u&&s.top),{width:p,height:m}=t;return a&&(p-=o.width+s.width,m-=o.height+s.height),{x:Math.round((c-d)/p*n.width/r),y:Math.round((l-f)/m*n.height/r)}}function Lp(e,t,n){let r,i;if(t===void 0||n===void 0){let a=e&&Op(e);if(!a)t=e.clientWidth,n=e.clientHeight;else{let e=a.getBoundingClientRect(),o=Ap(a),s=Np(o,`border`,`width`),c=Np(o,`padding`);t=e.width-c.width-s.width,n=e.height-c.height-s.height,r=kp(o.maxWidth,a,`clientWidth`),i=kp(o.maxHeight,a,`clientHeight`)}}return{width:t,height:n,maxWidth:r||hd,maxHeight:i||hd}}var Rp=e=>Math.round(e*10)/10;function zp(e,t,n,r){let i=Ap(e),a=Np(i,`margin`),o=kp(i.maxWidth,e,`clientWidth`)||hd,s=kp(i.maxHeight,e,`clientHeight`)||hd,c=Lp(e,t,n),{width:l,height:u}=c;if(i.boxSizing===`content-box`){let e=Np(i,`border`,`width`),t=Np(i,`padding`);l-=t.width+e.width,u-=t.height+e.height}return l=Math.max(0,l-a.width),u=Math.max(0,r?l/r:u-a.height),l=Rp(Math.min(l,o,c.maxWidth)),u=Rp(Math.min(u,s,c.maxHeight)),l&&!u&&(u=Rp(l/2)),(t!==void 0||n!==void 0)&&r&&c.height&&u>c.height&&(u=c.height,l=Rp(Math.floor(u*r))),{width:l,height:u}}function Bp(e,t,n){let r=t||1,i=Rp(e.height*r),a=Rp(e.width*r);e.height=Rp(e.height),e.width=Rp(e.width);let o=e.canvas;o.style&&(n||!o.style.height&&!o.style.width)&&(o.style.height=`${e.height}px`,o.style.width=`${e.width}px`);let s=Math.floor(i),c=Math.floor(a);return e.currentDevicePixelRatio!==r||o.height!==s||o.width!==c?(e.currentDevicePixelRatio=r,o.height=s,o.width=c,e.ctx.setTransform(r,0,0,r,0,0),!0):!1}var Vp=function(){let e=!1;try{let t={get passive(){return e=!0,!1}};Dp()&&(window.addEventListener(`test`,null,t),window.removeEventListener(`test`,null,t))}catch{}return e}();function Hp(e,t){let n=jp(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function Up(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function Wp(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:r===`middle`?n<.5?e.y:t.y:r===`after`?n<1?e.y:t.y:n>0?t.y:e.y}}function Gp(e,t,n,r){let i={x:e.cp2x,y:e.cp2y},a={x:t.cp1x,y:t.cp1y},o=Up(e,i,n),s=Up(i,a,n),c=Up(a,t,n);return Up(Up(o,s,n),Up(s,c,n),n)}var Kp=function(e,t){return{x(n){return e+e+t-n},setWidth(e){t=e},textAlign(e){return e===`center`?e:e===`right`?`left`:`right`},xPlus(e,t){return e-t},leftForLtr(e,t){return e-t}}},qp=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function Jp(e,t,n){return e?Kp(t,n):qp()}function Yp(e,t){let n,r;(t===`ltr`||t===`rtl`)&&(n=e.canvas.style,r=[n.getPropertyValue(`direction`),n.getPropertyPriority(`direction`)],n.setProperty(`direction`,t,`important`),e.prevTextDirection=r)}function Xp(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty(`direction`,t[0],t[1]))}function Zp(e){return e===`angle`?{between:Fd,compare:Nd,normalize:Pd}:{between:Ld,compare:(e,t)=>e-t,normalize:e=>e}}function Qp({start:e,end:t,count:n,loop:r,style:i}){return{start:e%n,end:t%n,loop:r&&(t-e+1)%n===0,style:i}}function $p(e,t,n){let{property:r,start:i,end:a}=n,{between:o,normalize:s}=Zp(r),c=t.length,{start:l,end:u,loop:d}=e,f,p;if(d){for(l+=c,u+=c,f=0,p=c;f<p&&o(s(t[l%c][r]),i,a);++f)l--,u--;l%=c,u%=c}return u<l&&(u+=c),{start:l,end:u,loop:d,style:e.style}}function em(e,t,n){if(!n)return[e];let{property:r,start:i,end:a}=n,o=t.length,{compare:s,between:c,normalize:l}=Zp(r),{start:u,end:d,loop:f,style:p}=$p(e,t,n),m=[],h=!1,g=null,_,v,y,b=()=>c(i,y,_)&&s(i,y)!==0,x=()=>s(a,_)===0||c(a,y,_),S=()=>h||b(),C=()=>!h||x();for(let e=u,n=u;e<=d;++e)v=t[e%o],!v.skip&&(_=l(v[r]),_!==y&&(h=c(_,i,a),g===null&&S()&&(g=s(_,i)===0?e:n),g!==null&&C()&&(m.push(Qp({start:g,end:e,loop:f,count:o,style:p})),g=null),n=e,y=_));return g!==null&&m.push(Qp({start:g,end:d,loop:f,count:o,style:p})),m}function tm(e,t){let n=[],r=e.segments;for(let i=0;i<r.length;i++){let a=em(r[i],e.points,t);a.length&&n.push(...a)}return n}function nm(e,t,n,r){let i=0,a=t-1;if(n&&!r)for(;i<t&&!e[i].skip;)i++;for(;i<t&&e[i].skip;)i++;for(i%=t,n&&(a+=i);a>i&&e[a%t].skip;)a--;return a%=t,{start:i,end:a}}function rm(e,t,n,r){let i=e.length,a=[],o=t,s=e[t],c;for(c=t+1;c<=n;++c){let n=e[c%i];n.skip||n.stop?s.skip||(r=!1,a.push({start:t%i,end:(c-1)%i,loop:r}),t=o=n.stop?c:null):(o=c,s.skip&&(t=c)),s=n}return o!==null&&a.push({start:t%i,end:o%i,loop:r}),a}function im(e,t){let n=e.points,r=e.options.spanGaps,i=n.length;if(!i)return[];let a=!!e._loop,{start:o,end:s}=nm(n,i,a,r);return r===!0?am(e,[{start:o,end:s,loop:a}],n,t):am(e,rm(n,o,s<o?s+i:s,!!e._fullLoop&&o===0&&s===i-1),n,t)}function am(e,t,n,r){return!r||!r.setContext||!n?t:om(e,t,n,r)}function om(e,t,n,r){let i=e._chart.getContext(),a=sm(e.options),{_datasetIndex:o,options:{spanGaps:s}}=e,c=n.length,l=[],u=a,d=t[0].start,f=d;function p(e,t,r,i){let a=s?-1:1;if(e!==t){for(e+=c;n[e%c].skip;)e-=a;for(;n[t%c].skip;)t+=a;e%c!==t%c&&(l.push({start:e%c,end:t%c,loop:r,style:i}),u=i,d=t%c)}}for(let e of t){d=s?d:e.start;let t=n[d%c],a;for(f=d+1;f<=e.end;f++){let s=n[f%c];a=sm(r.setContext(Xf(i,{type:`segment`,p0:t,p1:s,p0DataIndex:(f-1)%c,p1DataIndex:f%c,datasetIndex:o}))),cm(a,u)&&p(d,f-1,e.loop,u),t=s,u=a}d<f-1&&p(d,f-1,e.loop,u)}return l}function sm(e){return{backgroundColor:e.backgroundColor,borderCapStyle:e.borderCapStyle,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderJoinStyle:e.borderJoinStyle,borderWidth:e.borderWidth,borderColor:e.borderColor}}function cm(e,t){if(!t)return!1;let n=[],r=function(e,t){return af(t)?(n.includes(t)||n.push(t),n.indexOf(t)):t};return JSON.stringify(e,r)!==JSON.stringify(t,r)}function lm(e,t,n){return e.options.clip?e[n]:t[n]}function um(e,t){let{xScale:n,yScale:r}=e;return n&&r?{left:lm(n,t,`left`),right:lm(n,t,`right`),top:lm(r,t,`top`),bottom:lm(r,t,`bottom`)}:t}function dm(e,t){let n=t._clip;if(n.disabled)return!1;let r=um(t,e.chartArea);return{left:n.left===!1?0:r.left-(n.left===!0?0:n.left),right:n.right===!1?e.width:r.right+(n.right===!0?0:n.right),top:n.top===!1?0:r.top-(n.top===!0?0:n.top),bottom:n.bottom===!1?e.height:r.bottom+(n.bottom===!0?0:n.bottom)}}var fm=new class{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,t,n,r){let i=t.listeners[r],a=t.duration;i.forEach(r=>r({chart:e,initial:t.initial,numSteps:a,currentStep:Math.min(n-t.start,a)}))}_refresh(){this._request||=(this._running=!0,Kd.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let t=0;this._charts.forEach((n,r)=>{if(!n.running||!n.items.length)return;let i=n.items,a=i.length-1,o=!1,s;for(;a>=0;--a)s=i[a],s._active?(s._total>n.duration&&(n.duration=s._total),s.tick(e),o=!0):(i[a]=i[i.length-1],i.pop());o&&(r.draw(),this._notify(r,n,e,`progress`)),i.length||(n.running=!1,this._notify(r,n,e,`complete`),n.initial=!1),t+=i.length}),this._lastDate=e,t===0&&(this._running=!1)}_getAnims(e){let t=this._charts,n=t.get(e);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,n)),n}listen(e,t,n){this._getAnims(e).listeners[t].push(n)}add(e,t){t&&t.length&&this._getAnims(e).items.push(...t)}has(e){return this._getAnims(e).items.length>0}start(e){let t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce((e,t)=>Math.max(e,t._duration),0),this._refresh())}running(e){if(!this._running)return!1;let t=this._charts.get(e);return!(!t||!t.running||!t.items.length)}stop(e){let t=this._charts.get(e);if(!t||!t.items.length)return;let n=t.items,r=n.length-1;for(;r>=0;--r)n[r].cancel();t.items=[],this._notify(e,t,Date.now(),`complete`)}remove(e){return this._charts.delete(e)}},pm=`transparent`,mm={boolean(e,t,n){return n>.5?t:e},color(e,t,n){let r=of(e||pm),i=r.valid&&of(t||pm);return i&&i.valid?i.mix(r,n).hexString():t},number(e,t,n){return e+(t-e)*n}},hm=class{constructor(e,t,n,r){let i=t[n];r=Jf([e.to,r,i,e.from]);let a=Jf([e.from,i,r]);this._active=!0,this._fn=e.fn||mm[e.type||typeof a],this._easing=rf[e.easing]||rf.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=t,this._prop=n,this._from=a,this._to=r,this._promises=void 0}active(){return this._active}update(e,t,n){if(this._active){this._notify(!1);let r=this._target[this._prop],i=n-this._start,a=this._duration-i;this._start=n,this._duration=Math.floor(Math.max(a,e.duration)),this._total+=i,this._loop=!!e.loop,this._to=Jf([e.to,t,r,e.from]),this._from=Jf([e.from,r,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){let t=e-this._start,n=this._duration,r=this._prop,i=this._from,a=this._loop,o=this._to,s;this._active=i!==o&&(a||t<n),this._active?t<0?this._target[r]=i:(s=t/n%2,s=a&&s>1?2-s:s,s=this._easing(Math.min(1,Math.max(0,s))),this._target[r]=this._fn(i,o,s)):(this._target[r]=o,this._notify(!0))}wait(){let e=this._promises||=[];return new Promise((t,n)=>{e.push({res:t,rej:n})})}_notify(e){let t=e?`res`:`rej`,n=this._promises||[];for(let e=0;e<n.length;e++)n[e][t]()}},gm=class{constructor(e,t){this._chart=e,this._properties=new Map,this.configure(t)}configure(e){if(!L(e))return;let t=Object.keys(K.animation),n=this._properties;Object.getOwnPropertyNames(e).forEach(r=>{let i=e[r];if(!L(i))return;let a={};for(let e of t)a[e]=i[e];(I(i.properties)&&i.properties||[r]).forEach(e=>{e!==r&&n.has(e)||n.set(e,a)})})}_animateOptions(e,t){let n=t.options,r=vm(e,n);if(!r)return[];let i=this._createAnimations(r,n);return n.$shared&&_m(e.options.$animations,n).then(()=>{e.options=n},()=>{}),i}_createAnimations(e,t){let n=this._properties,r=[],i=e.$animations||={},a=Object.keys(t),o=Date.now(),s;for(s=a.length-1;s>=0;--s){let c=a[s];if(c.charAt(0)===`$`)continue;if(c===`options`){r.push(...this._animateOptions(e,t));continue}let l=t[c],u=i[c],d=n.get(c);if(u){if(d&&u.active()){u.update(d,l,o);continue}u.cancel()}!d||!d.duration?e[c]=l:(i[c]=u=new hm(d,e,c,l),r.push(u))}return r}update(e,t){if(this._properties.size===0){Object.assign(e,t);return}let n=this._createAnimations(e,t);if(n.length)return fm.add(this._chart,n),!0}};function _m(e,t){let n=[],r=Object.keys(t);for(let t=0;t<r.length;t++){let i=e[r[t]];i&&i.active()&&n.push(i.wait())}return Promise.all(n)}function vm(e,t){if(!t)return;let n=e.options;if(!n)e.options=t;else return n.$shared&&(e.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n}function ym(e,t){let n=e&&e.options||{},r=n.reverse,i=n.min===void 0?t:0,a=n.max===void 0?t:0;return{start:r?a:i,end:r?i:a}}function bm(e,t,n){if(n===!1)return!1;let r=ym(e,n),i=ym(t,n);return{top:i.end,right:r.end,bottom:i.start,left:r.start}}function xm(e){let t,n,r,i;return L(e)?(t=e.top,n=e.right,r=e.bottom,i=e.left):t=n=r=i=e,{top:t,right:n,bottom:r,left:i,disabled:e===!1}}function Sm(e,t){let n=[],r=e._getSortedDatasetMetas(t),i,a;for(i=0,a=r.length;i<a;++i)n.push(r[i].index);return n}function Cm(e,t,n,r={}){let i=e.keys,a=r.mode===`single`,o,s,c,l;if(t===null)return;let u=!1;for(o=0,s=i.length;o<s;++o){if(c=+i[o],c===n){if(u=!0,r.all)continue;break}l=e.values[c],R(l)&&(a||t===0||bd(t)===bd(l))&&(t+=l)}return!u&&!r.all?0:t}function wm(e,t){let{iScale:n,vScale:r}=t,i=n.axis===`x`?`x`:`y`,a=r.axis===`x`?`x`:`y`,o=Object.keys(e),s=Array(o.length),c,l,u;for(c=0,l=o.length;c<l;++c)u=o[c],s[c]={[i]:u,[a]:e[u]};return s}function Tm(e,t){let n=e&&e.options.stacked;return n||n===void 0&&t.stack!==void 0}function Em(e,t,n){return`${e.id}.${t.id}.${n.stack||n.type}`}function Dm(e){let{min:t,max:n,minDefined:r,maxDefined:i}=e.getUserBounds();return{min:r?t:-1/0,max:i?n:1/0}}function Om(e,t,n){let r=e[t]||(e[t]={});return r[n]||(r[n]={})}function km(e,t,n,r){for(let i of t.getMatchingVisibleMetas(r).reverse()){let t=e[i.index];if(n&&t>0||!n&&t<0)return i.index}return null}function Am(e,t){let{chart:n,_cachedMeta:r}=e,i=n._stacks||={},{iScale:a,vScale:o,index:s}=r,c=a.axis,l=o.axis,u=Em(a,o,r),d=t.length,f;for(let e=0;e<d;++e){let n=t[e],{[c]:a,[l]:d}=n,p=n._stacks||={};f=p[l]=Om(i,u,a),f[s]=d,f._top=km(f,o,!0,r.type),f._bottom=km(f,o,!1,r.type);let m=f._visualValues||(f._visualValues={});m[s]=d}}function jm(e,t){let n=e.scales;return Object.keys(n).filter(e=>n[e].axis===t).shift()}function Mm(e,t){return Xf(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:`default`,type:`dataset`})}function Nm(e,t,n){return Xf(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:`default`,type:`data`})}function Pm(e,t){let n=e.controller.index,r=e.vScale&&e.vScale.axis;if(r){t||=e._parsed;for(let e of t){let t=e._stacks;t&&t[r]!==void 0&&t[r][n]!==void 0&&(delete t[r][n],t[r]._visualValues!==void 0&&t[r]._visualValues[n]!==void 0&&delete t[r]._visualValues[n])}}}var Fm=e=>e===`reset`||e===`none`,Im=(e,t)=>t?e:Object.assign({},e),Lm=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:Sm(n,!0),values:null},Rm=class{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(e,t){this.chart=e,this._ctx=e.ctx,this.index=t,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(){let e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=Tm(e.vScale,e),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(e){this.index!==e&&Pm(this._cachedMeta),this.index=e}linkScales(){let e=this.chart,t=this._cachedMeta,n=this.getDataset(),r=(e,t,n,r)=>e===`x`?t:e===`r`?r:n,i=t.xAxisID=z(n.xAxisID,jm(e,`x`)),a=t.yAxisID=z(n.yAxisID,jm(e,`y`)),o=t.rAxisID=z(n.rAxisID,jm(e,`r`)),s=t.indexAxis,c=t.iAxisID=r(s,i,a,o),l=t.vAxisID=r(s,a,i,o);t.xScale=this.getScaleForId(i),t.yScale=this.getScaleForId(a),t.rScale=this.getScaleForId(o),t.iScale=this.getScaleForId(c),t.vScale=this.getScaleForId(l)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){let t=this._cachedMeta;return e===t.iScale?t.vScale:t.iScale}reset(){this._update(`reset`)}_destroy(){let e=this._cachedMeta;this._data&&Wd(this._data,this),e._stacked&&Pm(e)}_dataCheck(){let e=this.getDataset(),t=e.data||=[],n=this._data;if(L(t)){let e=this._cachedMeta;this._data=wm(t,e)}else if(n!==t){if(n){Wd(n,this);let e=this._cachedMeta;Pm(e),e._parsed=[]}t&&Object.isExtensible(t)&&Ud(t,this),this._syncList=[],this._data=t}}addElements(){let e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){let t=this._cachedMeta,n=this.getDataset(),r=!1;this._dataCheck();let i=t._stacked;t._stacked=Tm(t.vScale,t),t.stack!==n.stack&&(r=!0,Pm(t),t.stack=n.stack),this._resyncElements(e),(r||i!==t._stacked)&&(Am(this,t._parsed),t._stacked=Tm(t.vScale,t))}configure(){let e=this.chart.config,t=e.datasetScopeKeys(this._type),n=e.getOptionScopes(this.getDataset(),t,!0);this.options=e.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,t){let{_cachedMeta:n,_data:r}=this,{iScale:i,_stacked:a}=n,o=i.axis,s=e===0&&t===r.length||n._sorted,c=e>0&&n._parsed[e-1],l,u,d;if(this._parsing===!1)n._parsed=r,n._sorted=!0,d=r;else{d=I(r[e])?this.parseArrayData(n,r,e,t):L(r[e])?this.parseObjectData(n,r,e,t):this.parsePrimitiveData(n,r,e,t);let i=()=>u[o]===null||c&&u[o]<c[o];for(l=0;l<t;++l)n._parsed[l+e]=u=d[l],s&&(i()&&(s=!1),c=u);n._sorted=s}a&&Am(this,d)}parsePrimitiveData(e,t,n,r){let{iScale:i,vScale:a}=e,o=i.axis,s=a.axis,c=i.getLabels(),l=i===a,u=Array(r),d,f,p;for(d=0,f=r;d<f;++d)p=d+n,u[d]={[o]:l||i.parse(c[p],p),[s]:a.parse(t[p],p)};return u}parseArrayData(e,t,n,r){let{xScale:i,yScale:a}=e,o=Array(r),s,c,l,u;for(s=0,c=r;s<c;++s)l=s+n,u=t[l],o[s]={x:i.parse(u[0],l),y:a.parse(u[1],l)};return o}parseObjectData(e,t,n,r){let{xScale:i,yScale:a}=e,{xAxisKey:o=`x`,yAxisKey:s=`y`}=this._parsing,c=Array(r),l,u,d,f;for(l=0,u=r;l<u;++l)d=l+n,f=t[d],c[l]={x:i.parse(cd(f,o),d),y:a.parse(cd(f,s),d)};return c}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,t,n){let r=this.chart,i=this._cachedMeta,a=t[e.axis];return Cm({keys:Sm(r,!0),values:t._stacks[e.axis]._visualValues},a,i.index,{mode:n})}updateRangeFromParsed(e,t,n,r){let i=n[t.axis],a=i===null?NaN:i,o=r&&n._stacks[t.axis];r&&o&&(r.values=o,a=Cm(r,i,this._cachedMeta.index)),e.min=Math.min(e.min,a),e.max=Math.max(e.max,a)}getMinMax(e,t){let n=this._cachedMeta,r=n._parsed,i=n._sorted&&e===n.iScale,a=r.length,o=this._getOtherScale(e),s=Lm(t,n,this.chart),c={min:1/0,max:-1/0},{min:l,max:u}=Dm(o),d,f;function p(){f=r[d];let t=f[o.axis];return!R(f[e.axis])||l>t||u<t}for(d=0;d<a&&!(!p()&&(this.updateRangeFromParsed(c,e,f,s),i));++d);if(i){for(d=a-1;d>=0;--d)if(!p()){this.updateRangeFromParsed(c,e,f,s);break}}return c}getAllParsedValues(e){let t=this._cachedMeta._parsed,n=[],r,i,a;for(r=0,i=t.length;r<i;++r)a=t[r][e.axis],R(a)&&n.push(a);return n}getMaxOverflow(){return!1}getLabelAndValue(e){let t=this._cachedMeta,n=t.iScale,r=t.vScale,i=this.getParsed(e);return{label:n?``+n.getLabelForValue(i[n.axis]):``,value:r?``+r.getLabelForValue(i[r.axis]):``}}_update(e){let t=this._cachedMeta;this.update(e||`default`),t._clip=xm(z(this.options.clip,bm(t.xScale,t.yScale,this.getMaxOverflow())))}update(e){}draw(){let e=this._ctx,t=this.chart,n=this._cachedMeta,r=n.data||[],i=t.chartArea,a=[],o=this._drawStart||0,s=this._drawCount||r.length-o,c=this.options.drawActiveElementsOnTop,l;for(n.dataset&&n.dataset.draw(e,i,o,s),l=o;l<o+s;++l){let t=r[l];t.hidden||(t.active&&c?a.push(t):t.draw(e,i))}for(l=0;l<a.length;++l)a[l].draw(e,i)}getStyle(e,t){let n=t?`active`:`default`;return e===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(n):this.resolveDataElementOptions(e||0,n)}getContext(e,t,n){let r=this.getDataset(),i;if(e>=0&&e<this._cachedMeta.data.length){let t=this._cachedMeta.data[e];i=t.$context||=Nm(this.getContext(),e,t),i.parsed=this.getParsed(e),i.raw=r.data[e],i.index=i.dataIndex=e}else i=this.$context||=Mm(this.chart.getContext(),this.index),i.dataset=r,i.index=i.datasetIndex=this.index;return i.active=!!t,i.mode=n,i}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,t){return this._resolveElementOptions(this.dataElementType.id,t,e)}_resolveElementOptions(e,t=`default`,n){let r=t===`active`,i=this._cachedDataOpts,a=e+`-`+t,o=i[a],s=this.enableOptionSharing&&ud(n);if(o)return Im(o,s);let c=this.chart.config,l=c.datasetElementScopeKeys(this._type,e),u=r?[`${e}Hover`,`hover`,e,``]:[e,``],d=c.getOptionScopes(this.getDataset(),l),f=Object.keys(K.elements[e]),p=c.resolveNamedOptions(d,f,()=>this.getContext(n,r,t),u);return p.$shared&&(p.$shared=s,i[a]=Object.freeze(Im(p,s))),p}_resolveAnimations(e,t,n){let r=this.chart,i=this._cachedDataOpts,a=`animation-${t}`,o=i[a];if(o)return o;let s;if(r.options.animation!==!1){let r=this.chart.config,i=r.datasetAnimationScopeKeys(this._type,t),a=r.getOptionScopes(this.getDataset(),i);s=r.createResolver(a,this.getContext(e,n,t))}let c=new gm(r,s&&s.animations);return s&&s._cacheable&&(i[a]=Object.freeze(c)),c}getSharedOptions(e){if(e.$shared)return this._sharedOptions||=Object.assign({},e)}includeOptions(e,t){return!t||Fm(e)||this.chart._animationsDisabled}_getSharedOptions(e,t){let n=this.resolveDataElementOptions(e,t),r=this._sharedOptions,i=this.getSharedOptions(n),a=this.includeOptions(t,i)||i!==r;return this.updateSharedOptions(i,t,n),{sharedOptions:i,includeOptions:a}}updateElement(e,t,n,r){Fm(r)?Object.assign(e,n):this._resolveAnimations(t,r).update(e,n)}updateSharedOptions(e,t,n){e&&!Fm(t)&&this._resolveAnimations(void 0,t).update(e,n)}_setStyle(e,t,n,r){e.active=r;let i=this.getStyle(t,r);this._resolveAnimations(t,n,r).update(e,{options:!r&&this.getSharedOptions(i)||i})}removeHoverStyle(e,t,n){this._setStyle(e,n,`active`,!1)}setHoverStyle(e,t,n){this._setStyle(e,n,`active`,!0)}_removeDatasetHoverStyle(){let e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,`active`,!1)}_setDatasetHoverStyle(){let e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,`active`,!0)}_resyncElements(e){let t=this._data,n=this._cachedMeta.data;for(let[e,t,n]of this._syncList)this[e](t,n);this._syncList=[];let r=n.length,i=t.length,a=Math.min(i,r);a&&this.parse(0,a),i>r?this._insertElements(r,i-r,e):i<r&&this._removeElements(i,r-i)}_insertElements(e,t,n=!0){let r=this._cachedMeta,i=r.data,a=e+t,o,s=e=>{for(e.length+=t,o=e.length-1;o>=a;o--)e[o]=e[o-t]};for(s(i),o=e;o<a;++o)i[o]=new this.dataElementType;this._parsing&&s(r._parsed),this.parse(e,t),n&&this.updateElements(i,e,t,`reset`)}updateElements(e,t,n,r){}_removeElements(e,t){let n=this._cachedMeta;if(this._parsing){let r=n._parsed.splice(e,t);n._stacked&&Pm(n,r)}n.data.splice(e,t)}_sync(e){if(this._parsing)this._syncList.push(e);else{let[t,n,r]=e;this[t](n,r)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){let e=arguments.length;this._sync([`_insertElements`,this.getDataset().data.length-e,e])}_onDataPop(){this._sync([`_removeElements`,this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync([`_removeElements`,0,1])}_onDataSplice(e,t){t&&this._sync([`_removeElements`,e,t]);let n=arguments.length-2;n&&this._sync([`_insertElements`,e,n])}_onDataUnshift(){this._sync([`_insertElements`,0,arguments.length])}};function zm(e,t){if(!e._cache.$bar){let n=e.getMatchingVisibleMetas(t),r=[];for(let t=0,i=n.length;t<i;t++)r=r.concat(n[t].controller.getAllParsedValues(e));e._cache.$bar=Gd(r.sort((e,t)=>e-t))}return e._cache.$bar}function Bm(e){let t=e.iScale,n=zm(t,e.type),r=t._length,i,a,o,s,c=()=>{o!==32767&&o!==-32768&&(ud(s)&&(r=Math.min(r,Math.abs(o-s)||r)),s=o)};for(i=0,a=n.length;i<a;++i)o=t.getPixelForValue(n[i]),c();for(s=void 0,i=0,a=t.ticks.length;i<a;++i)o=t.getPixelForTick(i),c();return r}function Vm(e,t,n,r){let i=n.barThickness,a,o;return F(i)?(a=t.min*n.categoryPercentage,o=n.barPercentage):(a=i*r,o=1),{chunk:a/r,ratio:o,start:t.pixels[e]-a/2}}function Hm(e,t,n,r){let i=t.pixels,a=i[e],o=e>0?i[e-1]:null,s=e<i.length-1?i[e+1]:null,c=n.categoryPercentage;o===null&&(o=a-(s===null?t.end-t.start:s-a)),s===null&&(s=a+a-o);let l=a-(a-Math.min(o,s))/2*c;return{chunk:Math.abs(s-o)/2*c/r,ratio:n.barPercentage,start:l}}function Um(e,t,n,r){let i=n.parse(e[0],r),a=n.parse(e[1],r),o=Math.min(i,a),s=Math.max(i,a),c=o,l=s;Math.abs(o)>Math.abs(s)&&(c=s,l=o),t[n.axis]=l,t._custom={barStart:c,barEnd:l,start:i,end:a,min:o,max:s}}function Wm(e,t,n,r){return I(e)?Um(e,t,n,r):t[n.axis]=n.parse(e,r),t}function Gm(e,t,n,r){let i=e.iScale,a=e.vScale,o=i.getLabels(),s=i===a,c=[],l,u,d,f;for(l=n,u=n+r;l<u;++l)f=t[l],d={},d[i.axis]=s||i.parse(o[l],l),c.push(Wm(f,d,a,l));return c}function Km(e){return e&&e.barStart!==void 0&&e.barEnd!==void 0}function qm(e,t,n){return e===0?(t.isHorizontal()?1:-1)*(t.min>=n?1:-1):bd(e)}function Jm(e){let t,n,r,i,a;return e.horizontal?(t=e.base>e.x,n=`left`,r=`right`):(t=e.base<e.y,n=`bottom`,r=`top`),t?(i=`end`,a=`start`):(i=`start`,a=`end`),{start:n,end:r,reverse:t,top:i,bottom:a}}function Ym(e,t,n,r){let i=t.borderSkipped,a={};if(!i){e.borderSkipped=a;return}if(i===!0){e.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}let{start:o,end:s,reverse:c,top:l,bottom:u}=Jm(e);i===`middle`&&n&&(e.enableBorderRadius=!0,(n._top||0)===r?i=l:(n._bottom||0)===r?i=u:(a[Xm(u,o,s,c)]=!0,i=l)),a[Xm(i,o,s,c)]=!0,e.borderSkipped=a}function Xm(e,t,n,r){return r?(e=Zm(e,t,n),e=Qm(e,n,t)):e=Qm(e,t,n),e}function Zm(e,t,n){return e===t?n:e===n?t:e}function Qm(e,t,n){return e===`start`?t:e===`end`?n:e}function $m(e,{inflateAmount:t},n){e.inflateAmount=t===`auto`?n===1?.33:0:t}var eh=class extends Rm{static id=`bar`;static defaults={datasetElementType:!1,dataElementType:`bar`,categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:`number`,properties:[`x`,`y`,`base`,`width`,`height`]}}};static overrides={scales:{_index_:{type:`category`,offset:!0,grid:{offset:!0}},_value_:{type:`linear`,beginAtZero:!0}}};parsePrimitiveData(e,t,n,r){return Gm(e,t,n,r)}parseArrayData(e,t,n,r){return Gm(e,t,n,r)}parseObjectData(e,t,n,r){let{iScale:i,vScale:a}=e,{xAxisKey:o=`x`,yAxisKey:s=`y`}=this._parsing,c=i.axis===`x`?o:s,l=a.axis===`x`?o:s,u=[],d,f,p,m;for(d=n,f=n+r;d<f;++d)m=t[d],p={},p[i.axis]=i.parse(cd(m,c),d),u.push(Wm(cd(m,l),p,a,d));return u}updateRangeFromParsed(e,t,n,r){super.updateRangeFromParsed(e,t,n,r);let i=n._custom;i&&t===this._cachedMeta.vScale&&(e.min=Math.min(e.min,i.min),e.max=Math.max(e.max,i.max))}getMaxOverflow(){return 0}getLabelAndValue(e){let{iScale:t,vScale:n}=this._cachedMeta,r=this.getParsed(e),i=r._custom,a=Km(i)?`[`+i.start+`, `+i.end+`]`:``+n.getLabelForValue(r[n.axis]);return{label:``+t.getLabelForValue(r[t.axis]),value:a}}initialize(){this.enableOptionSharing=!0,super.initialize();let e=this._cachedMeta;e.stack=this.getDataset().stack}update(e){let t=this._cachedMeta;this.updateElements(t.data,0,t.data.length,e)}updateElements(e,t,n,r){let i=r===`reset`,{index:a,_cachedMeta:{vScale:o}}=this,s=o.getBasePixel(),c=o.isHorizontal(),l=this._getRuler(),{sharedOptions:u,includeOptions:d}=this._getSharedOptions(t,r);for(let f=t;f<t+n;f++){let t=this.getParsed(f),n=i||F(t[o.axis])?{base:s,head:s}:this._calculateBarValuePixels(f),p=this._calculateBarIndexPixels(f,l),m=(t._stacks||{})[o.axis],h={horizontal:c,base:n.base,enableBorderRadius:!m||Km(t._custom)||a===m._top||a===m._bottom,x:c?n.head:p.center,y:c?p.center:n.head,height:c?p.size:Math.abs(n.size),width:c?Math.abs(n.size):p.size};d&&(h.options=u||this.resolveDataElementOptions(f,e[f].active?`active`:r));let g=h.options||e[f].options;Ym(h,g,m,a),$m(h,g,l.ratio),this.updateElement(e[f],f,h,r)}}_getStacks(e,t){let{iScale:n}=this._cachedMeta,r=n.getMatchingVisibleMetas(this._type).filter(e=>e.controller.options.grouped),i=n.options.stacked,a=[],o=this._cachedMeta.controller.getParsed(t),s=o&&o[n.axis],c=e=>{let t=e._parsed.find(e=>e[n.axis]===s),r=t&&t[e.vScale.axis];if(F(r)||isNaN(r))return!0};for(let n of r)if(!(t!==void 0&&c(n))&&((i===!1||a.indexOf(n.stack)===-1||i===void 0&&n.stack===void 0)&&a.push(n.stack),n.index===e))break;return a.length||a.push(void 0),a}_getStackCount(e){return this._getStacks(void 0,e).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){let e=this.chart.scales,t=this.chart.options.indexAxis;return Object.keys(e).filter(n=>e[n].axis===t).shift()}_getAxis(){let e={},t=this.getFirstScaleIdForIndexAxis();for(let n of this.chart.data.datasets)e[z(this.chart.options.indexAxis===`x`?n.xAxisID:n.yAxisID,t)]=!0;return Object.keys(e)}_getStackIndex(e,t,n){let r=this._getStacks(e,n),i=t===void 0?-1:r.indexOf(t);return i===-1?r.length-1:i}_getRuler(){let e=this.options,t=this._cachedMeta,n=t.iScale,r=[],i,a;for(i=0,a=t.data.length;i<a;++i)r.push(n.getPixelForValue(this.getParsed(i)[n.axis],i));let o=e.barThickness;return{min:o||Bm(t),pixels:r,start:n._startPixel,end:n._endPixel,stackCount:this._getStackCount(),scale:n,grouped:e.grouped,ratio:o?1:e.categoryPercentage*e.barPercentage}}_calculateBarValuePixels(e){let{_cachedMeta:{vScale:t,_stacked:n,index:r},options:{base:i,minBarLength:a}}=this,o=i||0,s=this.getParsed(e),c=s._custom,l=Km(c),u=s[t.axis],d=0,f=n?this.applyStack(t,s,n):u,p,m;f!==u&&(d=f-u,f=u),l&&(u=c.barStart,f=c.barEnd-c.barStart,u!==0&&bd(u)!==bd(c.barEnd)&&(d=0),d+=u);let h=!F(i)&&!l?i:d,g=t.getPixelForValue(h);if(p=this.chart.getDataVisibility(e)?t.getPixelForValue(d+f):g,m=p-g,Math.abs(m)<a){m=qm(m,t,o)*a,u===o&&(g-=m/2);let e=t.getPixelForDecimal(0),i=t.getPixelForDecimal(1);g=Math.max(Math.min(g,Math.max(e,i)),Math.min(e,i)),p=g+m,n&&!l&&(s._stacks[t.axis]._visualValues[r]=t.getValueForPixel(p)-t.getValueForPixel(g))}if(g===t.getPixelForValue(o)){let e=bd(m)*t.getLineWidthForValue(o)/2;g+=e,m-=e}return{size:m,base:g,head:p,center:p+m/2}}_calculateBarIndexPixels(e,t){let n=t.scale,r=this.options,i=r.skipNull,a=z(r.maxBarThickness,1/0),o,s,c=this._getAxisCount();if(t.grouped){let n=i?this._getStackCount(e):t.stackCount,l=r.barThickness===`flex`?Hm(e,t,r,n*c):Vm(e,t,r,n*c),u=this.chart.options.indexAxis===`x`?this.getDataset().xAxisID:this.getDataset().yAxisID,d=this._getAxis().indexOf(z(u,this.getFirstScaleIdForIndexAxis())),f=this._getStackIndex(this.index,this._cachedMeta.stack,i?e:void 0)+d;o=l.start+l.chunk*f+l.chunk/2,s=Math.min(a,l.chunk*l.ratio)}else o=n.getPixelForValue(this.getParsed(e)[n.axis],e),s=Math.min(a,t.min*t.ratio);return{base:o-s/2,head:o+s/2,center:o,size:s}}draw(){let e=this._cachedMeta,t=e.vScale,n=e.data,r=n.length,i=0;for(;i<r;++i)this.getParsed(i)[t.axis]!==null&&!n[i].hidden&&n[i].draw(this._ctx)}},th=class extends Rm{static id=`bubble`;static defaults={datasetElementType:!1,dataElementType:`point`,animations:{numbers:{type:`number`,properties:[`x`,`y`,`borderWidth`,`radius`]}}};static overrides={scales:{x:{type:`linear`},y:{type:`linear`}}};initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(e,t,n,r){let i=super.parsePrimitiveData(e,t,n,r);for(let e=0;e<i.length;e++)i[e]._custom=this.resolveDataElementOptions(e+n).radius;return i}parseArrayData(e,t,n,r){let i=super.parseArrayData(e,t,n,r);for(let e=0;e<i.length;e++){let r=t[n+e];i[e]._custom=z(r[2],this.resolveDataElementOptions(e+n).radius)}return i}parseObjectData(e,t,n,r){let i=super.parseObjectData(e,t,n,r);for(let e=0;e<i.length;e++){let r=t[n+e];i[e]._custom=z(r&&r.r&&+r.r,this.resolveDataElementOptions(e+n).radius)}return i}getMaxOverflow(){let e=this._cachedMeta.data,t=0;for(let n=e.length-1;n>=0;--n)t=Math.max(t,e[n].size(this.resolveDataElementOptions(n))/2);return t>0&&t}getLabelAndValue(e){let t=this._cachedMeta,n=this.chart.data.labels||[],{xScale:r,yScale:i}=t,a=this.getParsed(e),o=r.getLabelForValue(a.x),s=i.getLabelForValue(a.y),c=a._custom;return{label:n[e]||``,value:`(`+o+`, `+s+(c?`, `+c:``)+`)`}}update(e){let t=this._cachedMeta.data;this.updateElements(t,0,t.length,e)}updateElements(e,t,n,r){let i=r===`reset`,{iScale:a,vScale:o}=this._cachedMeta,{sharedOptions:s,includeOptions:c}=this._getSharedOptions(t,r),l=a.axis,u=o.axis;for(let d=t;d<t+n;d++){let t=e[d],n=!i&&this.getParsed(d),f={},p=f[l]=i?a.getPixelForDecimal(.5):a.getPixelForValue(n[l]),m=f[u]=i?o.getBasePixel():o.getPixelForValue(n[u]);f.skip=isNaN(p)||isNaN(m),c&&(f.options=s||this.resolveDataElementOptions(d,t.active?`active`:r),i&&(f.options.radius=0)),this.updateElement(t,d,f,r)}}resolveDataElementOptions(e,t){let n=this.getParsed(e),r=super.resolveDataElementOptions(e,t);r.$shared&&(r=Object.assign({},r,{$shared:!1}));let i=r.radius;return t!==`active`&&(r.radius=0),r.radius+=z(n&&n._custom,i),r}};function nh(e,t,n){let r=1,i=1,a=0,o=0;if(t<U){let s=e,c=s+t,l=Math.cos(s),u=Math.sin(s),d=Math.cos(c),f=Math.sin(c),p=(e,t,r)=>Fd(e,s,c,!0)?1:Math.max(t,t*n,r,r*n),m=(e,t,r)=>Fd(e,s,c,!0)?-1:Math.min(t,t*n,r,r*n),h=p(0,l,d),g=p(W,u,f),_=m(H,l,d),v=m(H+W,u,f);r=(h-_)/2,i=(g-v)/2,a=-(h+_)/2,o=-(g+v)/2}return{ratioX:r,ratioY:i,offsetX:a,offsetY:o}}var rh=class extends Rm{static id=`doughnut`;static defaults={datasetElementType:!1,dataElementType:`arc`,animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:`number`,properties:[`circumference`,`endAngle`,`innerRadius`,`outerRadius`,`startAngle`,`x`,`y`,`offset`,`borderWidth`,`spacing`]}},cutout:`50%`,rotation:0,circumference:360,radius:`100%`,spacing:0,spacingMode:`angular`,indexAxis:`r`};static descriptors={_scriptable:e=>e!==`spacing`&&e!==`spacingMode`,_indexable:e=>e!==`spacing`&&e!==`spacingMode`&&!e.startsWith(`borderDash`)&&!e.startsWith(`hoverBorderDash`)};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){let t=e.data,{labels:{pointStyle:n,textAlign:r,color:i,useBorderRadius:a,borderRadius:o}}=e.legend.options;return t.labels.length&&t.datasets.length?t.labels.map((t,s)=>{let c=e.getDatasetMeta(0).controller.getStyle(s);return{text:t,fillStyle:c.backgroundColor,fontColor:i,hidden:!e.getDataVisibility(s),lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:c.borderWidth,strokeStyle:c.borderColor,textAlign:r,pointStyle:n,borderRadius:a&&(o||c.borderRadius),index:s}}):[]}},onClick(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}}}};constructor(e,t){super(e,t),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,t){let n=this.getDataset().data,r=this._cachedMeta;if(this._parsing===!1)r._parsed=n;else{let i=e=>+n[e];if(L(n[e])){let{key:e=`value`}=this._parsing;i=t=>+cd(n[t],e)}let a,o;for(a=e,o=e+t;a<o;++a)r._parsed[a]=i(a)}}_getRotation(){return Od(this.options.rotation-90)}_getCircumference(){return Od(this.options.circumference)}_getRotationExtents(){let e=U,t=-U;for(let n=0;n<this.chart.data.datasets.length;++n)if(this.chart.isDatasetVisible(n)&&this.chart.getDatasetMeta(n).type===this._type){let r=this.chart.getDatasetMeta(n).controller,i=r._getRotation(),a=r._getCircumference();e=Math.min(e,i),t=Math.max(t,i+a)}return{rotation:e,circumference:t-e}}update(e){let{chartArea:t}=this.chart,n=this._cachedMeta,r=n.data,i=this.getMaxBorderWidth()+this.getMaxOffset(r)+this.options.spacing,a=Math.max((Math.min(t.width,t.height)-i)/2,0),o=Math.min(Xu(this.options.cutout,a),1),s=this._getRingWeight(this.index),{circumference:c,rotation:l}=this._getRotationExtents(),{ratioX:u,ratioY:d,offsetX:f,offsetY:p}=nh(l,c,o),m=(t.width-i)/u,h=(t.height-i)/d,g=Math.max(Math.min(m,h)/2,0),_=Zu(this.options.radius,g),v=(_-Math.max(_*o,0))/this._getVisibleDatasetWeightTotal();this.offsetX=f*_,this.offsetY=p*_,n.total=this.calculateTotal(),this.outerRadius=_-v*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-v*s,0),this.updateElements(r,0,r.length,e)}_circumference(e,t){let n=this.options,r=this._cachedMeta,i=this._getCircumference();return t&&n.animation.animateRotate||!this.chart.getDataVisibility(e)||r._parsed[e]===null||r.data[e].hidden?0:this.calculateCircumference(r._parsed[e]*i/U)}updateElements(e,t,n,r){let i=r===`reset`,a=this.chart,o=a.chartArea,s=a.options.animation,c=(o.left+o.right)/2,l=(o.top+o.bottom)/2,u=i&&s.animateScale,d=u?0:this.innerRadius,f=u?0:this.outerRadius,{sharedOptions:p,includeOptions:m}=this._getSharedOptions(t,r),h=this._getRotation(),g=0;for(;g<t;++g)h+=this._circumference(g,i);for(g=t;g<t+n;++g){let t=this._circumference(g,i),n=e[g],a={x:c+this.offsetX,y:l+this.offsetY,startAngle:h,endAngle:h+t,circumference:t,outerRadius:f,innerRadius:d};m&&(a.options=p||this.resolveDataElementOptions(g,n.active?`active`:r)),h+=t,this.updateElement(n,g,a,r)}}calculateTotal(){let e=this._cachedMeta,t=e.data,n=0,r=0;for(;r<t.length;r++){let i=e._parsed[r];i!==null&&!isNaN(i)&&this.chart.getDataVisibility(r)&&!t[r].hidden&&(n+=Math.abs(i))}return n}calculateCircumference(e){let t=this._cachedMeta.total;return t>0&&!isNaN(e)?Math.abs(e)/t*U:0}getLabelAndValue(e){let t=this._cachedMeta,n=this.chart,r=n.data.labels||[],i=mf(t._parsed[e],n.options.locale);return{label:r[e]||``,value:i}}getMaxBorderWidth(e){let t=0,n=this.chart,r,i,a,o,s;if(!e){for(r=0,i=n.data.datasets.length;r<i;++r)if(n.isDatasetVisible(r)){a=n.getDatasetMeta(r),e=a.data,o=a.controller;break}}if(!e)return 0;for(r=0,i=e.length;r<i;++r)s=o.resolveDataElementOptions(r),s.borderAlign!==`inner`&&(t=Math.max(t,s.borderWidth||0,s.hoverBorderWidth||0));return t}getMaxOffset(e){let t=0;for(let n=0,r=e.length;n<r;++n){let e=this.resolveDataElementOptions(n);t=Math.max(t,e.offset||0,e.hoverOffset||0)}return t}_getRingWeightOffset(e){let t=0;for(let n=0;n<e;++n)this.chart.isDatasetVisible(n)&&(t+=this._getRingWeight(n));return t}_getRingWeight(e){return Math.max(z(this.chart.data.datasets[e].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}},ih=class extends Rm{static id=`line`;static defaults={datasetElementType:`line`,dataElementType:`point`,showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:`category`},_value_:{type:`linear`}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){let t=this._cachedMeta,{dataset:n,data:r=[],_dataset:i}=t,a=this.chart._animationsDisabled,{start:o,count:s}=Qd(t,r,a);this._drawStart=o,this._drawCount=s,$d(t)&&(o=0,s=r.length),n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!i._decimated,n.points=r;let c=this.resolveDatasetElementOptions(e);this.options.showLine||(c.borderWidth=0),c.segment=this.options.segment,this.updateElement(n,void 0,{animated:!a,options:c},e),this.updateElements(r,o,s,e)}updateElements(e,t,n,r){let i=r===`reset`,{iScale:a,vScale:o,_stacked:s,_dataset:c}=this._cachedMeta,{sharedOptions:l,includeOptions:u}=this._getSharedOptions(t,r),d=a.axis,f=o.axis,{spanGaps:p,segment:m}=this.options,h=Td(p)?p:1/0,g=this.chart._animationsDisabled||i||r===`none`,_=t+n,v=e.length,y=t>0&&this.getParsed(t-1);for(let n=0;n<v;++n){let p=e[n],v=g?p:{};if(n<t||n>=_){v.skip=!0;continue}let b=this.getParsed(n),x=F(b[f]),S=v[d]=a.getPixelForValue(b[d],n),C=v[f]=i||x?o.getBasePixel():o.getPixelForValue(s?this.applyStack(o,b,s):b[f],n);v.skip=isNaN(S)||isNaN(C)||x,v.stop=n>0&&Math.abs(b[d]-y[d])>h,m&&(v.parsed=b,v.raw=c.data[n]),u&&(v.options=l||this.resolveDataElementOptions(n,p.active?`active`:r)),g||this.updateElement(p,n,v,r),y=b}}getMaxOverflow(){let e=this._cachedMeta,t=e.dataset,n=t.options&&t.options.borderWidth||0,r=e.data||[];if(!r.length)return n;let i=r[0].size(this.resolveDataElementOptions(0)),a=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(n,i,a)/2}draw(){let e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}},ah=class extends Rm{static id=`polarArea`;static defaults={dataElementType:`arc`,animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:`number`,properties:[`x`,`y`,`startAngle`,`endAngle`,`innerRadius`,`outerRadius`]}},indexAxis:`r`,startAngle:0,spacing:0,spacingMode:`proportional`};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){let t=e.data;if(t.labels.length&&t.datasets.length){let{labels:{pointStyle:n,color:r}}=e.legend.options;return t.labels.map((t,i)=>{let a=e.getDatasetMeta(0).controller.getStyle(i);return{text:t,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,fontColor:r,lineWidth:a.borderWidth,pointStyle:n,hidden:!e.getDataVisibility(i),index:i}})}return[]}},onClick(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}}},scales:{r:{type:`radialLinear`,angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(e,t){super(e,t),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){let t=this._cachedMeta,n=this.chart,r=n.data.labels||[],i=mf(t._parsed[e].r,n.options.locale);return{label:r[e]||``,value:i}}parseObjectData(e,t,n,r){return gp.bind(this)(e,t,n,r)}update(e){let t=this._cachedMeta.data;this._updateRadius(),this.updateElements(t,0,t.length,e)}getMinMax(){let e=this._cachedMeta,t={min:1/0,max:-1/0};return e.data.forEach((e,n)=>{let r=this.getParsed(n).r;!isNaN(r)&&this.chart.getDataVisibility(n)&&(r<t.min&&(t.min=r),r>t.max&&(t.max=r))}),t}_updateRadius(){let e=this.chart,t=e.chartArea,n=e.options,r=Math.min(t.right-t.left,t.bottom-t.top),i=Math.max(r/2,0),a=(i-Math.max(n.cutoutPercentage?i/100*n.cutoutPercentage:1,0))/e.getVisibleDatasetCount();this.outerRadius=i-a*this.index,this.innerRadius=this.outerRadius-a}updateElements(e,t,n,r){let i=r===`reset`,a=this.chart,o=a.options.animation,s=this._cachedMeta.rScale,c=s.xCenter,l=s.yCenter,u=s.getIndexAngle(0)-.5*H,d=u,f,p=360/this.countVisibleElements();for(f=0;f<t;++f)d+=this._computeAngle(f,r,p);for(f=t;f<t+n;f++){let t=e[f],n=d,m=d+this._computeAngle(f,r,p),h=a.getDataVisibility(f)?s.getDistanceFromCenterForValue(this.getParsed(f).r):0;d=m,i&&(o.animateScale&&(h=0),o.animateRotate&&(n=m=u));let g={x:c,y:l,innerRadius:0,outerRadius:h,startAngle:n,endAngle:m,options:this.resolveDataElementOptions(f,t.active?`active`:r)};g.options.spacing===0&&(g.options.spacing=this.options.spacing),g.options.spacingMode===`angular`&&(g.options.spacingMode=this.options.spacingMode),this.updateElement(t,f,g,r)}}countVisibleElements(){let e=this._cachedMeta,t=0;return e.data.forEach((e,n)=>{!isNaN(this.getParsed(n).r)&&this.chart.getDataVisibility(n)&&t++}),t}_computeAngle(e,t,n){return this.chart.getDataVisibility(e)?Od(this.resolveDataElementOptions(e,t).angle||n):0}},oh=Object.freeze({__proto__:null,BarController:eh,BubbleController:th,DoughnutController:rh,LineController:ih,PieController:class extends rh{static id=`pie`;static defaults={cutout:0,rotation:0,circumference:360,radius:`100%`}},PolarAreaController:ah,RadarController:class extends Rm{static id=`radar`;static defaults={datasetElementType:`line`,dataElementType:`point`,indexAxis:`r`,showLine:!0,elements:{line:{fill:`start`}}};static overrides={aspectRatio:1,scales:{r:{type:`radialLinear`}}};getLabelAndValue(e){let t=this._cachedMeta.vScale,n=this.getParsed(e);return{label:t.getLabels()[e],value:``+t.getLabelForValue(n[t.axis])}}parseObjectData(e,t,n,r){return gp.bind(this)(e,t,n,r)}update(e){let t=this._cachedMeta,n=t.dataset,r=t.data||[],i=t.iScale.getLabels();if(n.points=r,e!==`resize`){let t=this.resolveDatasetElementOptions(e);this.options.showLine||(t.borderWidth=0);let a={_loop:!0,_fullLoop:i.length===r.length,options:t};this.updateElement(n,void 0,a,e)}this.updateElements(r,0,r.length,e)}updateElements(e,t,n,r){let i=this._cachedMeta.rScale,a=r===`reset`;for(let o=t;o<t+n;o++){let t=e[o],n=this.resolveDataElementOptions(o,t.active?`active`:r),s=i.getPointPositionForValue(o,this.getParsed(o).r),c=a?i.xCenter:s.x,l=a?i.yCenter:s.y,u={x:c,y:l,angle:s.angle,skip:isNaN(c)||isNaN(l),options:n};this.updateElement(t,o,u,r)}}},ScatterController:class extends Rm{static id=`scatter`;static defaults={datasetElementType:!1,dataElementType:`point`,showLine:!1,fill:!1};static overrides={interaction:{mode:`point`},scales:{x:{type:`linear`},y:{type:`linear`}}};getLabelAndValue(e){let t=this._cachedMeta,n=this.chart.data.labels||[],{xScale:r,yScale:i}=t,a=this.getParsed(e),o=r.getLabelForValue(a.x),s=i.getLabelForValue(a.y);return{label:n[e]||``,value:`(`+o+`, `+s+`)`}}update(e){let t=this._cachedMeta,{data:n=[]}=t,r=this.chart._animationsDisabled,{start:i,count:a}=Qd(t,n,r);if(this._drawStart=i,this._drawCount=a,$d(t)&&(i=0,a=n.length),this.options.showLine){this.datasetElementType||this.addElements();let{dataset:i,_dataset:a}=t;i._chart=this.chart,i._datasetIndex=this.index,i._decimated=!!a._decimated,i.points=n;let o=this.resolveDatasetElementOptions(e);o.segment=this.options.segment,this.updateElement(i,void 0,{animated:!r,options:o},e)}else this.datasetElementType&&=(delete t.dataset,!1);this.updateElements(n,i,a,e)}addElements(){let{showLine:e}=this.options;!this.datasetElementType&&e&&(this.datasetElementType=this.chart.registry.getElement(`line`)),super.addElements()}updateElements(e,t,n,r){let i=r===`reset`,{iScale:a,vScale:o,_stacked:s,_dataset:c}=this._cachedMeta,l=this.resolveDataElementOptions(t,r),u=this.getSharedOptions(l),d=this.includeOptions(r,u),f=a.axis,p=o.axis,{spanGaps:m,segment:h}=this.options,g=Td(m)?m:1/0,_=this.chart._animationsDisabled||i||r===`none`,v=t>0&&this.getParsed(t-1);for(let l=t;l<t+n;++l){let t=e[l],n=this.getParsed(l),m=_?t:{},y=F(n[p]),b=m[f]=a.getPixelForValue(n[f],l),x=m[p]=i||y?o.getBasePixel():o.getPixelForValue(s?this.applyStack(o,n,s):n[p],l);m.skip=isNaN(b)||isNaN(x)||y,m.stop=l>0&&Math.abs(n[f]-v[f])>g,h&&(m.parsed=n,m.raw=c.data[l]),d&&(m.options=u||this.resolveDataElementOptions(l,t.active?`active`:r)),_||this.updateElement(t,l,m,r),v=n}this.updateSharedOptions(u,r,l)}getMaxOverflow(){let e=this._cachedMeta,t=e.data||[];if(!this.options.showLine){let e=0;for(let n=t.length-1;n>=0;--n)e=Math.max(e,t[n].size(this.resolveDataElementOptions(n))/2);return e>0&&e}let n=e.dataset,r=n.options&&n.options.borderWidth||0;if(!t.length)return r;let i=t[0].size(this.resolveDataElementOptions(0)),a=t[t.length-1].size(this.resolveDataElementOptions(t.length-1));return Math.max(r,i,a)/2}}});function sh(){throw Error(`This method is not implemented: Check that a complete date adapter is provided.`)}var ch={_date:class e{static override(t){Object.assign(e.prototype,t)}options;constructor(e){this.options=e||{}}init(){}formats(){return sh()}parse(){return sh()}format(){return sh()}add(){return sh()}diff(){return sh()}startOf(){return sh()}endOf(){return sh()}}};function lh(e,t,n,r){let{controller:i,data:a,_sorted:o}=e,s=i._cachedMeta.iScale,c=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null;if(s&&t===s.axis&&t!==`r`&&o&&a.length){let o=s._reversePixels?Bd:zd;if(!r){let r=o(a,t,n);if(c){let{vScale:t}=i._cachedMeta,{_parsed:n}=e,a=n.slice(0,r.lo+1).reverse().findIndex(e=>!F(e[t.axis]));r.lo-=Math.max(0,a);let o=n.slice(r.hi).findIndex(e=>!F(e[t.axis]));r.hi+=Math.max(0,o)}return r}if(i._sharedOptions){let e=a[0],r=typeof e.getRange==`function`&&e.getRange(t);if(r){let e=o(a,t,n-r),i=o(a,t,n+r);return{lo:e.lo,hi:i.hi}}}}return{lo:0,hi:a.length-1}}function uh(e,t,n,r,i){let a=e.getSortedVisibleDatasetMetas(),o=n[t];for(let e=0,n=a.length;e<n;++e){let{index:n,data:s}=a[e],{lo:c,hi:l}=lh(a[e],t,o,i);for(let e=c;e<=l;++e){let t=s[e];t.skip||r(t,n,e)}}}function dh(e){let t=e.indexOf(`x`)!==-1,n=e.indexOf(`y`)!==-1;return function(e,r){let i=t?Math.abs(e.x-r.x):0,a=n?Math.abs(e.y-r.y):0;return Math.sqrt(i**2+a**2)}}function fh(e,t,n,r,i){let a=[];return!i&&!e.isPointInArea(t)||uh(e,n,t,function(n,o,s){(i||Af(n,e.chartArea,0))&&n.inRange(t.x,t.y,r)&&a.push({element:n,datasetIndex:o,index:s})},!0),a}function ph(e,t,n,r){let i=[];function a(e,n,a){let{startAngle:o,endAngle:s}=e.getProps([`startAngle`,`endAngle`],r),{angle:c}=jd(e,{x:t.x,y:t.y});Fd(c,o,s)&&i.push({element:e,datasetIndex:n,index:a})}return uh(e,n,t,a),i}function mh(e,t,n,r,i,a){let o=[],s=dh(n),c=1/0;function l(n,l,u){let d=n.inRange(t.x,t.y,i);if(r&&!d)return;let f=n.getCenterPoint(i);if(!(a||e.isPointInArea(f))&&!d)return;let p=s(t,f);p<c?(o=[{element:n,datasetIndex:l,index:u}],c=p):p===c&&o.push({element:n,datasetIndex:l,index:u})}return uh(e,n,t,l),o}function hh(e,t,n,r,i,a){return!a&&!e.isPointInArea(t)?[]:n===`r`&&!r?ph(e,t,n,i):mh(e,t,n,r,i,a)}function gh(e,t,n,r,i){let a=[],o=n===`x`?`inXRange`:`inYRange`,s=!1;return uh(e,n,t,(e,r,c)=>{e[o]&&e[o](t[n],i)&&(a.push({element:e,datasetIndex:r,index:c}),s||=e.inRange(t.x,t.y,i))}),r&&!s?[]:a}var _h={evaluateInteractionItems:uh,modes:{index(e,t,n,r){let i=Ip(t,e),a=n.axis||`x`,o=n.includeInvisible||!1,s=n.intersect?fh(e,i,a,r,o):hh(e,i,a,!1,r,o),c=[];return s.length?(e.getSortedVisibleDatasetMetas().forEach(e=>{let t=s[0].index,n=e.data[t];n&&!n.skip&&c.push({element:n,datasetIndex:e.index,index:t})}),c):[]},dataset(e,t,n,r){let i=Ip(t,e),a=n.axis||`xy`,o=n.includeInvisible||!1,s=n.intersect?fh(e,i,a,r,o):hh(e,i,a,!1,r,o);if(s.length>0){let t=s[0].datasetIndex,n=e.getDatasetMeta(t).data;s=[];for(let e=0;e<n.length;++e)s.push({element:n[e],datasetIndex:t,index:e})}return s},point(e,t,n,r){return fh(e,Ip(t,e),n.axis||`xy`,r,n.includeInvisible||!1)},nearest(e,t,n,r){let i=Ip(t,e),a=n.axis||`xy`,o=n.includeInvisible||!1;return hh(e,i,a,n.intersect,r,o)},x(e,t,n,r){return gh(e,Ip(t,e),`x`,n.intersect,r)},y(e,t,n,r){return gh(e,Ip(t,e),`y`,n.intersect,r)}}},vh=[`left`,`top`,`right`,`bottom`];function yh(e,t){return e.filter(e=>e.pos===t)}function bh(e,t){return e.filter(e=>vh.indexOf(e.pos)===-1&&e.box.axis===t)}function xh(e,t){return e.sort((e,n)=>{let r=t?n:e,i=t?e:n;return r.weight===i.weight?r.index-i.index:r.weight-i.weight})}function Sh(e){let t=[],n,r,i,a,o,s;for(n=0,r=(e||[]).length;n<r;++n)i=e[n],{position:a,options:{stack:o,stackWeight:s=1}}=i,t.push({index:n,box:i,pos:a,horizontal:i.isHorizontal(),weight:i.weight,stack:o&&a+o,stackWeight:s});return t}function Ch(e){let t={};for(let n of e){let{stack:e,pos:r,stackWeight:i}=n;if(!e||!vh.includes(r))continue;let a=t[e]||(t[e]={count:0,placed:0,weight:0,size:0});a.count++,a.weight+=i}return t}function wh(e,t){let n=Ch(e),{vBoxMaxWidth:r,hBoxMaxHeight:i}=t,a,o,s;for(a=0,o=e.length;a<o;++a){s=e[a];let{fullSize:o}=s.box,c=n[s.stack],l=c&&s.stackWeight/c.weight;s.horizontal?(s.width=l?l*r:o&&t.availableWidth,s.height=i):(s.width=r,s.height=l?l*i:o&&t.availableHeight)}return n}function Th(e){let t=Sh(e),n=xh(t.filter(e=>e.box.fullSize),!0),r=xh(yh(t,`left`),!0),i=xh(yh(t,`right`)),a=xh(yh(t,`top`),!0),o=xh(yh(t,`bottom`)),s=bh(t,`x`),c=bh(t,`y`);return{fullSize:n,leftAndTop:r.concat(a),rightAndBottom:i.concat(c).concat(o).concat(s),chartArea:yh(t,`chartArea`),vertical:r.concat(i).concat(c),horizontal:a.concat(o).concat(s)}}function Eh(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function Dh(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function Oh(e,t,n,r){let{pos:i,box:a}=n,o=e.maxPadding;if(!L(i)){n.size&&(e[i]-=n.size);let t=r[n.stack]||{size:0,count:1};t.size=Math.max(t.size,n.horizontal?a.height:a.width),n.size=t.size/t.count,e[i]+=n.size}a.getPadding&&Dh(o,a.getPadding());let s=Math.max(0,t.outerWidth-Eh(o,e,`left`,`right`)),c=Math.max(0,t.outerHeight-Eh(o,e,`top`,`bottom`)),l=s!==e.w,u=c!==e.h;return e.w=s,e.h=c,n.horizontal?{same:l,other:u}:{same:u,other:l}}function kh(e){let t=e.maxPadding;function n(n){let r=Math.max(t[n]-e[n],0);return e[n]+=r,r}e.y+=n(`top`),e.x+=n(`left`),n(`right`),n(`bottom`)}function Ah(e,t){let n=t.maxPadding;function r(e){let r={left:0,top:0,right:0,bottom:0};return e.forEach(e=>{r[e]=Math.max(t[e],n[e])}),r}return r(e?[`left`,`right`]:[`top`,`bottom`])}function jh(e,t,n,r){let i=[],a,o,s,c,l,u;for(a=0,o=e.length,l=0;a<o;++a){s=e[a],c=s.box,c.update(s.width||t.w,s.height||t.h,Ah(s.horizontal,t));let{same:o,other:d}=Oh(t,n,s,r);l|=o&&i.length,u||=d,c.fullSize||i.push(s)}return l&&jh(i,t,n,r)||u}function Mh(e,t,n,r,i){e.top=n,e.left=t,e.right=t+r,e.bottom=n+i,e.width=r,e.height=i}function Nh(e,t,n,r){let i=n.padding,{x:a,y:o}=t;for(let s of e){let e=s.box,c=r[s.stack]||{count:1,placed:0,weight:1},l=s.stackWeight/c.weight||1;if(s.horizontal){let r=t.w*l,a=c.size||e.height;ud(c.start)&&(o=c.start),e.fullSize?Mh(e,i.left,o,n.outerWidth-i.right-i.left,a):Mh(e,t.left+c.placed,o,r,a),c.start=o,c.placed+=r,o=e.bottom}else{let r=t.h*l,o=c.size||e.width;ud(c.start)&&(a=c.start),e.fullSize?Mh(e,a,i.top,o,n.outerHeight-i.bottom-i.top):Mh(e,a,t.top+c.placed,o,r),c.start=a,c.placed+=r,a=e.right}}t.x=a,t.y=o}var Ph={addBox(e,t){e.boxes||=[],t.fullSize=t.fullSize||!1,t.position=t.position||`top`,t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(e){t.draw(e)}}]},e.boxes.push(t)},removeBox(e,t){let n=e.boxes?e.boxes.indexOf(t):-1;n!==-1&&e.boxes.splice(n,1)},configure(e,t,n){t.fullSize=n.fullSize,t.position=n.position,t.weight=n.weight},update(e,t,n,r){if(!e)return;let i=qf(e.options.layout.padding),a=Math.max(t-i.width,0),o=Math.max(n-i.height,0),s=Th(e.boxes),c=s.vertical,l=s.horizontal;V(e.boxes,e=>{typeof e.beforeLayout==`function`&&e.beforeLayout()});let u=c.reduce((e,t)=>t.box.options&&t.box.options.display===!1?e:e+1,0)||1,d=Object.freeze({outerWidth:t,outerHeight:n,padding:i,availableWidth:a,availableHeight:o,vBoxMaxWidth:a/2/u,hBoxMaxHeight:o/2}),f=Object.assign({},i);Dh(f,qf(r));let p=Object.assign({maxPadding:f,w:a,h:o,x:i.left,y:i.top},i),m=wh(c.concat(l),d);jh(s.fullSize,p,d,m),jh(c,p,d,m),jh(l,p,d,m)&&jh(c,p,d,m),kh(p),Nh(s.leftAndTop,p,d,m),p.x+=p.w,p.y+=p.h,Nh(s.rightAndBottom,p,d,m),e.chartArea={left:p.left,top:p.top,right:p.left+p.w,bottom:p.top+p.h,height:p.h,width:p.w},V(s.chartArea,t=>{let n=t.box;Object.assign(n,e.chartArea),n.update(p.w,p.h,{left:0,top:0,right:0,bottom:0})})}},Fh=class{acquireContext(e,t){}releaseContext(e){return!1}addEventListener(e,t,n){}removeEventListener(e,t,n){}getDevicePixelRatio(){return 1}getMaximumSize(e,t,n,r){return t=Math.max(0,t||e.width),n||=e.height,{width:t,height:Math.max(0,r?Math.floor(t/r):n)}}isAttached(e){return!0}updateConfig(e){}},Ih=class extends Fh{acquireContext(e){return e&&e.getContext&&e.getContext(`2d`)||null}updateConfig(e){e.options.animation=!1}},Lh=`$chartjs`,Rh={touchstart:`mousedown`,touchmove:`mousemove`,touchend:`mouseup`,pointerenter:`mouseenter`,pointerdown:`mousedown`,pointermove:`mousemove`,pointerup:`mouseup`,pointerleave:`mouseout`,pointerout:`mouseout`},zh=e=>e===null||e===``;function Bh(e,t){let n=e.style,r=e.getAttribute(`height`),i=e.getAttribute(`width`);if(e[Lh]={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||`block`,n.boxSizing=n.boxSizing||`border-box`,zh(i)){let t=Hp(e,`width`);t!==void 0&&(e.width=t)}if(zh(r)){if(e.style.height===``)e.height=e.width/(t||2);else{let t=Hp(e,`height`);t!==void 0&&(e.height=t)}}return e}var Vh=Vp?{passive:!0}:!1;function Hh(e,t,n){e&&e.addEventListener(t,n,Vh)}function Uh(e,t,n){e&&e.canvas&&e.canvas.removeEventListener(t,n,Vh)}function Wh(e,t){let n=Rh[e.type]||e.type,{x:r,y:i}=Ip(e,t);return{type:n,chart:t,native:e,x:r===void 0?null:r,y:i===void 0?null:i}}function Gh(e,t){for(let n of e)if(n===t||n.contains(t))return!0}function Kh(e,t,n){let r=e.canvas,i=new MutationObserver(e=>{let t=!1;for(let n of e)t||=Gh(n.addedNodes,r),t&&=!Gh(n.removedNodes,r);t&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}function qh(e,t,n){let r=e.canvas,i=new MutationObserver(e=>{let t=!1;for(let n of e)t||=Gh(n.removedNodes,r),t&&=!Gh(n.addedNodes,r);t&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}var Jh=new Map,Yh=0;function Xh(){let e=window.devicePixelRatio;e!==Yh&&(Yh=e,Jh.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function Zh(e,t){Jh.size||window.addEventListener(`resize`,Xh),Jh.set(e,t)}function Qh(e){Jh.delete(e),Jh.size||window.removeEventListener(`resize`,Xh)}function $h(e,t,n){let r=e.canvas,i=r&&Op(r);if(!i)return;let a=qd((e,t)=>{let r=i.clientWidth;n(e,t),r<i.clientWidth&&n()},window),o=new ResizeObserver(e=>{let t=e[0],n=t.contentRect.width,r=t.contentRect.height;(n!==0||r!==0)&&a(n,r)});return o.observe(i),Zh(e,a),o}function eg(e,t,n){n&&n.disconnect(),t===`resize`&&Qh(e)}function tg(e,t,n){let r=e.canvas,i=qd(t=>{e.ctx!==null&&n(Wh(t,e))},e);return Hh(r,t,i),i}var ng=class extends Fh{acquireContext(e,t){let n=e&&e.getContext&&e.getContext(`2d`);return n&&n.canvas===e?(Bh(e,t),n):null}releaseContext(e){let t=e.canvas;if(!t[Lh])return!1;let n=t[Lh].initial;[`height`,`width`].forEach(e=>{let r=n[e];F(r)?t.removeAttribute(e):t.setAttribute(e,r)});let r=n.style||{};return Object.keys(r).forEach(e=>{t.style[e]=r[e]}),t.width=t.width,delete t[Lh],!0}addEventListener(e,t,n){this.removeEventListener(e,t);let r=e.$proxies||={};r[t]=({attach:Kh,detach:qh,resize:$h}[t]||tg)(e,t,n)}removeEventListener(e,t){let n=e.$proxies||={},r=n[t];r&&(({attach:eg,detach:eg,resize:eg}[t]||Uh)(e,t,r),n[t]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,n,r){return zp(e,t,n,r)}isAttached(e){let t=e&&Op(e);return!!(t&&t.isConnected)}};function rg(e){return!Dp()||typeof OffscreenCanvas<`u`&&e instanceof OffscreenCanvas?Ih:ng}var ig=class{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(e){let{x:t,y:n}=this.getProps([`x`,`y`],e);return{x:t,y:n}}hasValue(){return Td(this.x)&&Td(this.y)}getProps(e,t){let n=this.$animations;if(!t||!n)return this;let r={};return e.forEach(e=>{r[e]=n[e]&&n[e].active()?n[e]._to:this[e]}),r}};function ag(e,t){let n=e.options.ticks,r=og(e),i=Math.min(n.maxTicksLimit||r,r),a=n.major.enabled?cg(t):[],o=a.length,s=a[0],c=a[o-1],l=[];if(o>i)return lg(t,l,a,o/i),l;let u=sg(a,t,i);if(o>0){let e,n,r=o>1?Math.round((c-s)/(o-1)):null;for(ug(t,l,u,F(r)?0:s-r,s),e=0,n=o-1;e<n;e++)ug(t,l,u,a[e],a[e+1]);return ug(t,l,u,c,F(r)?t.length:c+r),l}return ug(t,l,u),l}function og(e){let t=e.options.offset,n=e._tickSize(),r=e._length/n+ +!t,i=e._maxLength/n;return Math.floor(Math.min(r,i))}function sg(e,t,n){let r=dg(e),i=t.length/n;if(!r)return Math.max(i,1);let a=Cd(r);for(let e=0,t=a.length-1;e<t;e++){let t=a[e];if(t>i)return t}return Math.max(i,1)}function cg(e){let t=[],n,r;for(n=0,r=e.length;n<r;n++)e[n].major&&t.push(n);return t}function lg(e,t,n,r){let i=0,a=n[0],o;for(r=Math.ceil(r),o=0;o<e.length;o++)o===a&&(t.push(e[o]),i++,a=n[i*r])}function ug(e,t,n,r,i){let a=z(r,0),o=Math.min(z(i,e.length),e.length),s=0,c,l,u;for(n=Math.ceil(n),i&&(c=i-r,n=c/Math.floor(c/n)),u=a;u<0;)s++,u=Math.round(a+s*n);for(l=Math.max(a,0);l<o;l++)l===u&&(t.push(e[l]),s++,u=Math.round(a+s*n))}function dg(e){let t=e.length,n,r;if(t<2)return!1;for(r=e[0],n=1;n<t;++n)if(e[n]-e[n-1]!==r)return!1;return r}var fg=e=>e===`left`?`right`:e===`right`?`left`:e,pg=(e,t,n)=>t===`top`||t===`left`?e[t]+n:e[t]-n,mg=(e,t)=>Math.min(t||e,e);function hg(e,t){let n=[],r=e.length/t,i=e.length,a=0;for(;a<i;a+=r)n.push(e[Math.floor(a)]);return n}function gg(e,t,n){let r=e.ticks.length,i=Math.min(t,r-1),a=e._startPixel,o=e._endPixel,s=1e-6,c=e.getPixelForTick(i),l;if(!(n&&(l=r===1?Math.max(c-a,o-c):t===0?(e.getPixelForTick(1)-c)/2:(c-e.getPixelForTick(i-1))/2,c+=i<t?l:-l,c<a-s||c>o+s)))return c}function _g(e,t){V(e,e=>{let n=e.gc,r=n.length/2,i;if(r>t){for(i=0;i<r;++i)delete e.data[n[i]];n.splice(0,r)}})}function vg(e){return e.drawTicks?e.tickLength:0}function yg(e,t){if(!e.display)return 0;let n=q(e.font,t),r=qf(e.padding);return(I(e.text)?e.text.length:1)*n.lineHeight+r.height}function bg(e,t){return Xf(e,{scale:t,type:`scale`})}function xg(e,t,n){return Xf(e,{tick:n,index:t,type:`tick`})}function Sg(e,t,n){let r=Yd(e);return(n&&t!==`right`||!n&&t===`right`)&&(r=fg(r)),r}function Cg(e,t,n,r){let{top:i,left:a,bottom:o,right:s,chart:c}=e,{chartArea:l,scales:u}=c,d=0,f,p,m,h=o-i,g=s-a;if(e.isHorizontal()){if(p=Xd(r,a,s),L(n)){let e=Object.keys(n)[0],r=n[e];m=u[e].getPixelForValue(r)+h-t}else m=n===`center`?(l.bottom+l.top)/2+h-t:pg(e,n,t);f=s-a}else{if(L(n)){let e=Object.keys(n)[0],r=n[e];p=u[e].getPixelForValue(r)-g+t}else p=n===`center`?(l.left+l.right)/2-g+t:pg(e,n,t);m=Xd(r,o,i),d=n===`left`?-W:W}return{titleX:p,titleY:m,maxWidth:f,rotation:d}}var wg=class e extends ig{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,t){return e}getUserBounds(){let{_userMin:e,_userMax:t,_suggestedMin:n,_suggestedMax:r}=this;return e=Yu(e,1/0),t=Yu(t,-1/0),n=Yu(n,1/0),r=Yu(r,-1/0),{min:Yu(e,n),max:Yu(t,r),minDefined:R(e),maxDefined:R(t)}}getMinMax(e){let{min:t,max:n,minDefined:r,maxDefined:i}=this.getUserBounds(),a;if(r&&i)return{min:t,max:n};let o=this.getMatchingVisibleMetas();for(let s=0,c=o.length;s<c;++s)a=o[s].controller.getMinMax(this,e),r||(t=Math.min(t,a.min)),i||(n=Math.max(n,a.max));return t=i&&t>n?n:t,n=r&&t>n?t:n,{min:Yu(t,Yu(n,t)),max:Yu(n,Yu(t,n))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){let e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||=this._computeLabelItems(e)}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){B(this.options.beforeUpdate,[this])}update(e,t,n){let{beginAtZero:r,grace:i,ticks:a}=this.options,o=a.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=t,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||=(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=Yf(this,i,r),!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();let s=o<this.ticks.length;this._convertTicksToLabels(s?hg(this.ticks,o):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),a.display&&(a.autoSkip||a.source===`auto`)&&(this.ticks=ag(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),s&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e=this.options.reverse,t,n;this.isHorizontal()?(t=this.left,n=this.right):(t=this.top,n=this.bottom,e=!e),this._startPixel=t,this._endPixel=n,this._reversePixels=e,this._length=n-t,this._alignToPixels=this.options.alignToPixels}afterUpdate(){B(this.options.afterUpdate,[this])}beforeSetDimensions(){B(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){B(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),B(this.options[e],[this])}beforeDataLimits(){this._callHooks(`beforeDataLimits`)}determineDataLimits(){}afterDataLimits(){this._callHooks(`afterDataLimits`)}beforeBuildTicks(){this._callHooks(`beforeBuildTicks`)}buildTicks(){return[]}afterBuildTicks(){this._callHooks(`afterBuildTicks`)}beforeTickToLabelConversion(){B(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){let t=this.options.ticks,n,r,i;for(n=0,r=e.length;n<r;n++)i=e[n],i.label=B(t.callback,[i.value,n,e],this)}afterTickToLabelConversion(){B(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){B(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){let e=this.options,t=e.ticks,n=mg(this.ticks.length,e.ticks.maxTicksLimit),r=t.minRotation||0,i=t.maxRotation,a=r,o,s,c;if(!this._isVisible()||!t.display||r>=i||n<=1||!this.isHorizontal()){this.labelRotation=r;return}let l=this._getLabelSizes(),u=l.widest.width,d=l.highest.height,f=G(this.chart.width-u,0,this.maxWidth);o=e.offset?this.maxWidth/n:f/(n-1),u+6>o&&(o=f/(n-(e.offset?.5:1)),s=this.maxHeight-vg(e.grid)-t.padding-yg(e.title,this.chart.options.font),c=Math.sqrt(u*u+d*d),a=kd(Math.min(Math.asin(G((l.highest.height+6)/o,-1,1)),Math.asin(G(s/c,-1,1))-Math.asin(G(d/c,-1,1)))),a=Math.max(r,Math.min(i,a))),this.labelRotation=a}afterCalculateLabelRotation(){B(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){B(this.options.beforeFit,[this])}fit(){let e={width:0,height:0},{chart:t,options:{ticks:n,title:r,grid:i}}=this,a=this._isVisible(),o=this.isHorizontal();if(a){let a=yg(r,t.options.font);if(o?(e.width=this.maxWidth,e.height=vg(i)+a):(e.height=this.maxHeight,e.width=vg(i)+a),n.display&&this.ticks.length){let{first:t,last:r,widest:i,highest:a}=this._getLabelSizes(),s=n.padding*2,c=Od(this.labelRotation),l=Math.cos(c),u=Math.sin(c);if(o){let t=n.mirror?0:u*i.width+l*a.height;e.height=Math.min(this.maxHeight,e.height+t+s)}else{let t=n.mirror?0:l*i.width+u*a.height;e.width=Math.min(this.maxWidth,e.width+t+s)}this._calculatePadding(t,r,u,l)}}this._handleMargins(),o?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,t,n,r){let{ticks:{align:i,padding:a},position:o}=this.options,s=this.labelRotation!==0,c=o!==`top`&&this.axis===`x`;if(this.isHorizontal()){let o=this.getPixelForTick(0)-this.left,l=this.right-this.getPixelForTick(this.ticks.length-1),u=0,d=0;s?c?(u=r*e.width,d=n*t.height):(u=n*e.height,d=r*t.width):i===`start`?d=t.width:i===`end`?u=e.width:i!==`inner`&&(u=e.width/2,d=t.width/2),this.paddingLeft=Math.max((u-o+a)*this.width/(this.width-o),0),this.paddingRight=Math.max((d-l+a)*this.width/(this.width-l),0)}else{let n=t.height/2,r=e.height/2;i===`start`?(n=0,r=e.height):i===`end`&&(n=t.height,r=0),this.paddingTop=n+a,this.paddingBottom=r+a}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){B(this.options.afterFit,[this])}isHorizontal(){let{axis:e,position:t}=this.options;return t===`top`||t===`bottom`||e===`x`}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let t,n;for(t=0,n=e.length;t<n;t++)F(e[t].label)&&(e.splice(t,1),n--,t--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){let t=this.options.ticks.sampleSize,n=this.ticks;t<n.length&&(n=hg(n,t)),this._labelSizes=e=this._computeLabelSizes(n,n.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,t,n){let{ctx:r,_longestTextCache:i}=this,a=[],o=[],s=Math.floor(t/mg(t,n)),c=0,l=0,u,d,f,p,m,h,g,_,v,y,b;for(u=0;u<t;u+=s){if(p=e[u].label,m=this._resolveTickFontOptions(u),r.font=h=m.string,g=i[h]=i[h]||{data:{},gc:[]},_=m.lineHeight,v=y=0,!F(p)&&!I(p))v=wf(r,g.data,g.gc,v,p),y=_;else if(I(p))for(d=0,f=p.length;d<f;++d)b=p[d],!F(b)&&!I(b)&&(v=wf(r,g.data,g.gc,v,b),y+=_);a.push(v),o.push(y),c=Math.max(v,c),l=Math.max(y,l)}_g(i,t);let x=a.indexOf(c),S=o.indexOf(l),C=e=>({width:a[e]||0,height:o[e]||0});return{first:C(0),last:C(t-1),widest:C(x),highest:C(S),widths:a,heights:o}}getLabelForValue(e){return e}getPixelForValue(e,t){return NaN}getValueForPixel(e){}getPixelForTick(e){let t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);let t=this._startPixel+e*this._length;return Id(this._alignToPixels?Ef(this.chart,t,0):t)}getDecimalForPixel(e){let t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){let{min:e,max:t}=this;return e<0&&t<0?t:e>0&&t>0?e:0}getContext(e){let t=this.ticks||[];if(e>=0&&e<t.length){let n=t[e];return n.$context||=xg(this.getContext(),e,n)}return this.$context||=bg(this.chart.getContext(),this)}_tickSize(){let e=this.options.ticks,t=Od(this.labelRotation),n=Math.abs(Math.cos(t)),r=Math.abs(Math.sin(t)),i=this._getLabelSizes(),a=e.autoSkipPadding||0,o=i?i.widest.width+a:0,s=i?i.highest.height+a:0;return this.isHorizontal()?s*n>o*r?o/n:s/r:s*r<o*n?s/n:o/r}_isVisible(){let e=this.options.display;return e===`auto`?this.getMatchingVisibleMetas().length>0:!!e}_computeGridLineItems(e){let t=this.axis,n=this.chart,r=this.options,{grid:i,position:a,border:o}=r,s=i.offset,c=this.isHorizontal(),l=this.ticks.length+ +!!s,u=vg(i),d=[],f=o.setContext(this.getContext()),p=f.display?f.width:0,m=p/2,h=function(e){return Ef(n,e,p)},g,_,v,y,b,x,S,C,w,T,E,D;if(a===`top`)g=h(this.bottom),x=this.bottom-u,C=g-m,T=h(e.top)+m,D=e.bottom;else if(a===`bottom`)g=h(this.top),T=e.top,D=h(e.bottom)-m,x=g+m,C=this.top+u;else if(a===`left`)g=h(this.right),b=this.right-u,S=g-m,w=h(e.left)+m,E=e.right;else if(a===`right`)g=h(this.left),w=e.left,E=h(e.right)-m,b=g+m,S=this.left+u;else if(t===`x`){if(a===`center`)g=h((e.top+e.bottom)/2+.5);else if(L(a)){let e=Object.keys(a)[0],t=a[e];g=h(this.chart.scales[e].getPixelForValue(t))}T=e.top,D=e.bottom,x=g+m,C=x+u}else if(t===`y`){if(a===`center`)g=h((e.left+e.right)/2);else if(L(a)){let e=Object.keys(a)[0],t=a[e];g=h(this.chart.scales[e].getPixelForValue(t))}b=g-m,S=b-u,w=e.left,E=e.right}let O=z(r.ticks.maxTicksLimit,l),k=Math.max(1,Math.ceil(l/O));for(_=0;_<l;_+=k){let e=this.getContext(_),t=i.setContext(e),r=o.setContext(e),a=t.lineWidth,l=t.color,u=r.dash||[],f=r.dashOffset,p=t.tickWidth,m=t.tickColor,h=t.tickBorderDash||[],g=t.tickBorderDashOffset;v=gg(this,_,s),v!==void 0&&(y=Ef(n,v,a),c?b=S=w=E=y:x=C=T=D=y,d.push({tx1:b,ty1:x,tx2:S,ty2:C,x1:w,y1:T,x2:E,y2:D,width:a,color:l,borderDash:u,borderDashOffset:f,tickWidth:p,tickColor:m,tickBorderDash:h,tickBorderDashOffset:g}))}return this._ticksLength=l,this._borderValue=g,d}_computeLabelItems(e){let t=this.axis,n=this.options,{position:r,ticks:i}=n,a=this.isHorizontal(),o=this.ticks,{align:s,crossAlign:c,padding:l,mirror:u}=i,d=vg(n.grid),f=d+l,p=u?-l:f,m=-Od(this.labelRotation),h=[],g,_,v,y,b,x,S,C,w,T,E,D,O=`middle`;if(r===`top`)x=this.bottom-p,S=this._getXAxisLabelAlignment();else if(r===`bottom`)x=this.top+p,S=this._getXAxisLabelAlignment();else if(r===`left`){let e=this._getYAxisLabelAlignment(d);S=e.textAlign,b=e.x}else if(r===`right`){let e=this._getYAxisLabelAlignment(d);S=e.textAlign,b=e.x}else if(t===`x`){if(r===`center`)x=(e.top+e.bottom)/2+f;else if(L(r)){let e=Object.keys(r)[0],t=r[e];x=this.chart.scales[e].getPixelForValue(t)+f}S=this._getXAxisLabelAlignment()}else if(t===`y`){if(r===`center`)b=(e.left+e.right)/2-f;else if(L(r)){let e=Object.keys(r)[0],t=r[e];b=this.chart.scales[e].getPixelForValue(t)}S=this._getYAxisLabelAlignment(d).textAlign}t===`y`&&(s===`start`?O=`top`:s===`end`&&(O=`bottom`));let k=this._getLabelSizes();for(g=0,_=o.length;g<_;++g){v=o[g],y=v.label;let e=i.setContext(this.getContext(g));C=this.getPixelForTick(g)+i.labelOffset,w=this._resolveTickFontOptions(g),T=w.lineHeight,E=I(y)?y.length:1;let t=E/2,n=e.color,s=e.textStrokeColor,l=e.textStrokeWidth,d=S;a?(b=C,S===`inner`&&(d=g===_-1?this.options.reverse?`left`:`right`:g===0?this.options.reverse?`right`:`left`:`center`),D=r===`top`?c===`near`||m!==0?-E*T+T/2:c===`center`?-k.highest.height/2-t*T+T:-k.highest.height+T/2:c===`near`||m!==0?T/2:c===`center`?k.highest.height/2-t*T:k.highest.height-E*T,u&&(D*=-1),m!==0&&!e.showLabelBackdrop&&(b+=T/2*Math.sin(m))):(x=C,D=(1-E)*T/2);let f;if(e.showLabelBackdrop){let t=qf(e.backdropPadding),n=k.heights[g],r=k.widths[g],i=D-t.top,a=0-t.left;switch(O){case`middle`:i-=n/2;break;case`bottom`:i-=n}switch(S){case`center`:a-=r/2;break;case`right`:a-=r;break;case`inner`:g===_-1?a-=r:g>0&&(a-=r/2)}f={left:a,top:i,width:r+t.width,height:n+t.height,color:e.backdropColor}}h.push({label:y,font:w,textOffset:D,options:{rotation:m,color:n,strokeColor:s,strokeWidth:l,textAlign:d,textBaseline:O,translation:[b,x],backdrop:f}})}return h}_getXAxisLabelAlignment(){let{position:e,ticks:t}=this.options;if(-Od(this.labelRotation))return e===`top`?`left`:`right`;let n=`center`;return t.align===`start`?n=`left`:t.align===`end`?n=`right`:t.align===`inner`&&(n=`inner`),n}_getYAxisLabelAlignment(e){let{position:t,ticks:{crossAlign:n,mirror:r,padding:i}}=this.options,a=this._getLabelSizes(),o=e+i,s=a.widest.width,c,l;return t===`left`?r?(l=this.right+i,n===`near`?c=`left`:n===`center`?(c=`center`,l+=s/2):(c=`right`,l+=s)):(l=this.right-o,n===`near`?c=`right`:n===`center`?(c=`center`,l-=s/2):(c=`left`,l=this.left)):t===`right`?r?(l=this.left+i,n===`near`?c=`right`:n===`center`?(c=`center`,l-=s/2):(c=`left`,l-=s)):(l=this.left+o,n===`near`?c=`left`:n===`center`?(c=`center`,l+=s/2):(c=`right`,l=this.right)):c=`right`,{textAlign:c,x:l}}_computeLabelArea(){if(this.options.ticks.mirror)return;let e=this.chart,t=this.options.position;if(t===`left`||t===`right`)return{top:0,left:this.left,bottom:e.height,right:this.right};if(t===`top`||t===`bottom`)return{top:this.top,left:0,bottom:this.bottom,right:e.width}}drawBackground(){let{ctx:e,options:{backgroundColor:t},left:n,top:r,width:i,height:a}=this;t&&(e.save(),e.fillStyle=t,e.fillRect(n,r,i,a),e.restore())}getLineWidthForValue(e){let t=this.options.grid;if(!this._isVisible()||!t.display)return 0;let n=this.ticks.findIndex(t=>t.value===e);return n>=0?t.setContext(this.getContext(n)).lineWidth:0}drawGrid(e){let t=this.options.grid,n=this.ctx,r=this._gridLineItems||=this._computeGridLineItems(e),i,a,o=(e,t,r)=>{r.width&&r.color&&(n.save(),n.lineWidth=r.width,n.strokeStyle=r.color,n.setLineDash(r.borderDash||[]),n.lineDashOffset=r.borderDashOffset,n.beginPath(),n.moveTo(e.x,e.y),n.lineTo(t.x,t.y),n.stroke(),n.restore())};if(t.display)for(i=0,a=r.length;i<a;++i){let e=r[i];t.drawOnChartArea&&o({x:e.x1,y:e.y1},{x:e.x2,y:e.y2},e),t.drawTicks&&o({x:e.tx1,y:e.ty1},{x:e.tx2,y:e.ty2},{color:e.tickColor,width:e.tickWidth,borderDash:e.tickBorderDash,borderDashOffset:e.tickBorderDashOffset})}}drawBorder(){let{chart:e,ctx:t,options:{border:n,grid:r}}=this,i=n.setContext(this.getContext()),a=n.display?i.width:0;if(!a)return;let o=r.setContext(this.getContext(0)).lineWidth,s=this._borderValue,c,l,u,d;this.isHorizontal()?(c=Ef(e,this.left,a)-a/2,l=Ef(e,this.right,o)+o/2,u=d=s):(u=Ef(e,this.top,a)-a/2,d=Ef(e,this.bottom,o)+o/2,c=l=s),t.save(),t.lineWidth=i.width,t.strokeStyle=i.color,t.beginPath(),t.moveTo(c,u),t.lineTo(l,d),t.stroke(),t.restore()}drawLabels(e){if(!this.options.ticks.display)return;let t=this.ctx,n=this._computeLabelArea();n&&jf(t,n);let r=this.getLabelItems(e);for(let e of r){let n=e.options,r=e.font,i=e.label,a=e.textOffset;Rf(t,i,0,a,r,n)}n&&Mf(t)}drawTitle(){let{ctx:e,options:{position:t,title:n,reverse:r}}=this;if(!n.display)return;let i=q(n.font),a=qf(n.padding),o=n.align,s=i.lineHeight/2;t===`bottom`||t===`center`||L(t)?(s+=a.bottom,I(n.text)&&(s+=i.lineHeight*(n.text.length-1))):s+=a.top;let{titleX:c,titleY:l,maxWidth:u,rotation:d}=Cg(this,s,t,o);Rf(e,n.text,0,0,i,{color:n.color,maxWidth:u,rotation:d,textAlign:Sg(o,t,r),textBaseline:`middle`,translation:[c,l],strokeColor:n.strokeColor,strokeWidth:n.strokeWidth})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){let t=this.options,n=t.ticks&&t.ticks.z||0,r=z(t.grid&&t.grid.z,-1),i=z(t.border&&t.border.z,0);return!this._isVisible()||this.draw!==e.prototype.draw?[{z:n,draw:e=>{this.draw(e)}}]:[{z:r,draw:e=>{this.drawBackground(),this.drawGrid(e),this.drawTitle()}},{z:i,draw:()=>{this.drawBorder()}},{z:n,draw:e=>{this.drawLabels(e)}}]}getMatchingVisibleMetas(e){let t=this.chart.getSortedVisibleDatasetMetas(),n=this.axis+`AxisID`,r=[],i,a;for(i=0,a=t.length;i<a;++i){let a=t[i];a[n]!==this.id||e&&a.type!==e||r.push(a)}return r}_resolveTickFontOptions(e){return q(this.options.ticks.setContext(this.getContext(e)).font)}_maxDigits(){let e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}},Tg=class{constructor(e,t,n){this.type=e,this.scope=t,this.override=n,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){let t=Object.getPrototypeOf(e),n;Og(t)&&(n=this.register(t));let r=this.items,i=e.id,a=this.scope+`.`+i;if(!i)throw Error(`class does not have id: `+e);return i in r||(r[i]=e,Eg(e,a,n),this.override&&K.override(e.id,e.overrides)),a}get(e){return this.items[e]}unregister(e){let t=this.items,n=e.id,r=this.scope;n in t&&delete t[n],r&&n in K[r]&&(delete K[r][n],this.override&&delete yf[n])}};function Eg(e,t,n){let r=nd(Object.create(null),[n?K.get(n):{},K.get(t),e.defaults]);K.set(t,r),e.defaultRoutes&&Dg(t,e.defaultRoutes),e.descriptors&&K.describe(t,e.descriptors)}function Dg(e,t){Object.keys(t).forEach(n=>{let r=n.split(`.`),i=r.pop(),a=[e].concat(r).join(`.`),o=t[n].split(`.`),s=o.pop(),c=o.join(`.`);K.route(a,i,c,s)})}function Og(e){return`id`in e&&`defaults`in e}var kg=new class{constructor(){this.controllers=new Tg(Rm,`datasets`,!0),this.elements=new Tg(ig,`elements`),this.plugins=new Tg(Object,`plugins`),this.scales=new Tg(wg,`scales`),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each(`register`,e)}remove(...e){this._each(`unregister`,e)}addControllers(...e){this._each(`register`,e,this.controllers)}addElements(...e){this._each(`register`,e,this.elements)}addPlugins(...e){this._each(`register`,e,this.plugins)}addScales(...e){this._each(`register`,e,this.scales)}getController(e){return this._get(e,this.controllers,`controller`)}getElement(e){return this._get(e,this.elements,`element`)}getPlugin(e){return this._get(e,this.plugins,`plugin`)}getScale(e){return this._get(e,this.scales,`scale`)}removeControllers(...e){this._each(`unregister`,e,this.controllers)}removeElements(...e){this._each(`unregister`,e,this.elements)}removePlugins(...e){this._each(`unregister`,e,this.plugins)}removeScales(...e){this._each(`unregister`,e,this.scales)}_each(e,t,n){[...t].forEach(t=>{let r=n||this._getRegistryForType(t);n||r.isForType(t)||r===this.plugins&&t.id?this._exec(e,r,t):V(t,t=>{let r=n||this._getRegistryForType(t);this._exec(e,r,t)})})}_exec(e,t,n){let r=ld(e);B(n[`before`+r],[],n),t[e](n),B(n[`after`+r],[],n)}_getRegistryForType(e){for(let t=0;t<this._typedRegistries.length;t++){let n=this._typedRegistries[t];if(n.isForType(e))return n}return this.plugins}_get(e,t,n){let r=t.get(e);if(r===void 0)throw Error(`"`+e+`" is not a registered `+n+`.`);return r}},Ag=class{constructor(){this._init=void 0}notify(e,t,n,r){if(t===`beforeInit`&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,`install`)),this._init===void 0)return;let i=r?this._descriptors(e).filter(r):this._descriptors(e),a=this._notify(i,e,t,n);return t===`afterDestroy`&&(this._notify(i,e,`stop`),this._notify(this._init,e,`uninstall`),this._init=void 0),a}_notify(e,t,n,r){r||={};for(let i of e){let e=i.plugin,a=e[n];if(B(a,[t,r,i.options],e)===!1&&r.cancelable)return!1}return!0}invalidate(){F(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;let t=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),t}_createDescriptors(e,t){let n=e&&e.config,r=z(n.options&&n.options.plugins,{}),i=jg(n);return r===!1&&!t?[]:Ng(e,i,r,t)}_notifyStateChanges(e){let t=this._oldCache||[],n=this._cache,r=(e,t)=>e.filter(e=>!t.some(t=>e.plugin.id===t.plugin.id));this._notify(r(t,n),e,`stop`),this._notify(r(n,t),e,`start`)}};function jg(e){let t={},n=[],r=Object.keys(kg.plugins.items);for(let e=0;e<r.length;e++)n.push(kg.getPlugin(r[e]));let i=e.plugins||[];for(let e=0;e<i.length;e++){let r=i[e];n.indexOf(r)===-1&&(n.push(r),t[r.id]=!0)}return{plugins:n,localIds:t}}function Mg(e,t){return!t&&e===!1?null:e===!0?{}:e}function Ng(e,{plugins:t,localIds:n},r,i){let a=[],o=e.getContext();for(let s of t){let t=s.id,c=Mg(r[t],i);c!==null&&a.push({plugin:s,options:Pg(e.config,{plugin:s,local:n[t]},c,o)})}return a}function Pg(e,{plugin:t,local:n},r,i){let a=e.pluginScopeKeys(t),o=e.getOptionScopes(r,a);return n&&t.defaults&&o.push(t.defaults),e.createResolver(o,i,[``],{scriptable:!1,indexable:!1,allKeys:!0})}function Fg(e,t){let n=K.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||n.indexAxis||`x`}function Ig(e,t){let n=e;return e===`_index_`?n=t:e===`_value_`&&(n=t===`x`?`y`:`x`),n}function Lg(e,t){return e===t?`_index_`:`_value_`}function Rg(e){if(e===`x`||e===`y`||e===`r`)return e}function zg(e){if(e===`top`||e===`bottom`)return`x`;if(e===`left`||e===`right`)return`y`}function Bg(e,...t){if(Rg(e))return e;for(let n of t){let t=n.axis||zg(n.position)||e.length>1&&Rg(e[0].toLowerCase());if(t)return t}throw Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function Vg(e,t,n){if(n[t+`AxisID`]===e)return{axis:t}}function Hg(e,t){if(t.data&&t.data.datasets){let n=t.data.datasets.filter(t=>t.xAxisID===e||t.yAxisID===e);if(n.length)return Vg(e,`x`,n[0])||Vg(e,`y`,n[0])}return{}}function Ug(e,t){let n=yf[e.type]||{scales:{}},r=t.scales||{},i=Fg(e.type,t),a=Object.create(null);return Object.keys(r).forEach(t=>{let o=r[t];if(!L(o))return console.error(`Invalid scale configuration for scale: ${t}`);if(o._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${t}`);let s=Bg(t,o,Hg(t,e),K.scales[o.type]),c=Lg(s,i),l=n.scales||{};a[t]=rd(Object.create(null),[{axis:s},o,l[s],l[c]])}),e.data.datasets.forEach(n=>{let i=n.type||e.type,o=n.indexAxis||Fg(i,t),s=(yf[i]||{}).scales||{};Object.keys(s).forEach(e=>{let t=Ig(e,o),i=n[t+`AxisID`]||t;a[i]=a[i]||Object.create(null),rd(a[i],[{axis:t},r[i],s[e]])})}),Object.keys(a).forEach(e=>{let t=a[e];rd(t,[K.scales[t.type],K.scale])}),a}function Wg(e){let t=e.options||={};t.plugins=z(t.plugins,{}),t.scales=Ug(e,t)}function Gg(e){return e||={},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function Kg(e){return e||={},e.data=Gg(e.data),Wg(e),e}var qg=new Map,Jg=new Set;function Yg(e,t){let n=qg.get(e);return n||(n=t(),qg.set(e,n),Jg.add(n)),n}var Xg=(e,t,n)=>{let r=cd(t,n);r!==void 0&&e.add(r)},Zg=class{constructor(e){this._config=Kg(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=Gg(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){let e=this._config;this.clearCache(),Wg(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return Yg(e,()=>[[`datasets.${e}`,``]])}datasetAnimationScopeKeys(e,t){return Yg(`${e}.transition.${t}`,()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,``]])}datasetElementScopeKeys(e,t){return Yg(`${e}-${t}`,()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,``]])}pluginScopeKeys(e){let t=e.id,n=this.type;return Yg(`${n}-plugin-${t}`,()=>[[`plugins.${t}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,t){let n=this._scopeCache,r=n.get(e);return(!r||t)&&(r=new Map,n.set(e,r)),r}getOptionScopes(e,t,n){let{options:r,type:i}=this,a=this._cachedScopes(e,n),o=a.get(t);if(o)return o;let s=new Set;t.forEach(t=>{e&&(s.add(e),t.forEach(t=>Xg(s,e,t))),t.forEach(e=>Xg(s,r,e)),t.forEach(e=>Xg(s,yf[i]||{},e)),t.forEach(e=>Xg(s,K,e)),t.forEach(e=>Xg(s,bf,e))});let c=Array.from(s);return c.length===0&&c.push(Object.create(null)),Jg.has(t)&&a.set(t,c),c}chartOptionScopes(){let{options:e,type:t}=this;return[e,yf[t]||{},K.datasets[t]||{},{type:t},K,bf]}resolveNamedOptions(e,t,n,r=[``]){let i={$shared:!0},{resolver:a,subPrefixes:o}=Qg(this._resolverCache,e,r),s=a;if(e_(a,t)){i.$shared=!1,n=dd(n)?n():n;let t=this.createResolver(e,n,o);s=Qf(a,n,t)}for(let e of t)i[e]=s[e];return i}createResolver(e,t,n=[``],r){let{resolver:i}=Qg(this._resolverCache,e,n);return L(t)?Qf(i,t,void 0,r):i}};function Qg(e,t,n){let r=e.get(t);r||(r=new Map,e.set(t,r));let i=n.join(),a=r.get(i);return a||(a={resolver:Zf(t,n),subPrefixes:n.filter(e=>!e.toLowerCase().includes(`hover`))},r.set(i,a)),a}var $g=e=>L(e)&&Object.getOwnPropertyNames(e).some(t=>dd(e[t]));function e_(e,t){let{isScriptable:n,isIndexable:r}=$f(e);for(let i of t){let t=n(i),a=r(i),o=(a||t)&&e[i];if(t&&(dd(o)||$g(o))||a&&I(o))return!0}return!1}var t_=`4.6.1`,n_=[`top`,`bottom`,`left`,`right`,`chartArea`];function r_(e,t){return e===`top`||e===`bottom`||n_.indexOf(e)===-1&&t===`x`}function i_(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}function a_(e){let t=e.chart,n=t.options.animation;t.notifyPlugins(`afterRender`),B(n&&n.onComplete,[e],t)}function o_(e){let t=e.chart,n=t.options.animation;B(n&&n.onProgress,[e],t)}function s_(e){return Dp()&&typeof e==`string`?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}var c_={},l_=e=>{let t=s_(e);return Object.values(c_).filter(e=>e.canvas===t).pop()};function u_(e,t,n){let r=Object.keys(e);for(let i of r){let r=+i;if(r>=t){let a=e[i];delete e[i],(n>0||r>t)&&(e[r+n]=a)}}}function d_(e,t,n,r){return!n||e.type===`mouseout`?null:r?t:e}var f_=class{static defaults=K;static instances=c_;static overrides=yf;static registry=kg;static version=t_;static getChart=l_;static register(...e){kg.add(...e),p_()}static unregister(...e){kg.remove(...e),p_()}constructor(e,t){let n=this.config=new Zg(t),r=s_(e),i=l_(r);if(i)throw Error(`Canvas is already in use. Chart with ID '`+i.id+`' must be destroyed before the canvas with ID '`+i.canvas.id+`' can be reused.`);let a=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||(rg(r))),this.platform.updateConfig(n);let o=this.platform.acquireContext(r,a.aspectRatio),s=o&&o.canvas,c=s&&s.height,l=s&&s.width;this.id=Ju(),this.ctx=o,this.canvas=s,this.width=l,this.height=c,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Ag,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=Jd(e=>this.update(e),a.resizeDelay||0),this._dataChanges=[],c_[this.id]=this,!o||!s?console.error(`Failed to create chart: can't acquire context from the given item`):(fm.listen(this,`complete`,a_),fm.listen(this,`progress`,o_),this._initialize(),this.attached&&this.update())}get aspectRatio(){let{options:{aspectRatio:e,maintainAspectRatio:t},width:n,height:r,_aspectRatio:i}=this;return F(e)?t&&i?i:r?n/r:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return kg}_initialize(){return this.notifyPlugins(`beforeInit`),this.options.responsive?this.resize():Bp(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins(`afterInit`),this}clear(){return Df(this.canvas,this.ctx),this}stop(){return fm.stop(this),this}resize(e,t){fm.running(this)?this._resizeBeforeDraw={width:e,height:t}:this._resize(e,t)}_resize(e,t){let n=this.options,r=this.canvas,i=n.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(r,e,t,i),o=n.devicePixelRatio||this.platform.getDevicePixelRatio(),s=this.width?`resize`:`attach`;this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,Bp(this,o,!0)&&(this.notifyPlugins(`resize`,{size:a}),B(n.onResize,[this,a],this),this.attached&&this._doResize(s)&&this.render())}ensureScalesHaveIDs(){V(this.options.scales||{},(e,t)=>{e.id=t})}buildOrUpdateScales(){let e=this.options,t=e.scales,n=this.scales,r=Object.keys(n).reduce((e,t)=>(e[t]=!1,e),{}),i=[];t&&(i=i.concat(Object.keys(t).map(e=>{let n=t[e],r=Bg(e,n),i=r===`r`,a=r===`x`;return{options:n,dposition:i?`chartArea`:a?`bottom`:`left`,dtype:i?`radialLinear`:a?`category`:`linear`}}))),V(i,t=>{let i=t.options,a=i.id,o=Bg(a,i),s=z(i.type,t.dtype);(i.position===void 0||r_(i.position,o)!==r_(t.dposition))&&(i.position=t.dposition),r[a]=!0;let c=null;a in n&&n[a].type===s?c=n[a]:(c=new(kg.getScale(s))({id:a,type:s,ctx:this.ctx,chart:this}),n[c.id]=c),c.init(i,e)}),V(r,(e,t)=>{e||delete n[t]}),V(n,e=>{Ph.configure(this,e,e.options),Ph.addBox(this,e)})}_updateMetasets(){let e=this._metasets,t=this.data.datasets.length,n=e.length;if(e.sort((e,t)=>e.index-t.index),n>t){for(let e=t;e<n;++e)this._destroyDatasetMeta(e);e.splice(t,n-t)}this._sortedMetasets=e.slice(0).sort(i_(`order`,`index`))}_removeUnreferencedMetasets(){let{_metasets:e,data:{datasets:t}}=this;e.length>t.length&&delete this._stacks,e.forEach((e,n)=>{t.filter(t=>t===e._dataset).length===0&&this._destroyDatasetMeta(n)})}buildOrUpdateControllers(){let e=[],t=this.data.datasets,n,r;for(this._removeUnreferencedMetasets(),n=0,r=t.length;n<r;n++){let r=t[n],i=this.getDatasetMeta(n),a=r.type||this.config.type;if(i.type&&i.type!==a&&(this._destroyDatasetMeta(n),i=this.getDatasetMeta(n)),i.type=a,i.indexAxis=r.indexAxis||Fg(a,this.options),i.order=r.order||0,i.index=n,i.label=``+r.label,i.visible=this.isDatasetVisible(n),i.controller)i.controller.updateIndex(n),i.controller.linkScales();else{let t=kg.getController(a),{datasetElementType:r,dataElementType:o}=K.datasets[a];Object.assign(t,{dataElementType:kg.getElement(o),datasetElementType:r&&kg.getElement(r)}),i.controller=new t(this,n),e.push(i.controller)}}return this._updateMetasets(),e}_resetElements(){V(this.data.datasets,(e,t)=>{this.getDatasetMeta(t).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins(`reset`)}update(e){let t=this.config;t.update();let n=this._options=t.createResolver(t.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins(`beforeUpdate`,{mode:e,cancelable:!0})===!1)return;let i=this.buildOrUpdateControllers();this.notifyPlugins(`beforeElementsUpdate`);let a=0;for(let e=0,t=this.data.datasets.length;e<t;e++){let{controller:t}=this.getDatasetMeta(e),n=!r&&i.indexOf(t)===-1;t.buildOrUpdateElements(n),a=Math.max(+t.getMaxOverflow(),a)}a=this._minPadding=n.layout.autoPadding?a:0,this._updateLayout(a),r||V(i,e=>{e.reset()}),this._updateDatasets(e),this.notifyPlugins(`afterUpdate`,{mode:e}),this._layers.sort(i_(`z`,`_idx`));let{_active:o,_lastEvent:s}=this;s?this._eventHandler(s,!0):o.length&&this._updateHoverStyles(o,o,!0),this.render()}_updateScales(){V(this.scales,e=>{Ph.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){let e=this.options;fd(new Set(Object.keys(this._listeners)),new Set(e.events))&&!!this._responsiveListeners===e.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){let{_hiddenIndices:e}=this,t=this._getUniformDataChanges()||[];for(let{method:n,start:r,count:i}of t)u_(e,r,n===`_removeElements`?-i:i)}_getUniformDataChanges(){let e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];let t=this.data.datasets.length,n=t=>new Set(e.filter(e=>e[0]===t).map((e,t)=>t+`,`+e.splice(1).join(`,`))),r=n(0);for(let e=1;e<t;e++)if(!fd(r,n(e)))return;return Array.from(r).map(e=>e.split(`,`)).map(e=>({method:e[1],start:+e[2],count:+e[3]}))}_updateLayout(e){if(this.notifyPlugins(`beforeLayout`,{cancelable:!0})===!1)return;Ph.update(this,this.width,this.height,e);let t=this.chartArea,n=t.width<=0||t.height<=0;this._layers=[],V(this.boxes,e=>{n&&e.position===`chartArea`||(e.configure&&e.configure(),this._layers.push(...e._layers()))},this),this._layers.forEach((e,t)=>{e._idx=t}),this.notifyPlugins(`afterLayout`)}_updateDatasets(e){if(this.notifyPlugins(`beforeDatasetsUpdate`,{mode:e,cancelable:!0})!==!1){for(let e=0,t=this.data.datasets.length;e<t;++e)this.getDatasetMeta(e).controller.configure();for(let t=0,n=this.data.datasets.length;t<n;++t)this._updateDataset(t,dd(e)?e({datasetIndex:t}):e);this.notifyPlugins(`afterDatasetsUpdate`,{mode:e})}}_updateDataset(e,t){let n=this.getDatasetMeta(e),r={meta:n,index:e,mode:t,cancelable:!0};this.notifyPlugins(`beforeDatasetUpdate`,r)!==!1&&(n.controller._update(t),r.cancelable=!1,this.notifyPlugins(`afterDatasetUpdate`,r))}render(){this.notifyPlugins(`beforeRender`,{cancelable:!0})!==!1&&(fm.has(this)?this.attached&&!fm.running(this)&&fm.start(this):(this.draw(),a_({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){let{width:e,height:t}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(e,t)}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins(`beforeDraw`,{cancelable:!0})===!1)return;let t=this._layers;for(e=0;e<t.length&&t[e].z<=0;++e)t[e].draw(this.chartArea);for(this._drawDatasets();e<t.length;++e)t[e].draw(this.chartArea);this.notifyPlugins(`afterDraw`)}_getSortedDatasetMetas(e){let t=this._sortedMetasets,n=[],r,i;for(r=0,i=t.length;r<i;++r){let i=t[r];(!e||i.visible)&&n.push(i)}return n}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins(`beforeDatasetsDraw`,{cancelable:!0})===!1)return;let e=this.getSortedVisibleDatasetMetas();for(let t=e.length-1;t>=0;--t)this._drawDataset(e[t]);this.notifyPlugins(`afterDatasetsDraw`)}_drawDataset(e){let t=this.ctx,n={meta:e,index:e.index,cancelable:!0},r=dm(this,e);this.notifyPlugins(`beforeDatasetDraw`,n)!==!1&&(r&&jf(t,r),e.controller.draw(),r&&Mf(t),n.cancelable=!1,this.notifyPlugins(`afterDatasetDraw`,n))}isPointInArea(e){return Af(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,t,n,r){let i=_h.modes[t];return typeof i==`function`?i(this,e,n,r):[]}getDatasetMeta(e){let t=this.data.datasets[e],n=this._metasets,r=n.filter(e=>e&&e._dataset===t).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t&&t.order||0,index:e,_dataset:t,_parsed:[],_sorted:!1},n.push(r)),r}getContext(){return this.$context||=Xf(null,{chart:this,type:`chart`})}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){let t=this.data.datasets[e];if(!t)return!1;let n=this.getDatasetMeta(e);return typeof n.hidden==`boolean`?!n.hidden:!t.hidden}setDatasetVisibility(e,t){let n=this.getDatasetMeta(e);n.hidden=!t}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,t,n){let r=n?`show`:`hide`,i=this.getDatasetMeta(e),a=i.controller._resolveAnimations(void 0,r);ud(t)?(i.data[t].hidden=!n,this.update()):(this.setDatasetVisibility(e,n),a.update(i,{visible:n}),this.update(t=>t.datasetIndex===e?r:void 0))}hide(e,t){this._updateVisibility(e,t,!1)}show(e,t){this._updateVisibility(e,t,!0)}_destroyDatasetMeta(e){let t=this._metasets[e];t&&t.controller&&t.controller._destroy(),delete this._metasets[e]}_stop(){let e,t;for(this.stop(),fm.remove(this),e=0,t=this.data.datasets.length;e<t;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins(`beforeDestroy`);let{canvas:e,ctx:t}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),Df(e,t),this.platform.releaseContext(t),this.canvas=null,this.ctx=null),delete c_[this.id],this.notifyPlugins(`afterDestroy`)}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){let e=this._listeners,t=this.platform,n=(n,r)=>{t.addEventListener(this,n,r),e[n]=r},r=(e,t,n)=>{e.offsetX=t,e.offsetY=n,this._eventHandler(e)};V(this.options.events,e=>n(e,r))}bindResponsiveEvents(){this._responsiveListeners||={};let e=this._responsiveListeners,t=this.platform,n=(n,r)=>{t.addEventListener(this,n,r),e[n]=r},r=(n,r)=>{e[n]&&(t.removeEventListener(this,n,r),delete e[n])},i=(e,t)=>{this.canvas&&this.resize(e,t)},a,o=()=>{r(`attach`,o),this.attached=!0,this.resize(),n(`resize`,i),n(`detach`,a)};a=()=>{this.attached=!1,r(`resize`,i),this._stop(),this._resize(0,0),n(`attach`,o)},t.isAttached(this.canvas)?o():a()}unbindEvents(){V(this._listeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._listeners={},V(this._responsiveListeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,t,n){let r=n?`set`:`remove`,i,a,o,s;for(t===`dataset`&&(i=this.getDatasetMeta(e[0].datasetIndex),i.controller[`_`+r+`DatasetHoverStyle`]()),o=0,s=e.length;o<s;++o){a=e[o];let t=a&&this.getDatasetMeta(a.datasetIndex).controller;t&&t[r+`HoverStyle`](a.element,a.datasetIndex,a.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){let t=this._active||[],n=e.map(({datasetIndex:e,index:t})=>{let n=this.getDatasetMeta(e);if(!n)throw Error(`No dataset found at index `+e);return{datasetIndex:e,element:n.data[t],index:t}});Qu(n,t)||(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,t))}notifyPlugins(e,t,n){return this._plugins.notify(this,e,t,n)}isPluginEnabled(e){return this._plugins._cache.filter(t=>t.plugin.id===e).length===1}_updateHoverStyles(e,t,n){let r=this.options.hover,i=(e,t)=>e.filter(e=>!t.some(t=>e.datasetIndex===t.datasetIndex&&e.index===t.index)),a=i(t,e),o=n?e:i(e,t);a.length&&this.updateHoverStyle(a,r.mode,!1),o.length&&r.mode&&this.updateHoverStyle(o,r.mode,!0)}_eventHandler(e,t){let n={event:e,replay:t,cancelable:!0,inChartArea:this.isPointInArea(e)},r=t=>(t.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins(`beforeEvent`,n,r)===!1)return;let i=this._handleEvent(e,t,n.inChartArea);return n.cancelable=!1,this.notifyPlugins(`afterEvent`,n,r),(i||n.changed)&&this.render(),this}_handleEvent(e,t,n){let{_active:r=[],options:i}=this,a=t,o=this._getActiveElements(e,r,n,a),s=pd(e),c=d_(e,this._lastEvent,n,s);n&&(this._lastEvent=null,B(i.onHover,[e,o,this],this),s&&B(i.onClick,[e,o,this],this));let l=!Qu(o,r);return(l||t)&&(this._active=o,this._updateHoverStyles(o,r,t)),this._lastEvent=c,l}_getActiveElements(e,t,n,r){if(e.type===`mouseout`)return[];if(!n)return t;let i=this.options.hover;return this.getElementsAtEventForMode(e,i.mode,i,r)}};function p_(){return V(f_.instances,e=>e._plugins.invalidate())}function m_(e,t,n){let{startAngle:r,x:i,y:a,outerRadius:o,innerRadius:s,options:c}=t,{borderWidth:l,borderJoinStyle:u}=c,d=Math.min(l/o,Pd(r-n));if(e.beginPath(),e.arc(i,a,o-l/2,r+d/2,n-d/2),s>0){let t=Math.min(l/s,Pd(r-n));e.arc(i,a,s+l/2,n-t/2,r+t/2,!0)}else{let t=Math.min(l/2,o*Pd(r-n));if(u===`round`)e.arc(i,a,t,n-H/2,r+H/2,!0);else if(u===`bevel`){let o=2*t*t,s=-o*Math.cos(n+H/2)+i,c=-o*Math.sin(n+H/2)+a,l=o*Math.cos(r+H/2)+i,u=o*Math.sin(r+H/2)+a;e.lineTo(s,c),e.lineTo(l,u)}}e.closePath(),e.moveTo(0,0),e.rect(0,0,e.canvas.width,e.canvas.height),e.clip(`evenodd`)}function h_(e,t,n){let{startAngle:r,pixelMargin:i,x:a,y:o,outerRadius:s,innerRadius:c}=t,l=i/s;e.beginPath(),e.arc(a,o,s,r-l,n+l),c>i?(l=i/c,e.arc(a,o,c,n+l,r-l,!0)):e.arc(a,o,i,n+W,r-W),e.closePath(),e.clip()}function g_(e){return Wf(e,[`outerStart`,`outerEnd`,`innerStart`,`innerEnd`])}function __(e,t,n,r){let i=g_(e.options.borderRadius),a=(n-t)/2,o=Math.min(a,r*t/2),s=e=>{let t=(n-Math.min(a,e))*r/2;return G(e,0,Math.min(a,t))};return{outerStart:s(i.outerStart),outerEnd:s(i.outerEnd),innerStart:G(i.innerStart,0,o),innerEnd:G(i.innerEnd,0,o)}}function v_(e,t,n,r){return{x:n+e*Math.cos(t),y:r+e*Math.sin(t)}}function y_(e,t,n,r){let{x:i,y:a,startAngle:o,pixelMargin:s,innerRadius:c}=t,l=Math.max(t.outerRadius+r+n-s,0),u=c>0?c+r+n+s:0;e.beginPath(),e.arc(i,a,l,o,o+U),u>0&&(e.moveTo(i+Math.cos(o)*u,a+Math.sin(o)*u),e.arc(i,a,u,o+U,o,!0)),e.closePath()}function b_(e,t,n,r,i,a){let{x:o,y:s,startAngle:c,pixelMargin:l,innerRadius:u}=t,{spacingMode:d=`angular`}=t.options,f=i-c;if(a&&t.options.selfJoin&&Math.abs(f)>=U-1e-4){y_(e,t,n,r);return}let p=Math.max(t.outerRadius+r+n-l,0),m=u>0?u+r+n+l:0,h=0,g=0,_=p>0?Math.max(.001,f*p-n/H)/p:.001,v=(f-_)/2;if(r){let e=((u>0?u-r:0)+(p>0?p-r:0))/2,t=(()=>{let t=e===0?f:f*e/(e+r);return(f-t)/2})(),n=e>0?Math.asin(Math.min(1,r/e)):0,i=Math.max(0,_/2-.001),a=Math.sin(i);if(d===`parallel`){if(m===0&&a>0){let e=r/a,t=Math.max(0,p-.001);m=Math.min(e,t)}let e=Math.min(p>0?p*a:1/0,m>0?m*a:1/0),t=Math.min(r,e);h=p>0?Math.asin(Math.min(1,t/p)):Math.min(i,n),g=m>0?Math.asin(Math.min(1,t/m)):h}else d===`proportional`?(h=Math.min(i,t),g=Math.min(i,t)):(h=Math.min(i,n),g=Math.min(i,n))}let y=c+v+h,b=i-v-h,x=c+v+g,S=i-v-g,C=Math.min(b-y,S-x),{outerStart:w,outerEnd:T,innerStart:E,innerEnd:D}=__(t,m,p,C),O=p-w,k=p-T,ee=y+w/O,A=b-T/k,j=m+E,M=m+D,te=x+E/j,ne=S-D/M;if(e.beginPath(),a){let t=(ee+A)/2;if(e.arc(o,s,p,ee,t),e.arc(o,s,p,t,A),T>0){let t=v_(k,A,o,s);e.arc(t.x,t.y,T,A,b+W)}let n=v_(M,S,o,s);if(e.lineTo(n.x,n.y),D>0){let t=v_(M,ne,o,s);e.arc(t.x,t.y,D,S+W,ne+Math.PI)}let r=(S-D/m+(x+E/m))/2;if(e.arc(o,s,m,S-D/m,r,!0),e.arc(o,s,m,r,x+E/m,!0),E>0){let t=v_(j,te,o,s);e.arc(t.x,t.y,E,te+Math.PI,x-W)}let i=v_(O,y,o,s);if(e.lineTo(i.x,i.y),w>0){let t=v_(O,ee,o,s);e.arc(t.x,t.y,w,y-W,ee)}}else{e.moveTo(o,s);let t=Math.cos(ee)*p+o,n=Math.sin(ee)*p+s;e.lineTo(t,n);let r=Math.cos(A)*p+o,i=Math.sin(A)*p+s;e.lineTo(r,i)}e.closePath()}function x_(e,t,n,r,i){let{fullCircles:a,startAngle:o,circumference:s}=t,c=t.endAngle;if(a){b_(e,t,n,r,c,i);for(let t=0;t<a;++t)e.fill();isNaN(s)||(c=o+(s%U||U))}return b_(e,t,n,r,c,i),e.fill(),c}function S_(e,t,n,r,i){let{fullCircles:a,startAngle:o,circumference:s,options:c}=t,{borderWidth:l,borderJoinStyle:u,borderDash:d,borderDashOffset:f,borderRadius:p}=c,m=c.borderAlign===`inner`;if(!l)return;e.setLineDash(d||[]),e.lineDashOffset=f,m?(e.lineWidth=l*2,e.lineJoin=u||`round`):(e.lineWidth=l,e.lineJoin=u||`bevel`);let h=t.endAngle,g=Math.abs(h-o)>=U-1e-4;if(a){b_(e,t,n,r,h,i);for(let t=0;t<a;++t)e.stroke();isNaN(s)||(h=o+(s%U||U))}m&&h_(e,t,h),!(g&&t.innerRadius>0)&&c.selfJoin&&h-o>=H&&p===0&&u!==`miter`&&m_(e,t,h),a||(b_(e,t,n,r,h,i),e.stroke())}var C_=class extends ig{static id=`arc`;static defaults={borderAlign:`center`,borderColor:`#fff`,borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,spacingMode:`angular`,angle:void 0,circular:!0,selfJoin:!1};static defaultRoutes={backgroundColor:`backgroundColor`};static descriptors={_scriptable:!0,_indexable:e=>e!==`borderDash`};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;circular;constructor(e){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,this.circular=!1,e&&Object.assign(this,e)}inRange(e,t,n){let{angle:r,distance:i}=jd(this.getProps([`x`,`y`],n),{x:e,y:t}),{startAngle:a,endAngle:o,innerRadius:s,outerRadius:c,circumference:l}=this.getProps([`startAngle`,`endAngle`,`innerRadius`,`outerRadius`,`circumference`],n),u=(this.options.spacing+this.options.borderWidth)/2,d=z(l,o-a),f=Fd(r,a,o)&&a!==o,p=d>=U||f,m=Ld(i,s+u,c+u);return p&&m}getCenterPoint(e){let{x:t,y:n,startAngle:r,endAngle:i,innerRadius:a,outerRadius:o}=this.getProps([`x`,`y`,`startAngle`,`endAngle`,`innerRadius`,`outerRadius`],e),{offset:s,spacing:c}=this.options,l=(r+i)/2,u=(a+o+c+s)/2;return{x:t+Math.cos(l)*u,y:n+Math.sin(l)*u}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){let{options:t,circumference:n}=this,r=(t.offset||0)/4,i=(t.spacing||0)/2,a=t.circular;if(this.pixelMargin=t.borderAlign===`inner`?.33:0,this.fullCircles=n>U?Math.floor(n/U):0,n===0||this.innerRadius<0||this.outerRadius<0)return;e.save();let o=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(o)*r,Math.sin(o)*r);let s=r*(1-Math.sin(Math.min(H,n||0)));e.fillStyle=t.backgroundColor,e.strokeStyle=t.borderColor,x_(e,this,s,i,a),S_(e,this,s,i,a),e.restore()}};function w_(e,t,n=t){e.lineCap=z(n.borderCapStyle,t.borderCapStyle),e.setLineDash(z(n.borderDash,t.borderDash)),e.lineDashOffset=z(n.borderDashOffset,t.borderDashOffset),e.lineJoin=z(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=z(n.borderWidth,t.borderWidth),e.strokeStyle=z(n.borderColor,t.borderColor)}function T_(e,t,n){e.lineTo(n.x,n.y)}function E_(e){return e.stepped?Nf:e.tension||e.cubicInterpolationMode===`monotone`?Pf:T_}function D_(e,t,n={}){let r=e.length,{start:i=0,end:a=r-1}=n,{start:o,end:s}=t,c=Math.max(i,o),l=Math.min(a,s),u=i<o&&a<o||i>s&&a>s;return{count:r,start:c,loop:t.loop,ilen:l<c&&!u?r+l-c:l-c}}function O_(e,t,n,r){let{points:i,options:a}=t,{count:o,start:s,loop:c,ilen:l}=D_(i,n,r),u=E_(a),{move:d=!0,reverse:f}=r||{},p,m,h;for(p=0;p<=l;++p)m=i[(s+(f?l-p:p))%o],!m.skip&&(d?(e.moveTo(m.x,m.y),d=!1):u(e,h,m,f,a.stepped),h=m);return c&&(m=i[(s+(f?l:0))%o],u(e,h,m,f,a.stepped)),!!c}function k_(e,t,n,r){let i=t.points,{count:a,start:o,ilen:s}=D_(i,n,r),{move:c=!0,reverse:l}=r||{},u=0,d=0,f,p,m,h,g,_,v=e=>(o+(l?s-e:e))%a,y=()=>{h!==g&&(e.lineTo(u,g),e.lineTo(u,h),e.lineTo(u,_))};for(c&&(p=i[v(0)],e.moveTo(p.x,p.y)),f=0;f<=s;++f){if(p=i[v(f)],p.skip)continue;let t=p.x,n=p.y,r=t|0;r===m?(n<h?h=n:n>g&&(g=n),u=(d*u+t)/++d):(y(),e.lineTo(t,n),m=r,d=0,h=g=n),_=n}y()}function A_(e){let t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!==`monotone`&&!t.stepped&&!n?k_:O_}function j_(e){return e.stepped?Wp:e.tension||e.cubicInterpolationMode===`monotone`?Gp:Up}function M_(e,t,n,r){let i=t._path;i||(i=t._path=new Path2D,t.path(i,n,r)&&i.closePath()),w_(e,t.options),e.stroke(i)}function N_(e,t,n,r){let{segments:i,options:a}=t,o=A_(t);for(let s of i)w_(e,a,s.style),e.beginPath(),o(e,t,s,{start:n,end:n+r-1})&&e.closePath(),e.stroke()}var P_=typeof Path2D==`function`;function F_(e,t,n,r){P_&&!t.options.segment?M_(e,t,n,r):N_(e,t,n,r)}var I_=class extends ig{static id=`line`;static defaults={borderCapStyle:`butt`,borderDash:[],borderDashOffset:0,borderJoinStyle:`miter`,borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:`default`,fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:`backgroundColor`,borderColor:`borderColor`};static descriptors={_scriptable:!0,_indexable:e=>e!==`borderDash`&&e!==`fill`};constructor(e){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,e&&Object.assign(this,e)}updateControlPoints(e,t){let n=this.options;if((n.tension||n.cubicInterpolationMode===`monotone`)&&!n.stepped&&!this._pointsUpdated){let r=n.spanGaps?this._loop:this._fullLoop;Ep(this._points,n,e,r,t),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||=im(this,this.options.segment)}first(){let e=this.segments,t=this.points;return e.length&&t[e[0].start]}last(){let e=this.segments,t=this.points,n=e.length;return n&&t[e[n-1].end]}interpolate(e,t){let n=this.options,r=e[t],i=this.points,a=tm(this,{property:t,start:r,end:r});if(!a.length)return;let o=[],s=j_(n),c,l;for(c=0,l=a.length;c<l;++c){let{start:l,end:u}=a[c],d=i[l],f=i[u];if(d===f){o.push(d);continue}let p=s(d,f,Math.abs((r-d[t])/(f[t]-d[t])),n.stepped);p[t]=e[t],o.push(p)}return o.length===1?o[0]:o}pathSegment(e,t,n){return A_(this)(e,this,t,n)}path(e,t,n){let r=this.segments,i=A_(this),a=this._loop;t||=0,n||=this.points.length-t;for(let o of r)a&=i(e,this,o,{start:t,end:t+n-1});return!!a}draw(e,t,n,r){let i=this.options||{};(this.points||[]).length&&i.borderWidth&&(e.save(),F_(e,this,n,r),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}};function L_(e,t,n,r){let i=e.options,{[n]:a}=e.getProps([n],r);return Math.abs(t-a)<i.radius+i.hitRadius}var R_=class extends ig{static id=`point`;parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:`circle`,radius:3,rotation:0};static defaultRoutes={backgroundColor:`backgroundColor`,borderColor:`borderColor`};constructor(e){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,e&&Object.assign(this,e)}inRange(e,t,n){let r=this.options,{x:i,y:a}=this.getProps([`x`,`y`],n);return(e-i)**2+(t-a)**2<(r.hitRadius+r.radius)**2}inXRange(e,t){return L_(this,e,`x`,t)}inYRange(e,t){return L_(this,e,`y`,t)}getCenterPoint(e){let{x:t,y:n}=this.getProps([`x`,`y`],e);return{x:t,y:n}}size(e){e=e||this.options||{};let t=e.radius||0;t=Math.max(t,t&&e.hoverRadius||0);let n=t&&e.borderWidth||0;return(t+n)*2}draw(e,t){let n=this.options;this.skip||n.radius<.1||!Af(this,t,this.size(n)/2)||(e.strokeStyle=n.borderColor,e.lineWidth=n.borderWidth,e.fillStyle=n.backgroundColor,Of(e,n,this.x,this.y))}getRange(){let e=this.options||{};return e.radius+e.hitRadius}};function z_(e,t){let{x:n,y:r,base:i,width:a,height:o}=e.getProps([`x`,`y`,`base`,`width`,`height`],t),s,c,l,u,d;return e.horizontal?(d=o/2,s=Math.min(n,i),c=Math.max(n,i),l=r-d,u=r+d):(d=a/2,s=n-d,c=n+d,l=Math.min(r,i),u=Math.max(r,i)),{left:s,top:l,right:c,bottom:u}}function B_(e,t,n,r){return e?0:G(t,n,r)}function V_(e,t,n){let r=e.options.borderWidth,i=e.borderSkipped,a=Gf(r);return{t:B_(i.top,a.top,0,n),r:B_(i.right,a.right,0,t),b:B_(i.bottom,a.bottom,0,n),l:B_(i.left,a.left,0,t)}}function H_(e,t,n){let{enableBorderRadius:r}=e.getProps([`enableBorderRadius`]),i=e.options.borderRadius,a=Kf(i),o=Math.min(t,n),s=e.borderSkipped,c=r||L(i);return{topLeft:B_(!c||s.top||s.left,a.topLeft,0,o),topRight:B_(!c||s.top||s.right,a.topRight,0,o),bottomLeft:B_(!c||s.bottom||s.left,a.bottomLeft,0,o),bottomRight:B_(!c||s.bottom||s.right,a.bottomRight,0,o)}}function U_(e){let t=z_(e),n=t.right-t.left,r=t.bottom-t.top,i=V_(e,n/2,r/2),a=H_(e,n/2,r/2);return{outer:{x:t.left,y:t.top,w:n,h:r,radius:a},inner:{x:t.left+i.l,y:t.top+i.t,w:n-i.l-i.r,h:r-i.t-i.b,radius:{topLeft:Math.max(0,a.topLeft-Math.max(i.t,i.l)),topRight:Math.max(0,a.topRight-Math.max(i.t,i.r)),bottomLeft:Math.max(0,a.bottomLeft-Math.max(i.b,i.l)),bottomRight:Math.max(0,a.bottomRight-Math.max(i.b,i.r))}}}}function W_(e,t,n,r){let i=t===null,a=n===null,o=e&&!(i&&a)&&z_(e,r);return o&&(i||Ld(t,o.left,o.right))&&(a||Ld(n,o.top,o.bottom))}function G_(e){return e.topLeft||e.topRight||e.bottomLeft||e.bottomRight}function K_(e,t){e.rect(t.x,t.y,t.w,t.h)}function q_(e,t,n={}){let r=e.x===n.x?0:-t,i=e.y===n.y?0:-t,a=(e.x+e.w===n.x+n.w?0:t)-r,o=(e.y+e.h===n.y+n.h?0:t)-i;return{x:e.x+r,y:e.y+i,w:e.w+a,h:e.h+o,radius:e.radius}}var J_=Object.freeze({__proto__:null,ArcElement:C_,BarElement:class extends ig{static id=`bar`;static defaults={borderSkipped:`start`,borderWidth:0,borderRadius:0,inflateAmount:`auto`,pointStyle:void 0};static defaultRoutes={backgroundColor:`backgroundColor`,borderColor:`borderColor`};constructor(e){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,e&&Object.assign(this,e)}draw(e){let{inflateAmount:t,options:{borderColor:n,backgroundColor:r}}=this,{inner:i,outer:a}=U_(this),o=G_(a.radius)?zf:K_;e.save(),(a.w!==i.w||a.h!==i.h)&&(e.beginPath(),o(e,q_(a,t,i)),e.clip(),o(e,q_(i,-t,a)),e.fillStyle=n,e.fill(`evenodd`)),e.beginPath(),o(e,q_(i,t)),e.fillStyle=r,e.fill(),e.restore()}inRange(e,t,n){return W_(this,e,t,n)}inXRange(e,t){return W_(this,e,null,t)}inYRange(e,t){return W_(this,null,e,t)}getCenterPoint(e){let{x:t,y:n,base:r,horizontal:i}=this.getProps([`x`,`y`,`base`,`horizontal`],e);return{x:i?(t+r)/2:t,y:i?n:(n+r)/2}}getRange(e){return e===`x`?this.width/2:this.height/2}},LineElement:I_,PointElement:R_}),Y_=[`rgb(54, 162, 235)`,`rgb(255, 99, 132)`,`rgb(255, 159, 64)`,`rgb(255, 205, 86)`,`rgb(75, 192, 192)`,`rgb(153, 102, 255)`,`rgb(201, 203, 207)`],X_=Y_.map(e=>e.replace(`rgb(`,`rgba(`).replace(`)`,`, 0.5)`));function Z_(e){return Y_[e%Y_.length]}function Q_(e){return X_[e%X_.length]}function $_(e,t){return e.borderColor=Z_(t),e.backgroundColor=Q_(t),++t}function ev(e,t){return e.backgroundColor=e.data.map(()=>Z_(t++)),t}function tv(e,t){return e.backgroundColor=e.data.map(()=>Q_(t++)),t}function nv(e){let t=0;return(n,r)=>{let i=e.getDatasetMeta(r).controller;i instanceof rh?t=ev(n,t):i instanceof ah?t=tv(n,t):i&&(t=$_(n,t))}}function rv(e){let t;for(t in e)if(e[t].borderColor||e[t].backgroundColor)return!0;return!1}function iv(e){return e&&(e.borderColor||e.backgroundColor)}function av(){return K.borderColor!==`rgba(0,0,0,0.1)`||K.backgroundColor!==`rgba(0,0,0,0.1)`}var ov={id:`colors`,defaults:{enabled:!0,forceOverride:!1},beforeLayout(e,t,n){if(!n.enabled)return;let{data:{datasets:r},options:i}=e.config,{elements:a}=i,o=rv(r)||iv(i)||a&&rv(a)||av();if(!n.forceOverride&&o)return;let s=nv(e);r.forEach(s)}};function sv(e,t,n,r,i){let a=i.samples||r;if(a>=n)return e.slice(t,t+n);let o=[],s=(n-2)/(a-2),c=0,l=t+n-1,u=t,d,f,p,m,h;for(o[c++]=e[u],d=0;d<a-2;d++){let r=0,i=0,a,l=Math.floor((d+1)*s)+1+t,g=Math.min(Math.floor((d+2)*s)+1,n)+t,_=g-l;for(a=l;a<g;a++)r+=e[a].x,i+=e[a].y;r/=_,i/=_;let v=Math.floor(d*s)+1+t,y=Math.min(Math.floor((d+1)*s)+1,n)+t,{x:b,y:x}=e[u];for(p=m=-1,a=v;a<y;a++)m=.5*Math.abs((b-r)*(e[a].y-x)-(b-e[a].x)*(i-x)),m>p&&(p=m,f=e[a],h=a);o[c++]=f,u=h}return o[c++]=e[l],o}function cv(e,t,n,r){let i=0,a=0,o,s,c,l,u,d,f,p,m,h,g=[],_=t+n-1,v=e[t].x,y=e[_].x-v;for(o=t;o<t+n;++o){s=e[o],c=(s.x-v)/y*r,l=s.y;let t=c|0;if(t===u)l<m?(m=l,d=o):l>h&&(h=l,f=o),i=(a*i+s.x)/++a;else{let n=o-1;if(!F(d)&&!F(f)){let t=Math.min(d,f),r=Math.max(d,f);t!==p&&t!==n&&g.push({...e[t],x:i}),r!==p&&r!==n&&g.push({...e[r],x:i})}o>0&&n!==p&&g.push(e[n]),g.push(s),u=t,a=0,m=h=l,d=f=p=o}}return g}function lv(e){if(e._decimated){let t=e._data;delete e._decimated,delete e._data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,writable:!0,value:t})}}function uv(e){e.data.datasets.forEach(e=>{lv(e)})}function dv(e,t){let n=t.length,r=0,i,{iScale:a}=e,{min:o,max:s,minDefined:c,maxDefined:l}=a.getUserBounds();return c&&(r=G(zd(t,a.axis,o).lo,0,n-1)),i=l?G(zd(t,a.axis,s).hi+1,r,n)-r:n-r,{start:r,count:i}}var fv={id:`decimation`,defaults:{algorithm:`min-max`,enabled:!1},beforeElementsUpdate:(e,t,n)=>{if(!n.enabled){uv(e);return}let r=e.width;e.data.datasets.forEach((t,i)=>{let{_data:a,indexAxis:o}=t,s=e.getDatasetMeta(i),c=a||t.data;if(Jf([o,e.options.indexAxis])===`y`||!s.controller.supportsDecimation)return;let l=e.scales[s.xAxisID];if(l.type!==`linear`&&l.type!==`time`||e.options.parsing)return;let{start:u,count:d}=dv(s,c);if(d<=(n.threshold||4*r)){lv(t);return}F(a)&&(t._data=c,delete t.data,Object.defineProperty(t,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(e){this._data=e}}));let f;switch(n.algorithm){case`lttb`:f=sv(c,u,d,r,n);break;case`min-max`:f=cv(c,u,d,r);break;default:throw Error(`Unsupported decimation algorithm '${n.algorithm}'`)}t._decimated=f})},destroy(e){uv(e)}};function pv(e,t,n){let r=e.segments,i=e.points,a=t.points,o=[];for(let e of r){let{start:r,end:s}=e;s=gv(r,s,i);let c=mv(n,i[r],i[s],e.loop);if(!t.segments){o.push({source:e,target:c,start:i[r],end:i[s]});continue}let l=tm(t,c);for(let t of l){let r=mv(n,a[t.start],a[t.end],t.loop),s=em(e,i,r);for(let e of s)o.push({source:e,target:t,start:{[n]:_v(c,r,`start`,Math.max)},end:{[n]:_v(c,r,`end`,Math.min)}})}}return o}function mv(e,t,n,r){if(r)return;let i=t[e],a=n[e];return e===`angle`&&(i=Pd(i),a=Pd(a)),{property:e,start:i,end:a}}function hv(e,t){let{x:n=null,y:r=null}=e||{},i=t.points,a=[];return t.segments.forEach(({start:e,end:t})=>{t=gv(e,t,i);let o=i[e],s=i[t];r===null?n!==null&&(a.push({x:n,y:o.y}),a.push({x:n,y:s.y})):(a.push({x:o.x,y:r}),a.push({x:s.x,y:r}))}),a}function gv(e,t,n){for(;t>e;t--){let e=n[t];if(!isNaN(e.x)&&!isNaN(e.y))break}return t}function _v(e,t,n,r){return e&&t?r(e[n],t[n]):e?e[n]:t?t[n]:0}function vv(e,t){let n=[],r=!1;return I(e)?(r=!0,n=e):n=hv(e,t),n.length?new I_({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function yv(e){return e&&e.fill!==!1}function bv(e,t,n){let r=e[t].fill,i=[t],a;if(!n)return r;for(;r!==!1&&i.indexOf(r)===-1;){if(!R(r))return r;if(a=e[r],!a)return!1;if(a.visible)return r;i.push(r),r=a.fill}return!1}function xv(e,t,n){let r=Tv(e);if(L(r))return!isNaN(r.value)&&r;let i=parseFloat(r);return R(i)&&Math.floor(i)===i?Sv(r[0],t,i,n):[`origin`,`start`,`end`,`stack`,`shape`].indexOf(r)>=0&&r}function Sv(e,t,n,r){return(e===`-`||e===`+`)&&(n=t+n),n===t||n<0||n>=r?!1:n}function Cv(e,t){let n=null;return e===`start`?n=t.bottom:e===`end`?n=t.top:L(e)?n=t.getPixelForValue(e.value):t.getBasePixel&&(n=t.getBasePixel()),n}function wv(e,t,n){let r;return r=e===`start`?n:e===`end`?t.options.reverse?t.min:t.max:L(e)?e.value:t.getBaseValue(),r}function Tv(e){let t=e.options,n=t.fill,r=z(n&&n.target,n);return r===void 0&&(r=!!t.backgroundColor),r===!1||r===null?!1:r===!0?`origin`:r}function Ev(e){let{scale:t,index:n,line:r}=e,i=[],a=r.segments,o=r.points,s=Dv(t,n);s.push(vv({x:null,y:t.bottom},r));for(let e=0;e<a.length;e++){let t=a[e];for(let e=t.start;e<=t.end;e++)Ov(i,o[e],s)}return new I_({points:i,options:{}})}function Dv(e,t){let n=[],r=e.getMatchingVisibleMetas(`line`);for(let e=0;e<r.length;e++){let i=r[e];if(i.index===t)break;i.hidden||n.unshift(i.dataset)}return n}function Ov(e,t,n){let r=[];for(let i=0;i<n.length;i++){let a=n[i],{first:o,last:s,point:c}=kv(a,t,`x`);if(!(!c||o&&s)){if(o)r.unshift(c);else if(e.push(c),!s)break}}e.push(...r)}function kv(e,t,n){let r=e.interpolate(t,n);if(!r)return{};let i=r[n],a=e.segments,o=e.points,s=!1,c=!1;for(let e=0;e<a.length;e++){let t=a[e],r=o[t.start][n],l=o[t.end][n];if(Ld(i,r,l)){s=i===r,c=i===l;break}}return{first:s,last:c,point:r}}var Av=class{constructor(e){this.x=e.x,this.y=e.y,this.radius=e.radius}pathSegment(e,t,n){let{x:r,y:i,radius:a}=this;return t||={start:0,end:U},e.arc(r,i,a,t.end,t.start,!0),!n.bounds}interpolate(e){let{x:t,y:n,radius:r}=this,i=e.angle;return{x:t+Math.cos(i)*r,y:n+Math.sin(i)*r,angle:i}}};function jv(e){let{chart:t,fill:n,line:r}=e;if(R(n))return Mv(t,n);if(n===`stack`)return Ev(e);if(n===`shape`)return!0;let i=Nv(e);return i instanceof Av?i:vv(i,r)}function Mv(e,t){let n=e.getDatasetMeta(t);return n&&e.isDatasetVisible(t)?n.dataset:null}function Nv(e){return(e.scale||{}).getPointPositionForValue?Fv(e):Pv(e)}function Pv(e){let{scale:t={},fill:n}=e,r=Cv(n,t);if(R(r)){let e=t.isHorizontal();return{x:e?r:null,y:e?null:r}}return null}function Fv(e){let{scale:t,fill:n}=e,r=t.options,i=t.getLabels().length,a=r.reverse?t.max:t.min,o=wv(n,t,a),s=[];if(r.grid.circular){let e=t.getPointPositionForValue(0,a);return new Av({x:e.x,y:e.y,radius:t.getDistanceFromCenterForValue(o)})}for(let e=0;e<i;++e)s.push(t.getPointPositionForValue(e,o));return s}function Iv(e,t,n){let r=jv(t),{chart:i,index:a,line:o,scale:s,axis:c}=t,l=o.options,u=l.fill,d=l.backgroundColor,{above:f=d,below:p=d}=u||{},m=i.getDatasetMeta(a),h=dm(i,m);r&&o.points.length&&(jf(e,Lv(n,m.iScale)),Rv(e,{line:o,target:r,above:f,below:p,area:n,scale:s,axis:c,clip:h}),Mf(e))}function Lv(e,t){if(!t||t.getPointPositionForValue)return e;let n=t.getPixelForValue(t.min),r=t.getPixelForValue(t.max),i=Math.min(n,r),a=Math.max(n,r);return t.isHorizontal()?{...e,left:Math.max(e.left,i),right:Math.min(e.right,a)}:{...e,top:Math.max(e.top,i),bottom:Math.min(e.bottom,a)}}function Rv(e,t){let{line:n,target:r,above:i,below:a,area:o,scale:s,clip:c}=t,l=n._loop?`angle`:t.axis;e.save();let u=a;a!==i&&(l===`x`?(zv(e,r,o.top),Vv(e,{line:n,target:r,color:i,scale:s,property:l,clip:c}),e.restore(),e.save(),zv(e,r,o.bottom)):l===`y`&&(Bv(e,r,o.left),Vv(e,{line:n,target:r,color:a,scale:s,property:l,clip:c}),e.restore(),e.save(),Bv(e,r,o.right),u=i)),Vv(e,{line:n,target:r,color:u,scale:s,property:l,clip:c}),e.restore()}function zv(e,t,n){let{segments:r,points:i}=t,a=!0,o=!1;e.beginPath();for(let s of r){let{start:r,end:c}=s,l=i[r],u=i[gv(r,c,i)];a?(e.moveTo(l.x,l.y),a=!1):(e.lineTo(l.x,n),e.lineTo(l.x,l.y)),o=!!t.pathSegment(e,s,{move:o}),o?e.closePath():e.lineTo(u.x,n)}e.lineTo(t.first().x,n),e.closePath(),e.clip()}function Bv(e,t,n){let{segments:r,points:i}=t,a=!0,o=!1;e.beginPath();for(let s of r){let{start:r,end:c}=s,l=i[r],u=i[gv(r,c,i)];a?(e.moveTo(l.x,l.y),a=!1):(e.lineTo(n,l.y),e.lineTo(l.x,l.y)),o=!!t.pathSegment(e,s,{move:o}),o?e.closePath():e.lineTo(n,u.y)}e.lineTo(n,t.first().y),e.closePath(),e.clip()}function Vv(e,t){let{line:n,target:r,property:i,color:a,scale:o,clip:s}=t,c=pv(n,r,i);for(let{source:t,target:l,start:u,end:d}of c){let{style:{backgroundColor:c=a}={}}=t,f=r!==!0;e.save(),e.fillStyle=c,Hv(e,o,s,f&&mv(i,u,d)),e.beginPath();let p=!!n.pathSegment(e,t),m;if(f){p?e.closePath():Uv(e,r,d,i);let t=!!r.pathSegment(e,l,{move:p,reverse:!0});m=p&&t,m||Uv(e,r,u,i)}e.closePath(),e.fill(m?`evenodd`:`nonzero`),e.restore()}}function Hv(e,t,n,r){let i=t.chart.chartArea,{property:a,start:o,end:s}=r||{};if(a===`x`||a===`y`){let t,r,c,l;a===`x`?(t=o,r=i.top,c=s,l=i.bottom):(t=i.left,r=o,c=i.right,l=s),e.beginPath(),n&&(t=Math.max(t,n.left),c=Math.min(c,n.right),r=Math.max(r,n.top),l=Math.min(l,n.bottom)),e.rect(t,r,c-t,l-r),e.clip()}}function Uv(e,t,n,r){let i=t.interpolate(n,r);i&&e.lineTo(i.x,i.y)}var Wv={id:`filler`,afterDatasetsUpdate(e,t,n){let r=(e.data.datasets||[]).length,i=[],a,o,s,c;for(o=0;o<r;++o)a=e.getDatasetMeta(o),s=a.dataset,c=null,s&&s.options&&s instanceof I_&&(c={visible:e.isDatasetVisible(o),index:o,fill:xv(s,o,r),chart:e,axis:a.controller.options.indexAxis,scale:a.vScale,line:s}),a.$filler=c,i.push(c);for(o=0;o<r;++o)c=i[o],c&&c.fill!==!1&&(c.fill=bv(i,o,n.propagate))},beforeDraw(e,t,n){let r=n.drawTime===`beforeDraw`,i=e.getSortedVisibleDatasetMetas(),a=e.chartArea;for(let t=i.length-1;t>=0;--t){let n=i[t].$filler;n&&(n.line.updateControlPoints(a,n.axis),r&&n.fill&&Iv(e.ctx,n,a))}},beforeDatasetsDraw(e,t,n){if(n.drawTime!==`beforeDatasetsDraw`)return;let r=e.getSortedVisibleDatasetMetas();for(let t=r.length-1;t>=0;--t){let n=r[t].$filler;yv(n)&&Iv(e.ctx,n,e.chartArea)}},beforeDatasetDraw(e,t,n){let r=t.meta.$filler;yv(r)&&n.drawTime===`beforeDatasetDraw`&&Iv(e.ctx,r,e.chartArea)},defaults:{propagate:!0,drawTime:`beforeDatasetDraw`}},Gv=(e,t)=>{let{boxHeight:n=t,boxWidth:r=t}=e;return e.usePointStyle&&(n=Math.min(n,t),r=e.pointStyleWidth||Math.min(r,t)),{boxWidth:r,boxHeight:n,itemHeight:Math.max(t,n)}},Kv=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index,qv=class extends ig{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.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(e,t,n){this.maxWidth=e,this.maxHeight=t,this._margins=n,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(){let e=this.options.labels||{},t=B(e.generateLabels,[this.chart],this)||[];e.filter&&(t=t.filter(t=>e.filter(t,this.chart.data))),e.sort&&(t=t.sort((t,n)=>e.sort(t,n,this.chart.data))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){let{options:e,ctx:t}=this;if(!e.display){this.width=this.height=0;return}let n=e.labels,r=q(n.font),i=r.size,a=this._computeTitleHeight(),{boxWidth:o,itemHeight:s}=Gv(n,i),c,l;t.font=r.string,this.isHorizontal()?(c=this.maxWidth,l=this._fitRows(a,i,o,s)+10):(l=this.maxHeight,c=this._fitCols(a,r,o,s)+10),this.width=Math.min(c,e.maxWidth||this.maxWidth),this.height=Math.min(l,e.maxHeight||this.maxHeight)}_fitRows(e,t,n,r){let{ctx:i,maxWidth:a,options:{labels:{padding:o}}}=this,s=this.legendHitBoxes=[],c=this.lineWidths=[0],l=r+o,u=e;i.textAlign=`left`,i.textBaseline=`middle`;let d=-1,f=-l;return this.legendItems.forEach((e,p)=>{let m=n+t/2+i.measureText(e.text).width;(p===0||c[c.length-1]+m+2*o>a)&&(u+=l,c[c.length-(p>0?0:1)]=0,f+=l,d++),s[p]={left:0,top:f,row:d,width:m,height:r},c[c.length-1]+=m+o}),u}_fitCols(e,t,n,r){let{ctx:i,maxHeight:a,options:{labels:{padding:o}}}=this,s=this.legendHitBoxes=[],c=this.columnSizes=[],l=a-e,u=o,d=0,f=0,p=0,m=0;return this.legendItems.forEach((e,a)=>{let{itemWidth:h,itemHeight:g}=Jv(n,t,i,e,r);a>0&&f+g+2*o>l&&(u+=d+o,c.push({width:d,height:f}),p+=d+o,m++,d=f=0),s[a]={left:p,top:f,col:m,width:h,height:g},d=Math.max(d,h),f+=g+o}),u+=d,c.push({width:d,height:f}),u}adjustHitBoxes(){if(!this.options.display)return;let e=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:n,labels:{padding:r},rtl:i}}=this,a=Jp(i,this.left,this.width);if(this.isHorizontal()){let i=0,o=Xd(n,this.left+r,this.right-this.lineWidths[i]);for(let s of t)i!==s.row&&(i=s.row,o=Xd(n,this.left+r,this.right-this.lineWidths[i])),s.top+=this.top+e+r,s.left=a.leftForLtr(a.x(o),s.width),o+=s.width+r}else{let i=0,o=Xd(n,this.top+e+r,this.bottom-this.columnSizes[i].height);for(let s of t)s.col!==i&&(i=s.col,o=Xd(n,this.top+e+r,this.bottom-this.columnSizes[i].height)),s.top=o,s.left+=this.left+r,s.left=a.leftForLtr(a.x(s.left),s.width),o+=s.height+r}}isHorizontal(){return this.options.position===`top`||this.options.position===`bottom`}draw(){if(this.options.display){let e=this.ctx;jf(e,this),this._draw(),Mf(e)}}_draw(){let{options:e,columnSizes:t,lineWidths:n,ctx:r}=this,{align:i,labels:a}=e,o=K.color,s=Jp(e.rtl,this.left,this.width),c=q(a.font),{padding:l}=a,u=c.size,d=u/2,f;this.drawTitle(),r.textAlign=s.textAlign(`left`),r.textBaseline=`middle`,r.lineWidth=.5,r.font=c.string;let{boxWidth:p,boxHeight:m,itemHeight:h}=Gv(a,u),g=function(e,t,n){if(isNaN(p)||p<=0||isNaN(m)||m<0)return;r.save();let i=z(n.lineWidth,1);if(r.fillStyle=z(n.fillStyle,o),r.lineCap=z(n.lineCap,`butt`),r.lineDashOffset=z(n.lineDashOffset,0),r.lineJoin=z(n.lineJoin,`miter`),r.lineWidth=i,r.strokeStyle=z(n.strokeStyle,o),r.setLineDash(z(n.lineDash,[])),a.usePointStyle){let o={radius:m*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:i},c=s.xPlus(e,p/2),l=t+d;kf(r,o,c,l,a.pointStyleWidth&&p)}else{let a=t+Math.max((u-m)/2,0),o=s.leftForLtr(e,p),c=Kf(n.borderRadius);r.beginPath(),Object.values(c).some(e=>e!==0)?zf(r,{x:o,y:a,w:p,h:m,radius:c}):r.rect(o,a,p,m),r.fill(),i!==0&&r.stroke()}r.restore()},_=function(e,t,n){Rf(r,n.text,e,t+h/2,c,{strikethrough:n.hidden,textAlign:s.textAlign(n.textAlign)})},v=this.isHorizontal(),y=this._computeTitleHeight();f=v?{x:Xd(i,this.left+l,this.right-n[0]),y:this.top+l+y,line:0}:{x:this.left+l,y:Xd(i,this.top+y+l,this.bottom-t[0].height),line:0},Yp(this.ctx,e.textDirection);let b=h+l;this.legendItems.forEach((o,u)=>{r.strokeStyle=o.fontColor,r.fillStyle=o.fontColor;let m=r.measureText(o.text).width,h=s.textAlign(o.textAlign||=a.textAlign),x=p+d+m,S=f.x,C=f.y;s.setWidth(this.width),v?u>0&&S+x+l>this.right&&(C=f.y+=b,f.line++,S=f.x=Xd(i,this.left+l,this.right-n[f.line])):u>0&&C+b>this.bottom&&(S=f.x=S+t[f.line].width+l,f.line++,C=f.y=Xd(i,this.top+y+l,this.bottom-t[f.line].height));let w=s.x(S);if(g(w,C,o),S=Zd(h,S+p+d,v?S+x:this.right,e.rtl),_(s.x(S),C,o),v)f.x+=x+l;else if(typeof o.text!=`string`){let e=c.lineHeight;f.y+=Zv(o,e)+l}else f.y+=b}),Xp(this.ctx,e.textDirection)}drawTitle(){let e=this.options,t=e.title,n=q(t.font),r=qf(t.padding);if(!t.display)return;let i=Jp(e.rtl,this.left,this.width),a=this.ctx,o=t.position,s=n.size/2,c=r.top+s,l,u=this.left,d=this.width;if(this.isHorizontal())d=Math.max(...this.lineWidths),l=this.top+c,u=Xd(e.align,u,this.right-d);else{let t=this.columnSizes.reduce((e,t)=>Math.max(e,t.height),0);l=c+Xd(e.align,this.top,this.bottom-t-e.labels.padding-this._computeTitleHeight())}let f=Xd(o,u,u+d);a.textAlign=i.textAlign(Yd(o)),a.textBaseline=`middle`,a.strokeStyle=t.color,a.fillStyle=t.color,a.font=n.string,Rf(a,t.text,f,l,n)}_computeTitleHeight(){let e=this.options.title,t=q(e.font),n=qf(e.padding);return e.display?t.lineHeight+n.height:0}_getLegendItemAt(e,t){let n,r,i;if(Ld(e,this.left,this.right)&&Ld(t,this.top,this.bottom)){for(i=this.legendHitBoxes,n=0;n<i.length;++n)if(r=i[n],Ld(e,r.left,r.left+r.width)&&Ld(t,r.top,r.top+r.height))return this.legendItems[n]}return null}handleEvent(e){let t=this.options;if(!Qv(e.type,t))return;let n=this._getLegendItemAt(e.x,e.y);if(e.type===`mousemove`||e.type===`mouseout`){let r=this._hoveredItem,i=Kv(r,n);r&&!i&&B(t.onLeave,[e,r,this],this),this._hoveredItem=n,n&&!i&&B(t.onHover,[e,n,this],this)}else n&&B(t.onClick,[e,n,this],this)}};function Jv(e,t,n,r,i){return{itemWidth:Yv(r,e,t,n),itemHeight:Xv(i,r,t.lineHeight)}}function Yv(e,t,n,r){let i=e.text;return i&&typeof i!=`string`&&(i=i.reduce((e,t)=>e.length>t.length?e:t)),t+n.size/2+r.measureText(i).width}function Xv(e,t,n){let r=e;return typeof t.text!=`string`&&(r=Zv(t,n)),r}function Zv(e,t){return t*(e.text?e.text.length:0)}function Qv(e,t){return!!((e===`mousemove`||e===`mouseout`)&&(t.onHover||t.onLeave)||t.onClick&&(e===`click`||e===`mouseup`))}var $v={id:`legend`,_element:qv,start(e,t,n){let r=e.legend=new qv({ctx:e.ctx,options:n,chart:e});Ph.configure(e,r,n),Ph.addBox(e,r)},stop(e){Ph.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){let r=e.legend;Ph.configure(e,r,n),r.options=n},afterUpdate(e){let t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:`top`,align:`center`,fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,n){let r=t.datasetIndex,i=n.chart;i.isDatasetVisible(r)?(i.hide(r),t.hidden=!0):(i.show(r),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){let t=e.data.datasets,{labels:{usePointStyle:n,pointStyle:r,textAlign:i,color:a,useBorderRadius:o,borderRadius:s}}=e.legend.options;return e._getSortedDatasetMetas().map(e=>{let c=e.controller.getStyle(n?0:void 0),l=qf(c.borderWidth);return{text:t[e.index].label,fillStyle:c.backgroundColor,fontColor:a,hidden:!e.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(l.width+l.height)/4,strokeStyle:c.borderColor,pointStyle:r||c.pointStyle,rotation:c.rotation,textAlign:i||c.textAlign,borderRadius:o&&(s||c.borderRadius),datasetIndex:e.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:`center`,text:``}},descriptors:{_scriptable:e=>!e.startsWith(`on`),labels:{_scriptable:e=>![`generateLabels`,`filter`,`sort`].includes(e)}}},ey=class extends ig{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.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(e,t){let n=this.options;if(this.left=0,this.top=0,!n.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=e,this.height=this.bottom=t;let r=I(n.text)?n.text.length:1;this._padding=qf(n.padding);let i=r*q(n.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=i:this.width=i}isHorizontal(){let e=this.options.position;return e===`top`||e===`bottom`}_drawArgs(e){let{top:t,left:n,bottom:r,right:i,options:a}=this,o=a.align,s=0,c,l,u;return this.isHorizontal()?(l=Xd(o,n,i),u=t+e,c=i-n):(a.position===`left`?(l=n+e,u=Xd(o,r,t),s=H*-.5):(l=i-e,u=Xd(o,t,r),s=H*.5),c=r-t),{titleX:l,titleY:u,maxWidth:c,rotation:s}}draw(){let e=this.ctx,t=this.options;if(!t.display)return;let n=q(t.font),r=n.lineHeight/2+this._padding.top,{titleX:i,titleY:a,maxWidth:o,rotation:s}=this._drawArgs(r);Rf(e,t.text,0,0,n,{color:t.color,maxWidth:o,rotation:s,textAlign:Yd(t.align),textBaseline:`middle`,translation:[i,a]})}};function ty(e,t){let n=new ey({ctx:e.ctx,options:t,chart:e});Ph.configure(e,n,t),Ph.addBox(e,n),e.titleBlock=n}var ny={id:`title`,_element:ey,start(e,t,n){ty(e,n)},stop(e){let t=e.titleBlock;Ph.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){let r=e.titleBlock;Ph.configure(e,r,n),r.options=n},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}},ry=new WeakMap,iy={id:`subtitle`,start(e,t,n){let r=new ey({ctx:e.ctx,options:n,chart:e});Ph.configure(e,r,n),Ph.addBox(e,r),ry.set(e,r)},stop(e){Ph.removeBox(e,ry.get(e)),ry.delete(e)},beforeUpdate(e,t,n){let r=ry.get(e);Ph.configure(e,r,n),r.options=n},defaults:{align:`center`,display:!1,font:{weight:`normal`},fullSize:!0,padding:0,position:`top`,text:``,weight:1500},defaultRoutes:{color:`color`},descriptors:{_scriptable:!0,_indexable:!1}},ay={average(e){if(!e.length)return!1;let t,n,r=new Set,i=0,a=0;for(t=0,n=e.length;t<n;++t){let n=e[t].element;if(n&&n.hasValue()){let e=n.tooltipPosition();r.add(e.x),i+=e.y,++a}}return a===0||r.size===0?!1:{x:[...r].reduce((e,t)=>e+t)/r.size,y:i/a}},nearest(e,t){if(!e.length)return!1;let n=t.x,r=t.y,i=1/0,a,o,s;for(a=0,o=e.length;a<o;++a){let n=e[a].element;if(n&&n.hasValue()){let e=Md(t,n.getCenterPoint());e<i&&(i=e,s=n)}}if(s){let e=s.tooltipPosition();n=e.x,r=e.y}return{x:n,y:r}}};function oy(e,t){return t&&(I(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function sy(e){return(typeof e==`string`||e instanceof String)&&e.indexOf(`
|
|
1
|
+
(()=>{if(typeof window>`u`)return;var e=Object.defineProperty,t=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n||e(r,Symbol.toStringTag,{value:`Module`}),r},n=`bottom`,r=`right`,i=`left`,a=`auto`,o=[`top`,n,r,i],s=`start`,c=`clippingParents`,l=`viewport`,u=`popper`,d=`reference`,f=o.reduce(function(e,t){return e.concat([t+`-`+s,t+`-end`])},[]),p=[].concat(o,[a]).reduce(function(e,t){return e.concat([t,t+`-`+s,t+`-end`])},[]),m=`beforeRead`,h=`read`,g=`afterRead`,_=`beforeMain`,v=`main`,y=`afterMain`,b=`beforeWrite`,x=`write`,S=`afterWrite`,C=[m,h,g,_,v,y,b,x,S];function w(e){return e?(e.nodeName||``).toLowerCase():null}function T(e){if(e==null)return window;if(e.toString()!==`[object Window]`){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function E(e){return e instanceof T(e).Element||e instanceof Element}function D(e){return e instanceof T(e).HTMLElement||e instanceof HTMLElement}function O(e){return typeof ShadowRoot>`u`?!1:e instanceof T(e).ShadowRoot||e instanceof ShadowRoot}function k(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];D(i)&&w(i)&&(Object.assign(i.style,n),Object.keys(r).forEach(function(e){var t=r[e];t===!1?i.removeAttribute(e):i.setAttribute(e,t===!0?``:t)}))})}function ee(e){var t=e.state,n={popper:{position:t.options.strategy,left:`0`,top:`0`,margin:`0`},arrow:{position:`absolute`},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],i=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]=``,e},{});D(r)&&w(r)&&(Object.assign(r.style,a),Object.keys(i).forEach(function(e){r.removeAttribute(e)}))})}}var A={name:`applyStyles`,enabled:!0,phase:`write`,fn:k,effect:ee,requires:[`computeStyles`]};function j(e){return e.split(`-`)[0]}var M=Math.max,te=Math.min,ne=Math.round;function re(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+`/`+e.version}).join(` `):navigator.userAgent}function ie(){return!/^((?!chrome|android).)*safari/i.test(re())}function ae(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,a=1;t&&D(e)&&(i=e.offsetWidth>0&&ne(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&ne(r.height)/e.offsetHeight||1);var o=(E(e)?T(e):window).visualViewport,s=!ie()&&n,c=(r.left+(s&&o?o.offsetLeft:0))/i,l=(r.top+(s&&o?o.offsetTop:0))/a,u=r.width/i,d=r.height/a;return{width:u,height:d,top:l,right:c+u,bottom:l+d,left:c,x:c,y:l}}function oe(e){var t=ae(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function se(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&O(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ce(e){return T(e).getComputedStyle(e)}function le(e){return[`table`,`td`,`th`].indexOf(w(e))>=0}function ue(e){return((E(e)?e.ownerDocument:e.document)||window.document).documentElement}function de(e){return w(e)===`html`?e:e.assignedSlot||e.parentNode||(O(e)?e.host:null)||ue(e)}function fe(e){return!D(e)||ce(e).position===`fixed`?null:e.offsetParent}function pe(e){var t=/firefox/i.test(re());if(/Trident/i.test(re())&&D(e)&&ce(e).position===`fixed`)return null;var n=de(e);for(O(n)&&(n=n.host);D(n)&&[`html`,`body`].indexOf(w(n))<0;){var r=ce(n);if(r.transform!==`none`||r.perspective!==`none`||r.contain===`paint`||[`transform`,`perspective`].indexOf(r.willChange)!==-1||t&&r.willChange===`filter`||t&&r.filter&&r.filter!==`none`)return n;n=n.parentNode}return null}function me(e){for(var t=T(e),n=fe(e);n&&le(n)&&ce(n).position===`static`;)n=fe(n);return n&&(w(n)===`html`||w(n)===`body`&&ce(n).position===`static`)?t:n||pe(e)||t}function he(e){return[`top`,`bottom`].indexOf(e)>=0?`x`:`y`}function ge(e,t,n){return M(e,te(t,n))}function _e(e,t,n){var r=ge(e,t,n);return r>n?n:r}function ve(){return{top:0,right:0,bottom:0,left:0}}function ye(e){return Object.assign({},ve(),e)}function be(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var xe=function(e,t){return e=typeof e==`function`?e(Object.assign({},t.rects,{placement:t.placement})):e,ye(typeof e==`number`?be(e,o):e)};function Se(e){var t,a=e.state,o=e.name,s=e.options,c=a.elements.arrow,l=a.modifiersData.popperOffsets,u=j(a.placement),d=he(u),f=[`left`,`right`].indexOf(u)>=0?`height`:`width`;if(c&&l){var p=xe(s.padding,a),m=oe(c),h=d===`y`?`top`:i,g=d===`y`?n:r,_=a.rects.reference[f]+a.rects.reference[d]-l[d]-a.rects.popper[f],v=l[d]-a.rects.reference[d],y=me(c),b=y?d===`y`?y.clientHeight||0:y.clientWidth||0:0,x=_/2-v/2,S=p[h],C=b-m[f]-p[g],w=b/2-m[f]/2+x,T=ge(S,w,C),E=d;a.modifiersData[o]=(t={},t[E]=T,t.centerOffset=T-w,t)}}function Ce(e){var t=e.state,n=e.options.element,r=n===void 0?`[data-popper-arrow]`:n;r!=null&&(typeof r==`string`&&(r=t.elements.popper.querySelector(r),!r)||se(t.elements.popper,r)&&(t.elements.arrow=r))}var we={name:`arrow`,enabled:!0,phase:`main`,fn:Se,effect:Ce,requires:[`popperOffsets`],requiresIfExists:[`preventOverflow`]};function Te(e){return e.split(`-`)[1]}var Ee={top:`auto`,right:`auto`,bottom:`auto`,left:`auto`};function De(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:ne(n*i)/i||0,y:ne(r*i)/i||0}}function Oe(e){var t,a=e.popper,o=e.popperRect,s=e.placement,c=e.variation,l=e.offsets,u=e.position,d=e.gpuAcceleration,f=e.adaptive,p=e.roundOffsets,m=e.isFixed,h=l.x,g=h===void 0?0:h,_=l.y,v=_===void 0?0:_,y=typeof p==`function`?p({x:g,y:v}):{x:g,y:v};g=y.x,v=y.y;var b=l.hasOwnProperty(`x`),x=l.hasOwnProperty(`y`),S=i,C=`top`,w=window;if(f){var E=me(a),D=`clientHeight`,O=`clientWidth`;if(E===T(a)&&(E=ue(a),ce(E).position!==`static`&&u===`absolute`&&(D=`scrollHeight`,O=`scrollWidth`)),E=E,s===`top`||(s===`left`||s===`right`)&&c===`end`){C=n;var k=m&&E===w&&w.visualViewport?w.visualViewport.height:E[D];v-=k-o.height,v*=d?1:-1}if(s===`left`||(s===`top`||s===`bottom`)&&c===`end`){S=r;var ee=m&&E===w&&w.visualViewport?w.visualViewport.width:E[O];g-=ee-o.width,g*=d?1:-1}}var A=Object.assign({position:u},f&&Ee),j=p===!0?De({x:g,y:v},T(a)):{x:g,y:v};if(g=j.x,v=j.y,d){var M;return Object.assign({},A,(M={},M[C]=x?`0`:``,M[S]=b?`0`:``,M.transform=(w.devicePixelRatio||1)<=1?`translate(`+g+`px, `+v+`px)`:`translate3d(`+g+`px, `+v+`px, 0)`,M))}return Object.assign({},A,(t={},t[C]=x?v+`px`:``,t[S]=b?g+`px`:``,t.transform=``,t))}function ke(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0||r,a=n.adaptive,o=a===void 0||a,s=n.roundOffsets,c=s===void 0||s,l={placement:j(t.placement),variation:Te(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy===`fixed`};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Oe(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Oe(Object.assign({},l,{offsets:t.modifiersData.arrow,position:`absolute`,adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Ae={name:`computeStyles`,enabled:!0,phase:`beforeWrite`,fn:ke,data:{}},je={passive:!0};function Me(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,a=i===void 0||i,o=r.resize,s=o===void 0||o,c=T(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&l.forEach(function(e){e.addEventListener(`scroll`,n.update,je)}),s&&c.addEventListener(`resize`,n.update,je),function(){a&&l.forEach(function(e){e.removeEventListener(`scroll`,n.update,je)}),s&&c.removeEventListener(`resize`,n.update,je)}}var Ne={name:`eventListeners`,enabled:!0,phase:`write`,fn:function(){},effect:Me,data:{}},Pe={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function Fe(e){return e.replace(/left|right|bottom|top/g,function(e){return Pe[e]})}var Ie={start:`end`,end:`start`};function Le(e){return e.replace(/start|end/g,function(e){return Ie[e]})}function Re(e){var t=T(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ze(e){return ae(ue(e)).left+Re(e).scrollLeft}function Be(e,t){var n=T(e),r=ue(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;var l=ie();(l||!l&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:a,height:o,x:s+ze(e),y:c}}function Ve(e){var t=ue(e),n=Re(e),r=e.ownerDocument?.body,i=M(t.scrollWidth,t.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=M(t.scrollHeight,t.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),o=-n.scrollLeft+ze(e),s=-n.scrollTop;return ce(r||t).direction===`rtl`&&(o+=M(t.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:o,y:s}}function He(e){var t=ce(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Ue(e){return[`html`,`body`,`#document`].indexOf(w(e))>=0?e.ownerDocument.body:D(e)&&He(e)?e:Ue(de(e))}function We(e,t){t===void 0&&(t=[]);var n=Ue(e),r=n===e.ownerDocument?.body,i=T(n),a=r?[i].concat(i.visualViewport||[],He(n)?n:[]):n,o=t.concat(a);return r?o:o.concat(We(de(a)))}function Ge(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ke(e,t){var n=ae(e,!1,t===`fixed`);return n.top+=e.clientTop,n.left+=e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function qe(e,t,n){return t===`viewport`?Ge(Be(e,n)):E(t)?Ke(t,n):Ge(Ve(ue(e)))}function Je(e){var t=We(de(e)),n=[`absolute`,`fixed`].indexOf(ce(e).position)>=0&&D(e)?me(e):e;return E(n)?t.filter(function(e){return E(e)&&se(e,n)&&w(e)!==`body`}):[]}function Ye(e,t,n,r){var i=t===`clippingParents`?Je(e):[].concat(t),a=[].concat(i,[n]),o=a[0],s=a.reduce(function(t,n){var i=qe(e,n,r);return t.top=M(i.top,t.top),t.right=te(i.right,t.right),t.bottom=te(i.bottom,t.bottom),t.left=M(i.left,t.left),t},qe(e,o,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Xe(e){var t=e.reference,a=e.element,o=e.placement,c=o?j(o):null,l=o?Te(o):null,u=t.x+t.width/2-a.width/2,d=t.y+t.height/2-a.height/2,f;switch(c){case`top`:f={x:u,y:t.y-a.height};break;case n:f={x:u,y:t.y+t.height};break;case r:f={x:t.x+t.width,y:d};break;case i:f={x:t.x-a.width,y:d};break;default:f={x:t.x,y:t.y}}var p=c?he(c):null;if(p!=null){var m=p===`y`?`height`:`width`;switch(l){case s:f[p]=f[p]-(t[m]/2-a[m]/2);break;case`end`:f[p]=f[p]+(t[m]/2-a[m]/2)}}return f}function Ze(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,a=n.strategy,s=a===void 0?e.strategy:a,f=n.boundary,p=f===void 0?c:f,m=n.rootBoundary,h=m===void 0?l:m,g=n.elementContext,_=g===void 0?u:g,v=n.altBoundary,y=v!==void 0&&v,b=n.padding,x=b===void 0?0:b,S=ye(typeof x==`number`?be(x,o):x),C=_===`popper`?d:u,w=e.rects.popper,T=e.elements[y?C:_],D=Ye(E(T)?T:T.contextElement||ue(e.elements.popper),p,h,s),O=ae(e.elements.reference),k=Xe({reference:O,element:w,strategy:`absolute`,placement:i}),ee=Ge(Object.assign({},w,k)),A=_===`popper`?ee:O,j={top:D.top-A.top+S.top,bottom:A.bottom-D.bottom+S.bottom,left:D.left-A.left+S.left,right:A.right-D.right+S.right},M=e.modifiersData.offset;if(_===`popper`&&M){var te=M[i];Object.keys(j).forEach(function(e){var t=[`right`,`bottom`].indexOf(e)>=0?1:-1,n=[`top`,`bottom`].indexOf(e)>=0?`y`:`x`;j[e]+=te[n]*t})}return j}function Qe(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,a=n.rootBoundary,s=n.padding,c=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?p:l,d=Te(r),m=d?c?f:f.filter(function(e){return Te(e)===d}):o,h=m.filter(function(e){return u.indexOf(e)>=0});h.length===0&&(h=m);var g=h.reduce(function(t,n){return t[n]=Ze(e,{placement:n,boundary:i,rootBoundary:a,padding:s})[j(n)],t},{});return Object.keys(g).sort(function(e,t){return g[e]-g[t]})}function $e(e){if(j(e)===`auto`)return[];var t=Fe(e);return[Le(e),t,Le(t)]}function et(e){var t=e.state,a=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var c=a.mainAxis,l=c===void 0||c,u=a.altAxis,d=u===void 0||u,f=a.fallbackPlacements,p=a.padding,m=a.boundary,h=a.rootBoundary,g=a.altBoundary,_=a.flipVariations,v=_===void 0||_,y=a.allowedAutoPlacements,b=t.options.placement,x=j(b)===b,S=f||(x||!v?[Fe(b)]:$e(b)),C=[b].concat(S).reduce(function(e,n){return e.concat(j(n)===`auto`?Qe(t,{placement:n,boundary:m,rootBoundary:h,padding:p,flipVariations:v,allowedAutoPlacements:y}):n)},[]),w=t.rects.reference,T=t.rects.popper,E=new Map,D=!0,O=C[0],k=0;k<C.length;k++){var ee=C[k],A=j(ee),M=Te(ee)===s,te=[`top`,n].indexOf(A)>=0,ne=te?`width`:`height`,re=Ze(t,{placement:ee,boundary:m,rootBoundary:h,altBoundary:g,padding:p}),ie=te?M?r:i:M?n:`top`;w[ne]>T[ne]&&(ie=Fe(ie));var ae=Fe(ie),oe=[];if(l&&oe.push(re[A]<=0),d&&oe.push(re[ie]<=0,re[ae]<=0),oe.every(function(e){return e})){O=ee,D=!1;break}E.set(ee,oe)}if(D)for(var se=v?3:1,ce=function(e){var t=C.find(function(t){var n=E.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return O=t,`break`},le=se;le>0&&ce(le)!==`break`;le--);t.placement!==O&&(t.modifiersData[o]._skip=!0,t.placement=O,t.reset=!0)}}var tt={name:`flip`,enabled:!0,phase:`main`,fn:et,requiresIfExists:[`offset`],data:{_skip:!1}};function nt(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function rt(e){return[`top`,r,n,i].some(function(t){return e[t]>=0})}function it(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,o=Ze(t,{elementContext:`reference`}),s=Ze(t,{altBoundary:!0}),c=nt(o,r),l=nt(s,i,a),u=rt(c),d=rt(l);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}var at={name:`hide`,enabled:!0,phase:`main`,requiresIfExists:[`preventOverflow`],fn:it};function ot(e,t,n){var r=j(e),i=[`left`,`top`].indexOf(r)>=0?-1:1,a=typeof n==`function`?n(Object.assign({},t,{placement:e})):n,o=a[0],s=a[1];return o||=0,s=(s||0)*i,[`left`,`right`].indexOf(r)>=0?{x:s,y:o}:{x:o,y:s}}function st(e){var t=e.state,n=e.options,r=e.name,i=n.offset,a=i===void 0?[0,0]:i,o=p.reduce(function(e,n){return e[n]=ot(n,t.rects,a),e},{}),s=o[t.placement],c=s.x,l=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=o}var ct={name:`offset`,enabled:!0,phase:`main`,requires:[`popperOffsets`],fn:st};function lt(e){var t=e.state,n=e.name;t.modifiersData[n]=Xe({reference:t.rects.reference,element:t.rects.popper,strategy:`absolute`,placement:t.placement})}var ut={name:`popperOffsets`,enabled:!0,phase:`read`,fn:lt,data:{}};function dt(e){return e===`x`?`y`:`x`}function ft(e){var t=e.state,a=e.options,o=e.name,s=a.mainAxis,c=s===void 0||s,l=a.altAxis,u=l!==void 0&&l,d=a.boundary,f=a.rootBoundary,p=a.altBoundary,m=a.padding,h=a.tether,g=h===void 0||h,_=a.tetherOffset,v=_===void 0?0:_,y=Ze(t,{boundary:d,rootBoundary:f,padding:m,altBoundary:p}),b=j(t.placement),x=Te(t.placement),S=!x,C=he(b),w=dt(C),T=t.modifiersData.popperOffsets,E=t.rects.reference,D=t.rects.popper,O=typeof v==`function`?v(Object.assign({},t.rects,{placement:t.placement})):v,k=typeof O==`number`?{mainAxis:O,altAxis:O}:Object.assign({mainAxis:0,altAxis:0},O),ee=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,A={x:0,y:0};if(T){if(c){var ne=C===`y`?`top`:i,re=C===`y`?n:r,ie=C===`y`?`height`:`width`,ae=T[C],se=ae+y[ne],ce=ae-y[re],le=g?-D[ie]/2:0,ue=x===`start`?E[ie]:D[ie],de=x===`start`?-D[ie]:-E[ie],fe=t.elements.arrow,pe=g&&fe?oe(fe):{width:0,height:0},ye=t.modifiersData[`arrow#persistent`]?t.modifiersData[`arrow#persistent`].padding:ve(),be=ye[ne],xe=ye[re],Se=ge(0,E[ie],pe[ie]),Ce=S?E[ie]/2-le-Se-be-k.mainAxis:ue-Se-be-k.mainAxis,we=S?-E[ie]/2+le+Se+xe+k.mainAxis:de+Se+xe+k.mainAxis,Ee=t.elements.arrow&&me(t.elements.arrow),De=Ee?C===`y`?Ee.clientTop||0:Ee.clientLeft||0:0,Oe=ee?.[C]??0,ke=ae+Ce-Oe-De,Ae=ae+we-Oe,je=ge(g?te(se,ke):se,ae,g?M(ce,Ae):ce);T[C]=je,A[C]=je-ae}if(u){var Me=C===`x`?`top`:i,Ne=C===`x`?n:r,Pe=T[w],Fe=w===`y`?`height`:`width`,Ie=Pe+y[Me],Le=Pe-y[Ne],Re=[`top`,i].indexOf(b)!==-1,ze=ee?.[w]??0,Be=Re?Ie:Pe-E[Fe]-D[Fe]-ze+k.altAxis,Ve=Re?Pe+E[Fe]+D[Fe]-ze-k.altAxis:Le,He=g&&Re?_e(Be,Pe,Ve):ge(g?Be:Ie,Pe,g?Ve:Le);T[w]=He,A[w]=He-Pe}t.modifiersData[o]=A}}var pt={name:`preventOverflow`,enabled:!0,phase:`main`,fn:ft,requiresIfExists:[`offset`]};function mt(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function ht(e){return e===T(e)||!D(e)?Re(e):mt(e)}function gt(e){var t=e.getBoundingClientRect(),n=ne(t.width)/e.offsetWidth||1,r=ne(t.height)/e.offsetHeight||1;return n!==1||r!==1}function _t(e,t,n){n===void 0&&(n=!1);var r=D(t),i=D(t)&>(t),a=ue(t),o=ae(e,i,n),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((w(t)!==`body`||He(a))&&(s=ht(t)),D(t)?(c=ae(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):a&&(c.x=ze(a))),{x:o.left+s.scrollLeft-c.x,y:o.top+s.scrollTop-c.y,width:o.width,height:o.height}}function vt(e){var t=new Map,n=new Set,r=[];e.forEach(function(e){t.set(e.name,e)});function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}}),r.push(e)}return e.forEach(function(e){n.has(e.name)||i(e)}),r}function yt(e){var t=vt(e);return C.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}function bt(e){var t;return function(){return t||=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})}),t}}function xt(e){var t=e.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{});return Object.keys(t).map(function(e){return t[e]})}var St={placement:`bottom`,modifiers:[],strategy:`absolute`};function Ct(){return![...arguments].some(function(e){return!(e&&typeof e.getBoundingClientRect==`function`)})}function wt(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,a=i===void 0?St:i;return function(e,t,n){n===void 0&&(n=a);var i={placement:`bottom`,orderedModifiers:[],options:Object.assign({},St,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},o=[],s=!1,c={state:i,setOptions:function(n){var o=typeof n==`function`?n(i.options):n;u(),i.options=Object.assign({},a,i.options,o),i.scrollParents={reference:E(e)?We(e):e.contextElement?We(e.contextElement):[],popper:We(t)};var s=yt(xt([].concat(r,i.options.modifiers)));return i.orderedModifiers=s.filter(function(e){return e.enabled}),l(),c.update()},forceUpdate:function(){if(!s){var e=i.elements,t=e.reference,n=e.popper;if(Ct(t,n)){i.rects={reference:_t(t,me(n),i.options.strategy===`fixed`),popper:oe(n)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach(function(e){return i.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<i.orderedModifiers.length;r++)if(i.reset===!0)i.reset=!1,r=-1;else{var a=i.orderedModifiers[r],o=a.fn,l=a.options,u=l===void 0?{}:l,d=a.name;typeof o==`function`&&(i=o({state:i,options:u,name:d,instance:c})||i)}}}},update:bt(function(){return new Promise(function(e){c.forceUpdate(),e(i)})}),destroy:function(){u(),s=!0}};if(!Ct(e,t))return c;c.setOptions(n).then(function(e){!s&&n.onFirstUpdate&&n.onFirstUpdate(e)});function l(){i.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=n===void 0?{}:n,a=e.effect;if(typeof a==`function`){var s=a({state:i,name:t,instance:c,options:r});o.push(s||function(){})}})}function u(){o.forEach(function(e){return e()}),o=[]}return c}}var Tt=wt(),Et=wt({defaultModifiers:[Ne,ut,Ae,A]}),Dt=wt({defaultModifiers:[Ne,ut,Ae,A,ct,tt,pt,we,at]}),Ot=t({afterMain:()=>y,afterRead:()=>g,afterWrite:()=>S,applyStyles:()=>A,arrow:()=>we,auto:()=>a,basePlacements:()=>o,beforeMain:()=>_,beforeRead:()=>m,beforeWrite:()=>b,bottom:()=>n,clippingParents:()=>c,computeStyles:()=>Ae,createPopper:()=>Dt,createPopperBase:()=>Tt,createPopperLite:()=>Et,detectOverflow:()=>Ze,end:()=>`end`,eventListeners:()=>Ne,flip:()=>tt,hide:()=>at,left:()=>i,main:()=>v,modifierPhases:()=>C,offset:()=>ct,placements:()=>p,popper:()=>u,popperGenerator:()=>wt,popperOffsets:()=>ut,preventOverflow:()=>pt,read:()=>h,reference:()=>d,right:()=>r,start:()=>s,top:()=>`top`,variationPlacements:()=>f,viewport:()=>l,write:()=>x}),kt=t({Alert:()=>Pn,Button:()=>Vn,Carousel:()=>Lr,Collapse:()=>ii,Dropdown:()=>Hi,Modal:()=>Fa,Offcanvas:()=>ro,Popover:()=>Ko,ScrollSpy:()=>us,Tab:()=>zs,Toast:()=>nc,Tooltip:()=>Bo}),At=new Map,jt={set(e,t,n){At.has(e)||At.set(e,new Map);let r=At.get(e);!r.has(t)&&r.size!==0?console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`):r.set(t,n)},get(e,t){return At.has(e)&&At.get(e).get(t)||null},remove(e,t){if(!At.has(e))return;let n=At.get(e);n.delete(t),n.size===0&&At.delete(e)}},Mt=1e6,Nt=1e3,Pt=`transitionend`,Ft=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),e),It=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),Lt=e=>{do e+=Math.floor(Math.random()*Mt);while(document.getElementById(e));return e},Rt=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);return!Number.parseFloat(t)&&!Number.parseFloat(n)?0:(t=t.split(`,`)[0],n=n.split(`,`)[0],(Number.parseFloat(t)+Number.parseFloat(n))*Nt)},zt=e=>{e.dispatchEvent(new Event(Pt))},Bt=e=>!e||typeof e!=`object`?!1:(e.jquery!==void 0&&(e=e[0]),e.nodeType!==void 0),Vt=e=>Bt(e)?e.jquery?e[0]:e:typeof e==`string`&&e.length>0?document.querySelector(Ft(e)):null,Ht=e=>{if(!Bt(e)||e.getClientRects().length===0)return!1;let t=getComputedStyle(e).getPropertyValue(`visibility`)===`visible`,n=e.closest(`details:not([open])`);if(!n)return t;if(n!==e){let t=e.closest(`summary`);if(t&&t.parentNode!==n||t===null)return!1}return t},Ut=e=>!e||e.nodeType!==Node.ELEMENT_NODE||e.classList.contains(`disabled`)?!0:e.disabled===void 0?e.hasAttribute(`disabled`)&&e.getAttribute(`disabled`)!==`false`:e.disabled,Wt=e=>{if(!document.documentElement.attachShadow)return null;if(typeof e.getRootNode==`function`){let t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?Wt(e.parentNode):null},Gt=()=>{},Kt=e=>{e.offsetHeight},qt=()=>window.jQuery&&!document.body.hasAttribute(`data-bs-no-jquery`)?window.jQuery:null,Jt=[],Yt=e=>{document.readyState===`loading`?(Jt.length||document.addEventListener(`DOMContentLoaded`,()=>{for(let e of Jt)e()}),Jt.push(e)):e()},Xt=()=>document.documentElement.dir===`rtl`,Zt=e=>{Yt(()=>{let t=qt();if(t){let n=e.NAME,r=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=r,e.jQueryInterface)}})},Qt=(e,t=[],n=e)=>typeof e==`function`?e.call(...t):n,$t=(e,t,n=!0)=>{if(!n){Qt(e);return}let r=Rt(t)+5,i=!1,a=({target:n})=>{n===t&&(i=!0,t.removeEventListener(Pt,a),Qt(e))};t.addEventListener(Pt,a),setTimeout(()=>{i||zt(t)},r)},en=(e,t,n,r)=>{let i=e.length,a=e.indexOf(t);return a===-1?!n&&r?e[i-1]:e[0]:(a+=n?1:-1,r&&(a=(a+i)%i),e[Math.max(0,Math.min(a,i-1))])},tn=/[^.]*(?=\..*)\.|.*/,nn=/\..*/,rn=/::\d+$/,an={},on=1,sn={mouseenter:`mouseover`,mouseleave:`mouseout`},cn=new Set(`click.dblclick.mouseup.mousedown.contextmenu.mousewheel.DOMMouseScroll.mouseover.mouseout.mousemove.selectstart.selectend.keydown.keypress.keyup.orientationchange.touchstart.touchmove.touchend.touchcancel.pointerdown.pointermove.pointerup.pointerleave.pointercancel.gesturestart.gesturechange.gestureend.focus.blur.change.reset.select.submit.focusin.focusout.load.unload.beforeunload.resize.move.DOMContentLoaded.readystatechange.error.abort.scroll`.split(`.`));function ln(e,t){return t&&`${t}::${on++}`||e.uidEvent||on++}function un(e){let t=ln(e);return e.uidEvent=t,an[t]=an[t]||{},an[t]}function dn(e,t){return function n(r){return yn(r,{delegateTarget:e}),n.oneOff&&N.off(e,r.type,t),t.apply(e,[r])}}function fn(e,t,n){return function r(i){let a=e.querySelectorAll(t);for(let{target:o}=i;o&&o!==this;o=o.parentNode)for(let s of a)if(s===o)return yn(i,{delegateTarget:o}),r.oneOff&&N.off(e,i.type,t,n),n.apply(o,[i])}}function pn(e,t,n=null){return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===n)}function mn(e,t,n){let r=typeof t==`string`,i=r?n:t||n,a=vn(e);return cn.has(a)||(a=e),[r,i,a]}function hn(e,t,n,r,i){if(typeof t!=`string`||!e)return;let[a,o,s]=mn(t,n,r);t in sn&&(o=(e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)})(o));let c=un(e),l=c[s]||(c[s]={}),u=pn(l,o,a?n:null);if(u){u.oneOff=u.oneOff&&i;return}let d=ln(o,t.replace(tn,``)),f=a?fn(e,n,o):dn(e,o);f.delegationSelector=a?n:null,f.callable=o,f.oneOff=i,f.uidEvent=d,l[d]=f,e.addEventListener(s,f,a)}function gn(e,t,n,r,i){let a=pn(t[n],r,i);a&&(e.removeEventListener(n,a,!!i),delete t[n][a.uidEvent])}function _n(e,t,n,r){let i=t[n]||{};for(let[a,o]of Object.entries(i))a.includes(r)&&gn(e,t,n,o.callable,o.delegationSelector)}function vn(e){return e=e.replace(nn,``),sn[e]||e}var N={on(e,t,n,r){hn(e,t,n,r,!1)},one(e,t,n,r){hn(e,t,n,r,!0)},off(e,t,n,r){if(typeof t!=`string`||!e)return;let[i,a,o]=mn(t,n,r),s=o!==t,c=un(e),l=c[o]||{},u=t.startsWith(`.`);if(a!==void 0){if(!Object.keys(l).length)return;gn(e,c,o,a,i?n:null)}else{if(u)for(let n of Object.keys(c))_n(e,c,n,t.slice(1));for(let[n,r]of Object.entries(l)){let i=n.replace(rn,``);(!s||t.includes(i))&&gn(e,c,o,r.callable,r.delegationSelector)}}},trigger(e,t,n){if(typeof t!=`string`||!e)return null;let r=qt(),i=t!==vn(t),a=null,o=!0,s=!0,c=!1;i&&r&&(a=r.Event(t,n),r(e).trigger(a),o=!a.isPropagationStopped(),s=!a.isImmediatePropagationStopped(),c=a.isDefaultPrevented());let l=yn(new Event(t,{bubbles:o,cancelable:!0}),n);return c&&l.preventDefault(),s&&e.dispatchEvent(l),l.defaultPrevented&&a&&a.preventDefault(),l}};function yn(e,t={}){for(let[n,r]of Object.entries(t))try{e[n]=r}catch{Object.defineProperty(e,n,{configurable:!0,get(){return r}})}return e}function bn(e){if(e===`true`)return!0;if(e===`false`)return!1;if(e===Number(e).toString())return Number(e);if(e===``||e===`null`)return null;if(typeof e!=`string`)return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function xn(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}var Sn={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${xn(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${xn(t)}`)},getDataAttributes(e){if(!e)return{};let t={},n=Object.keys(e.dataset).filter(e=>e.startsWith(`bs`)&&!e.startsWith(`bsConfig`));for(let r of n){let n=r.replace(/^bs/,``);n=n.charAt(0).toLowerCase()+n.slice(1),t[n]=bn(e.dataset[r])}return t},getDataAttribute(e,t){return bn(e.getAttribute(`data-bs-${xn(t)}`))}},Cn=class{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw Error(`You have to implement the static method "NAME", for each component!`)}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){let n=Bt(t)?Sn.getDataAttribute(t,`config`):{};return{...this.constructor.Default,...typeof n==`object`?n:{},...Bt(t)?Sn.getDataAttributes(t):{},...typeof e==`object`?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(let[n,r]of Object.entries(t)){let t=e[n],i=Bt(t)?`element`:It(t);if(!new RegExp(r).test(i))throw TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${i}" but expected type "${r}".`)}}},wn=`5.3.8`,Tn=class extends Cn{constructor(e,t){super(),e=Vt(e),e&&(this._element=e,this._config=this._getConfig(t),jt.set(this._element,this.constructor.DATA_KEY,this))}dispose(){jt.remove(this._element,this.constructor.DATA_KEY),N.off(this._element,this.constructor.EVENT_KEY);for(let e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){$t(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return jt.get(Vt(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t==`object`?t:null)}static get VERSION(){return wn}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}},En=e=>{let t=e.getAttribute(`data-bs-target`);if(!t||t===`#`){let n=e.getAttribute(`href`);if(!n||!n.includes(`#`)&&!n.startsWith(`.`))return null;n.includes(`#`)&&!n.startsWith(`#`)&&(n=`#${n.split(`#`)[1]}`),t=n&&n!==`#`?n.trim():null}return t?t.split(`,`).map(e=>Ft(e)).join(`,`):null},P={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(e=>e.matches(t))},parents(e,t){let n=[],r=e.parentNode.closest(t);for(;r;)n.push(r),r=r.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){let t=[`a`,`button`,`input`,`textarea`,`select`,`details`,`[tabindex]`,`[contenteditable="true"]`].map(e=>`${e}:not([tabindex^="-"])`).join(`,`);return this.find(t,e).filter(e=>!Ut(e)&&Ht(e))},getSelectorFromElement(e){let t=En(e);return t&&P.findOne(t)?t:null},getElementFromSelector(e){let t=En(e);return t?P.findOne(t):null},getMultipleElementsFromSelector(e){let t=En(e);return t?P.find(t):[]}},Dn=(e,t=`hide`)=>{let n=`click.dismiss${e.EVENT_KEY}`,r=e.NAME;N.on(document,n,`[data-bs-dismiss="${r}"]`,function(n){if([`A`,`AREA`].includes(this.tagName)&&n.preventDefault(),Ut(this))return;let i=P.getElementFromSelector(this)||this.closest(`.${r}`);e.getOrCreateInstance(i)[t]()})},On=`alert`,kn=`.bs.alert`,An=`close${kn}`,jn=`closed${kn}`,Mn=`fade`,Nn=`show`,Pn=class e extends Tn{static get NAME(){return On}close(){if(N.trigger(this._element,An).defaultPrevented)return;this._element.classList.remove(Nn);let e=this._element.classList.contains(Mn);this._queueCallback(()=>this._destroyElement(),this._element,e)}_destroyElement(){this._element.remove(),N.trigger(this._element,jn),this.dispose()}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this);if(typeof t==`string`){if(n[t]===void 0||t.startsWith(`_`)||t===`constructor`)throw TypeError(`No method named "${t}"`);n[t](this)}})}};Dn(Pn,`close`),Zt(Pn);var Fn=`button`,In=`.bs.button`,Ln=`.data-api`,Rn=`active`,zn=`[data-bs-toggle="button"]`,Bn=`click${In}${Ln}`,Vn=class e extends Tn{static get NAME(){return Fn}toggle(){this._element.setAttribute(`aria-pressed`,this._element.classList.toggle(Rn))}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this);t===`toggle`&&n[t]()})}};N.on(document,Bn,zn,e=>{e.preventDefault();let t=e.target.closest(zn);Vn.getOrCreateInstance(t).toggle()}),Zt(Vn);var Hn=`swipe`,Un=`.bs.swipe`,Wn=`touchstart${Un}`,Gn=`touchmove${Un}`,Kn=`touchend${Un}`,qn=`pointerdown${Un}`,Jn=`pointerup${Un}`,Yn=`touch`,Xn=`pen`,Zn=`pointer-event`,Qn=40,$n={endCallback:null,leftCallback:null,rightCallback:null},er={endCallback:`(function|null)`,leftCallback:`(function|null)`,rightCallback:`(function|null)`},tr=class e extends Cn{constructor(t,n){super(),this._element=t,t&&e.isSupported()&&(this._config=this._getConfig(n),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return $n}static get DefaultType(){return er}static get NAME(){return Hn}dispose(){N.off(this._element,Un)}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),Qt(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){let e=Math.abs(this._deltaX);if(e<=Qn)return;let t=e/this._deltaX;this._deltaX=0,t&&Qt(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(N.on(this._element,qn,e=>this._start(e)),N.on(this._element,Jn,e=>this._end(e)),this._element.classList.add(Zn)):(N.on(this._element,Wn,e=>this._start(e)),N.on(this._element,Gn,e=>this._move(e)),N.on(this._element,Kn,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===Xn||e.pointerType===Yn)}static isSupported(){return`ontouchstart`in document.documentElement||navigator.maxTouchPoints>0}},nr=`carousel`,rr=`.bs.carousel`,ir=`.data-api`,ar=`ArrowLeft`,or=`ArrowRight`,sr=500,cr=`next`,lr=`prev`,ur=`left`,dr=`right`,fr=`slide${rr}`,pr=`slid${rr}`,mr=`keydown${rr}`,hr=`mouseenter${rr}`,gr=`mouseleave${rr}`,_r=`dragstart${rr}`,vr=`load${rr}${ir}`,yr=`click${rr}${ir}`,br=`carousel`,xr=`active`,Sr=`slide`,Cr=`carousel-item-end`,wr=`carousel-item-start`,Tr=`carousel-item-next`,Er=`carousel-item-prev`,Dr=`.active`,Or=`.carousel-item`,kr=`.active.carousel-item`,Ar=`.carousel-item img`,jr=`.carousel-indicators`,Mr=`[data-bs-slide], [data-bs-slide-to]`,Nr=`[data-bs-ride="carousel"]`,Pr={[ar]:dr,[or]:ur},Fr={interval:5e3,keyboard:!0,pause:`hover`,ride:!1,touch:!0,wrap:!0},Ir={interval:`(number|boolean)`,keyboard:`boolean`,pause:`(string|boolean)`,ride:`(boolean|string)`,touch:`boolean`,wrap:`boolean`},Lr=class e extends Tn{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=P.findOne(jr,this._element),this._addEventListeners(),this._config.ride===br&&this.cycle()}static get Default(){return Fr}static get DefaultType(){return Ir}static get NAME(){return nr}next(){this._slide(cr)}nextWhenVisible(){!document.hidden&&Ht(this._element)&&this.next()}prev(){this._slide(lr)}pause(){this._isSliding&&zt(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?N.one(this._element,pr,()=>this.cycle()):this.cycle())}to(e){let t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding){N.one(this._element,pr,()=>this.to(e));return}let n=this._getItemIndex(this._getActive());if(n===e)return;let r=e>n?cr:lr;this._slide(r,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&N.on(this._element,mr,e=>this._keydown(e)),this._config.pause===`hover`&&(N.on(this._element,hr,()=>this.pause()),N.on(this._element,gr,()=>this._maybeEnableCycle())),this._config.touch&&tr.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(let e of P.find(Ar,this._element))N.on(e,_r,e=>e.preventDefault());let e={leftCallback:()=>this._slide(this._directionToOrder(ur)),rightCallback:()=>this._slide(this._directionToOrder(dr)),endCallback:()=>{this._config.pause===`hover`&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),sr+this._config.interval))}};this._swipeHelper=new tr(this._element,e)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;let t=Pr[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;let t=P.findOne(Dr,this._indicatorsElement);t.classList.remove(xr),t.removeAttribute(`aria-current`);let n=P.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);n&&(n.classList.add(xr),n.setAttribute(`aria-current`,`true`))}_updateInterval(){let e=this._activeElement||this._getActive();if(!e)return;let t=Number.parseInt(e.getAttribute(`data-bs-interval`),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;let n=this._getActive(),r=e===cr,i=t||en(this._getItems(),n,r,this._config.wrap);if(i===n)return;let a=this._getItemIndex(i),o=t=>N.trigger(this._element,t,{relatedTarget:i,direction:this._orderToDirection(e),from:this._getItemIndex(n),to:a});if(o(fr).defaultPrevented||!n||!i)return;let s=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(a),this._activeElement=i;let c=r?wr:Cr,l=r?Tr:Er;i.classList.add(l),Kt(i),n.classList.add(c),i.classList.add(c),this._queueCallback(()=>{i.classList.remove(c,l),i.classList.add(xr),n.classList.remove(xr,l,c),this._isSliding=!1,o(pr)},n,this._isAnimated()),s&&this.cycle()}_isAnimated(){return this._element.classList.contains(Sr)}_getActive(){return P.findOne(kr,this._element)}_getItems(){return P.find(Or,this._element)}_clearInterval(){this._interval&&=(clearInterval(this._interval),null)}_directionToOrder(e){return Xt()?e===ur?lr:cr:e===ur?cr:lr}_orderToDirection(e){return Xt()?e===lr?ur:dr:e===lr?dr:ur}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this,t);if(typeof t==`number`)n.to(t);else if(typeof t==`string`){if(n[t]===void 0||t.startsWith(`_`)||t===`constructor`)throw TypeError(`No method named "${t}"`);n[t]()}})}};N.on(document,yr,Mr,function(e){let t=P.getElementFromSelector(this);if(!t||!t.classList.contains(br))return;e.preventDefault();let n=Lr.getOrCreateInstance(t),r=this.getAttribute(`data-bs-slide-to`);r?(n.to(r),n._maybeEnableCycle()):Sn.getDataAttribute(this,`slide`)===`next`?(n.next(),n._maybeEnableCycle()):(n.prev(),n._maybeEnableCycle())}),N.on(window,vr,()=>{let e=P.find(Nr);for(let t of e)Lr.getOrCreateInstance(t)}),Zt(Lr);var Rr=`collapse`,zr=`.bs.collapse`,Br=`.data-api`,Vr=`show${zr}`,Hr=`shown${zr}`,Ur=`hide${zr}`,Wr=`hidden${zr}`,Gr=`click${zr}${Br}`,Kr=`show`,qr=`collapse`,Jr=`collapsing`,Yr=`collapsed`,Xr=`:scope .${qr} .${qr}`,Zr=`collapse-horizontal`,Qr=`width`,$r=`height`,ei=`.collapse.show, .collapse.collapsing`,ti=`[data-bs-toggle="collapse"]`,ni={parent:null,toggle:!0},ri={parent:`(null|element)`,toggle:`boolean`},ii=class e extends Tn{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];let n=P.find(ti);for(let e of n){let t=P.getSelectorFromElement(e),n=P.find(t).filter(e=>e===this._element);t!==null&&n.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return ni}static get DefaultType(){return ri}static get NAME(){return Rr}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(ei).filter(e=>e!==this._element).map(t=>e.getOrCreateInstance(t,{toggle:!1}))),t.length&&t[0]._isTransitioning||N.trigger(this._element,Vr).defaultPrevented)return;for(let e of t)e.hide();let n=this._getDimension();this._element.classList.remove(qr),this._element.classList.add(Jr),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;let r=()=>{this._isTransitioning=!1,this._element.classList.remove(Jr),this._element.classList.add(qr,Kr),this._element.style[n]=``,N.trigger(this._element,Hr)},i=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback(r,this._element,!0),this._element.style[n]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown()||N.trigger(this._element,Ur).defaultPrevented)return;let e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,Kt(this._element),this._element.classList.add(Jr),this._element.classList.remove(qr,Kr);for(let e of this._triggerArray){let t=P.getElementFromSelector(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0;let t=()=>{this._isTransitioning=!1,this._element.classList.remove(Jr),this._element.classList.add(qr),N.trigger(this._element,Wr)};this._element.style[e]=``,this._queueCallback(t,this._element,!0)}_isShown(e=this._element){return e.classList.contains(Kr)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=Vt(e.parent),e}_getDimension(){return this._element.classList.contains(Zr)?Qr:$r}_initializeChildren(){if(!this._config.parent)return;let e=this._getFirstLevelChildren(ti);for(let t of e){let e=P.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){let t=P.find(Xr,this._config.parent);return P.find(e,this._config.parent).filter(e=>!t.includes(e))}_addAriaAndCollapsedClass(e,t){if(e.length)for(let n of e)n.classList.toggle(Yr,!t),n.setAttribute(`aria-expanded`,t)}static jQueryInterface(t){let n={};return typeof t==`string`&&/show|hide/.test(t)&&(n.toggle=!1),this.each(function(){let r=e.getOrCreateInstance(this,n);if(typeof t==`string`){if(r[t]===void 0)throw TypeError(`No method named "${t}"`);r[t]()}})}};N.on(document,Gr,ti,function(e){(e.target.tagName===`A`||e.delegateTarget&&e.delegateTarget.tagName===`A`)&&e.preventDefault();for(let e of P.getMultipleElementsFromSelector(this))ii.getOrCreateInstance(e,{toggle:!1}).toggle()}),Zt(ii);var ai=`dropdown`,oi=`.bs.dropdown`,si=`.data-api`,ci=`Escape`,li=`Tab`,ui=`ArrowUp`,di=`ArrowDown`,fi=2,pi=`hide${oi}`,mi=`hidden${oi}`,hi=`show${oi}`,gi=`shown${oi}`,_i=`click${oi}${si}`,vi=`keydown${oi}${si}`,yi=`keyup${oi}${si}`,bi=`show`,xi=`dropup`,Si=`dropend`,Ci=`dropstart`,wi=`dropup-center`,Ti=`dropdown-center`,Ei=`[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)`,Di=`${Ei}.${bi}`,Oi=`.dropdown-menu`,ki=`.navbar`,Ai=`.navbar-nav`,ji=`.dropdown-menu .dropdown-item:not(.disabled):not(:disabled)`,Mi=Xt()?`top-end`:`top-start`,Ni=Xt()?`top-start`:`top-end`,Pi=Xt()?`bottom-end`:`bottom-start`,Fi=Xt()?`bottom-start`:`bottom-end`,Ii=Xt()?`left-start`:`right-start`,Li=Xt()?`right-start`:`left-start`,Ri=`top`,zi=`bottom`,Bi={autoClose:!0,boundary:`clippingParents`,display:`dynamic`,offset:[0,2],popperConfig:null,reference:`toggle`},Vi={autoClose:`(boolean|string)`,boundary:`(string|element)`,display:`string`,offset:`(array|string|function)`,popperConfig:`(null|object|function)`,reference:`(string|element|object)`},Hi=class e extends Tn{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=P.next(this._element,Oi)[0]||P.prev(this._element,Oi)[0]||P.findOne(Oi,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Bi}static get DefaultType(){return Vi}static get NAME(){return ai}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Ut(this._element)||this._isShown())return;let e={relatedTarget:this._element};if(!N.trigger(this._element,hi,e).defaultPrevented){if(this._createPopper(),`ontouchstart`in document.documentElement&&!this._parent.closest(Ai))for(let e of[].concat(...document.body.children))N.on(e,`mouseover`,Gt);this._element.focus(),this._element.setAttribute(`aria-expanded`,!0),this._menu.classList.add(bi),this._element.classList.add(bi),N.trigger(this._element,gi,e)}}hide(){if(Ut(this._element)||!this._isShown())return;let e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!N.trigger(this._element,pi,e).defaultPrevented){if(`ontouchstart`in document.documentElement)for(let e of[].concat(...document.body.children))N.off(e,`mouseover`,Gt);this._popper&&this._popper.destroy(),this._menu.classList.remove(bi),this._element.classList.remove(bi),this._element.setAttribute(`aria-expanded`,`false`),Sn.removeDataAttribute(this._menu,`popper`),N.trigger(this._element,mi,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference==`object`&&!Bt(e.reference)&&typeof e.reference.getBoundingClientRect!=`function`)throw TypeError(`${ai.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(Ot===void 0)throw TypeError(`Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)`);let e=this._element;this._config.reference===`parent`?e=this._parent:Bt(this._config.reference)?e=Vt(this._config.reference):typeof this._config.reference==`object`&&(e=this._config.reference);let t=this._getPopperConfig();this._popper=Dt(e,this._menu,t)}_isShown(){return this._menu.classList.contains(bi)}_getPlacement(){let e=this._parent;if(e.classList.contains(Si))return Ii;if(e.classList.contains(Ci))return Li;if(e.classList.contains(wi))return Ri;if(e.classList.contains(Ti))return zi;let t=getComputedStyle(this._menu).getPropertyValue(`--bs-position`).trim()===`end`;return e.classList.contains(xi)?t?Ni:Mi:t?Fi:Pi}_detectNavbar(){return this._element.closest(ki)!==null}_getOffset(){let{offset:e}=this._config;return typeof e==`string`?e.split(`,`).map(e=>Number.parseInt(e,10)):typeof e==`function`?t=>e(t,this._element):e}_getPopperConfig(){let e={placement:this._getPlacement(),modifiers:[{name:`preventOverflow`,options:{boundary:this._config.boundary}},{name:`offset`,options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display===`static`)&&(Sn.setDataAttribute(this._menu,`popper`,`static`),e.modifiers=[{name:`applyStyles`,enabled:!1}]),{...e,...Qt(this._config.popperConfig,[void 0,e])}}_selectMenuItem({key:e,target:t}){let n=P.find(ji,this._menu).filter(e=>Ht(e));n.length&&en(n,t,e===di,!n.includes(t)).focus()}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this,t);if(typeof t==`string`){if(n[t]===void 0)throw TypeError(`No method named "${t}"`);n[t]()}})}static clearMenus(t){if(t.button===fi||t.type===`keyup`&&t.key!==li)return;let n=P.find(Di);for(let r of n){let n=e.getInstance(r);if(!n||n._config.autoClose===!1)continue;let i=t.composedPath(),a=i.includes(n._menu);if(i.includes(n._element)||n._config.autoClose===`inside`&&!a||n._config.autoClose===`outside`&&a||n._menu.contains(t.target)&&(t.type===`keyup`&&t.key===li||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;let o={relatedTarget:n._element};t.type===`click`&&(o.clickEvent=t),n._completeHide(o)}}static dataApiKeydownHandler(t){let n=/input|textarea/i.test(t.target.tagName),r=t.key===ci,i=[ui,di].includes(t.key);if(!i&&!r||n&&!r)return;t.preventDefault();let a=this.matches(Ei)?this:P.prev(this,Ei)[0]||P.next(this,Ei)[0]||P.findOne(Ei,t.delegateTarget.parentNode),o=e.getOrCreateInstance(a);i?(t.stopPropagation(),o.show(),o._selectMenuItem(t)):o._isShown()&&(t.stopPropagation(),o.hide(),a.focus())}};N.on(document,vi,Ei,Hi.dataApiKeydownHandler),N.on(document,vi,Oi,Hi.dataApiKeydownHandler),N.on(document,_i,Hi.clearMenus),N.on(document,yi,Hi.clearMenus),N.on(document,_i,Ei,function(e){e.preventDefault(),Hi.getOrCreateInstance(this).toggle()}),Zt(Hi);var Ui=`backdrop`,Wi=`fade`,Gi=`show`,Ki=`mousedown.bs.${Ui}`,qi={className:`modal-backdrop`,clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:`body`},Ji={className:`string`,clickCallback:`(function|null)`,isAnimated:`boolean`,isVisible:`boolean`,rootElement:`(element|string)`},Yi=class extends Cn{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return qi}static get DefaultType(){return Ji}static get NAME(){return Ui}show(e){if(!this._config.isVisible){Qt(e);return}this._append();let t=this._getElement();this._config.isAnimated&&Kt(t),t.classList.add(Gi),this._emulateAnimation(()=>{Qt(e)})}hide(e){this._config.isVisible?(this._getElement().classList.remove(Gi),this._emulateAnimation(()=>{this.dispose(),Qt(e)})):Qt(e)}dispose(){this._isAppended&&=(N.off(this._element,Ki),this._element.remove(),!1)}_getElement(){if(!this._element){let e=document.createElement(`div`);e.className=this._config.className,this._config.isAnimated&&e.classList.add(Wi),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=Vt(e.rootElement),e}_append(){if(this._isAppended)return;let e=this._getElement();this._config.rootElement.append(e),N.on(e,Ki,()=>{Qt(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){$t(e,this._getElement(),this._config.isAnimated)}},Xi=`focustrap`,Zi=`.bs.focustrap`,Qi=`focusin${Zi}`,$i=`keydown.tab${Zi}`,ea=`Tab`,ta=`forward`,na=`backward`,ra={autofocus:!0,trapElement:null},ia={autofocus:`boolean`,trapElement:`element`},aa=class extends Cn{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return ra}static get DefaultType(){return ia}static get NAME(){return Xi}activate(){this._isActive||=(this._config.autofocus&&this._config.trapElement.focus(),N.off(document,Zi),N.on(document,Qi,e=>this._handleFocusin(e)),N.on(document,$i,e=>this._handleKeydown(e)),!0)}deactivate(){this._isActive&&(this._isActive=!1,N.off(document,Zi))}_handleFocusin(e){let{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;let n=P.focusableChildren(t);n.length===0?t.focus():this._lastTabNavDirection===na?n[n.length-1].focus():n[0].focus()}_handleKeydown(e){e.key===ea&&(this._lastTabNavDirection=e.shiftKey?na:ta)}},oa=`.fixed-top, .fixed-bottom, .is-fixed, .sticky-top`,sa=`.sticky-top`,ca=`padding-right`,la=`margin-right`,ua=class{constructor(){this._element=document.body}getWidth(){let e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){let e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,ca,t=>t+e),this._setElementAttributes(oa,ca,t=>t+e),this._setElementAttributes(sa,la,t=>t-e)}reset(){this._resetElementAttributes(this._element,`overflow`),this._resetElementAttributes(this._element,ca),this._resetElementAttributes(oa,ca),this._resetElementAttributes(sa,la)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,`overflow`),this._element.style.overflow=`hidden`}_setElementAttributes(e,t,n){let r=this.getWidth();this._applyManipulationCallback(e,e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+r)return;this._saveInitialAttribute(e,t);let i=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,`${n(Number.parseFloat(i))}px`)})}_saveInitialAttribute(e,t){let n=e.style.getPropertyValue(t);n&&Sn.setDataAttribute(e,t,n)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,e=>{let n=Sn.getDataAttribute(e,t);n===null?e.style.removeProperty(t):(Sn.removeDataAttribute(e,t),e.style.setProperty(t,n))})}_applyManipulationCallback(e,t){if(Bt(e))t(e);else for(let n of P.find(e,this._element))t(n)}},da=`modal`,fa=`.bs.modal`,pa=`.data-api`,ma=`Escape`,ha=`hide${fa}`,ga=`hidePrevented${fa}`,_a=`hidden${fa}`,va=`show${fa}`,ya=`shown${fa}`,ba=`resize${fa}`,xa=`click.dismiss${fa}`,Sa=`mousedown.dismiss${fa}`,Ca=`keydown.dismiss${fa}`,wa=`click${fa}${pa}`,Ta=`modal-open`,Ea=`fade`,Da=`show`,Oa=`modal-static`,ka=`.modal.show`,Aa=`.modal-dialog`,ja=`.modal-body`,Ma=`[data-bs-toggle="modal"]`,Na={backdrop:!0,focus:!0,keyboard:!0},Pa={backdrop:`(boolean|string)`,focus:`boolean`,keyboard:`boolean`},Fa=class e extends Tn{constructor(e,t){super(e,t),this._dialog=P.findOne(Aa,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new ua,this._addEventListeners()}static get Default(){return Na}static get DefaultType(){return Pa}static get NAME(){return da}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||N.trigger(this._element,va,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Ta),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){this._isShown&&!this._isTransitioning&&(N.trigger(this._element,ha).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Da),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){N.off(window,fa),N.off(this._dialog,fa),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Yi({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new aa({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display=`block`,this._element.removeAttribute(`aria-hidden`),this._element.setAttribute(`aria-modal`,!0),this._element.setAttribute(`role`,`dialog`),this._element.scrollTop=0;let t=P.findOne(ja,this._dialog);t&&(t.scrollTop=0),Kt(this._element),this._element.classList.add(Da),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,N.trigger(this._element,ya,{relatedTarget:e})},this._dialog,this._isAnimated())}_addEventListeners(){N.on(this._element,Ca,e=>{e.key===ma&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),N.on(window,ba,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),N.on(this._element,Sa,e=>{N.one(this._element,xa,t=>{this._element===e.target&&this._element===t.target&&(this._config.backdrop===`static`?this._triggerBackdropTransition():this._config.backdrop&&this.hide())})})}_hideModal(){this._element.style.display=`none`,this._element.setAttribute(`aria-hidden`,!0),this._element.removeAttribute(`aria-modal`),this._element.removeAttribute(`role`),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Ta),this._resetAdjustments(),this._scrollBar.reset(),N.trigger(this._element,_a)})}_isAnimated(){return this._element.classList.contains(Ea)}_triggerBackdropTransition(){if(N.trigger(this._element,ga).defaultPrevented)return;let e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;t===`hidden`||this._element.classList.contains(Oa)||(e||(this._element.style.overflowY=`hidden`),this._element.classList.add(Oa),this._queueCallback(()=>{this._element.classList.remove(Oa),this._queueCallback(()=>{this._element.style.overflowY=t},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){let e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;if(n&&!e){let e=Xt()?`paddingLeft`:`paddingRight`;this._element.style[e]=`${t}px`}if(!n&&e){let e=Xt()?`paddingRight`:`paddingLeft`;this._element.style[e]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft=``,this._element.style.paddingRight=``}static jQueryInterface(t,n){return this.each(function(){let r=e.getOrCreateInstance(this,t);if(typeof t==`string`){if(r[t]===void 0)throw TypeError(`No method named "${t}"`);r[t](n)}})}};N.on(document,wa,Ma,function(e){let t=P.getElementFromSelector(this);[`A`,`AREA`].includes(this.tagName)&&e.preventDefault(),N.one(t,va,e=>{e.defaultPrevented||N.one(t,_a,()=>{Ht(this)&&this.focus()})});let n=P.findOne(ka);n&&Fa.getInstance(n).hide(),Fa.getOrCreateInstance(t).toggle(this)}),Dn(Fa),Zt(Fa);var Ia=`offcanvas`,La=`.bs.offcanvas`,Ra=`.data-api`,za=`load${La}${Ra}`,Ba=`Escape`,Va=`show`,Ha=`showing`,Ua=`hiding`,Wa=`offcanvas-backdrop`,Ga=`.offcanvas.show`,Ka=`show${La}`,qa=`shown${La}`,Ja=`hide${La}`,Ya=`hidePrevented${La}`,Xa=`hidden${La}`,Za=`resize${La}`,Qa=`click${La}${Ra}`,$a=`keydown.dismiss${La}`,eo=`[data-bs-toggle="offcanvas"]`,to={backdrop:!0,keyboard:!0,scroll:!1},no={backdrop:`(boolean|string)`,keyboard:`boolean`,scroll:`boolean`},ro=class e extends Tn{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return to}static get DefaultType(){return no}static get NAME(){return Ia}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||N.trigger(this._element,Ka,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||new ua().hide(),this._element.setAttribute(`aria-modal`,!0),this._element.setAttribute(`role`,`dialog`),this._element.classList.add(Ha),this._queueCallback(()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Va),this._element.classList.remove(Ha),N.trigger(this._element,qa,{relatedTarget:e})},this._element,!0))}hide(){this._isShown&&!N.trigger(this._element,Ja).defaultPrevented&&(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Ua),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove(Va,Ua),this._element.removeAttribute(`aria-modal`),this._element.removeAttribute(`role`),this._config.scroll||new ua().reset(),N.trigger(this._element,Xa)},this._element,!0))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){let e=()=>{this._config.backdrop===`static`?N.trigger(this._element,Ya):this.hide()},t=!!this._config.backdrop;return new Yi({className:Wa,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?e:null})}_initializeFocusTrap(){return new aa({trapElement:this._element})}_addEventListeners(){N.on(this._element,$a,e=>{e.key===Ba&&(this._config.keyboard?this.hide():N.trigger(this._element,Ya))})}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this,t);if(typeof t==`string`){if(n[t]===void 0||t.startsWith(`_`)||t===`constructor`)throw TypeError(`No method named "${t}"`);n[t](this)}})}};N.on(document,Qa,eo,function(e){let t=P.getElementFromSelector(this);if([`A`,`AREA`].includes(this.tagName)&&e.preventDefault(),Ut(this))return;N.one(t,Xa,()=>{Ht(this)&&this.focus()});let n=P.findOne(Ga);n&&n!==t&&ro.getInstance(n).hide(),ro.getOrCreateInstance(t).toggle(this)}),N.on(window,za,()=>{for(let e of P.find(Ga))ro.getOrCreateInstance(e).show()}),N.on(window,Za,()=>{for(let e of P.find(`[aria-modal][class*=show][class*=offcanvas-]`))getComputedStyle(e).position!==`fixed`&&ro.getOrCreateInstance(e).hide()}),Dn(ro),Zt(ro);var io={"*":[`class`,`dir`,`id`,`lang`,`role`,/^aria-[\w-]*$/i],a:[`target`,`href`,`title`,`rel`],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:[`src`,`srcset`,`alt`,`title`,`width`,`height`],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},ao=new Set([`background`,`cite`,`href`,`itemtype`,`longdesc`,`poster`,`src`,`xlink:href`]),oo=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,so=(e,t)=>{let n=e.nodeName.toLowerCase();return t.includes(n)?!ao.has(n)||!!oo.test(e.nodeValue):t.filter(e=>e instanceof RegExp).some(e=>e.test(n))};function co(e,t,n){if(!e.length)return e;if(n&&typeof n==`function`)return n(e);let r=new window.DOMParser().parseFromString(e,`text/html`),i=[].concat(...r.body.querySelectorAll(`*`));for(let e of i){let n=e.nodeName.toLowerCase();if(!Object.keys(t).includes(n)){e.remove();continue}let r=[].concat(...e.attributes),i=[].concat(t[`*`]||[],t[n]||[]);for(let t of r)so(t,i)||e.removeAttribute(t.nodeName)}return r.body.innerHTML}var lo=`TemplateFactory`,uo={allowList:io,content:{},extraClass:``,html:!1,sanitize:!0,sanitizeFn:null,template:`<div></div>`},fo={allowList:`object`,content:`object`,extraClass:`(string|function)`,html:`boolean`,sanitize:`boolean`,sanitizeFn:`(null|function)`,template:`string`},po={entry:`(string|element|function|null)`,selector:`(string|element)`},mo=class extends Cn{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return uo}static get DefaultType(){return fo}static get NAME(){return lo}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){let e=document.createElement(`div`);e.innerHTML=this._maybeSanitize(this._config.template);for(let[t,n]of Object.entries(this._config.content))this._setContent(e,n,t);let t=e.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&t.classList.add(...n.split(` `)),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(let[t,n]of Object.entries(e))super._typeCheckConfig({selector:t,entry:n},po)}_setContent(e,t,n){let r=P.findOne(n,e);r&&(t=this._resolvePossibleFunction(t),t?Bt(t)?this._putElementInTemplate(Vt(t),r):this._config.html?r.innerHTML=this._maybeSanitize(t):r.textContent=t:r.remove())}_maybeSanitize(e){return this._config.sanitize?co(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return Qt(e,[void 0,this])}_putElementInTemplate(e,t){this._config.html?(t.innerHTML=``,t.append(e)):t.textContent=e.textContent}},ho=`tooltip`,go=new Set([`sanitize`,`allowList`,`sanitizeFn`]),_o=`fade`,vo=`modal`,yo=`show`,bo=`.tooltip-inner`,xo=`.${vo}`,So=`hide.bs.modal`,Co=`hover`,wo=`focus`,To=`click`,Eo=`manual`,Do=`hide`,Oo=`hidden`,ko=`show`,Ao=`shown`,jo=`inserted`,Mo=`click`,No=`focusin`,Po=`focusout`,Fo=`mouseenter`,Io=`mouseleave`,Lo={AUTO:`auto`,TOP:`top`,RIGHT:Xt()?`left`:`right`,BOTTOM:`bottom`,LEFT:Xt()?`right`:`left`},Ro={allowList:io,animation:!0,boundary:`clippingParents`,container:!1,customClass:``,delay:0,fallbackPlacements:[`top`,`right`,`bottom`,`left`],html:!1,offset:[0,6],placement:`top`,popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:`<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>`,title:``,trigger:`hover focus`},zo={allowList:`object`,animation:`boolean`,boundary:`(string|element)`,container:`(string|element|boolean)`,customClass:`(string|function)`,delay:`(number|object)`,fallbackPlacements:`array`,html:`boolean`,offset:`(array|string|function)`,placement:`(string|function)`,popperConfig:`(null|object|function)`,sanitize:`boolean`,sanitizeFn:`(null|function)`,selector:`(string|boolean)`,template:`string`,title:`(string|element|function)`,trigger:`string`},Bo=class e extends Tn{constructor(e,t){if(Ot===void 0)throw TypeError(`Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)`);super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Ro}static get DefaultType(){return zo}static get NAME(){return ho}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),N.off(this._element.closest(xo),So,this._hideModalHandler),this._element.getAttribute(`data-bs-original-title`)&&this._element.setAttribute(`title`,this._element.getAttribute(`data-bs-original-title`)),this._disposePopper(),super.dispose()}show(){if(this._element.style.display===`none`)throw Error(`Please use show on visible elements`);if(!(this._isWithContent()&&this._isEnabled))return;let e=N.trigger(this._element,this.constructor.eventName(ko)),t=(Wt(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this._disposePopper();let n=this._getTipElement();this._element.setAttribute(`aria-describedby`,n.getAttribute(`id`));let{container:r}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(r.append(n),N.trigger(this._element,this.constructor.eventName(jo))),this._popper=this._createPopper(n),n.classList.add(yo),`ontouchstart`in document.documentElement)for(let e of[].concat(...document.body.children))N.on(e,`mouseover`,Gt);this._queueCallback(()=>{N.trigger(this._element,this.constructor.eventName(Ao)),this._isHovered===!1&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(this._isShown()&&!N.trigger(this._element,this.constructor.eventName(Do)).defaultPrevented){if(this._getTipElement().classList.remove(yo),`ontouchstart`in document.documentElement)for(let e of[].concat(...document.body.children))N.off(e,`mouseover`,Gt);this._activeTrigger[To]=!1,this._activeTrigger[wo]=!1,this._activeTrigger[Co]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute(`aria-describedby`),N.trigger(this._element,this.constructor.eventName(Oo)))},this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||=this._createTipElement(this._newContent||this._getContentForTemplate()),this.tip}_createTipElement(e){let t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(_o,yo),t.classList.add(`bs-${this.constructor.NAME}-auto`);let n=Lt(this.constructor.NAME).toString();return t.setAttribute(`id`,n),this._isAnimated()&&t.classList.add(_o),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new mo({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[bo]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute(`data-bs-original-title`)}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(_o)}_isShown(){return this.tip&&this.tip.classList.contains(yo)}_createPopper(e){let t=Lo[Qt(this._config.placement,[this,e,this._element]).toUpperCase()];return Dt(this._element,e,this._getPopperConfig(t))}_getOffset(){let{offset:e}=this._config;return typeof e==`string`?e.split(`,`).map(e=>Number.parseInt(e,10)):typeof e==`function`?t=>e(t,this._element):e}_resolvePossibleFunction(e){return Qt(e,[this._element,this._element])}_getPopperConfig(e){let t={placement:e,modifiers:[{name:`flip`,options:{fallbackPlacements:this._config.fallbackPlacements}},{name:`offset`,options:{offset:this._getOffset()}},{name:`preventOverflow`,options:{boundary:this._config.boundary}},{name:`arrow`,options:{element:`.${this.constructor.NAME}-arrow`}},{name:`preSetPlacement`,enabled:!0,phase:`beforeMain`,fn:e=>{this._getTipElement().setAttribute(`data-popper-placement`,e.state.placement)}}]};return{...t,...Qt(this._config.popperConfig,[void 0,t])}}_setListeners(){let e=this._config.trigger.split(` `);for(let t of e)if(t===`click`)N.on(this._element,this.constructor.eventName(Mo),this._config.selector,e=>{let t=this._initializeOnDelegatedTarget(e);t._activeTrigger[To]=!(t._isShown()&&t._activeTrigger[To]),t.toggle()});else if(t!==Eo){let e=t===Co?this.constructor.eventName(Fo):this.constructor.eventName(No),n=t===Co?this.constructor.eventName(Io):this.constructor.eventName(Po);N.on(this._element,e,this._config.selector,e=>{let t=this._initializeOnDelegatedTarget(e);t._activeTrigger[e.type===`focusin`?wo:Co]=!0,t._enter()}),N.on(this._element,n,this._config.selector,e=>{let t=this._initializeOnDelegatedTarget(e);t._activeTrigger[e.type===`focusout`?wo:Co]=t._element.contains(e.relatedTarget),t._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},N.on(this._element.closest(xo),So,this._hideModalHandler)}_fixTitle(){let e=this._element.getAttribute(`title`);e&&(!this._element.getAttribute(`aria-label`)&&!this._element.textContent.trim()&&this._element.setAttribute(`aria-label`,e),this._element.setAttribute(`data-bs-original-title`,e),this._element.removeAttribute(`title`))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){let t=Sn.getDataAttributes(this._element);for(let e of Object.keys(t))go.has(e)&&delete t[e];return e={...t,...typeof e==`object`&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:Vt(e.container),typeof e.delay==`number`&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title==`number`&&(e.title=e.title.toString()),typeof e.content==`number`&&(e.content=e.content.toString()),e}_getDelegateConfig(){let e={};for(let[t,n]of Object.entries(this._config))this.constructor.Default[t]!==n&&(e[t]=n);return e.selector=!1,e.trigger=`manual`,e}_disposePopper(){this._popper&&=(this._popper.destroy(),null),this.tip&&=(this.tip.remove(),null)}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this,t);if(typeof t==`string`){if(n[t]===void 0)throw TypeError(`No method named "${t}"`);n[t]()}})}};Zt(Bo);var Vo=`popover`,Ho=`.popover-header`,Uo=`.popover-body`,Wo={...Bo.Default,content:``,offset:[0,8],placement:`right`,template:`<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>`,trigger:`click`},Go={...Bo.DefaultType,content:`(null|string|element|function)`},Ko=class e extends Bo{static get Default(){return Wo}static get DefaultType(){return Go}static get NAME(){return Vo}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Ho]:this._getTitle(),[Uo]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this,t);if(typeof t==`string`){if(n[t]===void 0)throw TypeError(`No method named "${t}"`);n[t]()}})}};Zt(Ko);var qo=`scrollspy`,Jo=`.bs.scrollspy`,Yo=`.data-api`,Xo=`activate${Jo}`,Zo=`click${Jo}`,Qo=`load${Jo}${Yo}`,$o=`dropdown-item`,es=`active`,ts=`[data-bs-spy="scroll"]`,ns=`[href]`,rs=`.nav, .list-group`,is=`.nav-link`,as=`${is}, .nav-item > ${is}, .list-group-item`,os=`.dropdown`,ss=`.dropdown-toggle`,cs={offset:null,rootMargin:`0px 0px -25%`,smoothScroll:!1,target:null,threshold:[.1,.5,1]},ls={offset:`(number|null)`,rootMargin:`string`,smoothScroll:`boolean`,target:`element`,threshold:`array`},us=class e extends Tn{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY===`visible`?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return cs}static get DefaultType(){return ls}static get NAME(){return qo}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(let e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=Vt(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold==`string`&&(e.threshold=e.threshold.split(`,`).map(e=>Number.parseFloat(e))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(N.off(this._config.target,Zo),N.on(this._config.target,Zo,ns,e=>{let t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();let n=this._rootElement||window,r=t.offsetTop-this._element.offsetTop;if(n.scrollTo){n.scrollTo({top:r,behavior:`smooth`});return}n.scrollTop=r}}))}_getNewObserver(){let e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(e=>this._observerCallback(e),e)}_observerCallback(e){let t=e=>this._targetLinks.get(`#${e.target.id}`),n=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},r=(this._rootElement||document.documentElement).scrollTop,i=r>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=r;for(let a of e){if(!a.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(a));continue}let e=a.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&e){if(n(a),!r)return}else!i&&!e&&n(a)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;let e=P.find(ns,this._config.target);for(let t of e){if(!t.hash||Ut(t))continue;let e=P.findOne(decodeURI(t.hash),this._element);Ht(e)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,e))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(es),this._activateParents(e),N.trigger(this._element,Xo,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains($o))P.findOne(ss,e.closest(os)).classList.add(es);else for(let t of P.parents(e,rs))for(let e of P.prev(t,as))e.classList.add(es)}_clearActiveClass(e){e.classList.remove(es);let t=P.find(`${ns}.${es}`,e);for(let e of t)e.classList.remove(es)}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this,t);if(typeof t==`string`){if(n[t]===void 0||t.startsWith(`_`)||t===`constructor`)throw TypeError(`No method named "${t}"`);n[t]()}})}};N.on(window,Qo,()=>{for(let e of P.find(ts))us.getOrCreateInstance(e)}),Zt(us);var ds=`tab`,fs=`.bs.tab`,ps=`hide${fs}`,ms=`hidden${fs}`,hs=`show${fs}`,gs=`shown${fs}`,_s=`click${fs}`,vs=`keydown${fs}`,ys=`load${fs}`,bs=`ArrowLeft`,xs=`ArrowRight`,Ss=`ArrowUp`,Cs=`ArrowDown`,ws=`Home`,Ts=`End`,Es=`active`,Ds=`fade`,Os=`show`,ks=`dropdown`,As=`.dropdown-toggle`,js=`.dropdown-menu`,Ms=`:not(${As})`,Ns=`.list-group, .nav, [role="tablist"]`,Ps=`.nav-item, .list-group-item`,Fs=`.nav-link${Ms}, .list-group-item${Ms}, [role="tab"]${Ms}`,Is=`[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]`,Ls=`${Fs}, ${Is}`,Rs=`.${Es}[data-bs-toggle="tab"], .${Es}[data-bs-toggle="pill"], .${Es}[data-bs-toggle="list"]`,zs=class e extends Tn{constructor(e){super(e),this._parent=this._element.closest(Ns),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),N.on(this._element,vs,e=>this._keydown(e)))}static get NAME(){return ds}show(){let e=this._element;if(this._elemIsActive(e))return;let t=this._getActiveElem(),n=t?N.trigger(t,ps,{relatedTarget:e}):null;N.trigger(e,hs,{relatedTarget:t}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){e&&(e.classList.add(Es),this._activate(P.getElementFromSelector(e)),this._queueCallback(()=>{e.getAttribute(`role`)===`tab`?(e.removeAttribute(`tabindex`),e.setAttribute(`aria-selected`,!0),this._toggleDropDown(e,!0),N.trigger(e,gs,{relatedTarget:t})):e.classList.add(Os)},e,e.classList.contains(Ds)))}_deactivate(e,t){e&&(e.classList.remove(Es),e.blur(),this._deactivate(P.getElementFromSelector(e)),this._queueCallback(()=>{e.getAttribute(`role`)===`tab`?(e.setAttribute(`aria-selected`,!1),e.setAttribute(`tabindex`,`-1`),this._toggleDropDown(e,!1),N.trigger(e,ms,{relatedTarget:t})):e.classList.remove(Os)},e,e.classList.contains(Ds)))}_keydown(t){if(![bs,xs,Ss,Cs,ws,Ts].includes(t.key))return;t.stopPropagation(),t.preventDefault();let n=this._getChildren().filter(e=>!Ut(e)),r;if([ws,Ts].includes(t.key))r=n[t.key===ws?0:n.length-1];else{let e=[xs,Cs].includes(t.key);r=en(n,t.target,e,!0)}r&&(r.focus({preventScroll:!0}),e.getOrCreateInstance(r).show())}_getChildren(){return P.find(Ls,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,`role`,`tablist`);for(let e of t)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);let t=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute(`aria-selected`,t),n!==e&&this._setAttributeIfNotExists(n,`role`,`presentation`),t||e.setAttribute(`tabindex`,`-1`),this._setAttributeIfNotExists(e,`role`,`tab`),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){let t=P.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,`role`,`tabpanel`),e.id&&this._setAttributeIfNotExists(t,`aria-labelledby`,`${e.id}`))}_toggleDropDown(e,t){let n=this._getOuterElement(e);if(!n.classList.contains(ks))return;let r=(e,r)=>{let i=P.findOne(e,n);i&&i.classList.toggle(r,t)};r(As,Es),r(js,Os),n.setAttribute(`aria-expanded`,t)}_setAttributeIfNotExists(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}_elemIsActive(e){return e.classList.contains(Es)}_getInnerElement(e){return e.matches(Ls)?e:P.findOne(Ls,e)}_getOuterElement(e){return e.closest(Ps)||e}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this);if(typeof t==`string`){if(n[t]===void 0||t.startsWith(`_`)||t===`constructor`)throw TypeError(`No method named "${t}"`);n[t]()}})}};N.on(document,_s,Is,function(e){[`A`,`AREA`].includes(this.tagName)&&e.preventDefault(),!Ut(this)&&zs.getOrCreateInstance(this).show()}),N.on(window,ys,()=>{for(let e of P.find(Rs))zs.getOrCreateInstance(e)}),Zt(zs);var Bs=`toast`,Vs=`.bs.toast`,Hs=`mouseover${Vs}`,Us=`mouseout${Vs}`,Ws=`focusin${Vs}`,Gs=`focusout${Vs}`,Ks=`hide${Vs}`,qs=`hidden${Vs}`,Js=`show${Vs}`,Ys=`shown${Vs}`,Xs=`fade`,Zs=`hide`,Qs=`show`,$s=`showing`,ec={animation:`boolean`,autohide:`boolean`,delay:`number`},tc={animation:!0,autohide:!0,delay:5e3},nc=class e extends Tn{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return tc}static get DefaultType(){return ec}static get NAME(){return Bs}show(){N.trigger(this._element,Js).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add(Xs),this._element.classList.remove(Zs),Kt(this._element),this._element.classList.add(Qs,$s),this._queueCallback(()=>{this._element.classList.remove($s),N.trigger(this._element,Ys),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&!N.trigger(this._element,Ks).defaultPrevented&&(this._element.classList.add($s),this._queueCallback(()=>{this._element.classList.add(Zs),this._element.classList.remove($s,Qs),N.trigger(this._element,qs)},this._element,this._config.animation))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Qs),super.dispose()}isShown(){return this._element.classList.contains(Qs)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,t){switch(e.type){case`mouseover`:case`mouseout`:this._hasMouseInteraction=t;break;case`focusin`:case`focusout`:this._hasKeyboardInteraction=t}if(t){this._clearTimeout();return}let n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){N.on(this._element,Hs,e=>this._onInteraction(e,!0)),N.on(this._element,Us,e=>this._onInteraction(e,!1)),N.on(this._element,Ws,e=>this._onInteraction(e,!0)),N.on(this._element,Gs,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){let n=e.getOrCreateInstance(this,t);if(typeof t==`string`){if(n[t]===void 0)throw TypeError(`No method named "${t}"`);n[t](this)}})}};Dn(nc),Zt(nc),window.bootstrap=kt;var rc=[],ic=!1,ac=(e,t)=>{let n=[...t.querySelectorAll(e)];return t.matches(e)?[t,...n]:n},oc=(e,t)=>{e.cleanups.get(t)?.();let n=e.setup(t);e.cleanups.set(t,typeof n==`function`?n:null),e.cleansUp||=typeof n==`function`},sc=(e,t)=>{for(let n of ac(e.selector,t))e.cleanups.has(n)||oc(e,n)},cc=(e,t)=>{for(let n of ac(e.selector,t))!n.isConnected&&e.cleanups.has(n)&&(e.cleanups.get(n)?.(),e.cleanups.delete(n))},lc=e=>[...e].filter(e=>e.nodeType===Node.ELEMENT_NODE),uc=new MutationObserver(e=>{for(let{type:t,target:n,addedNodes:r,removedNodes:i}of e)if(t===`attributes`)for(let e of rc)n.isConnected&&n.matches(e.selector)&&oc(e,n);else{for(let e of lc(i))for(let t of rc.filter(({cleansUp:e})=>e))cc(t,e);for(let e of lc(r))if(e.isConnected)for(let t of rc)sc(t,e)}}),dc=()=>{ic=!0;for(let e of rc)sc(e,document.body);uc.observe(document.documentElement,{childList:!0,subtree:!0,attributeFilter:[`data-lucide`]})},fc=(e,t)=>{let n={selector:e,setup:t,cleanups:new WeakMap,cleansUp:!1};rc.push(n),ic&&sc(n,document.body)};(()=>{if(document.readyState!==`interactive`)return document.readyState===`complete`;let[e]=performance.getEntriesByType(`navigation`);return!e||e.domContentLoadedEventStart>0})()?dc():document.addEventListener(`DOMContentLoaded`,dc);var pc={colorModes:[`light`,`dark`],colorSchemes:[`default`]},mc=`adminkit_config_colorMode`,hc=[...pc.colorModes,`auto`],gc=window.matchMedia(`(prefers-color-scheme: dark)`),_c=(()=>{try{let e=localStorage.getItem(mc);return hc.includes(e)?e:null}catch{return null}})()??`auto`,vc=()=>{let e=_c===`auto`?gc.matches?`dark`:`light`:_c;document.documentElement.setAttribute(`data-bs-theme`,e)},yc=(e,{persist:t=!0}={})=>{if(hc.includes(e)){if(_c=e,t)try{localStorage.setItem(mc,e)}catch{}vc(),document.dispatchEvent(new CustomEvent(`adminkit:colormodechange`,{detail:{colorMode:_c}}))}},bc=`[data-color-mode-value], [data-color-mode-icon], [data-color-mode-toggle]`,xc=e=>{let{colorModeValue:t,colorModeIcon:n}=e.dataset;t&&e instanceof HTMLInputElement?e.checked=t===_c:t&&(e.classList.toggle(`active`,t===_c),e.setAttribute(`aria-pressed`,t===_c)),n&&(e.hidden=n!==_c),e.hasAttribute(`data-color-mode-toggle`)&&e.setAttribute(`aria-label`,`Color mode (${_c})`)};document.documentElement.hasAttribute(`data-bs-theme`)||vc(),new MutationObserver(()=>{document.documentElement.hasAttribute(`data-bs-theme`)||vc()}).observe(document.documentElement,{attributes:!0,attributeFilter:[`data-bs-theme`]}),gc.addEventListener(`change`,()=>{_c===`auto`&&vc()}),document.addEventListener(`click`,e=>{let t=e.target.closest(`[data-color-mode-value]`);t&&yc(t.dataset.colorModeValue)}),document.addEventListener(`adminkit:colormodechange`,()=>{document.querySelectorAll(bc).forEach(xc)}),fc(bc,xc);function Sc(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}var Cc=typeof global==`object`&&global&&global.Object===Object&&global,wc=typeof self==`object`&&self&&self.Object===Object&&self,Tc=Cc||wc||Function(`return this`)(),Ec=function(){return Tc.Date.now()},Dc=/\s/;function Oc(e){for(var t=e.length;t--&&Dc.test(e.charAt(t)););return t}var kc=/^\s+/;function Ac(e){return e&&e.slice(0,Oc(e)+1).replace(kc,``)}var jc=Tc.Symbol,Mc=Object.prototype,Nc=Mc.hasOwnProperty,Pc=Mc.toString,Fc=jc?jc.toStringTag:void 0;function Ic(e){var t=Nc.call(e,Fc),n=e[Fc];try{e[Fc]=void 0;var r=!0}catch{}var i=Pc.call(e);return r&&(t?e[Fc]=n:delete e[Fc]),i}var Lc=Object.prototype.toString;function Rc(e){return Lc.call(e)}var zc=`[object Null]`,Bc=`[object Undefined]`,Vc=jc?jc.toStringTag:void 0;function Hc(e){return e==null?e===void 0?Bc:zc:Vc&&Vc in Object(e)?Ic(e):Rc(e)}function Uc(e){return typeof e==`object`&&!!e}var Wc=`[object Symbol]`;function Gc(e){return typeof e==`symbol`||Uc(e)&&Hc(e)==Wc}var Kc=NaN,qc=/^[-+]0x[0-9a-f]+$/i,Jc=/^0b[01]+$/i,Yc=/^0o[0-7]+$/i,Xc=parseInt;function Zc(e){if(typeof e==`number`)return e;if(Gc(e))return Kc;if(Sc(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=Sc(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=Ac(e);var n=Jc.test(e);return n||Yc.test(e)?Xc(e.slice(2),n?2:8):qc.test(e)?Kc:+e}var Qc=`Expected a function`,$c=Math.max,el=Math.min;function tl(e,t,n){var r,i,a,o,s,c,l=0,u=!1,d=!1,f=!0;if(typeof e!=`function`)throw TypeError(Qc);t=Zc(t)||0,Sc(n)&&(u=!!n.leading,d=`maxWait`in n,a=d?$c(Zc(n.maxWait)||0,t):a,f=`trailing`in n?!!n.trailing:f);function p(t){var n=r,a=i;return r=i=void 0,l=t,o=e.apply(a,n),o}function m(e){return l=e,s=setTimeout(_,t),u?p(e):o}function h(e){var n=e-c,r=e-l,i=t-n;return d?el(i,a-r):i}function g(e){var n=e-c,r=e-l;return c===void 0||n>=t||n<0||d&&r>=a}function _(){var e=Ec();if(g(e))return v(e);s=setTimeout(_,h(e))}function v(e){return s=void 0,f&&r?p(e):(r=i=void 0,o)}function y(){s!==void 0&&clearTimeout(s),l=0,r=c=i=s=void 0}function b(){return s===void 0?o:v(Ec())}function x(){var e=Ec(),n=g(e);if(r=arguments,i=this,c=e,n){if(s===void 0)return m(c);if(d)return clearTimeout(s),s=setTimeout(_,t),p(c)}return s===void 0&&(s=setTimeout(_,t)),o}return x.cancel=y,x.flush=b,x}var nl=`Expected a function`;function rl(e,t,n){var r=!0,i=!0;if(typeof e!=`function`)throw TypeError(nl);return Sc(n)&&(r=`leading`in n?!!n.leading:r,i=`trailing`in n?!!n.trailing:i),tl(e,t,{leading:r,maxWait:t,trailing:i})}var il=function(){return il=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},il.apply(this,arguments)};function al(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function ol(e){return!e||!e.ownerDocument?document:e.ownerDocument}var sl=function(e){return Array.prototype.reduce.call(e,function(e,t){var n=t.name.match(/data-simplebar-(.+)/);if(n){var r=n[1].replace(/\W+(.)/g,function(e,t){return t.toUpperCase()});switch(t.value){case`true`:e[r]=!0;break;case`false`:e[r]=!1;break;case void 0:e[r]=!0;break;default:e[r]=t.value}}return e},{})};function cl(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(` `))}function ll(e,t){e&&t.split(` `).forEach(function(t){e.classList.remove(t)})}function ul(e){return`.${e.split(` `).join(`.`)}`}var dl=!!(typeof window<`u`&&window.document&&window.document.createElement),fl=Object.freeze({__proto__:null,addClasses:cl,canUseDOM:dl,classNamesToQuery:ul,getElementDocument:ol,getElementWindow:al,getOptions:sl,removeClasses:ll}),pl=null,ml=null;dl&&window.addEventListener(`resize`,function(){ml!==window.devicePixelRatio&&(ml=window.devicePixelRatio,pl=null)});function hl(){if(pl===null){if(typeof document>`u`)return pl=0,pl;var e=document.body,t=document.createElement(`div`);t.classList.add(`simplebar-hide-scrollbar`),e.appendChild(t);var n=t.getBoundingClientRect().right;e.removeChild(t),pl=n}return pl}var gl=al,_l=ol,vl=sl,yl=cl,bl=ll,xl=ul,Sl=function(){function e(t,n){n===void 0&&(n={});var r=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var e=gl(r.el);r.scrollXTicking||=(e.requestAnimationFrame(r.scrollX),!0),r.scrollYTicking||=(e.requestAnimationFrame(r.scrollY),!0),r.isScrolling||(r.isScrolling=!0,yl(r.el,r.classNames.scrolling)),r.showScrollbar(`x`),r.showScrollbar(`y`),r.onStopScrolling()},this.scrollX=function(){r.axis.x.isOverflowing&&r.positionScrollbar(`x`),r.scrollXTicking=!1},this.scrollY=function(){r.axis.y.isOverflowing&&r.positionScrollbar(`y`),r.scrollYTicking=!1},this._onStopScrolling=function(){bl(r.el,r.classNames.scrolling),r.options.autoHide&&(r.hideScrollbar(`x`),r.hideScrollbar(`y`)),r.isScrolling=!1},this.onMouseEnter=function(){r.isMouseEntering||=(yl(r.el,r.classNames.mouseEntered),r.showScrollbar(`x`),r.showScrollbar(`y`),!0),r.onMouseEntered()},this._onMouseEntered=function(){bl(r.el,r.classNames.mouseEntered),r.options.autoHide&&(r.hideScrollbar(`x`),r.hideScrollbar(`y`)),r.isMouseEntering=!1},this._onMouseMove=function(e){r.mouseX=e.clientX,r.mouseY=e.clientY,(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseMoveForAxis(`x`),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseMoveForAxis(`y`)},this.onMouseLeave=function(){r.onMouseMove.cancel(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseLeaveForAxis(`x`),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseLeaveForAxis(`y`),r.mouseX=-1,r.mouseY=-1},this._onWindowResize=function(){r.scrollbarWidth=r.getScrollbarWidth(),r.hideNativeScrollbar()},this.onPointerEvent=function(e){if(r.axis.x.track.el&&r.axis.y.track.el&&r.axis.x.scrollbar.el&&r.axis.y.scrollbar.el){var t,n;r.axis.x.track.rect=r.axis.x.track.el.getBoundingClientRect(),r.axis.y.track.rect=r.axis.y.track.el.getBoundingClientRect(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&(t=r.isWithinBounds(r.axis.x.track.rect)),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&(n=r.isWithinBounds(r.axis.y.track.rect)),(t||n)&&(e.stopPropagation(),e.type===`pointerdown`&&e.pointerType!==`touch`&&(t&&(r.axis.x.scrollbar.rect=r.axis.x.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.x.scrollbar.rect)?r.onDragStart(e,`x`):r.onTrackClick(e,`x`)),n&&(r.axis.y.scrollbar.rect=r.axis.y.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.y.scrollbar.rect)?r.onDragStart(e,`y`):r.onTrackClick(e,`y`))))}},this.drag=function(t){if(r.draggedAxis&&r.contentWrapperEl){var n,i=r.axis[r.draggedAxis].track,a=i.rect?.[r.axis[r.draggedAxis].sizeAttr]??0,o=r.axis[r.draggedAxis].scrollbar,s=r.contentWrapperEl?.[r.axis[r.draggedAxis].scrollSizeAttr]??0,c=parseInt(r.elStyles?.[r.axis[r.draggedAxis].sizeAttr]??`0px`,10);t.preventDefault(),t.stopPropagation(),n=r.draggedAxis===`y`?t.pageY:t.pageX;var l=n-(i.rect?.[r.axis[r.draggedAxis].offsetAttr]??0)-r.axis[r.draggedAxis].dragOffset;l=r.draggedAxis===`x`&&r.isRtl?(i.rect?.[r.axis[r.draggedAxis].sizeAttr]??0)-o.size-l:l;var u=l/(a-o.size)*(s-c);r.draggedAxis===`x`&&r.isRtl&&(u=e.getRtlHelpers()?.isScrollingToNegative?-u:u),r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr]=u}},this.onEndDrag=function(e){r.isDragging=!1;var t=_l(r.el),n=gl(r.el);e.preventDefault(),e.stopPropagation(),bl(r.el,r.classNames.dragging),r.onStopScrolling(),t.removeEventListener(`mousemove`,r.drag,!0),t.removeEventListener(`mouseup`,r.onEndDrag,!0),r.removePreventClickId=n.setTimeout(function(){t.removeEventListener(`click`,r.preventClick,!0),t.removeEventListener(`dblclick`,r.preventClick,!0),r.removePreventClickId=null})},this.preventClick=function(e){e.preventDefault(),e.stopPropagation()},this.el=t,this.options=il(il({},e.defaultOptions),n),this.classNames=il(il({},e.defaultOptions.classNames),n.classNames),this.axis={x:{scrollOffsetAttr:`scrollLeft`,sizeAttr:`width`,scrollSizeAttr:`scrollWidth`,offsetSizeAttr:`offsetWidth`,offsetAttr:`left`,overflowAttr:`overflowX`,dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:`scrollTop`,sizeAttr:`height`,scrollSizeAttr:`scrollHeight`,offsetSizeAttr:`offsetHeight`,offsetAttr:`top`,overflowAttr:`overflowY`,dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!=`object`||!this.el.nodeName)throw Error(`Argument passed to SimpleBar must be an HTML element instead of ${this.el}`);this.onMouseMove=rl(this._onMouseMove,64),this.onWindowResize=tl(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=tl(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=tl(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var t=document.createElement(`div`);t.innerHTML=`<div class="simplebar-dummy-scrollbar-size"><div></div></div>`;var n=t.firstElementChild,r=n?.firstElementChild;if(!r)return null;document.body.appendChild(n),n.scrollLeft=0;var i=e.getOffset(n),a=e.getOffset(r);n.scrollLeft=-999;var o=e.getOffset(r);return document.body.removeChild(n),e.rtlHelpers={isScrollOriginAtZero:i.left!==a.left,isScrollingToNegative:a.left!==o.left},e.rtlHelpers},e.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,`::-webkit-scrollbar`).display===`none`||`scrollbarWidth`in document.documentElement.style||`-ms-overflow-style`in document.documentElement.style?0:hl()}catch{return hl()}},e.getOffset=function(e){var t=e.getBoundingClientRect(),n=_l(e),r=gl(e);return{top:t.top+(r.pageYOffset||n.documentElement.scrollTop),left:t.left+(r.pageXOffset||n.documentElement.scrollLeft)}},e.prototype.init=function(){dl&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){this.wrapperEl=this.el.querySelector(xl(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(xl(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(xl(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(xl(this.classNames.offset)),this.maskEl=this.el.querySelector(xl(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,xl(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(xl(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(xl(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,`${xl(this.classNames.track)}${xl(this.classNames.horizontal)}`),this.axis.y.track.el=this.findChild(this.el,`${xl(this.classNames.track)}${xl(this.classNames.vertical)}`),this.axis.x.scrollbar.el=this.axis.x.track.el?.querySelector(xl(this.classNames.scrollbar))||null,this.axis.y.scrollbar.el=this.axis.y.track.el?.querySelector(xl(this.classNames.scrollbar))||null,this.options.autoHide||(yl(this.axis.x.scrollbar.el,this.classNames.visible),yl(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var e=this,t,n=gl(this.el);if(this.el.addEventListener(`mouseenter`,this.onMouseEnter),this.el.addEventListener(`pointerdown`,this.onPointerEvent,!0),this.el.addEventListener(`mousemove`,this.onMouseMove),this.el.addEventListener(`mouseleave`,this.onMouseLeave),(t=this.contentWrapperEl)==null||t.addEventListener(`scroll`,this.onScroll),n.addEventListener(`resize`,this.onWindowResize),this.contentEl){if(window.ResizeObserver){var r=!1,i=n.ResizeObserver||ResizeObserver;this.resizeObserver=new i(function(){r&&n.requestAnimationFrame(function(){e.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),n.requestAnimationFrame(function(){r=!0})}this.mutationObserver=new n.MutationObserver(function(){n.requestAnimationFrame(function(){e.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},e.prototype.recalculate=function(){if(this.heightAutoObserverEl&&this.contentEl&&this.contentWrapperEl&&this.wrapperEl&&this.placeholderEl){var e=gl(this.el);this.elStyles=e.getComputedStyle(this.el),this.isRtl=this.elStyles.direction===`rtl`;var t=this.contentEl.offsetWidth,n=this.heightAutoObserverEl.offsetHeight<=1,r=this.heightAutoObserverEl.offsetWidth<=1||t>0,i=this.contentWrapperEl.offsetWidth,a=this.elStyles.overflowX,o=this.elStyles.overflowY;this.contentEl.style.padding=`${this.elStyles.paddingTop} ${this.elStyles.paddingRight} ${this.elStyles.paddingBottom} ${this.elStyles.paddingLeft}`,this.wrapperEl.style.margin=`-${this.elStyles.paddingTop} -${this.elStyles.paddingRight} -${this.elStyles.paddingBottom} -${this.elStyles.paddingLeft}`;var s=this.contentEl.scrollHeight,c=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=n?`auto`:`100%`,this.placeholderEl.style.width=r?`${t||c}px`:`auto`,this.placeholderEl.style.height=`${s}px`;var l=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=t!==0&&c>t,this.axis.y.isOverflowing=s>l,this.axis.x.isOverflowing=a!==`hidden`&&this.axis.x.isOverflowing,this.axis.y.isOverflowing=o!==`hidden`&&this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible===`x`||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible===`y`||this.options.forceVisible===!0,this.hideNativeScrollbar();var u=this.axis.x.isOverflowing?this.scrollbarWidth:0,d=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&c>i-d,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&s>l-u,this.axis.x.scrollbar.size=this.getScrollbarSize(`x`),this.axis.y.scrollbar.size=this.getScrollbarSize(`y`),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width=`${this.axis.x.scrollbar.size}px`),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height=`${this.axis.y.scrollbar.size}px`),this.positionScrollbar(`x`),this.positionScrollbar(`y`),this.toggleTrackVisibility(`x`),this.toggleTrackVisibility(`y`)}},e.prototype.getScrollbarSize=function(e){if(e===void 0&&(e=`y`),!this.axis[e].isOverflowing||!this.contentEl)return 0;var t=this.contentEl[this.axis[e].scrollSizeAttr],n=this.axis[e].track.el?.[this.axis[e].offsetSizeAttr]??0,r=n/t,i=Math.max(~~(r*n),this.options.scrollbarMinSize);return this.options.scrollbarMaxSize&&(i=Math.min(i,this.options.scrollbarMaxSize)),i},e.prototype.positionScrollbar=function(t){t===void 0&&(t=`y`);var n=this.axis[t].scrollbar;if(this.axis[t].isOverflowing&&this.contentWrapperEl&&n.el&&this.elStyles){var r=this.contentWrapperEl[this.axis[t].scrollSizeAttr],i=this.axis[t].track.el?.[this.axis[t].offsetSizeAttr]||0,a=parseInt(this.elStyles[this.axis[t].sizeAttr],10),o=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];o=t===`x`&&this.isRtl&&e.getRtlHelpers()?.isScrollOriginAtZero?-o:o,t===`x`&&this.isRtl&&(o=e.getRtlHelpers()?.isScrollingToNegative?o:-o);var s=o/(r-a),c=~~((i-n.size)*s);c=t===`x`&&this.isRtl?-c+(i-n.size):c,n.el.style.transform=t===`x`?`translate3d(${c}px, 0, 0)`:`translate3d(0, ${c}px, 0)`}},e.prototype.toggleTrackVisibility=function(e){e===void 0&&(e=`y`);var t=this.axis[e].track.el,n=this.axis[e].scrollbar.el;t&&n&&this.contentWrapperEl&&(this.axis[e].isOverflowing||this.axis[e].forceVisible?(t.style.visibility=`visible`,this.contentWrapperEl.style[this.axis[e].overflowAttr]=`scroll`,this.el.classList.add(`${this.classNames.scrollable}-${e}`)):(t.style.visibility=`hidden`,this.contentWrapperEl.style[this.axis[e].overflowAttr]=`hidden`,this.el.classList.remove(`${this.classNames.scrollable}-${e}`)),this.axis[e].isOverflowing?n.style.display=`block`:n.style.display=`none`)},e.prototype.showScrollbar=function(e){e===void 0&&(e=`y`),this.axis[e].isOverflowing&&!this.axis[e].scrollbar.isVisible&&(yl(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(e){e===void 0&&(e=`y`),!this.isDragging&&this.axis[e].isOverflowing&&this.axis[e].scrollbar.isVisible&&(bl(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?`left`:`right`]=this.axis.y.isOverflowing||this.axis.y.forceVisible?`-${this.scrollbarWidth}px`:`0px`,this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?`-${this.scrollbarWidth}px`:`0px`)},e.prototype.onMouseMoveForAxis=function(e){e===void 0&&(e=`y`);var t=this.axis[e];t.track.el&&t.scrollbar.el&&(t.track.rect=t.track.el.getBoundingClientRect(),t.scrollbar.rect=t.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(t.track.rect)?(this.showScrollbar(e),yl(t.track.el,this.classNames.hover),this.isWithinBounds(t.scrollbar.rect)?yl(t.scrollbar.el,this.classNames.hover):bl(t.scrollbar.el,this.classNames.hover)):(bl(t.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)))},e.prototype.onMouseLeaveForAxis=function(e){e===void 0&&(e=`y`),bl(this.axis[e].track.el,this.classNames.hover),bl(this.axis[e].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)},e.prototype.onDragStart=function(e,t){t===void 0&&(t=`y`),this.isDragging=!0;var n=_l(this.el),r=gl(this.el),i=this.axis[t].scrollbar,a=t===`y`?e.pageY:e.pageX;this.axis[t].dragOffset=a-(i.rect?.[this.axis[t].offsetAttr]||0),this.draggedAxis=t,yl(this.el,this.classNames.dragging),n.addEventListener(`mousemove`,this.drag,!0),n.addEventListener(`mouseup`,this.onEndDrag,!0),this.removePreventClickId===null?(n.addEventListener(`click`,this.preventClick,!0),n.addEventListener(`dblclick`,this.preventClick,!0)):(r.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(e,t){var n=this;t===void 0&&(t=`y`);var r=this.axis[t];if(this.options.clickOnTrack&&r.scrollbar.el&&this.contentWrapperEl){e.preventDefault();var i=gl(this.el);this.axis[t].scrollbar.rect=r.scrollbar.el.getBoundingClientRect();var a=this.axis[t].scrollbar.rect?.[this.axis[t].offsetAttr]??0,o=parseInt(this.elStyles?.[this.axis[t].sizeAttr]??`0px`,10),s=this.contentWrapperEl[this.axis[t].scrollOffsetAttr],c=(t===`y`?this.mouseY-a:this.mouseX-a)<0?-1:1,l=c===-1?s-o:s+o,u=40,d=function(){n.contentWrapperEl&&(c===-1?s>l&&(s-=u,n.contentWrapperEl[n.axis[t].scrollOffsetAttr]=s,i.requestAnimationFrame(d)):s<l&&(s+=u,n.contentWrapperEl[n.axis[t].scrollOffsetAttr]=s,i.requestAnimationFrame(d)))};d()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var e=gl(this.el);this.el.removeEventListener(`mouseenter`,this.onMouseEnter),this.el.removeEventListener(`pointerdown`,this.onPointerEvent,!0),this.el.removeEventListener(`mousemove`,this.onMouseMove),this.el.removeEventListener(`mouseleave`,this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener(`scroll`,this.onScroll),e.removeEventListener(`resize`,this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(e){return this.mouseX>=e.left&&this.mouseX<=e.left+e.width&&this.mouseY>=e.top&&this.mouseY<=e.top+e.height},e.prototype.findChild=function(e,t){var n=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;return Array.prototype.filter.call(e.children,function(e){return n.call(e,t)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:`scrollable content`,tabIndex:0,classNames:{contentEl:`simplebar-content`,contentWrapper:`simplebar-content-wrapper`,offset:`simplebar-offset`,mask:`simplebar-mask`,wrapper:`simplebar-wrapper`,placeholder:`simplebar-placeholder`,scrollbar:`simplebar-scrollbar`,track:`simplebar-track`,heightAutoObserverWrapperEl:`simplebar-height-auto-observer-wrapper`,heightAutoObserverEl:`simplebar-height-auto-observer`,visible:`simplebar-visible`,horizontal:`simplebar-horizontal`,vertical:`simplebar-vertical`,hover:`simplebar-hover`,dragging:`simplebar-dragging`,scrolling:`simplebar-scrolling`,scrollable:`simplebar-scrollable`,mouseEntered:`simplebar-mouse-entered`},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=vl,e.helpers=fl,e}(),Cl=function(e,t){return Cl=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Cl(e,t)};function wl(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Class extends value `+String(t)+` is not a constructor or null`);Cl(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var Tl=Sl.helpers,El=Tl.getOptions,Dl=Tl.addClasses,Ol=Tl.canUseDOM,kl=function(e){wl(t,e);function t(){var n=[...arguments],r=e.apply(this,n)||this;return t.instances.set(n[0],r),r}return t.initDOMLoadedElements=function(){document.removeEventListener(`DOMContentLoaded`,this.initDOMLoadedElements),window.removeEventListener(`load`,this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll(`[data-simplebar]`),function(e){e.getAttribute(`data-simplebar`)!==`init`&&!t.instances.has(e)&&new t(e,El(e.attributes))})},t.removeObserver=function(){var e;(e=t.globalObserver)==null||e.disconnect()},t.prototype.initDOM=function(){var e=this,t,n,r;if(!Array.prototype.filter.call(this.el.children,function(t){return t.classList.contains(e.classNames.wrapper)}).length){for(this.wrapperEl=document.createElement(`div`),this.contentWrapperEl=document.createElement(`div`),this.offsetEl=document.createElement(`div`),this.maskEl=document.createElement(`div`),this.contentEl=document.createElement(`div`),this.placeholderEl=document.createElement(`div`),this.heightAutoObserverWrapperEl=document.createElement(`div`),this.heightAutoObserverEl=document.createElement(`div`),Dl(this.wrapperEl,this.classNames.wrapper),Dl(this.contentWrapperEl,this.classNames.contentWrapper),Dl(this.offsetEl,this.classNames.offset),Dl(this.maskEl,this.classNames.mask),Dl(this.contentEl,this.classNames.contentEl),Dl(this.placeholderEl,this.classNames.placeholder),Dl(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),Dl(this.heightAutoObserverEl,this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl),(t=this.contentWrapperEl)==null||t.setAttribute(`tabindex`,this.options.tabIndex.toString()),(n=this.contentWrapperEl)==null||n.setAttribute(`role`,`region`),(r=this.contentWrapperEl)==null||r.setAttribute(`aria-label`,this.options.ariaLabel)}if(!this.axis.x.track.el||!this.axis.y.track.el){var i=document.createElement(`div`),a=document.createElement(`div`);Dl(i,this.classNames.track),Dl(a,this.classNames.scrollbar),i.appendChild(a),this.axis.x.track.el=i.cloneNode(!0),Dl(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=i.cloneNode(!0),Dl(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}Sl.prototype.initDOM.call(this),this.el.setAttribute(`data-simplebar`,`init`)},t.prototype.unMount=function(){Sl.prototype.unMount.call(this),t.instances.delete(this.el)},t.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),typeof MutationObserver<`u`&&(this.globalObserver=new MutationObserver(t.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),document.readyState===`complete`||document.readyState!==`loading`&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener(`DOMContentLoaded`,this.initDOMLoadedElements),window.addEventListener(`load`,this.initDOMLoadedElements))},t.handleMutations=function(e){e.forEach(function(e){e.addedNodes.forEach(function(e){e.nodeType===1&&(e.hasAttribute(`data-simplebar`)?!t.instances.has(e)&&document.documentElement.contains(e)&&new t(e,El(e.attributes)):e.querySelectorAll(`[data-simplebar]`).forEach(function(e){e.getAttribute(`data-simplebar`)!==`init`&&!t.instances.has(e)&&document.documentElement.contains(e)&&new t(e,El(e.attributes))}))}),e.removedNodes.forEach(function(e){var n;e.nodeType===1&&(e.getAttribute(`data-simplebar`)===`init`?document.documentElement.contains(e)||(n=t.instances.get(e))==null||n.unMount():Array.prototype.forEach.call(e.querySelectorAll(`[data-simplebar="init"]`),function(e){var n;document.documentElement.contains(e)||(n=t.instances.get(e))==null||n.unMount()}))})})},t.instances=new WeakMap,t}(Sl);Ol&&kl.initHtmlApi();var Al=`.js-sidebar`,jl=`.js-sidebar-toggle`,Ml,Nl=()=>{if(!Ml){let e=getComputedStyle(document.documentElement).getPropertyValue(`--bs-breakpoint-lg`);Ml=matchMedia(`(min-width: ${e})`),Ml.addEventListener(`change`,Pl)}return Ml.matches},Pl=()=>{let e=document.querySelector(Al);if(!e)return;let t=Nl()?!e.classList.contains(`collapsed`):e.classList.contains(`show`);for(let e of document.querySelectorAll(jl))e.setAttribute(`aria-expanded`,String(t)),e.setAttribute(`aria-label`,t?`Collapse sidebar`:`Expand sidebar`)},Fl=e=>{let t=()=>window.dispatchEvent(new Event(`resize`));if(!parseFloat(getComputedStyle(e).transitionDuration)){t();return}let n=r=>{r.target===e&&(e.removeEventListener(`transitionend`,n),t())};e.addEventListener(`transitionend`,n)};document.addEventListener(`click`,e=>{let t=document.querySelector(Al);t&&(e.target.closest(jl)?Nl()?(t.classList.toggle(`collapsed`),Pl(),Fl(t)):ro.getOrCreateInstance(t).toggle():!Nl()&&e.target.closest(`${Al} a[href]:not([data-bs-toggle])`)&&ro.getInstance(t)?.hide())}),document.addEventListener(`shown.bs.offcanvas`,({target:e})=>{e.matches(Al)&&Pl()}),document.addEventListener(`hidden.bs.offcanvas`,({target:e})=>{e.matches(Al)&&(Pl(),document.querySelector(jl)?.focus())}),fc(jl,Pl);var Il=e=>{let t=ro.getInstance(e);if(e.matches(`.showing, .hiding`)){let n=()=>t.dispose();e.addEventListener(`shown.bs.offcanvas`,n,{once:!0}),e.addEventListener(`hidden.bs.offcanvas`,n,{once:!0})}else t?.dispose()};fc(Al,e=>(Pl(),()=>Il(e))),fc(`.js-simplebar`,e=>{let t=new kl(e),n=()=>t.recalculate();return e.addEventListener(`shown.bs.collapse`,n),e.addEventListener(`hidden.bs.collapse`,n),()=>t.unMount()});var Ll=()=>{let e=getComputedStyle(document.documentElement),t=t=>e.getPropertyValue(`--${t}`).trim(),n=document.documentElement.getAttribute(`data-bs-theme`)===`dark`?`dark`:`light`,r={id:n,name:n===`dark`?`Dark`:`Light`,primary:t(`bs-primary`),secondary:t(`bs-secondary`),success:t(`bs-success`),info:t(`bs-info`),warning:t(`bs-warning`),danger:t(`bs-danger`),white:t(`ak-surface-bg`),black:t(`bs-emphasis-color`),"body-bg":t(`bs-body-bg`),"body-color":t(`bs-body-color`),"border-color":t(`bs-border-color`)};for(let e of[100,200,300,400,500,600,700,800,900])r[`gray-${e}`]=t(`bs-gray-${e}`);return r};window.theme=Ll(),new MutationObserver(()=>{let e=Ll();e.id!==window.theme.id&&(window.theme=e,document.dispatchEvent(new CustomEvent(`adminkit:themechange`,{detail:e})))}).observe(document.documentElement,{attributes:!0,attributeFilter:[`data-bs-theme`]});var Rl={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":2,"stroke-linecap":`round`,"stroke-linejoin":`round`},zl=([e,t,n])=>{let r=document.createElementNS(`http://www.w3.org/2000/svg`,e);return Object.keys(t).forEach(e=>{r.setAttribute(e,String(t[e]))}),n?.length&&n.forEach(e=>{let t=zl(e);r.appendChild(t)}),r},Bl=(e,t={})=>zl([`svg`,{...Rl,...t},e]),Vl={AppWindow:[[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`}],[`path`,{d:`M10 4v4`}],[`path`,{d:`M2 8h20`}],[`path`,{d:`M6 4v4`}]],Bell:[[`path`,{d:`M10.268 21a2 2 0 0 0 3.464 0`}],[`path`,{d:`M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326`}]],Book:[[`path`,{d:`M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20`}]],Briefcase:[[`path`,{d:`M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`6`,rx:`2`}]],Calendar:[[`path`,{d:`M8 2v3`}],[`path`,{d:`M16 2v3`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`}],[`path`,{d:`M3 9h18`}]],ChartNoAxesColumn:[[`path`,{d:`M5 21v-6`}],[`path`,{d:`M12 21V3`}],[`path`,{d:`M19 21V9`}]],ChartPie:[[`path`,{d:`M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z`}],[`path`,{d:`M21.21 15.89A10 10 0 1 1 8 2.83`}]],Check:[[`path`,{d:`M20 6 9 17l-5-5`}]],CircleAlert:[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`}]],CircleQuestionMark:[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3`}],[`path`,{d:`M12 17h.01`}]],Coffee:[[`path`,{d:`M10 2v2`}],[`path`,{d:`M14 2v2`}],[`path`,{d:`M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1`}],[`path`,{d:`M6 2v2`}]],Copy:[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`}]],CreditCard:[[`rect`,{width:`20`,height:`14`,x:`2`,y:`5`,rx:`2`}],[`line`,{x1:`2`,x2:`22`,y1:`10`,y2:`10`}],[`path`,{d:`M6 14h2`}]],Download:[[`path`,{d:`M12 15V3`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`}],[`path`,{d:`m7 10 5 5 5-5`}]],Eye:[[`path`,{d:`M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0`}],[`circle`,{cx:`12`,cy:`12`,r:`3`}]],File:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}]],Gauge:[[`path`,{d:`m12 14 4-4`}],[`path`,{d:`M3.34 19a10 10 0 1 1 17.32 0`}]],House:[[`path`,{d:`M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8`}],[`path`,{d:`M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`}]],LayoutGrid:[[`rect`,{width:`7`,height:`7`,x:`3`,y:`3`,rx:`1`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`3`,rx:`1`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`14`,rx:`1`}],[`rect`,{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`}]],LifeBuoy:[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`m4.93 4.93 4.24 4.24`}],[`path`,{d:`m14.83 9.17 4.24-4.24`}],[`path`,{d:`m14.83 14.83 4.24 4.24`}],[`path`,{d:`m9.17 14.83-4.24 4.24`}],[`circle`,{cx:`12`,cy:`12`,r:`4`}]],List:[[`path`,{d:`M3 5h.01`}],[`path`,{d:`M3 12h.01`}],[`path`,{d:`M3 19h.01`}],[`path`,{d:`M8 5h13`}],[`path`,{d:`M8 12h13`}],[`path`,{d:`M8 19h13`}]],LogIn:[[`path`,{d:`m10 17 5-5-5-5`}],[`path`,{d:`M15 12H3`}],[`path`,{d:`M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4`}]],LogOut:[[`path`,{d:`m16 17 5-5-5-5`}],[`path`,{d:`M21 12H9`}],[`path`,{d:`M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`}]],Mail:[[`path`,{d:`m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7`}],[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`}]],Map:[[`path`,{d:`M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z`}],[`path`,{d:`M15 5.764v15`}],[`path`,{d:`M9 3.236v15`}]],MapPin:[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`}],[`circle`,{cx:`12`,cy:`10`,r:`3`}]],MessageSquare:[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`}]],Minus:[[`path`,{d:`M5 12h14`}]],Moon:[[`path`,{d:`M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401`}]],Pen:[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`}]],Phone:[[`path`,{d:`M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384`}]],Printer:[[`path`,{d:`M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2`}],[`path`,{d:`M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6`}],[`rect`,{x:`6`,y:`14`,width:`12`,height:`8`,rx:`1`}]],SearchX:[[`path`,{d:`m13.5 8.5-5 5`}],[`path`,{d:`m8.5 8.5 5 5`}],[`circle`,{cx:`11`,cy:`11`,r:`8`}],[`path`,{d:`m21 21-4.3-4.3`}]],Send:[[`path`,{d:`M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z`}],[`path`,{d:`m21.854 2.147-10.94 10.939`}]],ServerCrash:[[`path`,{d:`M6 10H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-2`}],[`path`,{d:`M6 14H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-2`}],[`path`,{d:`M6 6h.01`}],[`path`,{d:`M6 18h.01`}],[`path`,{d:`m13 6-4 6h6l-4 6`}]],Settings:[[`path`,{d:`M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915`}],[`circle`,{cx:`12`,cy:`12`,r:`3`}]],ShieldCheck:[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`}],[`path`,{d:`m9 12 2 2 4-4`}]],SlidersVertical:[[`path`,{d:`M10 8h4`}],[`path`,{d:`M12 21v-9`}],[`path`,{d:`M12 8V3`}],[`path`,{d:`M17 16h4`}],[`path`,{d:`M19 12V3`}],[`path`,{d:`M19 21v-5`}],[`path`,{d:`M3 14h4`}],[`path`,{d:`M5 10V3`}],[`path`,{d:`M5 21v-7`}]],Square:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}]],SquareCheckBig:[[`path`,{d:`M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344`}],[`path`,{d:`m9 11 3 3L22 4`}]],Sun:[[`circle`,{cx:`12`,cy:`12`,r:`4`}],[`path`,{d:`M12 2v2`}],[`path`,{d:`M12 20v2`}],[`path`,{d:`m4.93 4.93 1.41 1.41`}],[`path`,{d:`m17.66 17.66 1.41 1.41`}],[`path`,{d:`M2 12h2`}],[`path`,{d:`M20 12h2`}],[`path`,{d:`m6.34 17.66-1.41 1.41`}],[`path`,{d:`m19.07 4.93-1.41 1.41`}]],SunMoon:[[`path`,{d:`M12 2v2`}],[`path`,{d:`M14.837 16.385a6 6 0 1 1-7.223-7.222c.624-.147.97.66.715 1.248a4 4 0 0 0 5.26 5.259c.589-.255 1.396.09 1.248.715`}],[`path`,{d:`M16 12a4 4 0 0 0-4-4`}],[`path`,{d:`m19 5-1.256 1.256`}],[`path`,{d:`M20 12h2`}]],Tag:[[`path`,{d:`M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z`}],[`circle`,{cx:`7.5`,cy:`7.5`,r:`.5`,fill:`currentColor`}]],TextAlignStart:[[`path`,{d:`M21 5H3`}],[`path`,{d:`M15 12H3`}],[`path`,{d:`M17 19H3`}]],Timer:[[`line`,{x1:`10`,x2:`14`,y1:`2`,y2:`2`}],[`line`,{x1:`12`,x2:`15`,y1:`14`,y2:`11`}],[`circle`,{cx:`12`,cy:`14`,r:`8`}]],Trash:[[`path`,{d:`M10 11v6`}],[`path`,{d:`M14 11v6`}],[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`}],[`path`,{d:`M3 6h18`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`}]],User:[[`path`,{d:`M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2`}],[`circle`,{cx:`12`,cy:`7`,r:`4`}]],UserPlus:[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`}],[`circle`,{cx:`9`,cy:`7`,r:`4`}],[`line`,{x1:`19`,x2:`19`,y1:`8`,y2:`14`}],[`line`,{x1:`22`,x2:`16`,y1:`11`,y2:`11`}]],Users:[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`}],[`path`,{d:`M16 3.128a4 4 0 0 1 0 7.744`}],[`path`,{d:`M22 21v-2a4 4 0 0 0-3-3.87`}],[`circle`,{cx:`9`,cy:`7`,r:`4`}]]},Hl=e=>e.replace(/(?:^|-)([a-z0-9])/g,(e,t)=>t.toUpperCase()),Ul=(e,{icons:t=window.lucide.icons,attrs:n={}}={})=>{let r=e.getAttribute(`data-lucide`),i=t[Hl(r)];if(!i){console.warn(`Lucide icon "${r}" is not bundled (src/js/modules/icons.js)`);return}let a={};for(let t of e.attributes)t.name!==`id`&&t.name!==`data-lucide`&&(a[t.name]=t.value);let o=Object.keys(a).some(e=>e.startsWith(`aria-`)||e===`role`||e===`title`),s=[`lucide`,`lucide-${r}`,...(a.class??``).split(` `),...(n.class??``).split(` `)];e.replaceChildren(Bl(i,{...o?{}:{"aria-hidden":`true`},...n,...a,class:[...new Set(s.filter(Boolean))].join(` `)}))};window.lucide={createIcons:({icons:e,attrs:t,root:n=document}={})=>{n.querySelectorAll(`[data-lucide]:not(svg)`).forEach(n=>{Ul(n,{icons:e,attrs:t})})},icons:{...Vl,...window.lucide?.icons}},fc(`[data-lucide]:not(svg)`,e=>Ul(e));var Wl=e=>{let t=e.closest(`[aria-busy="true"]`);t&&(t.querySelectorAll(`.skeleton, .ak-skeleton`).forEach(e=>{e.remove()}),t.setAttribute(`aria-busy`,`false`)),e.dispatchEvent(new CustomEvent(`adminkit:ready`,{bubbles:!0}))};window.adminkit={...window.adminkit,ready:Wl};var Gl=`.reveal-cards, .ak-reveal-cards`,Kl=`.reveal, .ak-reveal, :is(${Gl}) .card:not(.card .card)`,ql=8,Jl=e=>{e.forEach((e,t)=>{let n=t=>{t.target===e&&t.propertyName===`opacity`&&(e.removeEventListener(`transitionend`,n),e.classList.remove(`revealing`),e.style.removeProperty(`--ak-reveal-index`))};e.addEventListener(`transitionend`,n),e.style.setProperty(`--ak-reveal-index`,Math.min(t,ql)),e.classList.add(`revealed`,`revealing`)})},Yl=new IntersectionObserver(e=>{let t=e.filter(e=>e.isIntersecting).map(e=>e.target);t.forEach(e=>Yl.unobserve(e)),Jl(t)}),Xl=document.documentElement;Xl.classList.add(`js-reveal-ready`),Xl.classList.contains(`js-reveal`)&&(fc(Gl,e=>e.classList.add(`revealed`)),fc(Kl,e=>Yl.observe(e)));var Zl=1e3,Ql=/(\d{1,3}(?:,\d{3})+|\d+)(\.\d+)?/,$l=window.matchMedia(`(prefers-reduced-motion: reduce)`),eu=e=>{let t=e.match(Ql);if(!t)return null;let[n,r,i=``]=t,a=Math.max(i.length-1,0);return{before:e.slice(0,t.index),after:e.slice(t.index+n.length),value:Number(r.replaceAll(`,`,``)+i),format:new Intl.NumberFormat(`en-US`,{minimumFractionDigits:a,maximumFractionDigits:a,useGrouping:r.includes(`,`)})}},tu=e=>{let t=e.textContent,n=eu(t);if(!n)return;let{before:r,after:i,value:a,format:o}=n,s=performance.now(),c=n=>{let l=Math.min((n-s)/Zl,1);if(l<1){let t=1-(1-l)**3;e.textContent=r+o.format(a*t)+i,requestAnimationFrame(c)}else e.textContent=t};requestAnimationFrame(c)},nu=new IntersectionObserver(e=>{for(let t of e)t.isIntersecting&&(nu.unobserve(t.target),tu(t.target))});$l.matches||fc(`[data-count-up]`,e=>nu.observe(e));function ru(e){return e+.5|0}var iu=(e,t,n)=>Math.max(Math.min(e,n),t);function au(e){return iu(ru(e*2.55),0,255)}function ou(e){return iu(ru(e*255),0,255)}function su(e){return iu(ru(e/2.55)/100,0,1)}function cu(e){return iu(ru(e*100),0,100)}var lu={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},uu=[...`0123456789ABCDEF`],du=e=>uu[e&15],fu=e=>uu[(e&240)>>4]+uu[e&15],pu=e=>(e&240)>>4==(e&15),mu=e=>pu(e.r)&&pu(e.g)&&pu(e.b)&&pu(e.a);function hu(e){var t=e.length,n;return e[0]===`#`&&(t===4||t===5?n={r:255&lu[e[1]]*17,g:255&lu[e[2]]*17,b:255&lu[e[3]]*17,a:t===5?lu[e[4]]*17:255}:(t===7||t===9)&&(n={r:lu[e[1]]<<4|lu[e[2]],g:lu[e[3]]<<4|lu[e[4]],b:lu[e[5]]<<4|lu[e[6]],a:t===9?lu[e[7]]<<4|lu[e[8]]:255})),n}var gu=(e,t)=>e<255?t(e):``;function _u(e){var t=mu(e)?du:fu;return e?`#`+t(e.r)+t(e.g)+t(e.b)+gu(e.a,t):void 0}var vu=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function yu(e,t,n){let r=t*Math.min(n,1-n),i=(t,i=(t+e/30)%12)=>n-r*Math.max(Math.min(i-3,9-i,1),-1);return[i(0),i(8),i(4)]}function bu(e,t,n){let r=(r,i=(r+e/60)%6)=>n-n*t*Math.max(Math.min(i,4-i,1),0);return[r(5),r(3),r(1)]}function xu(e,t,n){let r=yu(e,1,.5),i;for(t+n>1&&(i=1/(t+n),t*=i,n*=i),i=0;i<3;i++)r[i]*=1-t-n,r[i]+=t;return r}function Su(e,t,n,r,i){return e===i?(t-n)/r+(t<n?6:0):t===i?(n-e)/r+2:(e-t)/r+4}function Cu(e){let t=e.r/255,n=e.g/255,r=e.b/255,i=Math.max(t,n,r),a=Math.min(t,n,r),o=(i+a)/2,s,c,l;return i!==a&&(l=i-a,c=o>.5?l/(2-i-a):l/(i+a),s=Su(t,n,r,l,i),s=s*60+.5),[s|0,c||0,o]}function wu(e,t,n,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,r)).map(ou)}function Tu(e,t,n){return wu(yu,e,t,n)}function Eu(e,t,n){return wu(xu,e,t,n)}function Du(e,t,n){return wu(bu,e,t,n)}function Ou(e){return(e%360+360)%360}function ku(e){let t=vu.exec(e),n=255,r;if(!t)return;t[5]!==r&&(n=t[6]?au(+t[5]):ou(+t[5]));let i=Ou(+t[2]),a=t[3]/100,o=t[4]/100;return r=t[1]===`hwb`?Eu(i,a,o):t[1]===`hsv`?Du(i,a,o):Tu(i,a,o),{r:r[0],g:r[1],b:r[2],a:n}}function Au(e,t){var n=Cu(e);n[0]=Ou(n[0]+t),n=Tu(n),e.r=n[0],e.g=n[1],e.b=n[2]}function ju(e){if(!e)return;let t=Cu(e),n=t[0],r=cu(t[1]),i=cu(t[2]);return e.a<255?`hsla(${n}, ${r}%, ${i}%, ${su(e.a)})`:`hsl(${n}, ${r}%, ${i}%)`}var Mu={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`},Nu={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 Pu(){let e={},t=Object.keys(Nu),n=Object.keys(Mu),r,i,a,o,s;for(r=0;r<t.length;r++){for(o=s=t[r],i=0;i<n.length;i++)a=n[i],s=s.replace(a,Mu[a]);a=parseInt(Nu[o],16),e[s]=[a>>16&255,a>>8&255,a&255]}return e}var Fu;function Iu(e){Fu||(Fu=Pu(),Fu.transparent=[0,0,0,0]);let t=Fu[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}var Lu=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function Ru(e){let t=Lu.exec(e),n=255,r,i,a;if(t){if(t[7]!==r){let e=+t[7];n=t[8]?au(e):iu(e*255,0,255)}return r=+t[1],i=+t[3],a=+t[5],r=255&(t[2]?au(r):iu(r,0,255)),i=255&(t[4]?au(i):iu(i,0,255)),a=255&(t[6]?au(a):iu(a,0,255)),{r,g:i,b:a,a:n}}}function zu(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${su(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}var Bu=e=>e<=.0031308?e*12.92:e**(1/2.4)*1.055-.055,Vu=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function Hu(e,t,n){let r=Vu(su(e.r)),i=Vu(su(e.g)),a=Vu(su(e.b));return{r:ou(Bu(r+n*(Vu(su(t.r))-r))),g:ou(Bu(i+n*(Vu(su(t.g))-i))),b:ou(Bu(a+n*(Vu(su(t.b))-a))),a:e.a+n*(t.a-e.a)}}function Uu(e,t,n){if(e){let r=Cu(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*n,t===0?360:1)),r=Tu(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function Wu(e,t){return e&&Object.assign(t||{},e)}function Gu(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=ou(e[3]))):(t=Wu(e,{r:0,g:0,b:0,a:1}),t.a=ou(t.a)),t}function Ku(e){return e.charAt(0)===`r`?Ru(e):ku(e)}var qu=class e{constructor(t){if(t instanceof e)return t;let n=typeof t,r;n===`object`?r=Gu(t):n===`string`&&(r=hu(t)||Iu(t)||Ku(t)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var e=Wu(this._rgb);return e&&(e.a=su(e.a)),e}set rgb(e){this._rgb=Gu(e)}rgbString(){return this._valid?zu(this._rgb):void 0}hexString(){return this._valid?_u(this._rgb):void 0}hslString(){return this._valid?ju(this._rgb):void 0}mix(e,t){if(e){let n=this.rgb,r=e.rgb,i,a=t===i?.5:t,o=2*a-1,s=n.a-r.a,c=((o*s===-1?o:(o+s)/(1+o*s))+1)/2;i=1-c,n.r=255&c*n.r+i*r.r+.5,n.g=255&c*n.g+i*r.g+.5,n.b=255&c*n.b+i*r.b+.5,n.a=a*n.a+(1-a)*r.a,this.rgb=n}return this}interpolate(e,t){return e&&(this._rgb=Hu(this._rgb,e._rgb,t)),this}clone(){return new e(this.rgb)}alpha(e){return this._rgb.a=ou(e),this}clearer(e){let t=this._rgb;return t.a*=1-e,this}greyscale(){let e=this._rgb;return e.r=e.g=e.b=ru(e.r*.3+e.g*.59+e.b*.11),this}opaquer(e){let t=this._rgb;return t.a*=1+e,this}negate(){let e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return Uu(this._rgb,2,e),this}darken(e){return Uu(this._rgb,2,-e),this}saturate(e){return Uu(this._rgb,1,e),this}desaturate(e){return Uu(this._rgb,1,-e),this}rotate(e){return Au(this._rgb,e),this}};function Ju(){}var Yu=(()=>{let e=0;return()=>e++})();function F(e){return e==null}function I(e){if(Array.isArray&&Array.isArray(e))return!0;let t=Object.prototype.toString.call(e);return t.slice(0,7)===`[object`&&t.slice(-6)===`Array]`}function L(e){return e!==null&&Object.prototype.toString.call(e)===`[object Object]`}function R(e){return(typeof e==`number`||e instanceof Number)&&isFinite(+e)}function Xu(e,t){return R(e)?e:t}function z(e,t){return e===void 0?t:e}var Zu=(e,t)=>typeof e==`string`&&e.endsWith(`%`)?parseFloat(e)/100:+e/t,Qu=(e,t)=>typeof e==`string`&&e.endsWith(`%`)?parseFloat(e)/100*t:+e;function B(e,t,n){if(e&&typeof e.call==`function`)return e.apply(n,t)}function V(e,t,n,r){let i,a,o;if(I(e)){if(a=e.length,r)for(i=a-1;i>=0;i--)t.call(n,e[i],i);else for(i=0;i<a;i++)t.call(n,e[i],i)}else if(L(e))for(o=Object.keys(e),a=o.length,i=0;i<a;i++)t.call(n,e[o[i]],o[i])}function $u(e,t){let n,r,i,a;if(!e||!t||e.length!==t.length)return!1;for(n=0,r=e.length;n<r;++n)if(i=e[n],a=t[n],i.datasetIndex!==a.datasetIndex||i.index!==a.index)return!1;return!0}function ed(e){if(I(e))return e.map(ed);if(L(e)){let t=Object.create(null),n=Object.keys(e),r=n.length,i=0;for(;i<r;++i)t[n[i]]=ed(e[n[i]]);return t}return e}function td(e){return[`__proto__`,`prototype`,`constructor`].indexOf(e)===-1}function nd(e,t,n,r){if(!td(e))return;let i=t[e],a=n[e];L(i)&&L(a)?rd(i,a,r):t[e]=ed(a)}function rd(e,t,n){let r=I(t)?t:[t],i=r.length;if(!L(e))return e;n||={};let a=n.merger||nd,o;for(let t=0;t<i;++t){if(o=r[t],!L(o))continue;let i=Object.keys(o);for(let t=0,r=i.length;t<r;++t)a(i[t],e,o,n)}return e}function id(e,t){return rd(e,t,{merger:ad})}function ad(e,t,n){if(!td(e))return;let r=t[e],i=n[e];L(r)&&L(i)?id(r,i):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=ed(i))}var od={"":e=>e,x:e=>e.x,y:e=>e.y};function sd(e){let t=e.split(`.`),n=[],r=``;for(let e of t)r+=e,r.endsWith(`\\`)?r=r.slice(0,-1)+`.`:(n.push(r),r=``);return n}function cd(e){let t=sd(e);return e=>{for(let n of t){if(n===``)break;e&&=e[n]}return e}}function ld(e,t){return(od[t]||(od[t]=cd(t)))(e)}function ud(e){return e.charAt(0).toUpperCase()+e.slice(1)}var dd=e=>e!==void 0,fd=e=>typeof e==`function`,pd=(e,t)=>{if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0};function md(e){return e.type===`mouseup`||e.type===`click`||e.type===`contextmenu`}var H=Math.PI,U=2*H,hd=U+H,gd=1/0,_d=H/180,W=H/2,vd=H/4,yd=H*2/3,bd=Math.log10,xd=Math.sign;function Sd(e,t,n){return Math.abs(e-t)<n}function Cd(e){let t=Math.round(e);e=Sd(e,t,e/1e3)?t:e;let n=10**Math.floor(bd(e)),r=e/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function wd(e){let t=[],n=Math.sqrt(e),r=1;for(;r<n;r++)e%r===0&&(t.push(r),t.push(e/r));return n===(n|0)&&t.push(n),t.sort((e,t)=>e-t).pop(),t}function Td(e){return typeof e==`symbol`||typeof e==`object`&&!!e&&!(Symbol.toPrimitive in e||`toString`in e||`valueOf`in e)}function Ed(e){return!Td(e)&&!isNaN(parseFloat(e))&&isFinite(e)}function Dd(e,t){let n=Math.round(e);return n-t<=e&&n+t>=e}function Od(e,t,n){let r,i,a;for(r=0,i=e.length;r<i;r++)a=e[r][n],isNaN(a)||(t.min=Math.min(t.min,a),t.max=Math.max(t.max,a))}function kd(e){return H/180*e}function Ad(e){return 180/H*e}function jd(e){if(!R(e))return;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n++;return n}function Md(e,t){let n=t.x-e.x,r=t.y-e.y,i=Math.sqrt(n*n+r*r),a=Math.atan2(r,n);return a<-.5*H&&(a+=U),{angle:a,distance:i}}function Nd(e,t){return Math.sqrt((t.x-e.x)**2+(t.y-e.y)**2)}function Pd(e,t){return(e-t+hd)%U-H}function Fd(e){return(e%U+U)%U}function Id(e,t,n,r){let i=Fd(e),a=Fd(t),o=Fd(n),s=Fd(a-i),c=Fd(o-i),l=Fd(i-a),u=Fd(i-o);return i===a||i===o||r&&a===o||s>c&&l<u}function G(e,t,n){return Math.max(t,Math.min(n,e))}function Ld(e){return G(e,-32768,32767)}function Rd(e,t,n,r=1e-6){return e>=Math.min(t,n)-r&&e<=Math.max(t,n)+r}function zd(e,t,n){n||=(n=>e[n]<t);let r=e.length-1,i=0,a;for(;r-i>1;)a=i+r>>1,n(a)?i=a:r=a;return{lo:i,hi:r}}var Bd=(e,t,n,r)=>zd(e,n,r?r=>{let i=e[r][t];return i<n||i===n&&e[r+1][t]===n}:r=>e[r][t]<n),Vd=(e,t,n)=>zd(e,n,r=>e[r][t]>=n);function Hd(e,t,n){let r=0,i=e.length;for(;r<i&&e[r]<t;)r++;for(;i>r&&e[i-1]>n;)i--;return r>0||i<e.length?e.slice(r,i):e}var Ud=[`push`,`pop`,`shift`,`splice`,`unshift`];function Wd(e,t){e._chartjs?e._chartjs.listeners.push(t):(Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),Ud.forEach(t=>{let n=`_onData`+ud(t),r=e[t];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value(...t){let i=r.apply(this,t);return e._chartjs.listeners.forEach(e=>{typeof e[n]==`function`&&e[n](...t)}),i}})}))}function Gd(e,t){let n=e._chartjs;if(!n)return;let r=n.listeners,i=r.indexOf(t);i!==-1&&r.splice(i,1),!(r.length>0)&&(Ud.forEach(t=>{delete e[t]}),delete e._chartjs)}function Kd(e){let t=new Set(e);return t.size===e.length?e:Array.from(t)}var qd=function(){return typeof window>`u`?function(e){return e()}:window.requestAnimationFrame}();function Jd(e,t){let n=[],r=!1;return function(...i){n=i,r||(r=!0,qd.call(window,()=>{r=!1,e.apply(t,n)}))}}function Yd(e,t){let n;return function(...r){return t?(clearTimeout(n),n=setTimeout(e,t,r)):e.apply(this,r),t}}var Xd=e=>e===`start`?`left`:e===`end`?`right`:`center`,Zd=(e,t,n)=>e===`start`?t:e===`end`?n:(t+n)/2,Qd=(e,t,n,r)=>e===(r?`left`:`right`)?n:e===`center`?(t+n)/2:t;function $d(e,t,n){let r=t.length,i=0,a=r;if(e._sorted){let{iScale:o,vScale:s,_parsed:c}=e,l=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null,u=o.axis,{min:d,max:f,minDefined:p,maxDefined:m}=o.getUserBounds();if(p){if(i=Math.min(Bd(c,u,d).lo,n?r:Bd(t,u,o.getPixelForValue(d)).lo),l){let e=c.slice(0,i+1).reverse().findIndex(e=>!F(e[s.axis]));i-=Math.max(0,e)}i=G(i,0,r-1)}if(m){let e=Math.max(Bd(c,o.axis,f,!0).hi+1,n?0:Bd(t,u,o.getPixelForValue(f),!0).hi+1);if(l){let t=c.slice(e-1).findIndex(e=>!F(e[s.axis]));e+=Math.max(0,t)}a=G(e,i,r)-i}else a=r-i}return{start:i,count:a}}function ef(e){let{xScale:t,yScale:n,_scaleRanges:r}=e,i={xmin:t.min,xmax:t.max,ymin:n.min,ymax:n.max};if(!r)return e._scaleRanges=i,!0;let a=r.xmin!==t.min||r.xmax!==t.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,i),a}var tf=e=>e===0||e===1,nf=(e,t,n)=>-(2**(10*--e)*Math.sin((e-t)*U/n)),rf=(e,t,n)=>2**(-10*e)*Math.sin((e-t)*U/n)+1,af={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>--e*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-(--e*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>--e*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*W)+1,easeOutSine:e=>Math.sin(e*W),easeInOutSine:e=>-.5*(Math.cos(H*e)-1),easeInExpo:e=>e===0?0:2**(10*(e-1)),easeOutExpo:e=>e===1?1:-(2**(-10*e))+1,easeInOutExpo:e=>tf(e)?e:e<.5?.5*2**(10*(e*2-1)):.5*(-(2**(-10*(e*2-1)))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1- --e*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>tf(e)?e:nf(e,.075,.3),easeOutElastic:e=>tf(e)?e:rf(e,.075,.3),easeInOutElastic(e){let t=.1125,n=.45;return tf(e)?e:e<.5?.5*nf(e*2,t,n):.5+.5*rf(e*2-1,t,n)},easeInBack(e){return e*e*(2.70158*e-1.70158)},easeOutBack(e){return--e*e*(2.70158*e+1.70158)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-af.easeOutBounce(1-e),easeOutBounce(e){let t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},easeInOutBounce:e=>e<.5?af.easeInBounce(e*2)*.5:af.easeOutBounce(e*2-1)*.5+.5};function of(e){if(e&&typeof e==`object`){let t=e.toString();return t===`[object CanvasPattern]`||t===`[object CanvasGradient]`}return!1}function sf(e){return of(e)?e:new qu(e)}function cf(e){return of(e)?e:new qu(e).saturate(.5).darken(.1).hexString()}var lf=[`x`,`y`,`borderWidth`,`radius`,`tension`],uf=[`color`,`borderColor`,`backgroundColor`];function df(e){e.set(`animation`,{delay:void 0,duration:1e3,easing:`easeOutQuart`,fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe(`animation`,{_fallback:!1,_indexable:!1,_scriptable:e=>e!==`onProgress`&&e!==`onComplete`&&e!==`fn`}),e.set(`animations`,{colors:{type:`color`,properties:uf},numbers:{type:`number`,properties:lf}}),e.describe(`animations`,{_fallback:`animation`}),e.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:e=>e|0}}}})}function ff(e){e.set(`layout`,{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}var pf=new Map;function mf(e,t){t||={};let n=e+JSON.stringify(t),r=pf.get(n);return r||(r=new Intl.NumberFormat(e,t),pf.set(n,r)),r}function hf(e,t,n){return mf(t,n).format(e)}var gf={values(e){return I(e)?e:``+e},numeric(e,t,n){if(e===0)return`0`;let r=this.chart.options.locale,i,a=e;if(n.length>1){let t=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(t<1e-4||t>0x38d7ea4c68000)&&(i=`scientific`),a=_f(e,n)}let o=bd(Math.abs(a)),s=isNaN(o)?1:Math.max(Math.min(-1*Math.floor(o),20),0),c={notation:i,minimumFractionDigits:s,maximumFractionDigits:s};return Object.assign(c,this.options.ticks.format),hf(e,r,c)},logarithmic(e,t,n){if(e===0)return`0`;let r=n[t].significand||e/10**Math.floor(bd(e));return[1,2,3,5,10,15].includes(r)||t>.8*n.length?gf.numeric.call(this,e,t,n):``}};function _f(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e)),n}var vf={formatters:gf};function yf(e){e.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:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.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:vf.formatters.values,minor:{},major:{},align:`center`,crossAlign:`near`,showLabelBackdrop:!1,backdropColor:`rgba(255, 255, 255, 0.75)`,backdropPadding:2}}),e.route(`scale.ticks`,`color`,``,`color`),e.route(`scale.grid`,`color`,``,`borderColor`),e.route(`scale.border`,`color`,``,`borderColor`),e.route(`scale.title`,`color`,``,`color`),e.describe(`scale`,{_fallback:!1,_scriptable:e=>!e.startsWith(`before`)&&!e.startsWith(`after`)&&e!==`callback`&&e!==`parser`,_indexable:e=>e!==`borderDash`&&e!==`tickBorderDash`&&e!==`dash`}),e.describe(`scales`,{_fallback:`scale`}),e.describe(`scale.ticks`,{_scriptable:e=>e!==`backdropPadding`&&e!==`callback`,_indexable:e=>e!==`backdropPadding`})}var bf=Object.create(null),xf=Object.create(null);function Sf(e,t){if(!t)return e;let n=t.split(`.`);for(let t=0,r=n.length;t<r;++t){let r=n[t];e=e[r]||(e[r]=Object.create(null))}return e}function Cf(e,t,n){return typeof t==`string`?rd(Sf(e,t),n):rd(Sf(e,``),t)}var K=new class{constructor(e,t){this.animation=void 0,this.backgroundColor=`rgba(0,0,0,0.1)`,this.borderColor=`rgba(0,0,0,0.1)`,this.color=`#666`,this.datasets={},this.devicePixelRatio=e=>e.chart.platform.getDevicePixelRatio(),this.elements={},this.events=[`mousemove`,`mouseout`,`click`,`touchstart`,`touchmove`],this.font={family:`'Helvetica Neue', 'Helvetica', 'Arial', sans-serif`,size:12,style:`normal`,lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(e,t)=>cf(t.backgroundColor),this.hoverBorderColor=(e,t)=>cf(t.borderColor),this.hoverColor=(e,t)=>cf(t.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(e),this.apply(t)}set(e,t){return Cf(this,e,t)}get(e){return Sf(this,e)}describe(e,t){return Cf(xf,e,t)}override(e,t){return Cf(bf,e,t)}route(e,t,n,r){let i=Sf(this,e),a=Sf(this,n),o=`_`+t;Object.defineProperties(i,{[o]:{value:i[t],writable:!0},[t]:{enumerable:!0,get(){let e=this[o],t=a[r];return L(e)?Object.assign({},t,e):z(e,t)},set(e){this[o]=e}}})}apply(e){e.forEach(e=>e(this))}}({_scriptable:e=>!e.startsWith(`on`),_indexable:e=>e!==`events`,hover:{_fallback:`interaction`},interaction:{_scriptable:!1,_indexable:!1}},[df,ff,yf]);function wf(e){return!e||F(e.size)||F(e.family)?null:(e.style?e.style+` `:``)+(e.weight?e.weight+` `:``)+e.size+`px `+e.family}function Tf(e,t,n,r,i){let a=t[i];return a||(a=t[i]=e.measureText(i).width,n.push(i)),a>r&&(r=a),r}function Ef(e,t,n,r){r||={};let i=r.data=r.data||{},a=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(i=r.data={},a=r.garbageCollect=[],r.font=t),e.save(),e.font=t;let o=0,s=n.length,c,l,u,d,f;for(c=0;c<s;c++)if(d=n[c],d!=null&&!I(d))o=Tf(e,i,a,o,d);else if(I(d))for(l=0,u=d.length;l<u;l++)f=d[l],f!=null&&!I(f)&&(o=Tf(e,i,a,o,f));e.restore();let p=a.length/2;if(p>n.length){for(c=0;c<p;c++)delete i[a[c]];a.splice(0,p)}return o}function Df(e,t,n){let r=e.currentDevicePixelRatio,i=n===0?0:Math.max(n/2,.5);return Math.round((t-i)*r)/r+i}function Of(e,t){(t||e)&&(t||=e.getContext(`2d`),t.save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore())}function kf(e,t,n,r){Af(e,t,n,r,null)}function Af(e,t,n,r,i){let a,o,s,c,l,u,d,f,p=t.pointStyle,m=t.rotation,h=t.radius,g=(m||0)*_d;if(p&&typeof p==`object`&&(a=p.toString(),a===`[object HTMLImageElement]`||a===`[object HTMLCanvasElement]`))e.save(),e.translate(n,r),e.rotate(g),e.drawImage(p,-p.width/2,-p.height/2,p.width,p.height),e.restore();else if(!(isNaN(h)||h<=0)){switch(e.beginPath(),p){default:i?e.ellipse(n,r,i/2,h,0,0,U):e.arc(n,r,h,0,U),e.closePath();break;case`triangle`:u=i?i/2:h,e.moveTo(n+Math.sin(g)*u,r-Math.cos(g)*h),g+=yd,e.lineTo(n+Math.sin(g)*u,r-Math.cos(g)*h),g+=yd,e.lineTo(n+Math.sin(g)*u,r-Math.cos(g)*h),e.closePath();break;case`rectRounded`:l=h*.516,c=h-l,o=Math.cos(g+vd)*c,d=Math.cos(g+vd)*(i?i/2-l:c),s=Math.sin(g+vd)*c,f=Math.sin(g+vd)*(i?i/2-l:c),e.arc(n-d,r-s,l,g-H,g-W),e.arc(n+f,r-o,l,g-W,g),e.arc(n+d,r+s,l,g,g+W),e.arc(n-f,r+o,l,g+W,g+H),e.closePath();break;case`rect`:if(!m){c=Math.SQRT1_2*h,u=i?i/2:c,e.rect(n-u,r-c,2*u,2*c);break}g+=vd;case`rectRot`:d=Math.cos(g)*(i?i/2:h),o=Math.cos(g)*h,s=Math.sin(g)*h,f=Math.sin(g)*(i?i/2:h),e.moveTo(n-d,r-s),e.lineTo(n+f,r-o),e.lineTo(n+d,r+s),e.lineTo(n-f,r+o),e.closePath();break;case`crossRot`:g+=vd;case`cross`:d=Math.cos(g)*(i?i/2:h),o=Math.cos(g)*h,s=Math.sin(g)*h,f=Math.sin(g)*(i?i/2:h),e.moveTo(n-d,r-s),e.lineTo(n+d,r+s),e.moveTo(n+f,r-o),e.lineTo(n-f,r+o);break;case`star`:d=Math.cos(g)*(i?i/2:h),o=Math.cos(g)*h,s=Math.sin(g)*h,f=Math.sin(g)*(i?i/2:h),e.moveTo(n-d,r-s),e.lineTo(n+d,r+s),e.moveTo(n+f,r-o),e.lineTo(n-f,r+o),g+=vd,d=Math.cos(g)*(i?i/2:h),o=Math.cos(g)*h,s=Math.sin(g)*h,f=Math.sin(g)*(i?i/2:h),e.moveTo(n-d,r-s),e.lineTo(n+d,r+s),e.moveTo(n+f,r-o),e.lineTo(n-f,r+o);break;case`line`:o=i?i/2:Math.cos(g)*h,s=Math.sin(g)*h,e.moveTo(n-o,r-s),e.lineTo(n+o,r+s);break;case`dash`:e.moveTo(n,r),e.lineTo(n+Math.cos(g)*(i?i/2:h),r+Math.sin(g)*h);break;case!1:e.closePath()}e.fill(),t.borderWidth>0&&e.stroke()}}function jf(e,t,n){return n||=.5,!t||e&&e.x>t.left-n&&e.x<t.right+n&&e.y>t.top-n&&e.y<t.bottom+n}function Mf(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function Nf(e){e.restore()}function Pf(e,t,n,r,i){if(!t)return e.lineTo(n.x,n.y);if(i===`middle`){let r=(t.x+n.x)/2;e.lineTo(r,t.y),e.lineTo(r,n.y)}else i===`after`==!!r?e.lineTo(n.x,t.y):e.lineTo(t.x,n.y);e.lineTo(n.x,n.y)}function Ff(e,t,n,r){if(!t)return e.lineTo(n.x,n.y);e.bezierCurveTo(r?t.cp1x:t.cp2x,r?t.cp1y:t.cp2y,r?n.cp2x:n.cp1x,r?n.cp2y:n.cp1y,n.x,n.y)}function If(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]),F(t.rotation)||e.rotate(t.rotation),t.color&&(e.fillStyle=t.color),t.textAlign&&(e.textAlign=t.textAlign),t.textBaseline&&(e.textBaseline=t.textBaseline)}function Lf(e,t,n,r,i){if(i.strikethrough||i.underline){let a=e.measureText(r),o=t-a.actualBoundingBoxLeft,s=t+a.actualBoundingBoxRight,c=n-a.actualBoundingBoxAscent,l=n+a.actualBoundingBoxDescent,u=i.strikethrough?(c+l)/2:l;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=i.decorationWidth||2,e.moveTo(o,u),e.lineTo(s,u),e.stroke()}}function Rf(e,t){let n=e.fillStyle;e.fillStyle=t.color,e.fillRect(t.left,t.top,t.width,t.height),e.fillStyle=n}function zf(e,t,n,r,i,a={}){let o=I(t)?t:[t],s=a.strokeWidth>0&&a.strokeColor!==``,c,l;for(e.save(),e.font=i.string,If(e,a),c=0;c<o.length;++c)l=o[c],a.backdrop&&Rf(e,a.backdrop),s&&(a.strokeColor&&(e.strokeStyle=a.strokeColor),F(a.strokeWidth)||(e.lineWidth=a.strokeWidth),e.strokeText(l,n,r,a.maxWidth)),e.fillText(l,n,r,a.maxWidth),Lf(e,n,r,l,a),r+=Number(i.lineHeight);e.restore()}function Bf(e,t){let{x:n,y:r,w:i,h:a,radius:o}=t;e.arc(n+o.topLeft,r+o.topLeft,o.topLeft,1.5*H,H,!0),e.lineTo(n,r+a-o.bottomLeft),e.arc(n+o.bottomLeft,r+a-o.bottomLeft,o.bottomLeft,H,W,!0),e.lineTo(n+i-o.bottomRight,r+a),e.arc(n+i-o.bottomRight,r+a-o.bottomRight,o.bottomRight,W,0,!0),e.lineTo(n+i,r+o.topRight),e.arc(n+i-o.topRight,r+o.topRight,o.topRight,0,-W,!0),e.lineTo(n+o.topLeft,r)}var Vf=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,Hf=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function Uf(e,t){let n=(``+e).match(Vf);if(!n||n[1]===`normal`)return t*1.2;switch(e=+n[2],n[3]){case`px`:return e;case`%`:e/=100}return t*e}var Wf=e=>+e||0;function Gf(e,t){let n={},r=L(t),i=r?Object.keys(t):t,a=L(e)?r?n=>z(e[n],e[t[n]]):t=>e[t]:()=>e;for(let e of i)n[e]=Wf(a(e));return n}function Kf(e){return Gf(e,{top:`y`,right:`x`,bottom:`y`,left:`x`})}function qf(e){return Gf(e,[`topLeft`,`topRight`,`bottomLeft`,`bottomRight`])}function Jf(e){let t=Kf(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function q(e,t){e||={},t||=K.font;let n=z(e.size,t.size);typeof n==`string`&&(n=parseInt(n,10));let r=z(e.style,t.style);r&&!(``+r).match(Hf)&&(console.warn(`Invalid font style specified: "`+r+`"`),r=void 0);let i={family:z(e.family,t.family),lineHeight:Uf(z(e.lineHeight,t.lineHeight),n),size:n,style:r,weight:z(e.weight,t.weight),string:``};return i.string=wf(i),i}function Yf(e,t,n,r){let i=!0,a,o,s;for(a=0,o=e.length;a<o;++a)if(s=e[a],s!==void 0&&(t!==void 0&&typeof s==`function`&&(s=s(t),i=!1),n!==void 0&&I(s)&&(s=s[n%s.length],i=!1),s!==void 0))return r&&!i&&(r.cacheable=!1),s}function Xf(e,t,n){let{min:r,max:i}=e,a=Qu(t,(i-r)/2),o=(e,t)=>n&&e===0?0:e+t;return{min:o(r,-Math.abs(a)),max:o(i,a)}}function Zf(e,t){return Object.assign(Object.create(e),t)}function Qf(e,t=[``],n,r,i=()=>e[0]){let a=n||e;return r===void 0&&(r=mp(`_fallback`,e)),new Proxy({[Symbol.toStringTag]:`Object`,_cacheable:!0,_scopes:e,_rootScopes:a,_fallback:r,_getTarget:i,override:n=>Qf([n,...e],t,a,r)},{deleteProperty(t,n){return delete t[n],delete t._keys,delete e[0][n],!0},get(n,r){return rp(n,r,()=>pp(r,t,e,n))},getOwnPropertyDescriptor(e,t){return Reflect.getOwnPropertyDescriptor(e._scopes[0],t)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(e,t){return hp(e).includes(t)},ownKeys(e){return hp(e)},set(e,t,n){let r=e._storage||=i();return e[t]=r[t]=n,delete e._keys,!0}})}function $f(e,t,n,r){let i={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:ep(e,r),setContext:t=>$f(e,t,n,r),override:i=>$f(e.override(i),t,n,r)};return new Proxy(i,{deleteProperty(t,n){return delete t[n],delete e[n],!0},get(e,t,n){return rp(e,t,()=>ip(e,t,n))},getOwnPropertyDescriptor(t,n){return t._descriptors.allKeys?Reflect.has(e,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,n)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(t,n){return Reflect.has(e,n)},ownKeys(){return Reflect.ownKeys(e)},set(t,n,r){return e[n]=r,delete t[n],!0}})}function ep(e,t={scriptable:!0,indexable:!0}){let{_scriptable:n=t.scriptable,_indexable:r=t.indexable,_allKeys:i=t.allKeys}=e;return{allKeys:i,scriptable:n,indexable:r,isScriptable:fd(n)?n:()=>n,isIndexable:fd(r)?r:()=>r}}var tp=(e,t)=>e?e+ud(t):t,np=(e,t)=>L(t)&&e!==`adapters`&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function rp(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t)||t===`constructor`)return e[t];let r=n();return e[t]=r,r}function ip(e,t,n){let{_proxy:r,_context:i,_subProxy:a,_descriptors:o}=e,s=r[t];return fd(s)&&o.isScriptable(t)&&(s=ap(t,s,e,n)),I(s)&&s.length&&(s=op(t,s,e,o.isIndexable)),np(t,s)&&(s=$f(s,i,a&&a[t],o)),s}function ap(e,t,n,r){let{_proxy:i,_context:a,_subProxy:o,_stack:s}=n;if(s.has(e))throw Error(`Recursion detected: `+Array.from(s).join(`->`)+`->`+e);s.add(e);let c=t(a,o||r);return s.delete(e),np(e,c)&&(c=up(i._scopes,i,e,c)),c}function op(e,t,n,r){let{_proxy:i,_context:a,_subProxy:o,_descriptors:s}=n;if(a.index!==void 0&&r(e))return t[a.index%t.length];if(L(t[0])){let n=t,r=i._scopes.filter(e=>e!==n);t=[];for(let c of n){let n=up(r,i,e,c);t.push($f(n,a,o&&o[e],s))}}return t}function sp(e,t,n){return fd(e)?e(t,n):e}var cp=(e,t)=>e===!0?t:typeof e==`string`?ld(t,e):void 0;function lp(e,t,n,r,i){for(let a of t){let t=cp(n,a);if(t){e.add(t);let a=sp(t._fallback,n,i);if(a!==void 0&&a!==n&&a!==r)return a}else if(t===!1&&r!==void 0&&n!==r)return null}return!1}function up(e,t,n,r){let i=t._rootScopes,a=sp(t._fallback,n,r),o=[...e,...i],s=new Set;s.add(r);let c=dp(s,o,n,a||n,r);return c===null||a!==void 0&&a!==n&&(c=dp(s,o,a,c,r),c===null)?!1:Qf(Array.from(s),[``],i,a,()=>fp(t,n,r))}function dp(e,t,n,r,i){for(;n;)n=lp(e,t,n,r,i);return n}function fp(e,t,n){let r=e._getTarget();t in r||(r[t]={});let i=r[t];return I(i)&&L(n)?n:i||{}}function pp(e,t,n,r){let i;for(let a of t)if(i=mp(tp(a,e),n),i!==void 0)return np(e,i)?up(n,r,e,i):i}function mp(e,t){for(let n of t){if(!n)continue;let t=n[e];if(t!==void 0)return t}}function hp(e){let t=e._keys;return t||=e._keys=gp(e._scopes),t}function gp(e){let t=new Set;for(let n of e)for(let e of Object.keys(n).filter(e=>!e.startsWith(`_`)))t.add(e);return Array.from(t)}function _p(e,t,n,r){let{iScale:i}=e,{key:a=`r`}=this._parsing,o=Array(r),s,c,l,u;for(s=0,c=r;s<c;++s)l=s+n,u=t[l],o[s]={r:i.parse(ld(u,a),l)};return o}var vp=2**-52||1e-14,yp=(e,t)=>t<e.length&&!e[t].skip&&e[t],bp=e=>e===`x`?`y`:`x`;function xp(e,t,n,r){let i=e.skip?t:e,a=t,o=n.skip?t:n,s=Nd(a,i),c=Nd(o,a),l=s/(s+c),u=c/(s+c);l=isNaN(l)?0:l,u=isNaN(u)?0:u;let d=r*l,f=r*u;return{previous:{x:a.x-d*(o.x-i.x),y:a.y-d*(o.y-i.y)},next:{x:a.x+f*(o.x-i.x),y:a.y+f*(o.y-i.y)}}}function Sp(e,t,n){let r=e.length,i,a,o,s,c,l=yp(e,0);for(let u=0;u<r-1;++u)c=l,l=yp(e,u+1),c&&l&&(Sd(t[u],0,vp)?n[u]=n[u+1]=0:(i=n[u]/t[u],a=n[u+1]/t[u],s=i**2+a**2,!(s<=9)&&(o=3/Math.sqrt(s),n[u]=i*o*t[u],n[u+1]=a*o*t[u])))}function Cp(e,t,n=`x`){let r=bp(n),i=e.length,a,o,s,c=yp(e,0);for(let l=0;l<i;++l){if(o=s,s=c,c=yp(e,l+1),!s)continue;let i=s[n],u=s[r];o&&(a=(i-o[n])/3,s[`cp1${n}`]=i-a,s[`cp1${r}`]=u-a*t[l]),c&&(a=(c[n]-i)/3,s[`cp2${n}`]=i+a,s[`cp2${r}`]=u+a*t[l])}}function wp(e,t=`x`){let n=bp(t),r=e.length,i=Array(r).fill(0),a=Array(r),o,s,c,l=yp(e,0);for(o=0;o<r;++o)if(s=c,c=l,l=yp(e,o+1),c){if(l){let e=l[t]-c[t];i[o]=e===0?0:(l[n]-c[n])/e}a[o]=s?l?xd(i[o-1])===xd(i[o])?(i[o-1]+i[o])/2:0:i[o-1]:i[o]}Sp(e,i,a),Cp(e,a,t)}function Tp(e,t,n){return Math.max(Math.min(e,n),t)}function Ep(e,t){let n,r,i,a,o,s=jf(e[0],t);for(n=0,r=e.length;n<r;++n)o=a,a=s,s=n<r-1&&jf(e[n+1],t),a&&(i=e[n],o&&(i.cp1x=Tp(i.cp1x,t.left,t.right),i.cp1y=Tp(i.cp1y,t.top,t.bottom)),s&&(i.cp2x=Tp(i.cp2x,t.left,t.right),i.cp2y=Tp(i.cp2y,t.top,t.bottom)))}function Dp(e,t,n,r,i){let a,o,s,c;if(t.spanGaps&&(e=e.filter(e=>!e.skip)),t.cubicInterpolationMode===`monotone`)wp(e,i);else{let n=r?e[e.length-1]:e[0];for(a=0,o=e.length;a<o;++a)s=e[a],c=xp(n,s,e[Math.min(a+1,o-+!r)%o],t.tension),s.cp1x=c.previous.x,s.cp1y=c.previous.y,s.cp2x=c.next.x,s.cp2y=c.next.y,n=s}t.capBezierPoints&&Ep(e,n)}function Op(){return typeof window<`u`&&typeof document<`u`}function kp(e){let t=e.parentNode;return t&&t.toString()===`[object ShadowRoot]`&&(t=t.host),t}function Ap(e,t,n){let r;return typeof e==`string`?(r=parseInt(e,10),e.indexOf(`%`)!==-1&&(r=r/100*t.parentNode[n])):r=e,r}var jp=e=>e.ownerDocument.defaultView.getComputedStyle(e,null);function Mp(e,t){return jp(e).getPropertyValue(t)}var Np=[`top`,`right`,`bottom`,`left`];function Pp(e,t,n){let r={};n=n?`-`+n:``;for(let i=0;i<4;i++){let a=Np[i];r[a]=parseFloat(e[t+`-`+a+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}var Fp=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function Ip(e,t){let n=e.touches,r=n&&n.length?n[0]:e,{offsetX:i,offsetY:a}=r,o=!1,s,c;if(Fp(i,a,e.target))s=i,c=a;else{let e=t.getBoundingClientRect();s=r.clientX-e.left,c=r.clientY-e.top,o=!0}return{x:s,y:c,box:o}}function Lp(e,t){if(`native`in e)return e;let{canvas:n,currentDevicePixelRatio:r}=t,i=jp(n),a=i.boxSizing===`border-box`,o=Pp(i,`padding`),s=Pp(i,`border`,`width`),{x:c,y:l,box:u}=Ip(e,n),d=o.left+(u&&s.left),f=o.top+(u&&s.top),{width:p,height:m}=t;return a&&(p-=o.width+s.width,m-=o.height+s.height),{x:Math.round((c-d)/p*n.width/r),y:Math.round((l-f)/m*n.height/r)}}function Rp(e,t,n){let r,i;if(t===void 0||n===void 0){let a=e&&kp(e);if(!a)t=e.clientWidth,n=e.clientHeight;else{let e=a.getBoundingClientRect(),o=jp(a),s=Pp(o,`border`,`width`),c=Pp(o,`padding`);t=e.width-c.width-s.width,n=e.height-c.height-s.height,r=Ap(o.maxWidth,a,`clientWidth`),i=Ap(o.maxHeight,a,`clientHeight`)}}return{width:t,height:n,maxWidth:r||gd,maxHeight:i||gd}}var zp=e=>Math.round(e*10)/10;function Bp(e,t,n,r){let i=jp(e),a=Pp(i,`margin`),o=Ap(i.maxWidth,e,`clientWidth`)||gd,s=Ap(i.maxHeight,e,`clientHeight`)||gd,c=Rp(e,t,n),{width:l,height:u}=c;if(i.boxSizing===`content-box`){let e=Pp(i,`border`,`width`),t=Pp(i,`padding`);l-=t.width+e.width,u-=t.height+e.height}return l=Math.max(0,l-a.width),u=Math.max(0,r?l/r:u-a.height),l=zp(Math.min(l,o,c.maxWidth)),u=zp(Math.min(u,s,c.maxHeight)),l&&!u&&(u=zp(l/2)),(t!==void 0||n!==void 0)&&r&&c.height&&u>c.height&&(u=c.height,l=zp(Math.floor(u*r))),{width:l,height:u}}function Vp(e,t,n){let r=t||1,i=zp(e.height*r),a=zp(e.width*r);e.height=zp(e.height),e.width=zp(e.width);let o=e.canvas;o.style&&(n||!o.style.height&&!o.style.width)&&(o.style.height=`${e.height}px`,o.style.width=`${e.width}px`);let s=Math.floor(i),c=Math.floor(a);return e.currentDevicePixelRatio!==r||o.height!==s||o.width!==c?(e.currentDevicePixelRatio=r,o.height=s,o.width=c,e.ctx.setTransform(r,0,0,r,0,0),!0):!1}var Hp=function(){let e=!1;try{let t={get passive(){return e=!0,!1}};Op()&&(window.addEventListener(`test`,null,t),window.removeEventListener(`test`,null,t))}catch{}return e}();function Up(e,t){let n=Mp(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function Wp(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function Gp(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:r===`middle`?n<.5?e.y:t.y:r===`after`?n<1?e.y:t.y:n>0?t.y:e.y}}function Kp(e,t,n,r){let i={x:e.cp2x,y:e.cp2y},a={x:t.cp1x,y:t.cp1y},o=Wp(e,i,n),s=Wp(i,a,n),c=Wp(a,t,n);return Wp(Wp(o,s,n),Wp(s,c,n),n)}var qp=function(e,t){return{x(n){return e+e+t-n},setWidth(e){t=e},textAlign(e){return e===`center`?e:e===`right`?`left`:`right`},xPlus(e,t){return e-t},leftForLtr(e,t){return e-t}}},Jp=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function Yp(e,t,n){return e?qp(t,n):Jp()}function Xp(e,t){let n,r;(t===`ltr`||t===`rtl`)&&(n=e.canvas.style,r=[n.getPropertyValue(`direction`),n.getPropertyPriority(`direction`)],n.setProperty(`direction`,t,`important`),e.prevTextDirection=r)}function Zp(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty(`direction`,t[0],t[1]))}function Qp(e){return e===`angle`?{between:Id,compare:Pd,normalize:Fd}:{between:Rd,compare:(e,t)=>e-t,normalize:e=>e}}function $p({start:e,end:t,count:n,loop:r,style:i}){return{start:e%n,end:t%n,loop:r&&(t-e+1)%n===0,style:i}}function em(e,t,n){let{property:r,start:i,end:a}=n,{between:o,normalize:s}=Qp(r),c=t.length,{start:l,end:u,loop:d}=e,f,p;if(d){for(l+=c,u+=c,f=0,p=c;f<p&&o(s(t[l%c][r]),i,a);++f)l--,u--;l%=c,u%=c}return u<l&&(u+=c),{start:l,end:u,loop:d,style:e.style}}function tm(e,t,n){if(!n)return[e];let{property:r,start:i,end:a}=n,o=t.length,{compare:s,between:c,normalize:l}=Qp(r),{start:u,end:d,loop:f,style:p}=em(e,t,n),m=[],h=!1,g=null,_,v,y,b=()=>c(i,y,_)&&s(i,y)!==0,x=()=>s(a,_)===0||c(a,y,_),S=()=>h||b(),C=()=>!h||x();for(let e=u,n=u;e<=d;++e)v=t[e%o],!v.skip&&(_=l(v[r]),_!==y&&(h=c(_,i,a),g===null&&S()&&(g=s(_,i)===0?e:n),g!==null&&C()&&(m.push($p({start:g,end:e,loop:f,count:o,style:p})),g=null),n=e,y=_));return g!==null&&m.push($p({start:g,end:d,loop:f,count:o,style:p})),m}function nm(e,t){let n=[],r=e.segments;for(let i=0;i<r.length;i++){let a=tm(r[i],e.points,t);a.length&&n.push(...a)}return n}function rm(e,t,n,r){let i=0,a=t-1;if(n&&!r)for(;i<t&&!e[i].skip;)i++;for(;i<t&&e[i].skip;)i++;for(i%=t,n&&(a+=i);a>i&&e[a%t].skip;)a--;return a%=t,{start:i,end:a}}function im(e,t,n,r){let i=e.length,a=[],o=t,s=e[t],c;for(c=t+1;c<=n;++c){let n=e[c%i];n.skip||n.stop?s.skip||(r=!1,a.push({start:t%i,end:(c-1)%i,loop:r}),t=o=n.stop?c:null):(o=c,s.skip&&(t=c)),s=n}return o!==null&&a.push({start:t%i,end:o%i,loop:r}),a}function am(e,t){let n=e.points,r=e.options.spanGaps,i=n.length;if(!i)return[];let a=!!e._loop,{start:o,end:s}=rm(n,i,a,r);return r===!0?om(e,[{start:o,end:s,loop:a}],n,t):om(e,im(n,o,s<o?s+i:s,!!e._fullLoop&&o===0&&s===i-1),n,t)}function om(e,t,n,r){return!r||!r.setContext||!n?t:sm(e,t,n,r)}function sm(e,t,n,r){let i=e._chart.getContext(),a=cm(e.options),{_datasetIndex:o,options:{spanGaps:s}}=e,c=n.length,l=[],u=a,d=t[0].start,f=d;function p(e,t,r,i){let a=s?-1:1;if(e!==t){for(e+=c;n[e%c].skip;)e-=a;for(;n[t%c].skip;)t+=a;e%c!==t%c&&(l.push({start:e%c,end:t%c,loop:r,style:i}),u=i,d=t%c)}}for(let e of t){d=s?d:e.start;let t=n[d%c],a;for(f=d+1;f<=e.end;f++){let s=n[f%c];a=cm(r.setContext(Zf(i,{type:`segment`,p0:t,p1:s,p0DataIndex:(f-1)%c,p1DataIndex:f%c,datasetIndex:o}))),lm(a,u)&&p(d,f-1,e.loop,u),t=s,u=a}d<f-1&&p(d,f-1,e.loop,u)}return l}function cm(e){return{backgroundColor:e.backgroundColor,borderCapStyle:e.borderCapStyle,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderJoinStyle:e.borderJoinStyle,borderWidth:e.borderWidth,borderColor:e.borderColor}}function lm(e,t){if(!t)return!1;let n=[],r=function(e,t){return of(t)?(n.includes(t)||n.push(t),n.indexOf(t)):t};return JSON.stringify(e,r)!==JSON.stringify(t,r)}function um(e,t,n){return e.options.clip?e[n]:t[n]}function dm(e,t){let{xScale:n,yScale:r}=e;return n&&r?{left:um(n,t,`left`),right:um(n,t,`right`),top:um(r,t,`top`),bottom:um(r,t,`bottom`)}:t}function fm(e,t){let n=t._clip;if(n.disabled)return!1;let r=dm(t,e.chartArea);return{left:n.left===!1?0:r.left-(n.left===!0?0:n.left),right:n.right===!1?e.width:r.right+(n.right===!0?0:n.right),top:n.top===!1?0:r.top-(n.top===!0?0:n.top),bottom:n.bottom===!1?e.height:r.bottom+(n.bottom===!0?0:n.bottom)}}var pm=new class{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,t,n,r){let i=t.listeners[r],a=t.duration;i.forEach(r=>r({chart:e,initial:t.initial,numSteps:a,currentStep:Math.min(n-t.start,a)}))}_refresh(){this._request||=(this._running=!0,qd.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let t=0;this._charts.forEach((n,r)=>{if(!n.running||!n.items.length)return;let i=n.items,a=i.length-1,o=!1,s;for(;a>=0;--a)s=i[a],s._active?(s._total>n.duration&&(n.duration=s._total),s.tick(e),o=!0):(i[a]=i[i.length-1],i.pop());o&&(r.draw(),this._notify(r,n,e,`progress`)),i.length||(n.running=!1,this._notify(r,n,e,`complete`),n.initial=!1),t+=i.length}),this._lastDate=e,t===0&&(this._running=!1)}_getAnims(e){let t=this._charts,n=t.get(e);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,n)),n}listen(e,t,n){this._getAnims(e).listeners[t].push(n)}add(e,t){t&&t.length&&this._getAnims(e).items.push(...t)}has(e){return this._getAnims(e).items.length>0}start(e){let t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce((e,t)=>Math.max(e,t._duration),0),this._refresh())}running(e){if(!this._running)return!1;let t=this._charts.get(e);return!(!t||!t.running||!t.items.length)}stop(e){let t=this._charts.get(e);if(!t||!t.items.length)return;let n=t.items,r=n.length-1;for(;r>=0;--r)n[r].cancel();t.items=[],this._notify(e,t,Date.now(),`complete`)}remove(e){return this._charts.delete(e)}},mm=`transparent`,hm={boolean(e,t,n){return n>.5?t:e},color(e,t,n){let r=sf(e||mm),i=r.valid&&sf(t||mm);return i&&i.valid?i.mix(r,n).hexString():t},number(e,t,n){return e+(t-e)*n}},gm=class{constructor(e,t,n,r){let i=t[n];r=Yf([e.to,r,i,e.from]);let a=Yf([e.from,i,r]);this._active=!0,this._fn=e.fn||hm[e.type||typeof a],this._easing=af[e.easing]||af.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=t,this._prop=n,this._from=a,this._to=r,this._promises=void 0}active(){return this._active}update(e,t,n){if(this._active){this._notify(!1);let r=this._target[this._prop],i=n-this._start,a=this._duration-i;this._start=n,this._duration=Math.floor(Math.max(a,e.duration)),this._total+=i,this._loop=!!e.loop,this._to=Yf([e.to,t,r,e.from]),this._from=Yf([e.from,r,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){let t=e-this._start,n=this._duration,r=this._prop,i=this._from,a=this._loop,o=this._to,s;this._active=i!==o&&(a||t<n),this._active?t<0?this._target[r]=i:(s=t/n%2,s=a&&s>1?2-s:s,s=this._easing(Math.min(1,Math.max(0,s))),this._target[r]=this._fn(i,o,s)):(this._target[r]=o,this._notify(!0))}wait(){let e=this._promises||=[];return new Promise((t,n)=>{e.push({res:t,rej:n})})}_notify(e){let t=e?`res`:`rej`,n=this._promises||[];for(let e=0;e<n.length;e++)n[e][t]()}},_m=class{constructor(e,t){this._chart=e,this._properties=new Map,this.configure(t)}configure(e){if(!L(e))return;let t=Object.keys(K.animation),n=this._properties;Object.getOwnPropertyNames(e).forEach(r=>{let i=e[r];if(!L(i))return;let a={};for(let e of t)a[e]=i[e];(I(i.properties)&&i.properties||[r]).forEach(e=>{e!==r&&n.has(e)||n.set(e,a)})})}_animateOptions(e,t){let n=t.options,r=ym(e,n);if(!r)return[];let i=this._createAnimations(r,n);return n.$shared&&vm(e.options.$animations,n).then(()=>{e.options=n},()=>{}),i}_createAnimations(e,t){let n=this._properties,r=[],i=e.$animations||={},a=Object.keys(t),o=Date.now(),s;for(s=a.length-1;s>=0;--s){let c=a[s];if(c.charAt(0)===`$`)continue;if(c===`options`){r.push(...this._animateOptions(e,t));continue}let l=t[c],u=i[c],d=n.get(c);if(u){if(d&&u.active()){u.update(d,l,o);continue}u.cancel()}!d||!d.duration?e[c]=l:(i[c]=u=new gm(d,e,c,l),r.push(u))}return r}update(e,t){if(this._properties.size===0){Object.assign(e,t);return}let n=this._createAnimations(e,t);if(n.length)return pm.add(this._chart,n),!0}};function vm(e,t){let n=[],r=Object.keys(t);for(let t=0;t<r.length;t++){let i=e[r[t]];i&&i.active()&&n.push(i.wait())}return Promise.all(n)}function ym(e,t){if(!t)return;let n=e.options;if(!n)e.options=t;else return n.$shared&&(e.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n}function bm(e,t){let n=e&&e.options||{},r=n.reverse,i=n.min===void 0?t:0,a=n.max===void 0?t:0;return{start:r?a:i,end:r?i:a}}function xm(e,t,n){if(n===!1)return!1;let r=bm(e,n),i=bm(t,n);return{top:i.end,right:r.end,bottom:i.start,left:r.start}}function Sm(e){let t,n,r,i;return L(e)?(t=e.top,n=e.right,r=e.bottom,i=e.left):t=n=r=i=e,{top:t,right:n,bottom:r,left:i,disabled:e===!1}}function Cm(e,t){let n=[],r=e._getSortedDatasetMetas(t),i,a;for(i=0,a=r.length;i<a;++i)n.push(r[i].index);return n}function wm(e,t,n,r={}){let i=e.keys,a=r.mode===`single`,o,s,c,l;if(t===null)return;let u=!1;for(o=0,s=i.length;o<s;++o){if(c=+i[o],c===n){if(u=!0,r.all)continue;break}l=e.values[c],R(l)&&(a||t===0||xd(t)===xd(l))&&(t+=l)}return!u&&!r.all?0:t}function Tm(e,t){let{iScale:n,vScale:r}=t,i=n.axis===`x`?`x`:`y`,a=r.axis===`x`?`x`:`y`,o=Object.keys(e),s=Array(o.length),c,l,u;for(c=0,l=o.length;c<l;++c)u=o[c],s[c]={[i]:u,[a]:e[u]};return s}function Em(e,t){let n=e&&e.options.stacked;return n||n===void 0&&t.stack!==void 0}function Dm(e,t,n){return`${e.id}.${t.id}.${n.stack||n.type}`}function Om(e){let{min:t,max:n,minDefined:r,maxDefined:i}=e.getUserBounds();return{min:r?t:-1/0,max:i?n:1/0}}function km(e,t,n){let r=e[t]||(e[t]={});return r[n]||(r[n]={})}function Am(e,t,n,r){for(let i of t.getMatchingVisibleMetas(r).reverse()){let t=e[i.index];if(n&&t>0||!n&&t<0)return i.index}return null}function jm(e,t){let{chart:n,_cachedMeta:r}=e,i=n._stacks||={},{iScale:a,vScale:o,index:s}=r,c=a.axis,l=o.axis,u=Dm(a,o,r),d=t.length,f;for(let e=0;e<d;++e){let n=t[e],{[c]:a,[l]:d}=n,p=n._stacks||={};f=p[l]=km(i,u,a),f[s]=d,f._top=Am(f,o,!0,r.type),f._bottom=Am(f,o,!1,r.type);let m=f._visualValues||(f._visualValues={});m[s]=d}}function Mm(e,t){let n=e.scales;return Object.keys(n).filter(e=>n[e].axis===t).shift()}function Nm(e,t){return Zf(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:`default`,type:`dataset`})}function Pm(e,t,n){return Zf(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:`default`,type:`data`})}function Fm(e,t){let n=e.controller.index,r=e.vScale&&e.vScale.axis;if(r){t||=e._parsed;for(let e of t){let t=e._stacks;t&&t[r]!==void 0&&t[r][n]!==void 0&&(delete t[r][n],t[r]._visualValues!==void 0&&t[r]._visualValues[n]!==void 0&&delete t[r]._visualValues[n])}}}var Im=e=>e===`reset`||e===`none`,Lm=(e,t)=>t?e:Object.assign({},e),Rm=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:Cm(n,!0),values:null},zm=class{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(e,t){this.chart=e,this._ctx=e.ctx,this.index=t,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(){let e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=Em(e.vScale,e),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(e){this.index!==e&&Fm(this._cachedMeta),this.index=e}linkScales(){let e=this.chart,t=this._cachedMeta,n=this.getDataset(),r=(e,t,n,r)=>e===`x`?t:e===`r`?r:n,i=t.xAxisID=z(n.xAxisID,Mm(e,`x`)),a=t.yAxisID=z(n.yAxisID,Mm(e,`y`)),o=t.rAxisID=z(n.rAxisID,Mm(e,`r`)),s=t.indexAxis,c=t.iAxisID=r(s,i,a,o),l=t.vAxisID=r(s,a,i,o);t.xScale=this.getScaleForId(i),t.yScale=this.getScaleForId(a),t.rScale=this.getScaleForId(o),t.iScale=this.getScaleForId(c),t.vScale=this.getScaleForId(l)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){let t=this._cachedMeta;return e===t.iScale?t.vScale:t.iScale}reset(){this._update(`reset`)}_destroy(){let e=this._cachedMeta;this._data&&Gd(this._data,this),e._stacked&&Fm(e)}_dataCheck(){let e=this.getDataset(),t=e.data||=[],n=this._data;if(L(t)){let e=this._cachedMeta;this._data=Tm(t,e)}else if(n!==t){if(n){Gd(n,this);let e=this._cachedMeta;Fm(e),e._parsed=[]}t&&Object.isExtensible(t)&&Wd(t,this),this._syncList=[],this._data=t}}addElements(){let e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){let t=this._cachedMeta,n=this.getDataset(),r=!1;this._dataCheck();let i=t._stacked;t._stacked=Em(t.vScale,t),t.stack!==n.stack&&(r=!0,Fm(t),t.stack=n.stack),this._resyncElements(e),(r||i!==t._stacked)&&(jm(this,t._parsed),t._stacked=Em(t.vScale,t))}configure(){let e=this.chart.config,t=e.datasetScopeKeys(this._type),n=e.getOptionScopes(this.getDataset(),t,!0);this.options=e.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,t){let{_cachedMeta:n,_data:r}=this,{iScale:i,_stacked:a}=n,o=i.axis,s=e===0&&t===r.length||n._sorted,c=e>0&&n._parsed[e-1],l,u,d;if(this._parsing===!1)n._parsed=r,n._sorted=!0,d=r;else{d=I(r[e])?this.parseArrayData(n,r,e,t):L(r[e])?this.parseObjectData(n,r,e,t):this.parsePrimitiveData(n,r,e,t);let i=()=>u[o]===null||c&&u[o]<c[o];for(l=0;l<t;++l)n._parsed[l+e]=u=d[l],s&&(i()&&(s=!1),c=u);n._sorted=s}a&&jm(this,d)}parsePrimitiveData(e,t,n,r){let{iScale:i,vScale:a}=e,o=i.axis,s=a.axis,c=i.getLabels(),l=i===a,u=Array(r),d,f,p;for(d=0,f=r;d<f;++d)p=d+n,u[d]={[o]:l||i.parse(c[p],p),[s]:a.parse(t[p],p)};return u}parseArrayData(e,t,n,r){let{xScale:i,yScale:a}=e,o=Array(r),s,c,l,u;for(s=0,c=r;s<c;++s)l=s+n,u=t[l],o[s]={x:i.parse(u[0],l),y:a.parse(u[1],l)};return o}parseObjectData(e,t,n,r){let{xScale:i,yScale:a}=e,{xAxisKey:o=`x`,yAxisKey:s=`y`}=this._parsing,c=Array(r),l,u,d,f;for(l=0,u=r;l<u;++l)d=l+n,f=t[d],c[l]={x:i.parse(ld(f,o),d),y:a.parse(ld(f,s),d)};return c}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,t,n){let r=this.chart,i=this._cachedMeta,a=t[e.axis];return wm({keys:Cm(r,!0),values:t._stacks[e.axis]._visualValues},a,i.index,{mode:n})}updateRangeFromParsed(e,t,n,r){let i=n[t.axis],a=i===null?NaN:i,o=r&&n._stacks[t.axis];r&&o&&(r.values=o,a=wm(r,i,this._cachedMeta.index)),e.min=Math.min(e.min,a),e.max=Math.max(e.max,a)}getMinMax(e,t){let n=this._cachedMeta,r=n._parsed,i=n._sorted&&e===n.iScale,a=r.length,o=this._getOtherScale(e),s=Rm(t,n,this.chart),c={min:1/0,max:-1/0},{min:l,max:u}=Om(o),d,f;function p(){f=r[d];let t=f[o.axis];return!R(f[e.axis])||l>t||u<t}for(d=0;d<a&&!(!p()&&(this.updateRangeFromParsed(c,e,f,s),i));++d);if(i){for(d=a-1;d>=0;--d)if(!p()){this.updateRangeFromParsed(c,e,f,s);break}}return c}getAllParsedValues(e){let t=this._cachedMeta._parsed,n=[],r,i,a;for(r=0,i=t.length;r<i;++r)a=t[r][e.axis],R(a)&&n.push(a);return n}getMaxOverflow(){return!1}getLabelAndValue(e){let t=this._cachedMeta,n=t.iScale,r=t.vScale,i=this.getParsed(e);return{label:n?``+n.getLabelForValue(i[n.axis]):``,value:r?``+r.getLabelForValue(i[r.axis]):``}}_update(e){let t=this._cachedMeta;this.update(e||`default`),t._clip=Sm(z(this.options.clip,xm(t.xScale,t.yScale,this.getMaxOverflow())))}update(e){}draw(){let e=this._ctx,t=this.chart,n=this._cachedMeta,r=n.data||[],i=t.chartArea,a=[],o=this._drawStart||0,s=this._drawCount||r.length-o,c=this.options.drawActiveElementsOnTop,l;for(n.dataset&&n.dataset.draw(e,i,o,s),l=o;l<o+s;++l){let t=r[l];t.hidden||(t.active&&c?a.push(t):t.draw(e,i))}for(l=0;l<a.length;++l)a[l].draw(e,i)}getStyle(e,t){let n=t?`active`:`default`;return e===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(n):this.resolveDataElementOptions(e||0,n)}getContext(e,t,n){let r=this.getDataset(),i;if(e>=0&&e<this._cachedMeta.data.length){let t=this._cachedMeta.data[e];i=t.$context||=Pm(this.getContext(),e,t),i.parsed=this.getParsed(e),i.raw=r.data[e],i.index=i.dataIndex=e}else i=this.$context||=Nm(this.chart.getContext(),this.index),i.dataset=r,i.index=i.datasetIndex=this.index;return i.active=!!t,i.mode=n,i}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,t){return this._resolveElementOptions(this.dataElementType.id,t,e)}_resolveElementOptions(e,t=`default`,n){let r=t===`active`,i=this._cachedDataOpts,a=e+`-`+t,o=i[a],s=this.enableOptionSharing&&dd(n);if(o)return Lm(o,s);let c=this.chart.config,l=c.datasetElementScopeKeys(this._type,e),u=r?[`${e}Hover`,`hover`,e,``]:[e,``],d=c.getOptionScopes(this.getDataset(),l),f=Object.keys(K.elements[e]),p=c.resolveNamedOptions(d,f,()=>this.getContext(n,r,t),u);return p.$shared&&(p.$shared=s,i[a]=Object.freeze(Lm(p,s))),p}_resolveAnimations(e,t,n){let r=this.chart,i=this._cachedDataOpts,a=`animation-${t}`,o=i[a];if(o)return o;let s;if(r.options.animation!==!1){let r=this.chart.config,i=r.datasetAnimationScopeKeys(this._type,t),a=r.getOptionScopes(this.getDataset(),i);s=r.createResolver(a,this.getContext(e,n,t))}let c=new _m(r,s&&s.animations);return s&&s._cacheable&&(i[a]=Object.freeze(c)),c}getSharedOptions(e){if(e.$shared)return this._sharedOptions||=Object.assign({},e)}includeOptions(e,t){return!t||Im(e)||this.chart._animationsDisabled}_getSharedOptions(e,t){let n=this.resolveDataElementOptions(e,t),r=this._sharedOptions,i=this.getSharedOptions(n),a=this.includeOptions(t,i)||i!==r;return this.updateSharedOptions(i,t,n),{sharedOptions:i,includeOptions:a}}updateElement(e,t,n,r){Im(r)?Object.assign(e,n):this._resolveAnimations(t,r).update(e,n)}updateSharedOptions(e,t,n){e&&!Im(t)&&this._resolveAnimations(void 0,t).update(e,n)}_setStyle(e,t,n,r){e.active=r;let i=this.getStyle(t,r);this._resolveAnimations(t,n,r).update(e,{options:!r&&this.getSharedOptions(i)||i})}removeHoverStyle(e,t,n){this._setStyle(e,n,`active`,!1)}setHoverStyle(e,t,n){this._setStyle(e,n,`active`,!0)}_removeDatasetHoverStyle(){let e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,`active`,!1)}_setDatasetHoverStyle(){let e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,`active`,!0)}_resyncElements(e){let t=this._data,n=this._cachedMeta.data;for(let[e,t,n]of this._syncList)this[e](t,n);this._syncList=[];let r=n.length,i=t.length,a=Math.min(i,r);a&&this.parse(0,a),i>r?this._insertElements(r,i-r,e):i<r&&this._removeElements(i,r-i)}_insertElements(e,t,n=!0){let r=this._cachedMeta,i=r.data,a=e+t,o,s=e=>{for(e.length+=t,o=e.length-1;o>=a;o--)e[o]=e[o-t]};for(s(i),o=e;o<a;++o)i[o]=new this.dataElementType;this._parsing&&s(r._parsed),this.parse(e,t),n&&this.updateElements(i,e,t,`reset`)}updateElements(e,t,n,r){}_removeElements(e,t){let n=this._cachedMeta;if(this._parsing){let r=n._parsed.splice(e,t);n._stacked&&Fm(n,r)}n.data.splice(e,t)}_sync(e){if(this._parsing)this._syncList.push(e);else{let[t,n,r]=e;this[t](n,r)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){let e=arguments.length;this._sync([`_insertElements`,this.getDataset().data.length-e,e])}_onDataPop(){this._sync([`_removeElements`,this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync([`_removeElements`,0,1])}_onDataSplice(e,t){t&&this._sync([`_removeElements`,e,t]);let n=arguments.length-2;n&&this._sync([`_insertElements`,e,n])}_onDataUnshift(){this._sync([`_insertElements`,0,arguments.length])}};function Bm(e,t){if(!e._cache.$bar){let n=e.getMatchingVisibleMetas(t),r=[];for(let t=0,i=n.length;t<i;t++)r=r.concat(n[t].controller.getAllParsedValues(e));e._cache.$bar=Kd(r.sort((e,t)=>e-t))}return e._cache.$bar}function Vm(e){let t=e.iScale,n=Bm(t,e.type),r=t._length,i,a,o,s,c=()=>{o!==32767&&o!==-32768&&(dd(s)&&(r=Math.min(r,Math.abs(o-s)||r)),s=o)};for(i=0,a=n.length;i<a;++i)o=t.getPixelForValue(n[i]),c();for(s=void 0,i=0,a=t.ticks.length;i<a;++i)o=t.getPixelForTick(i),c();return r}function Hm(e,t,n,r){let i=n.barThickness,a,o;return F(i)?(a=t.min*n.categoryPercentage,o=n.barPercentage):(a=i*r,o=1),{chunk:a/r,ratio:o,start:t.pixels[e]-a/2}}function Um(e,t,n,r){let i=t.pixels,a=i[e],o=e>0?i[e-1]:null,s=e<i.length-1?i[e+1]:null,c=n.categoryPercentage;o===null&&(o=a-(s===null?t.end-t.start:s-a)),s===null&&(s=a+a-o);let l=a-(a-Math.min(o,s))/2*c;return{chunk:Math.abs(s-o)/2*c/r,ratio:n.barPercentage,start:l}}function Wm(e,t,n,r){let i=n.parse(e[0],r),a=n.parse(e[1],r),o=Math.min(i,a),s=Math.max(i,a),c=o,l=s;Math.abs(o)>Math.abs(s)&&(c=s,l=o),t[n.axis]=l,t._custom={barStart:c,barEnd:l,start:i,end:a,min:o,max:s}}function Gm(e,t,n,r){return I(e)?Wm(e,t,n,r):t[n.axis]=n.parse(e,r),t}function Km(e,t,n,r){let i=e.iScale,a=e.vScale,o=i.getLabels(),s=i===a,c=[],l,u,d,f;for(l=n,u=n+r;l<u;++l)f=t[l],d={},d[i.axis]=s||i.parse(o[l],l),c.push(Gm(f,d,a,l));return c}function qm(e){return e&&e.barStart!==void 0&&e.barEnd!==void 0}function Jm(e,t,n){return e===0?(t.isHorizontal()?1:-1)*(t.min>=n?1:-1):xd(e)}function Ym(e){let t,n,r,i,a;return e.horizontal?(t=e.base>e.x,n=`left`,r=`right`):(t=e.base<e.y,n=`bottom`,r=`top`),t?(i=`end`,a=`start`):(i=`start`,a=`end`),{start:n,end:r,reverse:t,top:i,bottom:a}}function Xm(e,t,n,r){let i=t.borderSkipped,a={};if(!i){e.borderSkipped=a;return}if(i===!0){e.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}let{start:o,end:s,reverse:c,top:l,bottom:u}=Ym(e);i===`middle`&&n&&(e.enableBorderRadius=!0,(n._top||0)===r?i=l:(n._bottom||0)===r?i=u:(a[Zm(u,o,s,c)]=!0,i=l)),a[Zm(i,o,s,c)]=!0,e.borderSkipped=a}function Zm(e,t,n,r){return r?(e=Qm(e,t,n),e=$m(e,n,t)):e=$m(e,t,n),e}function Qm(e,t,n){return e===t?n:e===n?t:e}function $m(e,t,n){return e===`start`?t:e===`end`?n:e}function eh(e,{inflateAmount:t},n){e.inflateAmount=t===`auto`?n===1?.33:0:t}var th=class extends zm{static id=`bar`;static defaults={datasetElementType:!1,dataElementType:`bar`,categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:`number`,properties:[`x`,`y`,`base`,`width`,`height`]}}};static overrides={scales:{_index_:{type:`category`,offset:!0,grid:{offset:!0}},_value_:{type:`linear`,beginAtZero:!0}}};parsePrimitiveData(e,t,n,r){return Km(e,t,n,r)}parseArrayData(e,t,n,r){return Km(e,t,n,r)}parseObjectData(e,t,n,r){let{iScale:i,vScale:a}=e,{xAxisKey:o=`x`,yAxisKey:s=`y`}=this._parsing,c=i.axis===`x`?o:s,l=a.axis===`x`?o:s,u=[],d,f,p,m;for(d=n,f=n+r;d<f;++d)m=t[d],p={},p[i.axis]=i.parse(ld(m,c),d),u.push(Gm(ld(m,l),p,a,d));return u}updateRangeFromParsed(e,t,n,r){super.updateRangeFromParsed(e,t,n,r);let i=n._custom;i&&t===this._cachedMeta.vScale&&(e.min=Math.min(e.min,i.min),e.max=Math.max(e.max,i.max))}getMaxOverflow(){return 0}getLabelAndValue(e){let{iScale:t,vScale:n}=this._cachedMeta,r=this.getParsed(e),i=r._custom,a=qm(i)?`[`+i.start+`, `+i.end+`]`:``+n.getLabelForValue(r[n.axis]);return{label:``+t.getLabelForValue(r[t.axis]),value:a}}initialize(){this.enableOptionSharing=!0,super.initialize();let e=this._cachedMeta;e.stack=this.getDataset().stack}update(e){let t=this._cachedMeta;this.updateElements(t.data,0,t.data.length,e)}updateElements(e,t,n,r){let i=r===`reset`,{index:a,_cachedMeta:{vScale:o}}=this,s=o.getBasePixel(),c=o.isHorizontal(),l=this._getRuler(),{sharedOptions:u,includeOptions:d}=this._getSharedOptions(t,r);for(let f=t;f<t+n;f++){let t=this.getParsed(f),n=i||F(t[o.axis])?{base:s,head:s}:this._calculateBarValuePixels(f),p=this._calculateBarIndexPixels(f,l),m=(t._stacks||{})[o.axis],h={horizontal:c,base:n.base,enableBorderRadius:!m||qm(t._custom)||a===m._top||a===m._bottom,x:c?n.head:p.center,y:c?p.center:n.head,height:c?p.size:Math.abs(n.size),width:c?Math.abs(n.size):p.size};d&&(h.options=u||this.resolveDataElementOptions(f,e[f].active?`active`:r));let g=h.options||e[f].options;Xm(h,g,m,a),eh(h,g,l.ratio),this.updateElement(e[f],f,h,r)}}_getStacks(e,t){let{iScale:n}=this._cachedMeta,r=n.getMatchingVisibleMetas(this._type).filter(e=>e.controller.options.grouped),i=n.options.stacked,a=[],o=this._cachedMeta.controller.getParsed(t),s=o&&o[n.axis],c=e=>{let t=e._parsed.find(e=>e[n.axis]===s),r=t&&t[e.vScale.axis];if(F(r)||isNaN(r))return!0};for(let n of r)if(!(t!==void 0&&c(n))&&((i===!1||a.indexOf(n.stack)===-1||i===void 0&&n.stack===void 0)&&a.push(n.stack),n.index===e))break;return a.length||a.push(void 0),a}_getStackCount(e){return this._getStacks(void 0,e).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){let e=this.chart.scales,t=this.chart.options.indexAxis;return Object.keys(e).filter(n=>e[n].axis===t).shift()}_getAxis(){let e={},t=this.getFirstScaleIdForIndexAxis();for(let n of this.chart.data.datasets)e[z(this.chart.options.indexAxis===`x`?n.xAxisID:n.yAxisID,t)]=!0;return Object.keys(e)}_getStackIndex(e,t,n){let r=this._getStacks(e,n),i=t===void 0?-1:r.indexOf(t);return i===-1?r.length-1:i}_getRuler(){let e=this.options,t=this._cachedMeta,n=t.iScale,r=[],i,a;for(i=0,a=t.data.length;i<a;++i)r.push(n.getPixelForValue(this.getParsed(i)[n.axis],i));let o=e.barThickness;return{min:o||Vm(t),pixels:r,start:n._startPixel,end:n._endPixel,stackCount:this._getStackCount(),scale:n,grouped:e.grouped,ratio:o?1:e.categoryPercentage*e.barPercentage}}_calculateBarValuePixels(e){let{_cachedMeta:{vScale:t,_stacked:n,index:r},options:{base:i,minBarLength:a}}=this,o=i||0,s=this.getParsed(e),c=s._custom,l=qm(c),u=s[t.axis],d=0,f=n?this.applyStack(t,s,n):u,p,m;f!==u&&(d=f-u,f=u),l&&(u=c.barStart,f=c.barEnd-c.barStart,u!==0&&xd(u)!==xd(c.barEnd)&&(d=0),d+=u);let h=!F(i)&&!l?i:d,g=t.getPixelForValue(h);if(p=this.chart.getDataVisibility(e)?t.getPixelForValue(d+f):g,m=p-g,Math.abs(m)<a){m=Jm(m,t,o)*a,u===o&&(g-=m/2);let e=t.getPixelForDecimal(0),i=t.getPixelForDecimal(1);g=Math.max(Math.min(g,Math.max(e,i)),Math.min(e,i)),p=g+m,n&&!l&&(s._stacks[t.axis]._visualValues[r]=t.getValueForPixel(p)-t.getValueForPixel(g))}if(g===t.getPixelForValue(o)){let e=xd(m)*t.getLineWidthForValue(o)/2;g+=e,m-=e}return{size:m,base:g,head:p,center:p+m/2}}_calculateBarIndexPixels(e,t){let n=t.scale,r=this.options,i=r.skipNull,a=z(r.maxBarThickness,1/0),o,s,c=this._getAxisCount();if(t.grouped){let n=i?this._getStackCount(e):t.stackCount,l=r.barThickness===`flex`?Um(e,t,r,n*c):Hm(e,t,r,n*c),u=this.chart.options.indexAxis===`x`?this.getDataset().xAxisID:this.getDataset().yAxisID,d=this._getAxis().indexOf(z(u,this.getFirstScaleIdForIndexAxis())),f=this._getStackIndex(this.index,this._cachedMeta.stack,i?e:void 0)+d;o=l.start+l.chunk*f+l.chunk/2,s=Math.min(a,l.chunk*l.ratio)}else o=n.getPixelForValue(this.getParsed(e)[n.axis],e),s=Math.min(a,t.min*t.ratio);return{base:o-s/2,head:o+s/2,center:o,size:s}}draw(){let e=this._cachedMeta,t=e.vScale,n=e.data,r=n.length,i=0;for(;i<r;++i)this.getParsed(i)[t.axis]!==null&&!n[i].hidden&&n[i].draw(this._ctx)}},nh=class extends zm{static id=`bubble`;static defaults={datasetElementType:!1,dataElementType:`point`,animations:{numbers:{type:`number`,properties:[`x`,`y`,`borderWidth`,`radius`]}}};static overrides={scales:{x:{type:`linear`},y:{type:`linear`}}};initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(e,t,n,r){let i=super.parsePrimitiveData(e,t,n,r);for(let e=0;e<i.length;e++)i[e]._custom=this.resolveDataElementOptions(e+n).radius;return i}parseArrayData(e,t,n,r){let i=super.parseArrayData(e,t,n,r);for(let e=0;e<i.length;e++){let r=t[n+e];i[e]._custom=z(r[2],this.resolveDataElementOptions(e+n).radius)}return i}parseObjectData(e,t,n,r){let i=super.parseObjectData(e,t,n,r);for(let e=0;e<i.length;e++){let r=t[n+e];i[e]._custom=z(r&&r.r&&+r.r,this.resolveDataElementOptions(e+n).radius)}return i}getMaxOverflow(){let e=this._cachedMeta.data,t=0;for(let n=e.length-1;n>=0;--n)t=Math.max(t,e[n].size(this.resolveDataElementOptions(n))/2);return t>0&&t}getLabelAndValue(e){let t=this._cachedMeta,n=this.chart.data.labels||[],{xScale:r,yScale:i}=t,a=this.getParsed(e),o=r.getLabelForValue(a.x),s=i.getLabelForValue(a.y),c=a._custom;return{label:n[e]||``,value:`(`+o+`, `+s+(c?`, `+c:``)+`)`}}update(e){let t=this._cachedMeta.data;this.updateElements(t,0,t.length,e)}updateElements(e,t,n,r){let i=r===`reset`,{iScale:a,vScale:o}=this._cachedMeta,{sharedOptions:s,includeOptions:c}=this._getSharedOptions(t,r),l=a.axis,u=o.axis;for(let d=t;d<t+n;d++){let t=e[d],n=!i&&this.getParsed(d),f={},p=f[l]=i?a.getPixelForDecimal(.5):a.getPixelForValue(n[l]),m=f[u]=i?o.getBasePixel():o.getPixelForValue(n[u]);f.skip=isNaN(p)||isNaN(m),c&&(f.options=s||this.resolveDataElementOptions(d,t.active?`active`:r),i&&(f.options.radius=0)),this.updateElement(t,d,f,r)}}resolveDataElementOptions(e,t){let n=this.getParsed(e),r=super.resolveDataElementOptions(e,t);r.$shared&&(r=Object.assign({},r,{$shared:!1}));let i=r.radius;return t!==`active`&&(r.radius=0),r.radius+=z(n&&n._custom,i),r}};function rh(e,t,n){let r=1,i=1,a=0,o=0;if(t<U){let s=e,c=s+t,l=Math.cos(s),u=Math.sin(s),d=Math.cos(c),f=Math.sin(c),p=(e,t,r)=>Id(e,s,c,!0)?1:Math.max(t,t*n,r,r*n),m=(e,t,r)=>Id(e,s,c,!0)?-1:Math.min(t,t*n,r,r*n),h=p(0,l,d),g=p(W,u,f),_=m(H,l,d),v=m(H+W,u,f);r=(h-_)/2,i=(g-v)/2,a=-(h+_)/2,o=-(g+v)/2}return{ratioX:r,ratioY:i,offsetX:a,offsetY:o}}var ih=class extends zm{static id=`doughnut`;static defaults={datasetElementType:!1,dataElementType:`arc`,animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:`number`,properties:[`circumference`,`endAngle`,`innerRadius`,`outerRadius`,`startAngle`,`x`,`y`,`offset`,`borderWidth`,`spacing`]}},cutout:`50%`,rotation:0,circumference:360,radius:`100%`,spacing:0,spacingMode:`angular`,indexAxis:`r`};static descriptors={_scriptable:e=>e!==`spacing`&&e!==`spacingMode`,_indexable:e=>e!==`spacing`&&e!==`spacingMode`&&!e.startsWith(`borderDash`)&&!e.startsWith(`hoverBorderDash`)};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){let t=e.data,{labels:{pointStyle:n,textAlign:r,color:i,useBorderRadius:a,borderRadius:o}}=e.legend.options;return t.labels.length&&t.datasets.length?t.labels.map((t,s)=>{let c=e.getDatasetMeta(0).controller.getStyle(s);return{text:t,fillStyle:c.backgroundColor,fontColor:i,hidden:!e.getDataVisibility(s),lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:c.borderWidth,strokeStyle:c.borderColor,textAlign:r,pointStyle:n,borderRadius:a&&(o||c.borderRadius),index:s}}):[]}},onClick(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}}}};constructor(e,t){super(e,t),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,t){let n=this.getDataset().data,r=this._cachedMeta;if(this._parsing===!1)r._parsed=n;else{let i=e=>+n[e];if(L(n[e])){let{key:e=`value`}=this._parsing;i=t=>+ld(n[t],e)}let a,o;for(a=e,o=e+t;a<o;++a)r._parsed[a]=i(a)}}_getRotation(){return kd(this.options.rotation-90)}_getCircumference(){return kd(this.options.circumference)}_getRotationExtents(){let e=U,t=-U;for(let n=0;n<this.chart.data.datasets.length;++n)if(this.chart.isDatasetVisible(n)&&this.chart.getDatasetMeta(n).type===this._type){let r=this.chart.getDatasetMeta(n).controller,i=r._getRotation(),a=r._getCircumference();e=Math.min(e,i),t=Math.max(t,i+a)}return{rotation:e,circumference:t-e}}update(e){let{chartArea:t}=this.chart,n=this._cachedMeta,r=n.data,i=this.getMaxBorderWidth()+this.getMaxOffset(r)+this.options.spacing,a=Math.max((Math.min(t.width,t.height)-i)/2,0),o=Math.min(Zu(this.options.cutout,a),1),s=this._getRingWeight(this.index),{circumference:c,rotation:l}=this._getRotationExtents(),{ratioX:u,ratioY:d,offsetX:f,offsetY:p}=rh(l,c,o),m=(t.width-i)/u,h=(t.height-i)/d,g=Math.max(Math.min(m,h)/2,0),_=Qu(this.options.radius,g),v=(_-Math.max(_*o,0))/this._getVisibleDatasetWeightTotal();this.offsetX=f*_,this.offsetY=p*_,n.total=this.calculateTotal(),this.outerRadius=_-v*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-v*s,0),this.updateElements(r,0,r.length,e)}_circumference(e,t){let n=this.options,r=this._cachedMeta,i=this._getCircumference();return t&&n.animation.animateRotate||!this.chart.getDataVisibility(e)||r._parsed[e]===null||r.data[e].hidden?0:this.calculateCircumference(r._parsed[e]*i/U)}updateElements(e,t,n,r){let i=r===`reset`,a=this.chart,o=a.chartArea,s=a.options.animation,c=(o.left+o.right)/2,l=(o.top+o.bottom)/2,u=i&&s.animateScale,d=u?0:this.innerRadius,f=u?0:this.outerRadius,{sharedOptions:p,includeOptions:m}=this._getSharedOptions(t,r),h=this._getRotation(),g=0;for(;g<t;++g)h+=this._circumference(g,i);for(g=t;g<t+n;++g){let t=this._circumference(g,i),n=e[g],a={x:c+this.offsetX,y:l+this.offsetY,startAngle:h,endAngle:h+t,circumference:t,outerRadius:f,innerRadius:d};m&&(a.options=p||this.resolveDataElementOptions(g,n.active?`active`:r)),h+=t,this.updateElement(n,g,a,r)}}calculateTotal(){let e=this._cachedMeta,t=e.data,n=0,r=0;for(;r<t.length;r++){let i=e._parsed[r];i!==null&&!isNaN(i)&&this.chart.getDataVisibility(r)&&!t[r].hidden&&(n+=Math.abs(i))}return n}calculateCircumference(e){let t=this._cachedMeta.total;return t>0&&!isNaN(e)?Math.abs(e)/t*U:0}getLabelAndValue(e){let t=this._cachedMeta,n=this.chart,r=n.data.labels||[],i=hf(t._parsed[e],n.options.locale);return{label:r[e]||``,value:i}}getMaxBorderWidth(e){let t=0,n=this.chart,r,i,a,o,s;if(!e){for(r=0,i=n.data.datasets.length;r<i;++r)if(n.isDatasetVisible(r)){a=n.getDatasetMeta(r),e=a.data,o=a.controller;break}}if(!e)return 0;for(r=0,i=e.length;r<i;++r)s=o.resolveDataElementOptions(r),s.borderAlign!==`inner`&&(t=Math.max(t,s.borderWidth||0,s.hoverBorderWidth||0));return t}getMaxOffset(e){let t=0;for(let n=0,r=e.length;n<r;++n){let e=this.resolveDataElementOptions(n);t=Math.max(t,e.offset||0,e.hoverOffset||0)}return t}_getRingWeightOffset(e){let t=0;for(let n=0;n<e;++n)this.chart.isDatasetVisible(n)&&(t+=this._getRingWeight(n));return t}_getRingWeight(e){return Math.max(z(this.chart.data.datasets[e].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}},ah=class extends zm{static id=`line`;static defaults={datasetElementType:`line`,dataElementType:`point`,showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:`category`},_value_:{type:`linear`}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){let t=this._cachedMeta,{dataset:n,data:r=[],_dataset:i}=t,a=this.chart._animationsDisabled,{start:o,count:s}=$d(t,r,a);this._drawStart=o,this._drawCount=s,ef(t)&&(o=0,s=r.length),n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!i._decimated,n.points=r;let c=this.resolveDatasetElementOptions(e);this.options.showLine||(c.borderWidth=0),c.segment=this.options.segment,this.updateElement(n,void 0,{animated:!a,options:c},e),this.updateElements(r,o,s,e)}updateElements(e,t,n,r){let i=r===`reset`,{iScale:a,vScale:o,_stacked:s,_dataset:c}=this._cachedMeta,{sharedOptions:l,includeOptions:u}=this._getSharedOptions(t,r),d=a.axis,f=o.axis,{spanGaps:p,segment:m}=this.options,h=Ed(p)?p:1/0,g=this.chart._animationsDisabled||i||r===`none`,_=t+n,v=e.length,y=t>0&&this.getParsed(t-1);for(let n=0;n<v;++n){let p=e[n],v=g?p:{};if(n<t||n>=_){v.skip=!0;continue}let b=this.getParsed(n),x=F(b[f]),S=v[d]=a.getPixelForValue(b[d],n),C=v[f]=i||x?o.getBasePixel():o.getPixelForValue(s?this.applyStack(o,b,s):b[f],n);v.skip=isNaN(S)||isNaN(C)||x,v.stop=n>0&&Math.abs(b[d]-y[d])>h,m&&(v.parsed=b,v.raw=c.data[n]),u&&(v.options=l||this.resolveDataElementOptions(n,p.active?`active`:r)),g||this.updateElement(p,n,v,r),y=b}}getMaxOverflow(){let e=this._cachedMeta,t=e.dataset,n=t.options&&t.options.borderWidth||0,r=e.data||[];if(!r.length)return n;let i=r[0].size(this.resolveDataElementOptions(0)),a=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(n,i,a)/2}draw(){let e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}},oh=class extends zm{static id=`polarArea`;static defaults={dataElementType:`arc`,animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:`number`,properties:[`x`,`y`,`startAngle`,`endAngle`,`innerRadius`,`outerRadius`]}},indexAxis:`r`,startAngle:0,spacing:0,spacingMode:`proportional`};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){let t=e.data;if(t.labels.length&&t.datasets.length){let{labels:{pointStyle:n,color:r}}=e.legend.options;return t.labels.map((t,i)=>{let a=e.getDatasetMeta(0).controller.getStyle(i);return{text:t,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,fontColor:r,lineWidth:a.borderWidth,pointStyle:n,hidden:!e.getDataVisibility(i),index:i}})}return[]}},onClick(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}}},scales:{r:{type:`radialLinear`,angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(e,t){super(e,t),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){let t=this._cachedMeta,n=this.chart,r=n.data.labels||[],i=hf(t._parsed[e].r,n.options.locale);return{label:r[e]||``,value:i}}parseObjectData(e,t,n,r){return _p.bind(this)(e,t,n,r)}update(e){let t=this._cachedMeta.data;this._updateRadius(),this.updateElements(t,0,t.length,e)}getMinMax(){let e=this._cachedMeta,t={min:1/0,max:-1/0};return e.data.forEach((e,n)=>{let r=this.getParsed(n).r;!isNaN(r)&&this.chart.getDataVisibility(n)&&(r<t.min&&(t.min=r),r>t.max&&(t.max=r))}),t}_updateRadius(){let e=this.chart,t=e.chartArea,n=e.options,r=Math.min(t.right-t.left,t.bottom-t.top),i=Math.max(r/2,0),a=(i-Math.max(n.cutoutPercentage?i/100*n.cutoutPercentage:1,0))/e.getVisibleDatasetCount();this.outerRadius=i-a*this.index,this.innerRadius=this.outerRadius-a}updateElements(e,t,n,r){let i=r===`reset`,a=this.chart,o=a.options.animation,s=this._cachedMeta.rScale,c=s.xCenter,l=s.yCenter,u=s.getIndexAngle(0)-.5*H,d=u,f,p=360/this.countVisibleElements();for(f=0;f<t;++f)d+=this._computeAngle(f,r,p);for(f=t;f<t+n;f++){let t=e[f],n=d,m=d+this._computeAngle(f,r,p),h=a.getDataVisibility(f)?s.getDistanceFromCenterForValue(this.getParsed(f).r):0;d=m,i&&(o.animateScale&&(h=0),o.animateRotate&&(n=m=u));let g={x:c,y:l,innerRadius:0,outerRadius:h,startAngle:n,endAngle:m,options:this.resolveDataElementOptions(f,t.active?`active`:r)};g.options.spacing===0&&(g.options.spacing=this.options.spacing),g.options.spacingMode===`angular`&&(g.options.spacingMode=this.options.spacingMode),this.updateElement(t,f,g,r)}}countVisibleElements(){let e=this._cachedMeta,t=0;return e.data.forEach((e,n)=>{!isNaN(this.getParsed(n).r)&&this.chart.getDataVisibility(n)&&t++}),t}_computeAngle(e,t,n){return this.chart.getDataVisibility(e)?kd(this.resolveDataElementOptions(e,t).angle||n):0}},sh=Object.freeze({__proto__:null,BarController:th,BubbleController:nh,DoughnutController:ih,LineController:ah,PieController:class extends ih{static id=`pie`;static defaults={cutout:0,rotation:0,circumference:360,radius:`100%`}},PolarAreaController:oh,RadarController:class extends zm{static id=`radar`;static defaults={datasetElementType:`line`,dataElementType:`point`,indexAxis:`r`,showLine:!0,elements:{line:{fill:`start`}}};static overrides={aspectRatio:1,scales:{r:{type:`radialLinear`}}};getLabelAndValue(e){let t=this._cachedMeta.vScale,n=this.getParsed(e);return{label:t.getLabels()[e],value:``+t.getLabelForValue(n[t.axis])}}parseObjectData(e,t,n,r){return _p.bind(this)(e,t,n,r)}update(e){let t=this._cachedMeta,n=t.dataset,r=t.data||[],i=t.iScale.getLabels();if(n.points=r,e!==`resize`){let t=this.resolveDatasetElementOptions(e);this.options.showLine||(t.borderWidth=0);let a={_loop:!0,_fullLoop:i.length===r.length,options:t};this.updateElement(n,void 0,a,e)}this.updateElements(r,0,r.length,e)}updateElements(e,t,n,r){let i=this._cachedMeta.rScale,a=r===`reset`;for(let o=t;o<t+n;o++){let t=e[o],n=this.resolveDataElementOptions(o,t.active?`active`:r),s=i.getPointPositionForValue(o,this.getParsed(o).r),c=a?i.xCenter:s.x,l=a?i.yCenter:s.y,u={x:c,y:l,angle:s.angle,skip:isNaN(c)||isNaN(l),options:n};this.updateElement(t,o,u,r)}}},ScatterController:class extends zm{static id=`scatter`;static defaults={datasetElementType:!1,dataElementType:`point`,showLine:!1,fill:!1};static overrides={interaction:{mode:`point`},scales:{x:{type:`linear`},y:{type:`linear`}}};getLabelAndValue(e){let t=this._cachedMeta,n=this.chart.data.labels||[],{xScale:r,yScale:i}=t,a=this.getParsed(e),o=r.getLabelForValue(a.x),s=i.getLabelForValue(a.y);return{label:n[e]||``,value:`(`+o+`, `+s+`)`}}update(e){let t=this._cachedMeta,{data:n=[]}=t,r=this.chart._animationsDisabled,{start:i,count:a}=$d(t,n,r);if(this._drawStart=i,this._drawCount=a,ef(t)&&(i=0,a=n.length),this.options.showLine){this.datasetElementType||this.addElements();let{dataset:i,_dataset:a}=t;i._chart=this.chart,i._datasetIndex=this.index,i._decimated=!!a._decimated,i.points=n;let o=this.resolveDatasetElementOptions(e);o.segment=this.options.segment,this.updateElement(i,void 0,{animated:!r,options:o},e)}else this.datasetElementType&&=(delete t.dataset,!1);this.updateElements(n,i,a,e)}addElements(){let{showLine:e}=this.options;!this.datasetElementType&&e&&(this.datasetElementType=this.chart.registry.getElement(`line`)),super.addElements()}updateElements(e,t,n,r){let i=r===`reset`,{iScale:a,vScale:o,_stacked:s,_dataset:c}=this._cachedMeta,l=this.resolveDataElementOptions(t,r),u=this.getSharedOptions(l),d=this.includeOptions(r,u),f=a.axis,p=o.axis,{spanGaps:m,segment:h}=this.options,g=Ed(m)?m:1/0,_=this.chart._animationsDisabled||i||r===`none`,v=t>0&&this.getParsed(t-1);for(let l=t;l<t+n;++l){let t=e[l],n=this.getParsed(l),m=_?t:{},y=F(n[p]),b=m[f]=a.getPixelForValue(n[f],l),x=m[p]=i||y?o.getBasePixel():o.getPixelForValue(s?this.applyStack(o,n,s):n[p],l);m.skip=isNaN(b)||isNaN(x)||y,m.stop=l>0&&Math.abs(n[f]-v[f])>g,h&&(m.parsed=n,m.raw=c.data[l]),d&&(m.options=u||this.resolveDataElementOptions(l,t.active?`active`:r)),_||this.updateElement(t,l,m,r),v=n}this.updateSharedOptions(u,r,l)}getMaxOverflow(){let e=this._cachedMeta,t=e.data||[];if(!this.options.showLine){let e=0;for(let n=t.length-1;n>=0;--n)e=Math.max(e,t[n].size(this.resolveDataElementOptions(n))/2);return e>0&&e}let n=e.dataset,r=n.options&&n.options.borderWidth||0;if(!t.length)return r;let i=t[0].size(this.resolveDataElementOptions(0)),a=t[t.length-1].size(this.resolveDataElementOptions(t.length-1));return Math.max(r,i,a)/2}}});function ch(){throw Error(`This method is not implemented: Check that a complete date adapter is provided.`)}var lh={_date:class e{static override(t){Object.assign(e.prototype,t)}options;constructor(e){this.options=e||{}}init(){}formats(){return ch()}parse(){return ch()}format(){return ch()}add(){return ch()}diff(){return ch()}startOf(){return ch()}endOf(){return ch()}}};function uh(e,t,n,r){let{controller:i,data:a,_sorted:o}=e,s=i._cachedMeta.iScale,c=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null;if(s&&t===s.axis&&t!==`r`&&o&&a.length){let o=s._reversePixels?Vd:Bd;if(!r){let r=o(a,t,n);if(c){let{vScale:t}=i._cachedMeta,{_parsed:n}=e,a=n.slice(0,r.lo+1).reverse().findIndex(e=>!F(e[t.axis]));r.lo-=Math.max(0,a);let o=n.slice(r.hi).findIndex(e=>!F(e[t.axis]));r.hi+=Math.max(0,o)}return r}if(i._sharedOptions){let e=a[0],r=typeof e.getRange==`function`&&e.getRange(t);if(r){let e=o(a,t,n-r),i=o(a,t,n+r);return{lo:e.lo,hi:i.hi}}}}return{lo:0,hi:a.length-1}}function dh(e,t,n,r,i){let a=e.getSortedVisibleDatasetMetas(),o=n[t];for(let e=0,n=a.length;e<n;++e){let{index:n,data:s}=a[e],{lo:c,hi:l}=uh(a[e],t,o,i);for(let e=c;e<=l;++e){let t=s[e];t.skip||r(t,n,e)}}}function fh(e){let t=e.indexOf(`x`)!==-1,n=e.indexOf(`y`)!==-1;return function(e,r){let i=t?Math.abs(e.x-r.x):0,a=n?Math.abs(e.y-r.y):0;return Math.sqrt(i**2+a**2)}}function ph(e,t,n,r,i){let a=[];return!i&&!e.isPointInArea(t)||dh(e,n,t,function(n,o,s){(i||jf(n,e.chartArea,0))&&n.inRange(t.x,t.y,r)&&a.push({element:n,datasetIndex:o,index:s})},!0),a}function mh(e,t,n,r){let i=[];function a(e,n,a){let{startAngle:o,endAngle:s}=e.getProps([`startAngle`,`endAngle`],r),{angle:c}=Md(e,{x:t.x,y:t.y});Id(c,o,s)&&i.push({element:e,datasetIndex:n,index:a})}return dh(e,n,t,a),i}function hh(e,t,n,r,i,a){let o=[],s=fh(n),c=1/0;function l(n,l,u){let d=n.inRange(t.x,t.y,i);if(r&&!d)return;let f=n.getCenterPoint(i);if(!(a||e.isPointInArea(f))&&!d)return;let p=s(t,f);p<c?(o=[{element:n,datasetIndex:l,index:u}],c=p):p===c&&o.push({element:n,datasetIndex:l,index:u})}return dh(e,n,t,l),o}function gh(e,t,n,r,i,a){return!a&&!e.isPointInArea(t)?[]:n===`r`&&!r?mh(e,t,n,i):hh(e,t,n,r,i,a)}function _h(e,t,n,r,i){let a=[],o=n===`x`?`inXRange`:`inYRange`,s=!1;return dh(e,n,t,(e,r,c)=>{e[o]&&e[o](t[n],i)&&(a.push({element:e,datasetIndex:r,index:c}),s||=e.inRange(t.x,t.y,i))}),r&&!s?[]:a}var vh={evaluateInteractionItems:dh,modes:{index(e,t,n,r){let i=Lp(t,e),a=n.axis||`x`,o=n.includeInvisible||!1,s=n.intersect?ph(e,i,a,r,o):gh(e,i,a,!1,r,o),c=[];return s.length?(e.getSortedVisibleDatasetMetas().forEach(e=>{let t=s[0].index,n=e.data[t];n&&!n.skip&&c.push({element:n,datasetIndex:e.index,index:t})}),c):[]},dataset(e,t,n,r){let i=Lp(t,e),a=n.axis||`xy`,o=n.includeInvisible||!1,s=n.intersect?ph(e,i,a,r,o):gh(e,i,a,!1,r,o);if(s.length>0){let t=s[0].datasetIndex,n=e.getDatasetMeta(t).data;s=[];for(let e=0;e<n.length;++e)s.push({element:n[e],datasetIndex:t,index:e})}return s},point(e,t,n,r){return ph(e,Lp(t,e),n.axis||`xy`,r,n.includeInvisible||!1)},nearest(e,t,n,r){let i=Lp(t,e),a=n.axis||`xy`,o=n.includeInvisible||!1;return gh(e,i,a,n.intersect,r,o)},x(e,t,n,r){return _h(e,Lp(t,e),`x`,n.intersect,r)},y(e,t,n,r){return _h(e,Lp(t,e),`y`,n.intersect,r)}}},yh=[`left`,`top`,`right`,`bottom`];function bh(e,t){return e.filter(e=>e.pos===t)}function xh(e,t){return e.filter(e=>yh.indexOf(e.pos)===-1&&e.box.axis===t)}function Sh(e,t){return e.sort((e,n)=>{let r=t?n:e,i=t?e:n;return r.weight===i.weight?r.index-i.index:r.weight-i.weight})}function Ch(e){let t=[],n,r,i,a,o,s;for(n=0,r=(e||[]).length;n<r;++n)i=e[n],{position:a,options:{stack:o,stackWeight:s=1}}=i,t.push({index:n,box:i,pos:a,horizontal:i.isHorizontal(),weight:i.weight,stack:o&&a+o,stackWeight:s});return t}function wh(e){let t={};for(let n of e){let{stack:e,pos:r,stackWeight:i}=n;if(!e||!yh.includes(r))continue;let a=t[e]||(t[e]={count:0,placed:0,weight:0,size:0});a.count++,a.weight+=i}return t}function Th(e,t){let n=wh(e),{vBoxMaxWidth:r,hBoxMaxHeight:i}=t,a,o,s;for(a=0,o=e.length;a<o;++a){s=e[a];let{fullSize:o}=s.box,c=n[s.stack],l=c&&s.stackWeight/c.weight;s.horizontal?(s.width=l?l*r:o&&t.availableWidth,s.height=i):(s.width=r,s.height=l?l*i:o&&t.availableHeight)}return n}function Eh(e){let t=Ch(e),n=Sh(t.filter(e=>e.box.fullSize),!0),r=Sh(bh(t,`left`),!0),i=Sh(bh(t,`right`)),a=Sh(bh(t,`top`),!0),o=Sh(bh(t,`bottom`)),s=xh(t,`x`),c=xh(t,`y`);return{fullSize:n,leftAndTop:r.concat(a),rightAndBottom:i.concat(c).concat(o).concat(s),chartArea:bh(t,`chartArea`),vertical:r.concat(i).concat(c),horizontal:a.concat(o).concat(s)}}function Dh(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function Oh(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function kh(e,t,n,r){let{pos:i,box:a}=n,o=e.maxPadding;if(!L(i)){n.size&&(e[i]-=n.size);let t=r[n.stack]||{size:0,count:1};t.size=Math.max(t.size,n.horizontal?a.height:a.width),n.size=t.size/t.count,e[i]+=n.size}a.getPadding&&Oh(o,a.getPadding());let s=Math.max(0,t.outerWidth-Dh(o,e,`left`,`right`)),c=Math.max(0,t.outerHeight-Dh(o,e,`top`,`bottom`)),l=s!==e.w,u=c!==e.h;return e.w=s,e.h=c,n.horizontal?{same:l,other:u}:{same:u,other:l}}function Ah(e){let t=e.maxPadding;function n(n){let r=Math.max(t[n]-e[n],0);return e[n]+=r,r}e.y+=n(`top`),e.x+=n(`left`),n(`right`),n(`bottom`)}function jh(e,t){let n=t.maxPadding;function r(e){let r={left:0,top:0,right:0,bottom:0};return e.forEach(e=>{r[e]=Math.max(t[e],n[e])}),r}return r(e?[`left`,`right`]:[`top`,`bottom`])}function Mh(e,t,n,r){let i=[],a,o,s,c,l,u;for(a=0,o=e.length,l=0;a<o;++a){s=e[a],c=s.box,c.update(s.width||t.w,s.height||t.h,jh(s.horizontal,t));let{same:o,other:d}=kh(t,n,s,r);l|=o&&i.length,u||=d,c.fullSize||i.push(s)}return l&&Mh(i,t,n,r)||u}function Nh(e,t,n,r,i){e.top=n,e.left=t,e.right=t+r,e.bottom=n+i,e.width=r,e.height=i}function Ph(e,t,n,r){let i=n.padding,{x:a,y:o}=t;for(let s of e){let e=s.box,c=r[s.stack]||{count:1,placed:0,weight:1},l=s.stackWeight/c.weight||1;if(s.horizontal){let r=t.w*l,a=c.size||e.height;dd(c.start)&&(o=c.start),e.fullSize?Nh(e,i.left,o,n.outerWidth-i.right-i.left,a):Nh(e,t.left+c.placed,o,r,a),c.start=o,c.placed+=r,o=e.bottom}else{let r=t.h*l,o=c.size||e.width;dd(c.start)&&(a=c.start),e.fullSize?Nh(e,a,i.top,o,n.outerHeight-i.bottom-i.top):Nh(e,a,t.top+c.placed,o,r),c.start=a,c.placed+=r,a=e.right}}t.x=a,t.y=o}var Fh={addBox(e,t){e.boxes||=[],t.fullSize=t.fullSize||!1,t.position=t.position||`top`,t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(e){t.draw(e)}}]},e.boxes.push(t)},removeBox(e,t){let n=e.boxes?e.boxes.indexOf(t):-1;n!==-1&&e.boxes.splice(n,1)},configure(e,t,n){t.fullSize=n.fullSize,t.position=n.position,t.weight=n.weight},update(e,t,n,r){if(!e)return;let i=Jf(e.options.layout.padding),a=Math.max(t-i.width,0),o=Math.max(n-i.height,0),s=Eh(e.boxes),c=s.vertical,l=s.horizontal;V(e.boxes,e=>{typeof e.beforeLayout==`function`&&e.beforeLayout()});let u=c.reduce((e,t)=>t.box.options&&t.box.options.display===!1?e:e+1,0)||1,d=Object.freeze({outerWidth:t,outerHeight:n,padding:i,availableWidth:a,availableHeight:o,vBoxMaxWidth:a/2/u,hBoxMaxHeight:o/2}),f=Object.assign({},i);Oh(f,Jf(r));let p=Object.assign({maxPadding:f,w:a,h:o,x:i.left,y:i.top},i),m=Th(c.concat(l),d);Mh(s.fullSize,p,d,m),Mh(c,p,d,m),Mh(l,p,d,m)&&Mh(c,p,d,m),Ah(p),Ph(s.leftAndTop,p,d,m),p.x+=p.w,p.y+=p.h,Ph(s.rightAndBottom,p,d,m),e.chartArea={left:p.left,top:p.top,right:p.left+p.w,bottom:p.top+p.h,height:p.h,width:p.w},V(s.chartArea,t=>{let n=t.box;Object.assign(n,e.chartArea),n.update(p.w,p.h,{left:0,top:0,right:0,bottom:0})})}},Ih=class{acquireContext(e,t){}releaseContext(e){return!1}addEventListener(e,t,n){}removeEventListener(e,t,n){}getDevicePixelRatio(){return 1}getMaximumSize(e,t,n,r){return t=Math.max(0,t||e.width),n||=e.height,{width:t,height:Math.max(0,r?Math.floor(t/r):n)}}isAttached(e){return!0}updateConfig(e){}},Lh=class extends Ih{acquireContext(e){return e&&e.getContext&&e.getContext(`2d`)||null}updateConfig(e){e.options.animation=!1}},Rh=`$chartjs`,zh={touchstart:`mousedown`,touchmove:`mousemove`,touchend:`mouseup`,pointerenter:`mouseenter`,pointerdown:`mousedown`,pointermove:`mousemove`,pointerup:`mouseup`,pointerleave:`mouseout`,pointerout:`mouseout`},Bh=e=>e===null||e===``;function Vh(e,t){let n=e.style,r=e.getAttribute(`height`),i=e.getAttribute(`width`);if(e[Rh]={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||`block`,n.boxSizing=n.boxSizing||`border-box`,Bh(i)){let t=Up(e,`width`);t!==void 0&&(e.width=t)}if(Bh(r)){if(e.style.height===``)e.height=e.width/(t||2);else{let t=Up(e,`height`);t!==void 0&&(e.height=t)}}return e}var Hh=Hp?{passive:!0}:!1;function Uh(e,t,n){e&&e.addEventListener(t,n,Hh)}function Wh(e,t,n){e&&e.canvas&&e.canvas.removeEventListener(t,n,Hh)}function Gh(e,t){let n=zh[e.type]||e.type,{x:r,y:i}=Lp(e,t);return{type:n,chart:t,native:e,x:r===void 0?null:r,y:i===void 0?null:i}}function Kh(e,t){for(let n of e)if(n===t||n.contains(t))return!0}function qh(e,t,n){let r=e.canvas,i=new MutationObserver(e=>{let t=!1;for(let n of e)t||=Kh(n.addedNodes,r),t&&=!Kh(n.removedNodes,r);t&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}function Jh(e,t,n){let r=e.canvas,i=new MutationObserver(e=>{let t=!1;for(let n of e)t||=Kh(n.removedNodes,r),t&&=!Kh(n.addedNodes,r);t&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}var Yh=new Map,Xh=0;function Zh(){let e=window.devicePixelRatio;e!==Xh&&(Xh=e,Yh.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function Qh(e,t){Yh.size||window.addEventListener(`resize`,Zh),Yh.set(e,t)}function $h(e){Yh.delete(e),Yh.size||window.removeEventListener(`resize`,Zh)}function eg(e,t,n){let r=e.canvas,i=r&&kp(r);if(!i)return;let a=Jd((e,t)=>{let r=i.clientWidth;n(e,t),r<i.clientWidth&&n()},window),o=new ResizeObserver(e=>{let t=e[0],n=t.contentRect.width,r=t.contentRect.height;(n!==0||r!==0)&&a(n,r)});return o.observe(i),Qh(e,a),o}function tg(e,t,n){n&&n.disconnect(),t===`resize`&&$h(e)}function ng(e,t,n){let r=e.canvas,i=Jd(t=>{e.ctx!==null&&n(Gh(t,e))},e);return Uh(r,t,i),i}var rg=class extends Ih{acquireContext(e,t){let n=e&&e.getContext&&e.getContext(`2d`);return n&&n.canvas===e?(Vh(e,t),n):null}releaseContext(e){let t=e.canvas;if(!t[Rh])return!1;let n=t[Rh].initial;[`height`,`width`].forEach(e=>{let r=n[e];F(r)?t.removeAttribute(e):t.setAttribute(e,r)});let r=n.style||{};return Object.keys(r).forEach(e=>{t.style[e]=r[e]}),t.width=t.width,delete t[Rh],!0}addEventListener(e,t,n){this.removeEventListener(e,t);let r=e.$proxies||={};r[t]=({attach:qh,detach:Jh,resize:eg}[t]||ng)(e,t,n)}removeEventListener(e,t){let n=e.$proxies||={},r=n[t];r&&(({attach:tg,detach:tg,resize:tg}[t]||Wh)(e,t,r),n[t]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,n,r){return Bp(e,t,n,r)}isAttached(e){let t=e&&kp(e);return!!(t&&t.isConnected)}};function ig(e){return!Op()||typeof OffscreenCanvas<`u`&&e instanceof OffscreenCanvas?Lh:rg}var ag=class{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(e){let{x:t,y:n}=this.getProps([`x`,`y`],e);return{x:t,y:n}}hasValue(){return Ed(this.x)&&Ed(this.y)}getProps(e,t){let n=this.$animations;if(!t||!n)return this;let r={};return e.forEach(e=>{r[e]=n[e]&&n[e].active()?n[e]._to:this[e]}),r}};function og(e,t){let n=e.options.ticks,r=sg(e),i=Math.min(n.maxTicksLimit||r,r),a=n.major.enabled?lg(t):[],o=a.length,s=a[0],c=a[o-1],l=[];if(o>i)return ug(t,l,a,o/i),l;let u=cg(a,t,i);if(o>0){let e,n,r=o>1?Math.round((c-s)/(o-1)):null;for(dg(t,l,u,F(r)?0:s-r,s),e=0,n=o-1;e<n;e++)dg(t,l,u,a[e],a[e+1]);return dg(t,l,u,c,F(r)?t.length:c+r),l}return dg(t,l,u),l}function sg(e){let t=e.options.offset,n=e._tickSize(),r=e._length/n+ +!t,i=e._maxLength/n;return Math.floor(Math.min(r,i))}function cg(e,t,n){let r=fg(e),i=t.length/n;if(!r)return Math.max(i,1);let a=wd(r);for(let e=0,t=a.length-1;e<t;e++){let t=a[e];if(t>i)return t}return Math.max(i,1)}function lg(e){let t=[],n,r;for(n=0,r=e.length;n<r;n++)e[n].major&&t.push(n);return t}function ug(e,t,n,r){let i=0,a=n[0],o;for(r=Math.ceil(r),o=0;o<e.length;o++)o===a&&(t.push(e[o]),i++,a=n[i*r])}function dg(e,t,n,r,i){let a=z(r,0),o=Math.min(z(i,e.length),e.length),s=0,c,l,u;for(n=Math.ceil(n),i&&(c=i-r,n=c/Math.floor(c/n)),u=a;u<0;)s++,u=Math.round(a+s*n);for(l=Math.max(a,0);l<o;l++)l===u&&(t.push(e[l]),s++,u=Math.round(a+s*n))}function fg(e){let t=e.length,n,r;if(t<2)return!1;for(r=e[0],n=1;n<t;++n)if(e[n]-e[n-1]!==r)return!1;return r}var pg=e=>e===`left`?`right`:e===`right`?`left`:e,mg=(e,t,n)=>t===`top`||t===`left`?e[t]+n:e[t]-n,hg=(e,t)=>Math.min(t||e,e);function gg(e,t){let n=[],r=e.length/t,i=e.length,a=0;for(;a<i;a+=r)n.push(e[Math.floor(a)]);return n}function _g(e,t,n){let r=e.ticks.length,i=Math.min(t,r-1),a=e._startPixel,o=e._endPixel,s=1e-6,c=e.getPixelForTick(i),l;if(!(n&&(l=r===1?Math.max(c-a,o-c):t===0?(e.getPixelForTick(1)-c)/2:(c-e.getPixelForTick(i-1))/2,c+=i<t?l:-l,c<a-s||c>o+s)))return c}function vg(e,t){V(e,e=>{let n=e.gc,r=n.length/2,i;if(r>t){for(i=0;i<r;++i)delete e.data[n[i]];n.splice(0,r)}})}function yg(e){return e.drawTicks?e.tickLength:0}function bg(e,t){if(!e.display)return 0;let n=q(e.font,t),r=Jf(e.padding);return(I(e.text)?e.text.length:1)*n.lineHeight+r.height}function xg(e,t){return Zf(e,{scale:t,type:`scale`})}function Sg(e,t,n){return Zf(e,{tick:n,index:t,type:`tick`})}function Cg(e,t,n){let r=Xd(e);return(n&&t!==`right`||!n&&t===`right`)&&(r=pg(r)),r}function wg(e,t,n,r){let{top:i,left:a,bottom:o,right:s,chart:c}=e,{chartArea:l,scales:u}=c,d=0,f,p,m,h=o-i,g=s-a;if(e.isHorizontal()){if(p=Zd(r,a,s),L(n)){let e=Object.keys(n)[0],r=n[e];m=u[e].getPixelForValue(r)+h-t}else m=n===`center`?(l.bottom+l.top)/2+h-t:mg(e,n,t);f=s-a}else{if(L(n)){let e=Object.keys(n)[0],r=n[e];p=u[e].getPixelForValue(r)-g+t}else p=n===`center`?(l.left+l.right)/2-g+t:mg(e,n,t);m=Zd(r,o,i),d=n===`left`?-W:W}return{titleX:p,titleY:m,maxWidth:f,rotation:d}}var Tg=class e extends ag{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,t){return e}getUserBounds(){let{_userMin:e,_userMax:t,_suggestedMin:n,_suggestedMax:r}=this;return e=Xu(e,1/0),t=Xu(t,-1/0),n=Xu(n,1/0),r=Xu(r,-1/0),{min:Xu(e,n),max:Xu(t,r),minDefined:R(e),maxDefined:R(t)}}getMinMax(e){let{min:t,max:n,minDefined:r,maxDefined:i}=this.getUserBounds(),a;if(r&&i)return{min:t,max:n};let o=this.getMatchingVisibleMetas();for(let s=0,c=o.length;s<c;++s)a=o[s].controller.getMinMax(this,e),r||(t=Math.min(t,a.min)),i||(n=Math.max(n,a.max));return t=i&&t>n?n:t,n=r&&t>n?t:n,{min:Xu(t,Xu(n,t)),max:Xu(n,Xu(t,n))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){let e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||=this._computeLabelItems(e)}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){B(this.options.beforeUpdate,[this])}update(e,t,n){let{beginAtZero:r,grace:i,ticks:a}=this.options,o=a.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=t,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||=(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=Xf(this,i,r),!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();let s=o<this.ticks.length;this._convertTicksToLabels(s?gg(this.ticks,o):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),a.display&&(a.autoSkip||a.source===`auto`)&&(this.ticks=og(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),s&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e=this.options.reverse,t,n;this.isHorizontal()?(t=this.left,n=this.right):(t=this.top,n=this.bottom,e=!e),this._startPixel=t,this._endPixel=n,this._reversePixels=e,this._length=n-t,this._alignToPixels=this.options.alignToPixels}afterUpdate(){B(this.options.afterUpdate,[this])}beforeSetDimensions(){B(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){B(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),B(this.options[e],[this])}beforeDataLimits(){this._callHooks(`beforeDataLimits`)}determineDataLimits(){}afterDataLimits(){this._callHooks(`afterDataLimits`)}beforeBuildTicks(){this._callHooks(`beforeBuildTicks`)}buildTicks(){return[]}afterBuildTicks(){this._callHooks(`afterBuildTicks`)}beforeTickToLabelConversion(){B(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){let t=this.options.ticks,n,r,i;for(n=0,r=e.length;n<r;n++)i=e[n],i.label=B(t.callback,[i.value,n,e],this)}afterTickToLabelConversion(){B(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){B(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){let e=this.options,t=e.ticks,n=hg(this.ticks.length,e.ticks.maxTicksLimit),r=t.minRotation||0,i=t.maxRotation,a=r,o,s,c;if(!this._isVisible()||!t.display||r>=i||n<=1||!this.isHorizontal()){this.labelRotation=r;return}let l=this._getLabelSizes(),u=l.widest.width,d=l.highest.height,f=G(this.chart.width-u,0,this.maxWidth);o=e.offset?this.maxWidth/n:f/(n-1),u+6>o&&(o=f/(n-(e.offset?.5:1)),s=this.maxHeight-yg(e.grid)-t.padding-bg(e.title,this.chart.options.font),c=Math.sqrt(u*u+d*d),a=Ad(Math.min(Math.asin(G((l.highest.height+6)/o,-1,1)),Math.asin(G(s/c,-1,1))-Math.asin(G(d/c,-1,1)))),a=Math.max(r,Math.min(i,a))),this.labelRotation=a}afterCalculateLabelRotation(){B(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){B(this.options.beforeFit,[this])}fit(){let e={width:0,height:0},{chart:t,options:{ticks:n,title:r,grid:i}}=this,a=this._isVisible(),o=this.isHorizontal();if(a){let a=bg(r,t.options.font);if(o?(e.width=this.maxWidth,e.height=yg(i)+a):(e.height=this.maxHeight,e.width=yg(i)+a),n.display&&this.ticks.length){let{first:t,last:r,widest:i,highest:a}=this._getLabelSizes(),s=n.padding*2,c=kd(this.labelRotation),l=Math.cos(c),u=Math.sin(c);if(o){let t=n.mirror?0:u*i.width+l*a.height;e.height=Math.min(this.maxHeight,e.height+t+s)}else{let t=n.mirror?0:l*i.width+u*a.height;e.width=Math.min(this.maxWidth,e.width+t+s)}this._calculatePadding(t,r,u,l)}}this._handleMargins(),o?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,t,n,r){let{ticks:{align:i,padding:a},position:o}=this.options,s=this.labelRotation!==0,c=o!==`top`&&this.axis===`x`;if(this.isHorizontal()){let o=this.getPixelForTick(0)-this.left,l=this.right-this.getPixelForTick(this.ticks.length-1),u=0,d=0;s?c?(u=r*e.width,d=n*t.height):(u=n*e.height,d=r*t.width):i===`start`?d=t.width:i===`end`?u=e.width:i!==`inner`&&(u=e.width/2,d=t.width/2),this.paddingLeft=Math.max((u-o+a)*this.width/(this.width-o),0),this.paddingRight=Math.max((d-l+a)*this.width/(this.width-l),0)}else{let n=t.height/2,r=e.height/2;i===`start`?(n=0,r=e.height):i===`end`&&(n=t.height,r=0),this.paddingTop=n+a,this.paddingBottom=r+a}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){B(this.options.afterFit,[this])}isHorizontal(){let{axis:e,position:t}=this.options;return t===`top`||t===`bottom`||e===`x`}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let t,n;for(t=0,n=e.length;t<n;t++)F(e[t].label)&&(e.splice(t,1),n--,t--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){let t=this.options.ticks.sampleSize,n=this.ticks;t<n.length&&(n=gg(n,t)),this._labelSizes=e=this._computeLabelSizes(n,n.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,t,n){let{ctx:r,_longestTextCache:i}=this,a=[],o=[],s=Math.floor(t/hg(t,n)),c=0,l=0,u,d,f,p,m,h,g,_,v,y,b;for(u=0;u<t;u+=s){if(p=e[u].label,m=this._resolveTickFontOptions(u),r.font=h=m.string,g=i[h]=i[h]||{data:{},gc:[]},_=m.lineHeight,v=y=0,!F(p)&&!I(p))v=Tf(r,g.data,g.gc,v,p),y=_;else if(I(p))for(d=0,f=p.length;d<f;++d)b=p[d],!F(b)&&!I(b)&&(v=Tf(r,g.data,g.gc,v,b),y+=_);a.push(v),o.push(y),c=Math.max(v,c),l=Math.max(y,l)}vg(i,t);let x=a.indexOf(c),S=o.indexOf(l),C=e=>({width:a[e]||0,height:o[e]||0});return{first:C(0),last:C(t-1),widest:C(x),highest:C(S),widths:a,heights:o}}getLabelForValue(e){return e}getPixelForValue(e,t){return NaN}getValueForPixel(e){}getPixelForTick(e){let t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);let t=this._startPixel+e*this._length;return Ld(this._alignToPixels?Df(this.chart,t,0):t)}getDecimalForPixel(e){let t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){let{min:e,max:t}=this;return e<0&&t<0?t:e>0&&t>0?e:0}getContext(e){let t=this.ticks||[];if(e>=0&&e<t.length){let n=t[e];return n.$context||=Sg(this.getContext(),e,n)}return this.$context||=xg(this.chart.getContext(),this)}_tickSize(){let e=this.options.ticks,t=kd(this.labelRotation),n=Math.abs(Math.cos(t)),r=Math.abs(Math.sin(t)),i=this._getLabelSizes(),a=e.autoSkipPadding||0,o=i?i.widest.width+a:0,s=i?i.highest.height+a:0;return this.isHorizontal()?s*n>o*r?o/n:s/r:s*r<o*n?s/n:o/r}_isVisible(){let e=this.options.display;return e===`auto`?this.getMatchingVisibleMetas().length>0:!!e}_computeGridLineItems(e){let t=this.axis,n=this.chart,r=this.options,{grid:i,position:a,border:o}=r,s=i.offset,c=this.isHorizontal(),l=this.ticks.length+ +!!s,u=yg(i),d=[],f=o.setContext(this.getContext()),p=f.display?f.width:0,m=p/2,h=function(e){return Df(n,e,p)},g,_,v,y,b,x,S,C,w,T,E,D;if(a===`top`)g=h(this.bottom),x=this.bottom-u,C=g-m,T=h(e.top)+m,D=e.bottom;else if(a===`bottom`)g=h(this.top),T=e.top,D=h(e.bottom)-m,x=g+m,C=this.top+u;else if(a===`left`)g=h(this.right),b=this.right-u,S=g-m,w=h(e.left)+m,E=e.right;else if(a===`right`)g=h(this.left),w=e.left,E=h(e.right)-m,b=g+m,S=this.left+u;else if(t===`x`){if(a===`center`)g=h((e.top+e.bottom)/2+.5);else if(L(a)){let e=Object.keys(a)[0],t=a[e];g=h(this.chart.scales[e].getPixelForValue(t))}T=e.top,D=e.bottom,x=g+m,C=x+u}else if(t===`y`){if(a===`center`)g=h((e.left+e.right)/2);else if(L(a)){let e=Object.keys(a)[0],t=a[e];g=h(this.chart.scales[e].getPixelForValue(t))}b=g-m,S=b-u,w=e.left,E=e.right}let O=z(r.ticks.maxTicksLimit,l),k=Math.max(1,Math.ceil(l/O));for(_=0;_<l;_+=k){let e=this.getContext(_),t=i.setContext(e),r=o.setContext(e),a=t.lineWidth,l=t.color,u=r.dash||[],f=r.dashOffset,p=t.tickWidth,m=t.tickColor,h=t.tickBorderDash||[],g=t.tickBorderDashOffset;v=_g(this,_,s),v!==void 0&&(y=Df(n,v,a),c?b=S=w=E=y:x=C=T=D=y,d.push({tx1:b,ty1:x,tx2:S,ty2:C,x1:w,y1:T,x2:E,y2:D,width:a,color:l,borderDash:u,borderDashOffset:f,tickWidth:p,tickColor:m,tickBorderDash:h,tickBorderDashOffset:g}))}return this._ticksLength=l,this._borderValue=g,d}_computeLabelItems(e){let t=this.axis,n=this.options,{position:r,ticks:i}=n,a=this.isHorizontal(),o=this.ticks,{align:s,crossAlign:c,padding:l,mirror:u}=i,d=yg(n.grid),f=d+l,p=u?-l:f,m=-kd(this.labelRotation),h=[],g,_,v,y,b,x,S,C,w,T,E,D,O=`middle`;if(r===`top`)x=this.bottom-p,S=this._getXAxisLabelAlignment();else if(r===`bottom`)x=this.top+p,S=this._getXAxisLabelAlignment();else if(r===`left`){let e=this._getYAxisLabelAlignment(d);S=e.textAlign,b=e.x}else if(r===`right`){let e=this._getYAxisLabelAlignment(d);S=e.textAlign,b=e.x}else if(t===`x`){if(r===`center`)x=(e.top+e.bottom)/2+f;else if(L(r)){let e=Object.keys(r)[0],t=r[e];x=this.chart.scales[e].getPixelForValue(t)+f}S=this._getXAxisLabelAlignment()}else if(t===`y`){if(r===`center`)b=(e.left+e.right)/2-f;else if(L(r)){let e=Object.keys(r)[0],t=r[e];b=this.chart.scales[e].getPixelForValue(t)}S=this._getYAxisLabelAlignment(d).textAlign}t===`y`&&(s===`start`?O=`top`:s===`end`&&(O=`bottom`));let k=this._getLabelSizes();for(g=0,_=o.length;g<_;++g){v=o[g],y=v.label;let e=i.setContext(this.getContext(g));C=this.getPixelForTick(g)+i.labelOffset,w=this._resolveTickFontOptions(g),T=w.lineHeight,E=I(y)?y.length:1;let t=E/2,n=e.color,s=e.textStrokeColor,l=e.textStrokeWidth,d=S;a?(b=C,S===`inner`&&(d=g===_-1?this.options.reverse?`left`:`right`:g===0?this.options.reverse?`right`:`left`:`center`),D=r===`top`?c===`near`||m!==0?-E*T+T/2:c===`center`?-k.highest.height/2-t*T+T:-k.highest.height+T/2:c===`near`||m!==0?T/2:c===`center`?k.highest.height/2-t*T:k.highest.height-E*T,u&&(D*=-1),m!==0&&!e.showLabelBackdrop&&(b+=T/2*Math.sin(m))):(x=C,D=(1-E)*T/2);let f;if(e.showLabelBackdrop){let t=Jf(e.backdropPadding),n=k.heights[g],r=k.widths[g],i=D-t.top,a=0-t.left;switch(O){case`middle`:i-=n/2;break;case`bottom`:i-=n}switch(S){case`center`:a-=r/2;break;case`right`:a-=r;break;case`inner`:g===_-1?a-=r:g>0&&(a-=r/2)}f={left:a,top:i,width:r+t.width,height:n+t.height,color:e.backdropColor}}h.push({label:y,font:w,textOffset:D,options:{rotation:m,color:n,strokeColor:s,strokeWidth:l,textAlign:d,textBaseline:O,translation:[b,x],backdrop:f}})}return h}_getXAxisLabelAlignment(){let{position:e,ticks:t}=this.options;if(-kd(this.labelRotation))return e===`top`?`left`:`right`;let n=`center`;return t.align===`start`?n=`left`:t.align===`end`?n=`right`:t.align===`inner`&&(n=`inner`),n}_getYAxisLabelAlignment(e){let{position:t,ticks:{crossAlign:n,mirror:r,padding:i}}=this.options,a=this._getLabelSizes(),o=e+i,s=a.widest.width,c,l;return t===`left`?r?(l=this.right+i,n===`near`?c=`left`:n===`center`?(c=`center`,l+=s/2):(c=`right`,l+=s)):(l=this.right-o,n===`near`?c=`right`:n===`center`?(c=`center`,l-=s/2):(c=`left`,l=this.left)):t===`right`?r?(l=this.left+i,n===`near`?c=`right`:n===`center`?(c=`center`,l-=s/2):(c=`left`,l-=s)):(l=this.left+o,n===`near`?c=`left`:n===`center`?(c=`center`,l+=s/2):(c=`right`,l=this.right)):c=`right`,{textAlign:c,x:l}}_computeLabelArea(){if(this.options.ticks.mirror)return;let e=this.chart,t=this.options.position;if(t===`left`||t===`right`)return{top:0,left:this.left,bottom:e.height,right:this.right};if(t===`top`||t===`bottom`)return{top:this.top,left:0,bottom:this.bottom,right:e.width}}drawBackground(){let{ctx:e,options:{backgroundColor:t},left:n,top:r,width:i,height:a}=this;t&&(e.save(),e.fillStyle=t,e.fillRect(n,r,i,a),e.restore())}getLineWidthForValue(e){let t=this.options.grid;if(!this._isVisible()||!t.display)return 0;let n=this.ticks.findIndex(t=>t.value===e);return n>=0?t.setContext(this.getContext(n)).lineWidth:0}drawGrid(e){let t=this.options.grid,n=this.ctx,r=this._gridLineItems||=this._computeGridLineItems(e),i,a,o=(e,t,r)=>{r.width&&r.color&&(n.save(),n.lineWidth=r.width,n.strokeStyle=r.color,n.setLineDash(r.borderDash||[]),n.lineDashOffset=r.borderDashOffset,n.beginPath(),n.moveTo(e.x,e.y),n.lineTo(t.x,t.y),n.stroke(),n.restore())};if(t.display)for(i=0,a=r.length;i<a;++i){let e=r[i];t.drawOnChartArea&&o({x:e.x1,y:e.y1},{x:e.x2,y:e.y2},e),t.drawTicks&&o({x:e.tx1,y:e.ty1},{x:e.tx2,y:e.ty2},{color:e.tickColor,width:e.tickWidth,borderDash:e.tickBorderDash,borderDashOffset:e.tickBorderDashOffset})}}drawBorder(){let{chart:e,ctx:t,options:{border:n,grid:r}}=this,i=n.setContext(this.getContext()),a=n.display?i.width:0;if(!a)return;let o=r.setContext(this.getContext(0)).lineWidth,s=this._borderValue,c,l,u,d;this.isHorizontal()?(c=Df(e,this.left,a)-a/2,l=Df(e,this.right,o)+o/2,u=d=s):(u=Df(e,this.top,a)-a/2,d=Df(e,this.bottom,o)+o/2,c=l=s),t.save(),t.lineWidth=i.width,t.strokeStyle=i.color,t.beginPath(),t.moveTo(c,u),t.lineTo(l,d),t.stroke(),t.restore()}drawLabels(e){if(!this.options.ticks.display)return;let t=this.ctx,n=this._computeLabelArea();n&&Mf(t,n);let r=this.getLabelItems(e);for(let e of r){let n=e.options,r=e.font,i=e.label,a=e.textOffset;zf(t,i,0,a,r,n)}n&&Nf(t)}drawTitle(){let{ctx:e,options:{position:t,title:n,reverse:r}}=this;if(!n.display)return;let i=q(n.font),a=Jf(n.padding),o=n.align,s=i.lineHeight/2;t===`bottom`||t===`center`||L(t)?(s+=a.bottom,I(n.text)&&(s+=i.lineHeight*(n.text.length-1))):s+=a.top;let{titleX:c,titleY:l,maxWidth:u,rotation:d}=wg(this,s,t,o);zf(e,n.text,0,0,i,{color:n.color,maxWidth:u,rotation:d,textAlign:Cg(o,t,r),textBaseline:`middle`,translation:[c,l],strokeColor:n.strokeColor,strokeWidth:n.strokeWidth})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){let t=this.options,n=t.ticks&&t.ticks.z||0,r=z(t.grid&&t.grid.z,-1),i=z(t.border&&t.border.z,0);return!this._isVisible()||this.draw!==e.prototype.draw?[{z:n,draw:e=>{this.draw(e)}}]:[{z:r,draw:e=>{this.drawBackground(),this.drawGrid(e),this.drawTitle()}},{z:i,draw:()=>{this.drawBorder()}},{z:n,draw:e=>{this.drawLabels(e)}}]}getMatchingVisibleMetas(e){let t=this.chart.getSortedVisibleDatasetMetas(),n=this.axis+`AxisID`,r=[],i,a;for(i=0,a=t.length;i<a;++i){let a=t[i];a[n]!==this.id||e&&a.type!==e||r.push(a)}return r}_resolveTickFontOptions(e){return q(this.options.ticks.setContext(this.getContext(e)).font)}_maxDigits(){let e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}},Eg=class{constructor(e,t,n){this.type=e,this.scope=t,this.override=n,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){let t=Object.getPrototypeOf(e),n;kg(t)&&(n=this.register(t));let r=this.items,i=e.id,a=this.scope+`.`+i;if(!i)throw Error(`class does not have id: `+e);return i in r||(r[i]=e,Dg(e,a,n),this.override&&K.override(e.id,e.overrides)),a}get(e){return this.items[e]}unregister(e){let t=this.items,n=e.id,r=this.scope;n in t&&delete t[n],r&&n in K[r]&&(delete K[r][n],this.override&&delete bf[n])}};function Dg(e,t,n){let r=rd(Object.create(null),[n?K.get(n):{},K.get(t),e.defaults]);K.set(t,r),e.defaultRoutes&&Og(t,e.defaultRoutes),e.descriptors&&K.describe(t,e.descriptors)}function Og(e,t){Object.keys(t).forEach(n=>{let r=n.split(`.`),i=r.pop(),a=[e].concat(r).join(`.`),o=t[n].split(`.`),s=o.pop(),c=o.join(`.`);K.route(a,i,c,s)})}function kg(e){return`id`in e&&`defaults`in e}var Ag=new class{constructor(){this.controllers=new Eg(zm,`datasets`,!0),this.elements=new Eg(ag,`elements`),this.plugins=new Eg(Object,`plugins`),this.scales=new Eg(Tg,`scales`),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each(`register`,e)}remove(...e){this._each(`unregister`,e)}addControllers(...e){this._each(`register`,e,this.controllers)}addElements(...e){this._each(`register`,e,this.elements)}addPlugins(...e){this._each(`register`,e,this.plugins)}addScales(...e){this._each(`register`,e,this.scales)}getController(e){return this._get(e,this.controllers,`controller`)}getElement(e){return this._get(e,this.elements,`element`)}getPlugin(e){return this._get(e,this.plugins,`plugin`)}getScale(e){return this._get(e,this.scales,`scale`)}removeControllers(...e){this._each(`unregister`,e,this.controllers)}removeElements(...e){this._each(`unregister`,e,this.elements)}removePlugins(...e){this._each(`unregister`,e,this.plugins)}removeScales(...e){this._each(`unregister`,e,this.scales)}_each(e,t,n){[...t].forEach(t=>{let r=n||this._getRegistryForType(t);n||r.isForType(t)||r===this.plugins&&t.id?this._exec(e,r,t):V(t,t=>{let r=n||this._getRegistryForType(t);this._exec(e,r,t)})})}_exec(e,t,n){let r=ud(e);B(n[`before`+r],[],n),t[e](n),B(n[`after`+r],[],n)}_getRegistryForType(e){for(let t=0;t<this._typedRegistries.length;t++){let n=this._typedRegistries[t];if(n.isForType(e))return n}return this.plugins}_get(e,t,n){let r=t.get(e);if(r===void 0)throw Error(`"`+e+`" is not a registered `+n+`.`);return r}},jg=class{constructor(){this._init=void 0}notify(e,t,n,r){if(t===`beforeInit`&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,`install`)),this._init===void 0)return;let i=r?this._descriptors(e).filter(r):this._descriptors(e),a=this._notify(i,e,t,n);return t===`afterDestroy`&&(this._notify(i,e,`stop`),this._notify(this._init,e,`uninstall`),this._init=void 0),a}_notify(e,t,n,r){r||={};for(let i of e){let e=i.plugin,a=e[n];if(B(a,[t,r,i.options],e)===!1&&r.cancelable)return!1}return!0}invalidate(){F(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;let t=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),t}_createDescriptors(e,t){let n=e&&e.config,r=z(n.options&&n.options.plugins,{}),i=Mg(n);return r===!1&&!t?[]:Pg(e,i,r,t)}_notifyStateChanges(e){let t=this._oldCache||[],n=this._cache,r=(e,t)=>e.filter(e=>!t.some(t=>e.plugin.id===t.plugin.id));this._notify(r(t,n),e,`stop`),this._notify(r(n,t),e,`start`)}};function Mg(e){let t={},n=[],r=Object.keys(Ag.plugins.items);for(let e=0;e<r.length;e++)n.push(Ag.getPlugin(r[e]));let i=e.plugins||[];for(let e=0;e<i.length;e++){let r=i[e];n.indexOf(r)===-1&&(n.push(r),t[r.id]=!0)}return{plugins:n,localIds:t}}function Ng(e,t){return!t&&e===!1?null:e===!0?{}:e}function Pg(e,{plugins:t,localIds:n},r,i){let a=[],o=e.getContext();for(let s of t){let t=s.id,c=Ng(r[t],i);c!==null&&a.push({plugin:s,options:Fg(e.config,{plugin:s,local:n[t]},c,o)})}return a}function Fg(e,{plugin:t,local:n},r,i){let a=e.pluginScopeKeys(t),o=e.getOptionScopes(r,a);return n&&t.defaults&&o.push(t.defaults),e.createResolver(o,i,[``],{scriptable:!1,indexable:!1,allKeys:!0})}function Ig(e,t){let n=K.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||n.indexAxis||`x`}function Lg(e,t){let n=e;return e===`_index_`?n=t:e===`_value_`&&(n=t===`x`?`y`:`x`),n}function Rg(e,t){return e===t?`_index_`:`_value_`}function zg(e){if(e===`x`||e===`y`||e===`r`)return e}function Bg(e){if(e===`top`||e===`bottom`)return`x`;if(e===`left`||e===`right`)return`y`}function Vg(e,...t){if(zg(e))return e;for(let n of t){let t=n.axis||Bg(n.position)||e.length>1&&zg(e[0].toLowerCase());if(t)return t}throw Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function Hg(e,t,n){if(n[t+`AxisID`]===e)return{axis:t}}function Ug(e,t){if(t.data&&t.data.datasets){let n=t.data.datasets.filter(t=>t.xAxisID===e||t.yAxisID===e);if(n.length)return Hg(e,`x`,n[0])||Hg(e,`y`,n[0])}return{}}function Wg(e,t){let n=bf[e.type]||{scales:{}},r=t.scales||{},i=Ig(e.type,t),a=Object.create(null);return Object.keys(r).forEach(t=>{let o=r[t];if(!L(o))return console.error(`Invalid scale configuration for scale: ${t}`);if(o._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${t}`);let s=Vg(t,o,Ug(t,e),K.scales[o.type]),c=Rg(s,i),l=n.scales||{};a[t]=id(Object.create(null),[{axis:s},o,l[s],l[c]])}),e.data.datasets.forEach(n=>{let i=n.type||e.type,o=n.indexAxis||Ig(i,t),s=(bf[i]||{}).scales||{};Object.keys(s).forEach(e=>{let t=Lg(e,o),i=n[t+`AxisID`]||t;a[i]=a[i]||Object.create(null),id(a[i],[{axis:t},r[i],s[e]])})}),Object.keys(a).forEach(e=>{let t=a[e];id(t,[K.scales[t.type],K.scale])}),a}function Gg(e){let t=e.options||={};t.plugins=z(t.plugins,{}),t.scales=Wg(e,t)}function Kg(e){return e||={},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function qg(e){return e||={},e.data=Kg(e.data),Gg(e),e}var Jg=new Map,Yg=new Set;function Xg(e,t){let n=Jg.get(e);return n||(n=t(),Jg.set(e,n),Yg.add(n)),n}var Zg=(e,t,n)=>{let r=ld(t,n);r!==void 0&&e.add(r)},Qg=class{constructor(e){this._config=qg(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=Kg(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){let e=this._config;this.clearCache(),Gg(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return Xg(e,()=>[[`datasets.${e}`,``]])}datasetAnimationScopeKeys(e,t){return Xg(`${e}.transition.${t}`,()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,``]])}datasetElementScopeKeys(e,t){return Xg(`${e}-${t}`,()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,``]])}pluginScopeKeys(e){let t=e.id,n=this.type;return Xg(`${n}-plugin-${t}`,()=>[[`plugins.${t}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,t){let n=this._scopeCache,r=n.get(e);return(!r||t)&&(r=new Map,n.set(e,r)),r}getOptionScopes(e,t,n){let{options:r,type:i}=this,a=this._cachedScopes(e,n),o=a.get(t);if(o)return o;let s=new Set;t.forEach(t=>{e&&(s.add(e),t.forEach(t=>Zg(s,e,t))),t.forEach(e=>Zg(s,r,e)),t.forEach(e=>Zg(s,bf[i]||{},e)),t.forEach(e=>Zg(s,K,e)),t.forEach(e=>Zg(s,xf,e))});let c=Array.from(s);return c.length===0&&c.push(Object.create(null)),Yg.has(t)&&a.set(t,c),c}chartOptionScopes(){let{options:e,type:t}=this;return[e,bf[t]||{},K.datasets[t]||{},{type:t},K,xf]}resolveNamedOptions(e,t,n,r=[``]){let i={$shared:!0},{resolver:a,subPrefixes:o}=$g(this._resolverCache,e,r),s=a;if(t_(a,t)){i.$shared=!1,n=fd(n)?n():n;let t=this.createResolver(e,n,o);s=$f(a,n,t)}for(let e of t)i[e]=s[e];return i}createResolver(e,t,n=[``],r){let{resolver:i}=$g(this._resolverCache,e,n);return L(t)?$f(i,t,void 0,r):i}};function $g(e,t,n){let r=e.get(t);r||(r=new Map,e.set(t,r));let i=n.join(),a=r.get(i);return a||(a={resolver:Qf(t,n),subPrefixes:n.filter(e=>!e.toLowerCase().includes(`hover`))},r.set(i,a)),a}var e_=e=>L(e)&&Object.getOwnPropertyNames(e).some(t=>fd(e[t]));function t_(e,t){let{isScriptable:n,isIndexable:r}=ep(e);for(let i of t){let t=n(i),a=r(i),o=(a||t)&&e[i];if(t&&(fd(o)||e_(o))||a&&I(o))return!0}return!1}var n_=`4.6.1`,r_=[`top`,`bottom`,`left`,`right`,`chartArea`];function i_(e,t){return e===`top`||e===`bottom`||r_.indexOf(e)===-1&&t===`x`}function a_(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}function o_(e){let t=e.chart,n=t.options.animation;t.notifyPlugins(`afterRender`),B(n&&n.onComplete,[e],t)}function s_(e){let t=e.chart,n=t.options.animation;B(n&&n.onProgress,[e],t)}function c_(e){return Op()&&typeof e==`string`?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}var l_={},u_=e=>{let t=c_(e);return Object.values(l_).filter(e=>e.canvas===t).pop()};function d_(e,t,n){let r=Object.keys(e);for(let i of r){let r=+i;if(r>=t){let a=e[i];delete e[i],(n>0||r>t)&&(e[r+n]=a)}}}function f_(e,t,n,r){return!n||e.type===`mouseout`?null:r?t:e}var p_=class{static defaults=K;static instances=l_;static overrides=bf;static registry=Ag;static version=n_;static getChart=u_;static register(...e){Ag.add(...e),m_()}static unregister(...e){Ag.remove(...e),m_()}constructor(e,t){let n=this.config=new Qg(t),r=c_(e),i=u_(r);if(i)throw Error(`Canvas is already in use. Chart with ID '`+i.id+`' must be destroyed before the canvas with ID '`+i.canvas.id+`' can be reused.`);let a=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||(ig(r))),this.platform.updateConfig(n);let o=this.platform.acquireContext(r,a.aspectRatio),s=o&&o.canvas,c=s&&s.height,l=s&&s.width;this.id=Yu(),this.ctx=o,this.canvas=s,this.width=l,this.height=c,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new jg,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=Yd(e=>this.update(e),a.resizeDelay||0),this._dataChanges=[],l_[this.id]=this,!o||!s?console.error(`Failed to create chart: can't acquire context from the given item`):(pm.listen(this,`complete`,o_),pm.listen(this,`progress`,s_),this._initialize(),this.attached&&this.update())}get aspectRatio(){let{options:{aspectRatio:e,maintainAspectRatio:t},width:n,height:r,_aspectRatio:i}=this;return F(e)?t&&i?i:r?n/r:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return Ag}_initialize(){return this.notifyPlugins(`beforeInit`),this.options.responsive?this.resize():Vp(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins(`afterInit`),this}clear(){return Of(this.canvas,this.ctx),this}stop(){return pm.stop(this),this}resize(e,t){pm.running(this)?this._resizeBeforeDraw={width:e,height:t}:this._resize(e,t)}_resize(e,t){let n=this.options,r=this.canvas,i=n.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(r,e,t,i),o=n.devicePixelRatio||this.platform.getDevicePixelRatio(),s=this.width?`resize`:`attach`;this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,Vp(this,o,!0)&&(this.notifyPlugins(`resize`,{size:a}),B(n.onResize,[this,a],this),this.attached&&this._doResize(s)&&this.render())}ensureScalesHaveIDs(){V(this.options.scales||{},(e,t)=>{e.id=t})}buildOrUpdateScales(){let e=this.options,t=e.scales,n=this.scales,r=Object.keys(n).reduce((e,t)=>(e[t]=!1,e),{}),i=[];t&&(i=i.concat(Object.keys(t).map(e=>{let n=t[e],r=Vg(e,n),i=r===`r`,a=r===`x`;return{options:n,dposition:i?`chartArea`:a?`bottom`:`left`,dtype:i?`radialLinear`:a?`category`:`linear`}}))),V(i,t=>{let i=t.options,a=i.id,o=Vg(a,i),s=z(i.type,t.dtype);(i.position===void 0||i_(i.position,o)!==i_(t.dposition))&&(i.position=t.dposition),r[a]=!0;let c=null;a in n&&n[a].type===s?c=n[a]:(c=new(Ag.getScale(s))({id:a,type:s,ctx:this.ctx,chart:this}),n[c.id]=c),c.init(i,e)}),V(r,(e,t)=>{e||delete n[t]}),V(n,e=>{Fh.configure(this,e,e.options),Fh.addBox(this,e)})}_updateMetasets(){let e=this._metasets,t=this.data.datasets.length,n=e.length;if(e.sort((e,t)=>e.index-t.index),n>t){for(let e=t;e<n;++e)this._destroyDatasetMeta(e);e.splice(t,n-t)}this._sortedMetasets=e.slice(0).sort(a_(`order`,`index`))}_removeUnreferencedMetasets(){let{_metasets:e,data:{datasets:t}}=this;e.length>t.length&&delete this._stacks,e.forEach((e,n)=>{t.filter(t=>t===e._dataset).length===0&&this._destroyDatasetMeta(n)})}buildOrUpdateControllers(){let e=[],t=this.data.datasets,n,r;for(this._removeUnreferencedMetasets(),n=0,r=t.length;n<r;n++){let r=t[n],i=this.getDatasetMeta(n),a=r.type||this.config.type;if(i.type&&i.type!==a&&(this._destroyDatasetMeta(n),i=this.getDatasetMeta(n)),i.type=a,i.indexAxis=r.indexAxis||Ig(a,this.options),i.order=r.order||0,i.index=n,i.label=``+r.label,i.visible=this.isDatasetVisible(n),i.controller)i.controller.updateIndex(n),i.controller.linkScales();else{let t=Ag.getController(a),{datasetElementType:r,dataElementType:o}=K.datasets[a];Object.assign(t,{dataElementType:Ag.getElement(o),datasetElementType:r&&Ag.getElement(r)}),i.controller=new t(this,n),e.push(i.controller)}}return this._updateMetasets(),e}_resetElements(){V(this.data.datasets,(e,t)=>{this.getDatasetMeta(t).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins(`reset`)}update(e){let t=this.config;t.update();let n=this._options=t.createResolver(t.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins(`beforeUpdate`,{mode:e,cancelable:!0})===!1)return;let i=this.buildOrUpdateControllers();this.notifyPlugins(`beforeElementsUpdate`);let a=0;for(let e=0,t=this.data.datasets.length;e<t;e++){let{controller:t}=this.getDatasetMeta(e),n=!r&&i.indexOf(t)===-1;t.buildOrUpdateElements(n),a=Math.max(+t.getMaxOverflow(),a)}a=this._minPadding=n.layout.autoPadding?a:0,this._updateLayout(a),r||V(i,e=>{e.reset()}),this._updateDatasets(e),this.notifyPlugins(`afterUpdate`,{mode:e}),this._layers.sort(a_(`z`,`_idx`));let{_active:o,_lastEvent:s}=this;s?this._eventHandler(s,!0):o.length&&this._updateHoverStyles(o,o,!0),this.render()}_updateScales(){V(this.scales,e=>{Fh.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){let e=this.options;pd(new Set(Object.keys(this._listeners)),new Set(e.events))&&!!this._responsiveListeners===e.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){let{_hiddenIndices:e}=this,t=this._getUniformDataChanges()||[];for(let{method:n,start:r,count:i}of t)d_(e,r,n===`_removeElements`?-i:i)}_getUniformDataChanges(){let e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];let t=this.data.datasets.length,n=t=>new Set(e.filter(e=>e[0]===t).map((e,t)=>t+`,`+e.splice(1).join(`,`))),r=n(0);for(let e=1;e<t;e++)if(!pd(r,n(e)))return;return Array.from(r).map(e=>e.split(`,`)).map(e=>({method:e[1],start:+e[2],count:+e[3]}))}_updateLayout(e){if(this.notifyPlugins(`beforeLayout`,{cancelable:!0})===!1)return;Fh.update(this,this.width,this.height,e);let t=this.chartArea,n=t.width<=0||t.height<=0;this._layers=[],V(this.boxes,e=>{n&&e.position===`chartArea`||(e.configure&&e.configure(),this._layers.push(...e._layers()))},this),this._layers.forEach((e,t)=>{e._idx=t}),this.notifyPlugins(`afterLayout`)}_updateDatasets(e){if(this.notifyPlugins(`beforeDatasetsUpdate`,{mode:e,cancelable:!0})!==!1){for(let e=0,t=this.data.datasets.length;e<t;++e)this.getDatasetMeta(e).controller.configure();for(let t=0,n=this.data.datasets.length;t<n;++t)this._updateDataset(t,fd(e)?e({datasetIndex:t}):e);this.notifyPlugins(`afterDatasetsUpdate`,{mode:e})}}_updateDataset(e,t){let n=this.getDatasetMeta(e),r={meta:n,index:e,mode:t,cancelable:!0};this.notifyPlugins(`beforeDatasetUpdate`,r)!==!1&&(n.controller._update(t),r.cancelable=!1,this.notifyPlugins(`afterDatasetUpdate`,r))}render(){this.notifyPlugins(`beforeRender`,{cancelable:!0})!==!1&&(pm.has(this)?this.attached&&!pm.running(this)&&pm.start(this):(this.draw(),o_({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){let{width:e,height:t}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(e,t)}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins(`beforeDraw`,{cancelable:!0})===!1)return;let t=this._layers;for(e=0;e<t.length&&t[e].z<=0;++e)t[e].draw(this.chartArea);for(this._drawDatasets();e<t.length;++e)t[e].draw(this.chartArea);this.notifyPlugins(`afterDraw`)}_getSortedDatasetMetas(e){let t=this._sortedMetasets,n=[],r,i;for(r=0,i=t.length;r<i;++r){let i=t[r];(!e||i.visible)&&n.push(i)}return n}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins(`beforeDatasetsDraw`,{cancelable:!0})===!1)return;let e=this.getSortedVisibleDatasetMetas();for(let t=e.length-1;t>=0;--t)this._drawDataset(e[t]);this.notifyPlugins(`afterDatasetsDraw`)}_drawDataset(e){let t=this.ctx,n={meta:e,index:e.index,cancelable:!0},r=fm(this,e);this.notifyPlugins(`beforeDatasetDraw`,n)!==!1&&(r&&Mf(t,r),e.controller.draw(),r&&Nf(t),n.cancelable=!1,this.notifyPlugins(`afterDatasetDraw`,n))}isPointInArea(e){return jf(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,t,n,r){let i=vh.modes[t];return typeof i==`function`?i(this,e,n,r):[]}getDatasetMeta(e){let t=this.data.datasets[e],n=this._metasets,r=n.filter(e=>e&&e._dataset===t).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t&&t.order||0,index:e,_dataset:t,_parsed:[],_sorted:!1},n.push(r)),r}getContext(){return this.$context||=Zf(null,{chart:this,type:`chart`})}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){let t=this.data.datasets[e];if(!t)return!1;let n=this.getDatasetMeta(e);return typeof n.hidden==`boolean`?!n.hidden:!t.hidden}setDatasetVisibility(e,t){let n=this.getDatasetMeta(e);n.hidden=!t}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,t,n){let r=n?`show`:`hide`,i=this.getDatasetMeta(e),a=i.controller._resolveAnimations(void 0,r);dd(t)?(i.data[t].hidden=!n,this.update()):(this.setDatasetVisibility(e,n),a.update(i,{visible:n}),this.update(t=>t.datasetIndex===e?r:void 0))}hide(e,t){this._updateVisibility(e,t,!1)}show(e,t){this._updateVisibility(e,t,!0)}_destroyDatasetMeta(e){let t=this._metasets[e];t&&t.controller&&t.controller._destroy(),delete this._metasets[e]}_stop(){let e,t;for(this.stop(),pm.remove(this),e=0,t=this.data.datasets.length;e<t;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins(`beforeDestroy`);let{canvas:e,ctx:t}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),Of(e,t),this.platform.releaseContext(t),this.canvas=null,this.ctx=null),delete l_[this.id],this.notifyPlugins(`afterDestroy`)}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){let e=this._listeners,t=this.platform,n=(n,r)=>{t.addEventListener(this,n,r),e[n]=r},r=(e,t,n)=>{e.offsetX=t,e.offsetY=n,this._eventHandler(e)};V(this.options.events,e=>n(e,r))}bindResponsiveEvents(){this._responsiveListeners||={};let e=this._responsiveListeners,t=this.platform,n=(n,r)=>{t.addEventListener(this,n,r),e[n]=r},r=(n,r)=>{e[n]&&(t.removeEventListener(this,n,r),delete e[n])},i=(e,t)=>{this.canvas&&this.resize(e,t)},a,o=()=>{r(`attach`,o),this.attached=!0,this.resize(),n(`resize`,i),n(`detach`,a)};a=()=>{this.attached=!1,r(`resize`,i),this._stop(),this._resize(0,0),n(`attach`,o)},t.isAttached(this.canvas)?o():a()}unbindEvents(){V(this._listeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._listeners={},V(this._responsiveListeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,t,n){let r=n?`set`:`remove`,i,a,o,s;for(t===`dataset`&&(i=this.getDatasetMeta(e[0].datasetIndex),i.controller[`_`+r+`DatasetHoverStyle`]()),o=0,s=e.length;o<s;++o){a=e[o];let t=a&&this.getDatasetMeta(a.datasetIndex).controller;t&&t[r+`HoverStyle`](a.element,a.datasetIndex,a.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){let t=this._active||[],n=e.map(({datasetIndex:e,index:t})=>{let n=this.getDatasetMeta(e);if(!n)throw Error(`No dataset found at index `+e);return{datasetIndex:e,element:n.data[t],index:t}});$u(n,t)||(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,t))}notifyPlugins(e,t,n){return this._plugins.notify(this,e,t,n)}isPluginEnabled(e){return this._plugins._cache.filter(t=>t.plugin.id===e).length===1}_updateHoverStyles(e,t,n){let r=this.options.hover,i=(e,t)=>e.filter(e=>!t.some(t=>e.datasetIndex===t.datasetIndex&&e.index===t.index)),a=i(t,e),o=n?e:i(e,t);a.length&&this.updateHoverStyle(a,r.mode,!1),o.length&&r.mode&&this.updateHoverStyle(o,r.mode,!0)}_eventHandler(e,t){let n={event:e,replay:t,cancelable:!0,inChartArea:this.isPointInArea(e)},r=t=>(t.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins(`beforeEvent`,n,r)===!1)return;let i=this._handleEvent(e,t,n.inChartArea);return n.cancelable=!1,this.notifyPlugins(`afterEvent`,n,r),(i||n.changed)&&this.render(),this}_handleEvent(e,t,n){let{_active:r=[],options:i}=this,a=t,o=this._getActiveElements(e,r,n,a),s=md(e),c=f_(e,this._lastEvent,n,s);n&&(this._lastEvent=null,B(i.onHover,[e,o,this],this),s&&B(i.onClick,[e,o,this],this));let l=!$u(o,r);return(l||t)&&(this._active=o,this._updateHoverStyles(o,r,t)),this._lastEvent=c,l}_getActiveElements(e,t,n,r){if(e.type===`mouseout`)return[];if(!n)return t;let i=this.options.hover;return this.getElementsAtEventForMode(e,i.mode,i,r)}};function m_(){return V(p_.instances,e=>e._plugins.invalidate())}function h_(e,t,n){let{startAngle:r,x:i,y:a,outerRadius:o,innerRadius:s,options:c}=t,{borderWidth:l,borderJoinStyle:u}=c,d=Math.min(l/o,Fd(r-n));if(e.beginPath(),e.arc(i,a,o-l/2,r+d/2,n-d/2),s>0){let t=Math.min(l/s,Fd(r-n));e.arc(i,a,s+l/2,n-t/2,r+t/2,!0)}else{let t=Math.min(l/2,o*Fd(r-n));if(u===`round`)e.arc(i,a,t,n-H/2,r+H/2,!0);else if(u===`bevel`){let o=2*t*t,s=-o*Math.cos(n+H/2)+i,c=-o*Math.sin(n+H/2)+a,l=o*Math.cos(r+H/2)+i,u=o*Math.sin(r+H/2)+a;e.lineTo(s,c),e.lineTo(l,u)}}e.closePath(),e.moveTo(0,0),e.rect(0,0,e.canvas.width,e.canvas.height),e.clip(`evenodd`)}function g_(e,t,n){let{startAngle:r,pixelMargin:i,x:a,y:o,outerRadius:s,innerRadius:c}=t,l=i/s;e.beginPath(),e.arc(a,o,s,r-l,n+l),c>i?(l=i/c,e.arc(a,o,c,n+l,r-l,!0)):e.arc(a,o,i,n+W,r-W),e.closePath(),e.clip()}function __(e){return Gf(e,[`outerStart`,`outerEnd`,`innerStart`,`innerEnd`])}function v_(e,t,n,r){let i=__(e.options.borderRadius),a=(n-t)/2,o=Math.min(a,r*t/2),s=e=>{let t=(n-Math.min(a,e))*r/2;return G(e,0,Math.min(a,t))};return{outerStart:s(i.outerStart),outerEnd:s(i.outerEnd),innerStart:G(i.innerStart,0,o),innerEnd:G(i.innerEnd,0,o)}}function y_(e,t,n,r){return{x:n+e*Math.cos(t),y:r+e*Math.sin(t)}}function b_(e,t,n,r){let{x:i,y:a,startAngle:o,pixelMargin:s,innerRadius:c}=t,l=Math.max(t.outerRadius+r+n-s,0),u=c>0?c+r+n+s:0;e.beginPath(),e.arc(i,a,l,o,o+U),u>0&&(e.moveTo(i+Math.cos(o)*u,a+Math.sin(o)*u),e.arc(i,a,u,o+U,o,!0)),e.closePath()}function x_(e,t,n,r,i,a){let{x:o,y:s,startAngle:c,pixelMargin:l,innerRadius:u}=t,{spacingMode:d=`angular`}=t.options,f=i-c;if(a&&t.options.selfJoin&&Math.abs(f)>=U-1e-4){b_(e,t,n,r);return}let p=Math.max(t.outerRadius+r+n-l,0),m=u>0?u+r+n+l:0,h=0,g=0,_=p>0?Math.max(.001,f*p-n/H)/p:.001,v=(f-_)/2;if(r){let e=((u>0?u-r:0)+(p>0?p-r:0))/2,t=(()=>{let t=e===0?f:f*e/(e+r);return(f-t)/2})(),n=e>0?Math.asin(Math.min(1,r/e)):0,i=Math.max(0,_/2-.001),a=Math.sin(i);if(d===`parallel`){if(m===0&&a>0){let e=r/a,t=Math.max(0,p-.001);m=Math.min(e,t)}let e=Math.min(p>0?p*a:1/0,m>0?m*a:1/0),t=Math.min(r,e);h=p>0?Math.asin(Math.min(1,t/p)):Math.min(i,n),g=m>0?Math.asin(Math.min(1,t/m)):h}else d===`proportional`?(h=Math.min(i,t),g=Math.min(i,t)):(h=Math.min(i,n),g=Math.min(i,n))}let y=c+v+h,b=i-v-h,x=c+v+g,S=i-v-g,C=Math.min(b-y,S-x),{outerStart:w,outerEnd:T,innerStart:E,innerEnd:D}=v_(t,m,p,C),O=p-w,k=p-T,ee=y+w/O,A=b-T/k,j=m+E,M=m+D,te=x+E/j,ne=S-D/M;if(e.beginPath(),a){let t=(ee+A)/2;if(e.arc(o,s,p,ee,t),e.arc(o,s,p,t,A),T>0){let t=y_(k,A,o,s);e.arc(t.x,t.y,T,A,b+W)}let n=y_(M,S,o,s);if(e.lineTo(n.x,n.y),D>0){let t=y_(M,ne,o,s);e.arc(t.x,t.y,D,S+W,ne+Math.PI)}let r=(S-D/m+(x+E/m))/2;if(e.arc(o,s,m,S-D/m,r,!0),e.arc(o,s,m,r,x+E/m,!0),E>0){let t=y_(j,te,o,s);e.arc(t.x,t.y,E,te+Math.PI,x-W)}let i=y_(O,y,o,s);if(e.lineTo(i.x,i.y),w>0){let t=y_(O,ee,o,s);e.arc(t.x,t.y,w,y-W,ee)}}else{e.moveTo(o,s);let t=Math.cos(ee)*p+o,n=Math.sin(ee)*p+s;e.lineTo(t,n);let r=Math.cos(A)*p+o,i=Math.sin(A)*p+s;e.lineTo(r,i)}e.closePath()}function S_(e,t,n,r,i){let{fullCircles:a,startAngle:o,circumference:s}=t,c=t.endAngle;if(a){x_(e,t,n,r,c,i);for(let t=0;t<a;++t)e.fill();isNaN(s)||(c=o+(s%U||U))}return x_(e,t,n,r,c,i),e.fill(),c}function C_(e,t,n,r,i){let{fullCircles:a,startAngle:o,circumference:s,options:c}=t,{borderWidth:l,borderJoinStyle:u,borderDash:d,borderDashOffset:f,borderRadius:p}=c,m=c.borderAlign===`inner`;if(!l)return;e.setLineDash(d||[]),e.lineDashOffset=f,m?(e.lineWidth=l*2,e.lineJoin=u||`round`):(e.lineWidth=l,e.lineJoin=u||`bevel`);let h=t.endAngle,g=Math.abs(h-o)>=U-1e-4;if(a){x_(e,t,n,r,h,i);for(let t=0;t<a;++t)e.stroke();isNaN(s)||(h=o+(s%U||U))}m&&g_(e,t,h),!(g&&t.innerRadius>0)&&c.selfJoin&&h-o>=H&&p===0&&u!==`miter`&&h_(e,t,h),a||(x_(e,t,n,r,h,i),e.stroke())}var w_=class extends ag{static id=`arc`;static defaults={borderAlign:`center`,borderColor:`#fff`,borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,spacingMode:`angular`,angle:void 0,circular:!0,selfJoin:!1};static defaultRoutes={backgroundColor:`backgroundColor`};static descriptors={_scriptable:!0,_indexable:e=>e!==`borderDash`};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;circular;constructor(e){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,this.circular=!1,e&&Object.assign(this,e)}inRange(e,t,n){let{angle:r,distance:i}=Md(this.getProps([`x`,`y`],n),{x:e,y:t}),{startAngle:a,endAngle:o,innerRadius:s,outerRadius:c,circumference:l}=this.getProps([`startAngle`,`endAngle`,`innerRadius`,`outerRadius`,`circumference`],n),u=(this.options.spacing+this.options.borderWidth)/2,d=z(l,o-a),f=Id(r,a,o)&&a!==o,p=d>=U||f,m=Rd(i,s+u,c+u);return p&&m}getCenterPoint(e){let{x:t,y:n,startAngle:r,endAngle:i,innerRadius:a,outerRadius:o}=this.getProps([`x`,`y`,`startAngle`,`endAngle`,`innerRadius`,`outerRadius`],e),{offset:s,spacing:c}=this.options,l=(r+i)/2,u=(a+o+c+s)/2;return{x:t+Math.cos(l)*u,y:n+Math.sin(l)*u}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){let{options:t,circumference:n}=this,r=(t.offset||0)/4,i=(t.spacing||0)/2,a=t.circular;if(this.pixelMargin=t.borderAlign===`inner`?.33:0,this.fullCircles=n>U?Math.floor(n/U):0,n===0||this.innerRadius<0||this.outerRadius<0)return;e.save();let o=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(o)*r,Math.sin(o)*r);let s=r*(1-Math.sin(Math.min(H,n||0)));e.fillStyle=t.backgroundColor,e.strokeStyle=t.borderColor,S_(e,this,s,i,a),C_(e,this,s,i,a),e.restore()}};function T_(e,t,n=t){e.lineCap=z(n.borderCapStyle,t.borderCapStyle),e.setLineDash(z(n.borderDash,t.borderDash)),e.lineDashOffset=z(n.borderDashOffset,t.borderDashOffset),e.lineJoin=z(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=z(n.borderWidth,t.borderWidth),e.strokeStyle=z(n.borderColor,t.borderColor)}function E_(e,t,n){e.lineTo(n.x,n.y)}function D_(e){return e.stepped?Pf:e.tension||e.cubicInterpolationMode===`monotone`?Ff:E_}function O_(e,t,n={}){let r=e.length,{start:i=0,end:a=r-1}=n,{start:o,end:s}=t,c=Math.max(i,o),l=Math.min(a,s),u=i<o&&a<o||i>s&&a>s;return{count:r,start:c,loop:t.loop,ilen:l<c&&!u?r+l-c:l-c}}function k_(e,t,n,r){let{points:i,options:a}=t,{count:o,start:s,loop:c,ilen:l}=O_(i,n,r),u=D_(a),{move:d=!0,reverse:f}=r||{},p,m,h;for(p=0;p<=l;++p)m=i[(s+(f?l-p:p))%o],!m.skip&&(d?(e.moveTo(m.x,m.y),d=!1):u(e,h,m,f,a.stepped),h=m);return c&&(m=i[(s+(f?l:0))%o],u(e,h,m,f,a.stepped)),!!c}function A_(e,t,n,r){let i=t.points,{count:a,start:o,ilen:s}=O_(i,n,r),{move:c=!0,reverse:l}=r||{},u=0,d=0,f,p,m,h,g,_,v=e=>(o+(l?s-e:e))%a,y=()=>{h!==g&&(e.lineTo(u,g),e.lineTo(u,h),e.lineTo(u,_))};for(c&&(p=i[v(0)],e.moveTo(p.x,p.y)),f=0;f<=s;++f){if(p=i[v(f)],p.skip)continue;let t=p.x,n=p.y,r=t|0;r===m?(n<h?h=n:n>g&&(g=n),u=(d*u+t)/++d):(y(),e.lineTo(t,n),m=r,d=0,h=g=n),_=n}y()}function j_(e){let t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!==`monotone`&&!t.stepped&&!n?A_:k_}function M_(e){return e.stepped?Gp:e.tension||e.cubicInterpolationMode===`monotone`?Kp:Wp}function N_(e,t,n,r){let i=t._path;i||(i=t._path=new Path2D,t.path(i,n,r)&&i.closePath()),T_(e,t.options),e.stroke(i)}function P_(e,t,n,r){let{segments:i,options:a}=t,o=j_(t);for(let s of i)T_(e,a,s.style),e.beginPath(),o(e,t,s,{start:n,end:n+r-1})&&e.closePath(),e.stroke()}var F_=typeof Path2D==`function`;function I_(e,t,n,r){F_&&!t.options.segment?N_(e,t,n,r):P_(e,t,n,r)}var L_=class extends ag{static id=`line`;static defaults={borderCapStyle:`butt`,borderDash:[],borderDashOffset:0,borderJoinStyle:`miter`,borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:`default`,fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:`backgroundColor`,borderColor:`borderColor`};static descriptors={_scriptable:!0,_indexable:e=>e!==`borderDash`&&e!==`fill`};constructor(e){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,e&&Object.assign(this,e)}updateControlPoints(e,t){let n=this.options;if((n.tension||n.cubicInterpolationMode===`monotone`)&&!n.stepped&&!this._pointsUpdated){let r=n.spanGaps?this._loop:this._fullLoop;Dp(this._points,n,e,r,t),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||=am(this,this.options.segment)}first(){let e=this.segments,t=this.points;return e.length&&t[e[0].start]}last(){let e=this.segments,t=this.points,n=e.length;return n&&t[e[n-1].end]}interpolate(e,t){let n=this.options,r=e[t],i=this.points,a=nm(this,{property:t,start:r,end:r});if(!a.length)return;let o=[],s=M_(n),c,l;for(c=0,l=a.length;c<l;++c){let{start:l,end:u}=a[c],d=i[l],f=i[u];if(d===f){o.push(d);continue}let p=s(d,f,Math.abs((r-d[t])/(f[t]-d[t])),n.stepped);p[t]=e[t],o.push(p)}return o.length===1?o[0]:o}pathSegment(e,t,n){return j_(this)(e,this,t,n)}path(e,t,n){let r=this.segments,i=j_(this),a=this._loop;t||=0,n||=this.points.length-t;for(let o of r)a&=i(e,this,o,{start:t,end:t+n-1});return!!a}draw(e,t,n,r){let i=this.options||{};(this.points||[]).length&&i.borderWidth&&(e.save(),I_(e,this,n,r),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}};function R_(e,t,n,r){let i=e.options,{[n]:a}=e.getProps([n],r);return Math.abs(t-a)<i.radius+i.hitRadius}var z_=class extends ag{static id=`point`;parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:`circle`,radius:3,rotation:0};static defaultRoutes={backgroundColor:`backgroundColor`,borderColor:`borderColor`};constructor(e){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,e&&Object.assign(this,e)}inRange(e,t,n){let r=this.options,{x:i,y:a}=this.getProps([`x`,`y`],n);return(e-i)**2+(t-a)**2<(r.hitRadius+r.radius)**2}inXRange(e,t){return R_(this,e,`x`,t)}inYRange(e,t){return R_(this,e,`y`,t)}getCenterPoint(e){let{x:t,y:n}=this.getProps([`x`,`y`],e);return{x:t,y:n}}size(e){e=e||this.options||{};let t=e.radius||0;t=Math.max(t,t&&e.hoverRadius||0);let n=t&&e.borderWidth||0;return(t+n)*2}draw(e,t){let n=this.options;this.skip||n.radius<.1||!jf(this,t,this.size(n)/2)||(e.strokeStyle=n.borderColor,e.lineWidth=n.borderWidth,e.fillStyle=n.backgroundColor,kf(e,n,this.x,this.y))}getRange(){let e=this.options||{};return e.radius+e.hitRadius}};function B_(e,t){let{x:n,y:r,base:i,width:a,height:o}=e.getProps([`x`,`y`,`base`,`width`,`height`],t),s,c,l,u,d;return e.horizontal?(d=o/2,s=Math.min(n,i),c=Math.max(n,i),l=r-d,u=r+d):(d=a/2,s=n-d,c=n+d,l=Math.min(r,i),u=Math.max(r,i)),{left:s,top:l,right:c,bottom:u}}function V_(e,t,n,r){return e?0:G(t,n,r)}function H_(e,t,n){let r=e.options.borderWidth,i=e.borderSkipped,a=Kf(r);return{t:V_(i.top,a.top,0,n),r:V_(i.right,a.right,0,t),b:V_(i.bottom,a.bottom,0,n),l:V_(i.left,a.left,0,t)}}function U_(e,t,n){let{enableBorderRadius:r}=e.getProps([`enableBorderRadius`]),i=e.options.borderRadius,a=qf(i),o=Math.min(t,n),s=e.borderSkipped,c=r||L(i);return{topLeft:V_(!c||s.top||s.left,a.topLeft,0,o),topRight:V_(!c||s.top||s.right,a.topRight,0,o),bottomLeft:V_(!c||s.bottom||s.left,a.bottomLeft,0,o),bottomRight:V_(!c||s.bottom||s.right,a.bottomRight,0,o)}}function W_(e){let t=B_(e),n=t.right-t.left,r=t.bottom-t.top,i=H_(e,n/2,r/2),a=U_(e,n/2,r/2);return{outer:{x:t.left,y:t.top,w:n,h:r,radius:a},inner:{x:t.left+i.l,y:t.top+i.t,w:n-i.l-i.r,h:r-i.t-i.b,radius:{topLeft:Math.max(0,a.topLeft-Math.max(i.t,i.l)),topRight:Math.max(0,a.topRight-Math.max(i.t,i.r)),bottomLeft:Math.max(0,a.bottomLeft-Math.max(i.b,i.l)),bottomRight:Math.max(0,a.bottomRight-Math.max(i.b,i.r))}}}}function G_(e,t,n,r){let i=t===null,a=n===null,o=e&&!(i&&a)&&B_(e,r);return o&&(i||Rd(t,o.left,o.right))&&(a||Rd(n,o.top,o.bottom))}function K_(e){return e.topLeft||e.topRight||e.bottomLeft||e.bottomRight}function q_(e,t){e.rect(t.x,t.y,t.w,t.h)}function J_(e,t,n={}){let r=e.x===n.x?0:-t,i=e.y===n.y?0:-t,a=(e.x+e.w===n.x+n.w?0:t)-r,o=(e.y+e.h===n.y+n.h?0:t)-i;return{x:e.x+r,y:e.y+i,w:e.w+a,h:e.h+o,radius:e.radius}}var Y_=Object.freeze({__proto__:null,ArcElement:w_,BarElement:class extends ag{static id=`bar`;static defaults={borderSkipped:`start`,borderWidth:0,borderRadius:0,inflateAmount:`auto`,pointStyle:void 0};static defaultRoutes={backgroundColor:`backgroundColor`,borderColor:`borderColor`};constructor(e){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,e&&Object.assign(this,e)}draw(e){let{inflateAmount:t,options:{borderColor:n,backgroundColor:r}}=this,{inner:i,outer:a}=W_(this),o=K_(a.radius)?Bf:q_;e.save(),(a.w!==i.w||a.h!==i.h)&&(e.beginPath(),o(e,J_(a,t,i)),e.clip(),o(e,J_(i,-t,a)),e.fillStyle=n,e.fill(`evenodd`)),e.beginPath(),o(e,J_(i,t)),e.fillStyle=r,e.fill(),e.restore()}inRange(e,t,n){return G_(this,e,t,n)}inXRange(e,t){return G_(this,e,null,t)}inYRange(e,t){return G_(this,null,e,t)}getCenterPoint(e){let{x:t,y:n,base:r,horizontal:i}=this.getProps([`x`,`y`,`base`,`horizontal`],e);return{x:i?(t+r)/2:t,y:i?n:(n+r)/2}}getRange(e){return e===`x`?this.width/2:this.height/2}},LineElement:L_,PointElement:z_}),X_=[`rgb(54, 162, 235)`,`rgb(255, 99, 132)`,`rgb(255, 159, 64)`,`rgb(255, 205, 86)`,`rgb(75, 192, 192)`,`rgb(153, 102, 255)`,`rgb(201, 203, 207)`],Z_=X_.map(e=>e.replace(`rgb(`,`rgba(`).replace(`)`,`, 0.5)`));function Q_(e){return X_[e%X_.length]}function $_(e){return Z_[e%Z_.length]}function ev(e,t){return e.borderColor=Q_(t),e.backgroundColor=$_(t),++t}function tv(e,t){return e.backgroundColor=e.data.map(()=>Q_(t++)),t}function nv(e,t){return e.backgroundColor=e.data.map(()=>$_(t++)),t}function rv(e){let t=0;return(n,r)=>{let i=e.getDatasetMeta(r).controller;i instanceof ih?t=tv(n,t):i instanceof oh?t=nv(n,t):i&&(t=ev(n,t))}}function iv(e){let t;for(t in e)if(e[t].borderColor||e[t].backgroundColor)return!0;return!1}function av(e){return e&&(e.borderColor||e.backgroundColor)}function ov(){return K.borderColor!==`rgba(0,0,0,0.1)`||K.backgroundColor!==`rgba(0,0,0,0.1)`}var sv={id:`colors`,defaults:{enabled:!0,forceOverride:!1},beforeLayout(e,t,n){if(!n.enabled)return;let{data:{datasets:r},options:i}=e.config,{elements:a}=i,o=iv(r)||av(i)||a&&iv(a)||ov();if(!n.forceOverride&&o)return;let s=rv(e);r.forEach(s)}};function cv(e,t,n,r,i){let a=i.samples||r;if(a>=n)return e.slice(t,t+n);let o=[],s=(n-2)/(a-2),c=0,l=t+n-1,u=t,d,f,p,m,h;for(o[c++]=e[u],d=0;d<a-2;d++){let r=0,i=0,a,l=Math.floor((d+1)*s)+1+t,g=Math.min(Math.floor((d+2)*s)+1,n)+t,_=g-l;for(a=l;a<g;a++)r+=e[a].x,i+=e[a].y;r/=_,i/=_;let v=Math.floor(d*s)+1+t,y=Math.min(Math.floor((d+1)*s)+1,n)+t,{x:b,y:x}=e[u];for(p=m=-1,a=v;a<y;a++)m=.5*Math.abs((b-r)*(e[a].y-x)-(b-e[a].x)*(i-x)),m>p&&(p=m,f=e[a],h=a);o[c++]=f,u=h}return o[c++]=e[l],o}function lv(e,t,n,r){let i=0,a=0,o,s,c,l,u,d,f,p,m,h,g=[],_=t+n-1,v=e[t].x,y=e[_].x-v;for(o=t;o<t+n;++o){s=e[o],c=(s.x-v)/y*r,l=s.y;let t=c|0;if(t===u)l<m?(m=l,d=o):l>h&&(h=l,f=o),i=(a*i+s.x)/++a;else{let n=o-1;if(!F(d)&&!F(f)){let t=Math.min(d,f),r=Math.max(d,f);t!==p&&t!==n&&g.push({...e[t],x:i}),r!==p&&r!==n&&g.push({...e[r],x:i})}o>0&&n!==p&&g.push(e[n]),g.push(s),u=t,a=0,m=h=l,d=f=p=o}}return g}function uv(e){if(e._decimated){let t=e._data;delete e._decimated,delete e._data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,writable:!0,value:t})}}function dv(e){e.data.datasets.forEach(e=>{uv(e)})}function fv(e,t){let n=t.length,r=0,i,{iScale:a}=e,{min:o,max:s,minDefined:c,maxDefined:l}=a.getUserBounds();return c&&(r=G(Bd(t,a.axis,o).lo,0,n-1)),i=l?G(Bd(t,a.axis,s).hi+1,r,n)-r:n-r,{start:r,count:i}}var pv={id:`decimation`,defaults:{algorithm:`min-max`,enabled:!1},beforeElementsUpdate:(e,t,n)=>{if(!n.enabled){dv(e);return}let r=e.width;e.data.datasets.forEach((t,i)=>{let{_data:a,indexAxis:o}=t,s=e.getDatasetMeta(i),c=a||t.data;if(Yf([o,e.options.indexAxis])===`y`||!s.controller.supportsDecimation)return;let l=e.scales[s.xAxisID];if(l.type!==`linear`&&l.type!==`time`||e.options.parsing)return;let{start:u,count:d}=fv(s,c);if(d<=(n.threshold||4*r)){uv(t);return}F(a)&&(t._data=c,delete t.data,Object.defineProperty(t,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(e){this._data=e}}));let f;switch(n.algorithm){case`lttb`:f=cv(c,u,d,r,n);break;case`min-max`:f=lv(c,u,d,r);break;default:throw Error(`Unsupported decimation algorithm '${n.algorithm}'`)}t._decimated=f})},destroy(e){dv(e)}};function mv(e,t,n){let r=e.segments,i=e.points,a=t.points,o=[];for(let e of r){let{start:r,end:s}=e;s=_v(r,s,i);let c=hv(n,i[r],i[s],e.loop);if(!t.segments){o.push({source:e,target:c,start:i[r],end:i[s]});continue}let l=nm(t,c);for(let t of l){let r=hv(n,a[t.start],a[t.end],t.loop),s=tm(e,i,r);for(let e of s)o.push({source:e,target:t,start:{[n]:vv(c,r,`start`,Math.max)},end:{[n]:vv(c,r,`end`,Math.min)}})}}return o}function hv(e,t,n,r){if(r)return;let i=t[e],a=n[e];return e===`angle`&&(i=Fd(i),a=Fd(a)),{property:e,start:i,end:a}}function gv(e,t){let{x:n=null,y:r=null}=e||{},i=t.points,a=[];return t.segments.forEach(({start:e,end:t})=>{t=_v(e,t,i);let o=i[e],s=i[t];r===null?n!==null&&(a.push({x:n,y:o.y}),a.push({x:n,y:s.y})):(a.push({x:o.x,y:r}),a.push({x:s.x,y:r}))}),a}function _v(e,t,n){for(;t>e;t--){let e=n[t];if(!isNaN(e.x)&&!isNaN(e.y))break}return t}function vv(e,t,n,r){return e&&t?r(e[n],t[n]):e?e[n]:t?t[n]:0}function yv(e,t){let n=[],r=!1;return I(e)?(r=!0,n=e):n=gv(e,t),n.length?new L_({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function bv(e){return e&&e.fill!==!1}function xv(e,t,n){let r=e[t].fill,i=[t],a;if(!n)return r;for(;r!==!1&&i.indexOf(r)===-1;){if(!R(r))return r;if(a=e[r],!a)return!1;if(a.visible)return r;i.push(r),r=a.fill}return!1}function Sv(e,t,n){let r=Ev(e);if(L(r))return!isNaN(r.value)&&r;let i=parseFloat(r);return R(i)&&Math.floor(i)===i?Cv(r[0],t,i,n):[`origin`,`start`,`end`,`stack`,`shape`].indexOf(r)>=0&&r}function Cv(e,t,n,r){return(e===`-`||e===`+`)&&(n=t+n),n===t||n<0||n>=r?!1:n}function wv(e,t){let n=null;return e===`start`?n=t.bottom:e===`end`?n=t.top:L(e)?n=t.getPixelForValue(e.value):t.getBasePixel&&(n=t.getBasePixel()),n}function Tv(e,t,n){let r;return r=e===`start`?n:e===`end`?t.options.reverse?t.min:t.max:L(e)?e.value:t.getBaseValue(),r}function Ev(e){let t=e.options,n=t.fill,r=z(n&&n.target,n);return r===void 0&&(r=!!t.backgroundColor),r===!1||r===null?!1:r===!0?`origin`:r}function Dv(e){let{scale:t,index:n,line:r}=e,i=[],a=r.segments,o=r.points,s=Ov(t,n);s.push(yv({x:null,y:t.bottom},r));for(let e=0;e<a.length;e++){let t=a[e];for(let e=t.start;e<=t.end;e++)kv(i,o[e],s)}return new L_({points:i,options:{}})}function Ov(e,t){let n=[],r=e.getMatchingVisibleMetas(`line`);for(let e=0;e<r.length;e++){let i=r[e];if(i.index===t)break;i.hidden||n.unshift(i.dataset)}return n}function kv(e,t,n){let r=[];for(let i=0;i<n.length;i++){let a=n[i],{first:o,last:s,point:c}=Av(a,t,`x`);if(!(!c||o&&s)){if(o)r.unshift(c);else if(e.push(c),!s)break}}e.push(...r)}function Av(e,t,n){let r=e.interpolate(t,n);if(!r)return{};let i=r[n],a=e.segments,o=e.points,s=!1,c=!1;for(let e=0;e<a.length;e++){let t=a[e],r=o[t.start][n],l=o[t.end][n];if(Rd(i,r,l)){s=i===r,c=i===l;break}}return{first:s,last:c,point:r}}var jv=class{constructor(e){this.x=e.x,this.y=e.y,this.radius=e.radius}pathSegment(e,t,n){let{x:r,y:i,radius:a}=this;return t||={start:0,end:U},e.arc(r,i,a,t.end,t.start,!0),!n.bounds}interpolate(e){let{x:t,y:n,radius:r}=this,i=e.angle;return{x:t+Math.cos(i)*r,y:n+Math.sin(i)*r,angle:i}}};function Mv(e){let{chart:t,fill:n,line:r}=e;if(R(n))return Nv(t,n);if(n===`stack`)return Dv(e);if(n===`shape`)return!0;let i=Pv(e);return i instanceof jv?i:yv(i,r)}function Nv(e,t){let n=e.getDatasetMeta(t);return n&&e.isDatasetVisible(t)?n.dataset:null}function Pv(e){return(e.scale||{}).getPointPositionForValue?Iv(e):Fv(e)}function Fv(e){let{scale:t={},fill:n}=e,r=wv(n,t);if(R(r)){let e=t.isHorizontal();return{x:e?r:null,y:e?null:r}}return null}function Iv(e){let{scale:t,fill:n}=e,r=t.options,i=t.getLabels().length,a=r.reverse?t.max:t.min,o=Tv(n,t,a),s=[];if(r.grid.circular){let e=t.getPointPositionForValue(0,a);return new jv({x:e.x,y:e.y,radius:t.getDistanceFromCenterForValue(o)})}for(let e=0;e<i;++e)s.push(t.getPointPositionForValue(e,o));return s}function Lv(e,t,n){let r=Mv(t),{chart:i,index:a,line:o,scale:s,axis:c}=t,l=o.options,u=l.fill,d=l.backgroundColor,{above:f=d,below:p=d}=u||{},m=i.getDatasetMeta(a),h=fm(i,m);r&&o.points.length&&(Mf(e,Rv(n,m.iScale)),zv(e,{line:o,target:r,above:f,below:p,area:n,scale:s,axis:c,clip:h}),Nf(e))}function Rv(e,t){if(!t||t.getPointPositionForValue)return e;let n=t.getPixelForValue(t.min),r=t.getPixelForValue(t.max),i=Math.min(n,r),a=Math.max(n,r);return t.isHorizontal()?{...e,left:Math.max(e.left,i),right:Math.min(e.right,a)}:{...e,top:Math.max(e.top,i),bottom:Math.min(e.bottom,a)}}function zv(e,t){let{line:n,target:r,above:i,below:a,area:o,scale:s,clip:c}=t,l=n._loop?`angle`:t.axis;e.save();let u=a;a!==i&&(l===`x`?(Bv(e,r,o.top),Hv(e,{line:n,target:r,color:i,scale:s,property:l,clip:c}),e.restore(),e.save(),Bv(e,r,o.bottom)):l===`y`&&(Vv(e,r,o.left),Hv(e,{line:n,target:r,color:a,scale:s,property:l,clip:c}),e.restore(),e.save(),Vv(e,r,o.right),u=i)),Hv(e,{line:n,target:r,color:u,scale:s,property:l,clip:c}),e.restore()}function Bv(e,t,n){let{segments:r,points:i}=t,a=!0,o=!1;e.beginPath();for(let s of r){let{start:r,end:c}=s,l=i[r],u=i[_v(r,c,i)];a?(e.moveTo(l.x,l.y),a=!1):(e.lineTo(l.x,n),e.lineTo(l.x,l.y)),o=!!t.pathSegment(e,s,{move:o}),o?e.closePath():e.lineTo(u.x,n)}e.lineTo(t.first().x,n),e.closePath(),e.clip()}function Vv(e,t,n){let{segments:r,points:i}=t,a=!0,o=!1;e.beginPath();for(let s of r){let{start:r,end:c}=s,l=i[r],u=i[_v(r,c,i)];a?(e.moveTo(l.x,l.y),a=!1):(e.lineTo(n,l.y),e.lineTo(l.x,l.y)),o=!!t.pathSegment(e,s,{move:o}),o?e.closePath():e.lineTo(n,u.y)}e.lineTo(n,t.first().y),e.closePath(),e.clip()}function Hv(e,t){let{line:n,target:r,property:i,color:a,scale:o,clip:s}=t,c=mv(n,r,i);for(let{source:t,target:l,start:u,end:d}of c){let{style:{backgroundColor:c=a}={}}=t,f=r!==!0;e.save(),e.fillStyle=c,Uv(e,o,s,f&&hv(i,u,d)),e.beginPath();let p=!!n.pathSegment(e,t),m;if(f){p?e.closePath():Wv(e,r,d,i);let t=!!r.pathSegment(e,l,{move:p,reverse:!0});m=p&&t,m||Wv(e,r,u,i)}e.closePath(),e.fill(m?`evenodd`:`nonzero`),e.restore()}}function Uv(e,t,n,r){let i=t.chart.chartArea,{property:a,start:o,end:s}=r||{};if(a===`x`||a===`y`){let t,r,c,l;a===`x`?(t=o,r=i.top,c=s,l=i.bottom):(t=i.left,r=o,c=i.right,l=s),e.beginPath(),n&&(t=Math.max(t,n.left),c=Math.min(c,n.right),r=Math.max(r,n.top),l=Math.min(l,n.bottom)),e.rect(t,r,c-t,l-r),e.clip()}}function Wv(e,t,n,r){let i=t.interpolate(n,r);i&&e.lineTo(i.x,i.y)}var Gv={id:`filler`,afterDatasetsUpdate(e,t,n){let r=(e.data.datasets||[]).length,i=[],a,o,s,c;for(o=0;o<r;++o)a=e.getDatasetMeta(o),s=a.dataset,c=null,s&&s.options&&s instanceof L_&&(c={visible:e.isDatasetVisible(o),index:o,fill:Sv(s,o,r),chart:e,axis:a.controller.options.indexAxis,scale:a.vScale,line:s}),a.$filler=c,i.push(c);for(o=0;o<r;++o)c=i[o],c&&c.fill!==!1&&(c.fill=xv(i,o,n.propagate))},beforeDraw(e,t,n){let r=n.drawTime===`beforeDraw`,i=e.getSortedVisibleDatasetMetas(),a=e.chartArea;for(let t=i.length-1;t>=0;--t){let n=i[t].$filler;n&&(n.line.updateControlPoints(a,n.axis),r&&n.fill&&Lv(e.ctx,n,a))}},beforeDatasetsDraw(e,t,n){if(n.drawTime!==`beforeDatasetsDraw`)return;let r=e.getSortedVisibleDatasetMetas();for(let t=r.length-1;t>=0;--t){let n=r[t].$filler;bv(n)&&Lv(e.ctx,n,e.chartArea)}},beforeDatasetDraw(e,t,n){let r=t.meta.$filler;bv(r)&&n.drawTime===`beforeDatasetDraw`&&Lv(e.ctx,r,e.chartArea)},defaults:{propagate:!0,drawTime:`beforeDatasetDraw`}},Kv=(e,t)=>{let{boxHeight:n=t,boxWidth:r=t}=e;return e.usePointStyle&&(n=Math.min(n,t),r=e.pointStyleWidth||Math.min(r,t)),{boxWidth:r,boxHeight:n,itemHeight:Math.max(t,n)}},qv=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index,Jv=class extends ag{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.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(e,t,n){this.maxWidth=e,this.maxHeight=t,this._margins=n,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(){let e=this.options.labels||{},t=B(e.generateLabels,[this.chart],this)||[];e.filter&&(t=t.filter(t=>e.filter(t,this.chart.data))),e.sort&&(t=t.sort((t,n)=>e.sort(t,n,this.chart.data))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){let{options:e,ctx:t}=this;if(!e.display){this.width=this.height=0;return}let n=e.labels,r=q(n.font),i=r.size,a=this._computeTitleHeight(),{boxWidth:o,itemHeight:s}=Kv(n,i),c,l;t.font=r.string,this.isHorizontal()?(c=this.maxWidth,l=this._fitRows(a,i,o,s)+10):(l=this.maxHeight,c=this._fitCols(a,r,o,s)+10),this.width=Math.min(c,e.maxWidth||this.maxWidth),this.height=Math.min(l,e.maxHeight||this.maxHeight)}_fitRows(e,t,n,r){let{ctx:i,maxWidth:a,options:{labels:{padding:o}}}=this,s=this.legendHitBoxes=[],c=this.lineWidths=[0],l=r+o,u=e;i.textAlign=`left`,i.textBaseline=`middle`;let d=-1,f=-l;return this.legendItems.forEach((e,p)=>{let m=n+t/2+i.measureText(e.text).width;(p===0||c[c.length-1]+m+2*o>a)&&(u+=l,c[c.length-(p>0?0:1)]=0,f+=l,d++),s[p]={left:0,top:f,row:d,width:m,height:r},c[c.length-1]+=m+o}),u}_fitCols(e,t,n,r){let{ctx:i,maxHeight:a,options:{labels:{padding:o}}}=this,s=this.legendHitBoxes=[],c=this.columnSizes=[],l=a-e,u=o,d=0,f=0,p=0,m=0;return this.legendItems.forEach((e,a)=>{let{itemWidth:h,itemHeight:g}=Yv(n,t,i,e,r);a>0&&f+g+2*o>l&&(u+=d+o,c.push({width:d,height:f}),p+=d+o,m++,d=f=0),s[a]={left:p,top:f,col:m,width:h,height:g},d=Math.max(d,h),f+=g+o}),u+=d,c.push({width:d,height:f}),u}adjustHitBoxes(){if(!this.options.display)return;let e=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:n,labels:{padding:r},rtl:i}}=this,a=Yp(i,this.left,this.width);if(this.isHorizontal()){let i=0,o=Zd(n,this.left+r,this.right-this.lineWidths[i]);for(let s of t)i!==s.row&&(i=s.row,o=Zd(n,this.left+r,this.right-this.lineWidths[i])),s.top+=this.top+e+r,s.left=a.leftForLtr(a.x(o),s.width),o+=s.width+r}else{let i=0,o=Zd(n,this.top+e+r,this.bottom-this.columnSizes[i].height);for(let s of t)s.col!==i&&(i=s.col,o=Zd(n,this.top+e+r,this.bottom-this.columnSizes[i].height)),s.top=o,s.left+=this.left+r,s.left=a.leftForLtr(a.x(s.left),s.width),o+=s.height+r}}isHorizontal(){return this.options.position===`top`||this.options.position===`bottom`}draw(){if(this.options.display){let e=this.ctx;Mf(e,this),this._draw(),Nf(e)}}_draw(){let{options:e,columnSizes:t,lineWidths:n,ctx:r}=this,{align:i,labels:a}=e,o=K.color,s=Yp(e.rtl,this.left,this.width),c=q(a.font),{padding:l}=a,u=c.size,d=u/2,f;this.drawTitle(),r.textAlign=s.textAlign(`left`),r.textBaseline=`middle`,r.lineWidth=.5,r.font=c.string;let{boxWidth:p,boxHeight:m,itemHeight:h}=Kv(a,u),g=function(e,t,n){if(isNaN(p)||p<=0||isNaN(m)||m<0)return;r.save();let i=z(n.lineWidth,1);if(r.fillStyle=z(n.fillStyle,o),r.lineCap=z(n.lineCap,`butt`),r.lineDashOffset=z(n.lineDashOffset,0),r.lineJoin=z(n.lineJoin,`miter`),r.lineWidth=i,r.strokeStyle=z(n.strokeStyle,o),r.setLineDash(z(n.lineDash,[])),a.usePointStyle){let o={radius:m*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:i},c=s.xPlus(e,p/2),l=t+d;Af(r,o,c,l,a.pointStyleWidth&&p)}else{let a=t+Math.max((u-m)/2,0),o=s.leftForLtr(e,p),c=qf(n.borderRadius);r.beginPath(),Object.values(c).some(e=>e!==0)?Bf(r,{x:o,y:a,w:p,h:m,radius:c}):r.rect(o,a,p,m),r.fill(),i!==0&&r.stroke()}r.restore()},_=function(e,t,n){zf(r,n.text,e,t+h/2,c,{strikethrough:n.hidden,textAlign:s.textAlign(n.textAlign)})},v=this.isHorizontal(),y=this._computeTitleHeight();f=v?{x:Zd(i,this.left+l,this.right-n[0]),y:this.top+l+y,line:0}:{x:this.left+l,y:Zd(i,this.top+y+l,this.bottom-t[0].height),line:0},Xp(this.ctx,e.textDirection);let b=h+l;this.legendItems.forEach((o,u)=>{r.strokeStyle=o.fontColor,r.fillStyle=o.fontColor;let m=r.measureText(o.text).width,h=s.textAlign(o.textAlign||=a.textAlign),x=p+d+m,S=f.x,C=f.y;s.setWidth(this.width),v?u>0&&S+x+l>this.right&&(C=f.y+=b,f.line++,S=f.x=Zd(i,this.left+l,this.right-n[f.line])):u>0&&C+b>this.bottom&&(S=f.x=S+t[f.line].width+l,f.line++,C=f.y=Zd(i,this.top+y+l,this.bottom-t[f.line].height));let w=s.x(S);if(g(w,C,o),S=Qd(h,S+p+d,v?S+x:this.right,e.rtl),_(s.x(S),C,o),v)f.x+=x+l;else if(typeof o.text!=`string`){let e=c.lineHeight;f.y+=Qv(o,e)+l}else f.y+=b}),Zp(this.ctx,e.textDirection)}drawTitle(){let e=this.options,t=e.title,n=q(t.font),r=Jf(t.padding);if(!t.display)return;let i=Yp(e.rtl,this.left,this.width),a=this.ctx,o=t.position,s=n.size/2,c=r.top+s,l,u=this.left,d=this.width;if(this.isHorizontal())d=Math.max(...this.lineWidths),l=this.top+c,u=Zd(e.align,u,this.right-d);else{let t=this.columnSizes.reduce((e,t)=>Math.max(e,t.height),0);l=c+Zd(e.align,this.top,this.bottom-t-e.labels.padding-this._computeTitleHeight())}let f=Zd(o,u,u+d);a.textAlign=i.textAlign(Xd(o)),a.textBaseline=`middle`,a.strokeStyle=t.color,a.fillStyle=t.color,a.font=n.string,zf(a,t.text,f,l,n)}_computeTitleHeight(){let e=this.options.title,t=q(e.font),n=Jf(e.padding);return e.display?t.lineHeight+n.height:0}_getLegendItemAt(e,t){let n,r,i;if(Rd(e,this.left,this.right)&&Rd(t,this.top,this.bottom)){for(i=this.legendHitBoxes,n=0;n<i.length;++n)if(r=i[n],Rd(e,r.left,r.left+r.width)&&Rd(t,r.top,r.top+r.height))return this.legendItems[n]}return null}handleEvent(e){let t=this.options;if(!$v(e.type,t))return;let n=this._getLegendItemAt(e.x,e.y);if(e.type===`mousemove`||e.type===`mouseout`){let r=this._hoveredItem,i=qv(r,n);r&&!i&&B(t.onLeave,[e,r,this],this),this._hoveredItem=n,n&&!i&&B(t.onHover,[e,n,this],this)}else n&&B(t.onClick,[e,n,this],this)}};function Yv(e,t,n,r,i){return{itemWidth:Xv(r,e,t,n),itemHeight:Zv(i,r,t.lineHeight)}}function Xv(e,t,n,r){let i=e.text;return i&&typeof i!=`string`&&(i=i.reduce((e,t)=>e.length>t.length?e:t)),t+n.size/2+r.measureText(i).width}function Zv(e,t,n){let r=e;return typeof t.text!=`string`&&(r=Qv(t,n)),r}function Qv(e,t){return t*(e.text?e.text.length:0)}function $v(e,t){return!!((e===`mousemove`||e===`mouseout`)&&(t.onHover||t.onLeave)||t.onClick&&(e===`click`||e===`mouseup`))}var ey={id:`legend`,_element:Jv,start(e,t,n){let r=e.legend=new Jv({ctx:e.ctx,options:n,chart:e});Fh.configure(e,r,n),Fh.addBox(e,r)},stop(e){Fh.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){let r=e.legend;Fh.configure(e,r,n),r.options=n},afterUpdate(e){let t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:`top`,align:`center`,fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,n){let r=t.datasetIndex,i=n.chart;i.isDatasetVisible(r)?(i.hide(r),t.hidden=!0):(i.show(r),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){let t=e.data.datasets,{labels:{usePointStyle:n,pointStyle:r,textAlign:i,color:a,useBorderRadius:o,borderRadius:s}}=e.legend.options;return e._getSortedDatasetMetas().map(e=>{let c=e.controller.getStyle(n?0:void 0),l=Jf(c.borderWidth);return{text:t[e.index].label,fillStyle:c.backgroundColor,fontColor:a,hidden:!e.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(l.width+l.height)/4,strokeStyle:c.borderColor,pointStyle:r||c.pointStyle,rotation:c.rotation,textAlign:i||c.textAlign,borderRadius:o&&(s||c.borderRadius),datasetIndex:e.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:`center`,text:``}},descriptors:{_scriptable:e=>!e.startsWith(`on`),labels:{_scriptable:e=>![`generateLabels`,`filter`,`sort`].includes(e)}}},ty=class extends ag{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.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(e,t){let n=this.options;if(this.left=0,this.top=0,!n.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=e,this.height=this.bottom=t;let r=I(n.text)?n.text.length:1;this._padding=Jf(n.padding);let i=r*q(n.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=i:this.width=i}isHorizontal(){let e=this.options.position;return e===`top`||e===`bottom`}_drawArgs(e){let{top:t,left:n,bottom:r,right:i,options:a}=this,o=a.align,s=0,c,l,u;return this.isHorizontal()?(l=Zd(o,n,i),u=t+e,c=i-n):(a.position===`left`?(l=n+e,u=Zd(o,r,t),s=H*-.5):(l=i-e,u=Zd(o,t,r),s=H*.5),c=r-t),{titleX:l,titleY:u,maxWidth:c,rotation:s}}draw(){let e=this.ctx,t=this.options;if(!t.display)return;let n=q(t.font),r=n.lineHeight/2+this._padding.top,{titleX:i,titleY:a,maxWidth:o,rotation:s}=this._drawArgs(r);zf(e,t.text,0,0,n,{color:t.color,maxWidth:o,rotation:s,textAlign:Xd(t.align),textBaseline:`middle`,translation:[i,a]})}};function ny(e,t){let n=new ty({ctx:e.ctx,options:t,chart:e});Fh.configure(e,n,t),Fh.addBox(e,n),e.titleBlock=n}var ry={id:`title`,_element:ty,start(e,t,n){ny(e,n)},stop(e){let t=e.titleBlock;Fh.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){let r=e.titleBlock;Fh.configure(e,r,n),r.options=n},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}},iy=new WeakMap,ay={id:`subtitle`,start(e,t,n){let r=new ty({ctx:e.ctx,options:n,chart:e});Fh.configure(e,r,n),Fh.addBox(e,r),iy.set(e,r)},stop(e){Fh.removeBox(e,iy.get(e)),iy.delete(e)},beforeUpdate(e,t,n){let r=iy.get(e);Fh.configure(e,r,n),r.options=n},defaults:{align:`center`,display:!1,font:{weight:`normal`},fullSize:!0,padding:0,position:`top`,text:``,weight:1500},defaultRoutes:{color:`color`},descriptors:{_scriptable:!0,_indexable:!1}},oy={average(e){if(!e.length)return!1;let t,n,r=new Set,i=0,a=0;for(t=0,n=e.length;t<n;++t){let n=e[t].element;if(n&&n.hasValue()){let e=n.tooltipPosition();r.add(e.x),i+=e.y,++a}}return a===0||r.size===0?!1:{x:[...r].reduce((e,t)=>e+t)/r.size,y:i/a}},nearest(e,t){if(!e.length)return!1;let n=t.x,r=t.y,i=1/0,a,o,s;for(a=0,o=e.length;a<o;++a){let n=e[a].element;if(n&&n.hasValue()){let e=Nd(t,n.getCenterPoint());e<i&&(i=e,s=n)}}if(s){let e=s.tooltipPosition();n=e.x,r=e.y}return{x:n,y:r}}};function sy(e,t){return t&&(I(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function cy(e){return(typeof e==`string`||e instanceof String)&&e.indexOf(`
|
|
2
2
|
`)>-1?e.split(`
|
|
3
|
-
`):e}function cy(e,t){let{element:n,datasetIndex:r,index:i}=t,a=e.getDatasetMeta(r).controller,{label:o,value:s}=a.getLabelAndValue(i);return{chart:e,label:o,parsed:a.getParsed(i),raw:e.data.datasets[r].data[i],formattedValue:s,dataset:a.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function ly(e,t){let n=e.chart.ctx,{body:r,footer:i,title:a}=e,{boxWidth:o,boxHeight:s}=t,c=q(t.bodyFont),l=q(t.titleFont),u=q(t.footerFont),d=a.length,f=i.length,p=r.length,m=qf(t.padding),h=m.height,g=0,_=r.reduce((e,t)=>e+t.before.length+t.lines.length+t.after.length,0);if(_+=e.beforeBody.length+e.afterBody.length,d&&(h+=d*l.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),_){let e=t.displayColors?Math.max(s,c.lineHeight):c.lineHeight;h+=p*e+(_-p)*c.lineHeight+(_-1)*t.bodySpacing}f&&(h+=t.footerMarginTop+f*u.lineHeight+(f-1)*t.footerSpacing);let v=0,y=function(e){g=Math.max(g,n.measureText(e).width+v)};return n.save(),n.font=l.string,V(e.title,y),n.font=c.string,V(e.beforeBody.concat(e.afterBody),y),v=t.displayColors?o+2+t.boxPadding:0,V(r,e=>{V(e.before,y),V(e.lines,y),V(e.after,y)}),v=0,n.font=u.string,V(e.footer,y),n.restore(),g+=m.width,{width:g,height:h}}function uy(e,t){let{y:n,height:r}=t;return n<r/2?`top`:n>e.height-r/2?`bottom`:`center`}function dy(e,t,n,r){let{x:i,width:a}=r,o=n.caretSize+n.caretPadding;if(e===`left`&&i+a+o>t.width||e===`right`&&i-a-o<0)return!0}function fy(e,t,n,r){let{x:i,width:a}=n,{width:o,chartArea:{left:s,right:c}}=e,l=`center`;return r===`center`?l=i<=(s+c)/2?`left`:`right`:i<=a/2?l=`left`:i>=o-a/2&&(l=`right`),dy(l,e,t,n)&&(l=`center`),l}function py(e,t,n){let r=n.yAlign||t.yAlign||uy(e,n);return{xAlign:n.xAlign||t.xAlign||fy(e,t,n,r),yAlign:r}}function my(e,t){let{x:n,width:r}=e;return t===`right`?n-=r:t===`center`&&(n-=r/2),n}function hy(e,t,n){let{y:r,height:i}=e;return t===`top`?r+=n:r-=t===`bottom`?i+n:i/2,r}function gy(e,t,n,r){let{caretSize:i,caretPadding:a,cornerRadius:o}=e,{xAlign:s,yAlign:c}=n,l=i+a,{topLeft:u,topRight:d,bottomLeft:f,bottomRight:p}=Kf(o),m=my(t,s),h=hy(t,c,l);return c===`center`?s===`left`?m+=l:s===`right`&&(m-=l):s===`left`?m-=Math.max(u,f)+i:s===`right`&&(m+=Math.max(d,p)+i),{x:G(m,0,r.width-t.width),y:G(h,0,r.height-t.height)}}function _y(e,t,n){let r=qf(n.padding);return t===`center`?e.x+e.width/2:t===`right`?e.x+e.width-r.right:e.x+r.left}function vy(e){return oy([],sy(e))}function yy(e,t,n){return Xf(e,{tooltip:t,tooltipItems:n,type:`tooltip`})}function by(e,t){let n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}var xy={beforeTitle:qu,title(e){if(e.length>0){let t=e[0],n=t.chart.data.labels,r=n?n.length:0;if(this&&this.options&&this.options.mode===`dataset`)return t.dataset.label||``;if(t.label)return t.label;if(r>0&&t.dataIndex<r)return n[t.dataIndex]}return``},afterTitle:qu,beforeBody:qu,beforeLabel:qu,label(e){if(this&&this.options&&this.options.mode===`dataset`)return e.label+`: `+e.formattedValue||e.formattedValue;let t=e.dataset.label||``;t&&(t+=`: `);let n=e.formattedValue;return F(n)||(t+=n),t},labelColor(e){let t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:t.borderColor,backgroundColor:t.backgroundColor,borderWidth:t.borderWidth,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){let t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:t.pointStyle,rotation:t.rotation}},afterLabel:qu,afterBody:qu,beforeFooter:qu,footer:qu,afterFooter:qu};function Sy(e,t,n,r){let i=e[t].call(n,r);return i===void 0?xy[t].call(n,r):i}var Cy=class extends ig{static positioners=ay;constructor(e){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=e.chart,this.options=e.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(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){let e=this._cachedAnimations;if(e)return e;let t=this.chart,n=this.options.setContext(this.getContext()),r=n.enabled&&t.options.animation&&n.animations,i=new gm(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||=yy(this.chart.getContext(),this,this._tooltipItems)}getTitle(e,t){let{callbacks:n}=t,r=Sy(n,`beforeTitle`,this,e),i=Sy(n,`title`,this,e),a=Sy(n,`afterTitle`,this,e),o=[];return o=oy(o,sy(r)),o=oy(o,sy(i)),o=oy(o,sy(a)),o}getBeforeBody(e,t){return vy(Sy(t.callbacks,`beforeBody`,this,e))}getBody(e,t){let{callbacks:n}=t,r=[];return V(e,e=>{let t={before:[],lines:[],after:[]},i=by(n,e);oy(t.before,sy(Sy(i,`beforeLabel`,this,e))),oy(t.lines,Sy(i,`label`,this,e)),oy(t.after,sy(Sy(i,`afterLabel`,this,e))),r.push(t)}),r}getAfterBody(e,t){return vy(Sy(t.callbacks,`afterBody`,this,e))}getFooter(e,t){let{callbacks:n}=t,r=Sy(n,`beforeFooter`,this,e),i=Sy(n,`footer`,this,e),a=Sy(n,`afterFooter`,this,e),o=[];return o=oy(o,sy(r)),o=oy(o,sy(i)),o=oy(o,sy(a)),o}_createItems(e){let t=this._active,n=this.chart.data,r=[],i=[],a=[],o=[],s,c;for(s=0,c=t.length;s<c;++s)o.push(cy(this.chart,t[s]));return e.filter&&(o=o.filter((t,r,i)=>e.filter(t,r,i,n))),e.itemSort&&(o=o.sort((t,r)=>e.itemSort(t,r,n))),V(o,t=>{let n=by(e.callbacks,t);r.push(Sy(n,`labelColor`,this,t)),i.push(Sy(n,`labelPointStyle`,this,t)),a.push(Sy(n,`labelTextColor`,this,t))}),this.labelColors=r,this.labelPointStyles=i,this.labelTextColors=a,this.dataPoints=o,o}update(e,t){let n=this.options.setContext(this.getContext()),r=this._active,i,a=[];if(!r.length)this.opacity!==0&&(i={opacity:0});else{let e=ay[n.position].call(this,r,this._eventPosition);a=this._createItems(n),this.title=this.getTitle(a,n),this.beforeBody=this.getBeforeBody(a,n),this.body=this.getBody(a,n),this.afterBody=this.getAfterBody(a,n),this.footer=this.getFooter(a,n);let t=this._size=ly(this,n),o=Object.assign({},e,t),s=py(this.chart,n,o),c=gy(n,o,s,this.chart);this.xAlign=s.xAlign,this.yAlign=s.yAlign,i={opacity:1,x:c.x,y:c.y,width:t.width,height:t.height,caretX:e.x,caretY:e.y}}this._tooltipItems=a,this.$context=void 0,i&&this._resolveAnimations().update(this,i),e&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:t})}drawCaret(e,t,n,r){let i=this.getCaretPosition(e,n,r);t.lineTo(i.x1,i.y1),t.lineTo(i.x2,i.y2),t.lineTo(i.x3,i.y3)}getCaretPosition(e,t,n){let{xAlign:r,yAlign:i}=this,{caretSize:a,cornerRadius:o}=n,{topLeft:s,topRight:c,bottomLeft:l,bottomRight:u}=Kf(o),{x:d,y:f}=e,{width:p,height:m}=t,h,g,_,v,y,b;return i===`center`?(y=f+m/2,r===`left`?(h=d,g=h-a,v=y+a,b=y-a):(h=d+p,g=h+a,v=y-a,b=y+a),_=h):(g=r===`left`?d+Math.max(s,l)+a:r===`right`?d+p-Math.max(c,u)-a:this.caretX,i===`top`?(v=f,y=v-a,h=g-a,_=g+a):(v=f+m,y=v+a,h=g+a,_=g-a),b=v),{x1:h,x2:g,x3:_,y1:v,y2:y,y3:b}}drawTitle(e,t,n){let r=this.title,i=r.length,a,o,s;if(i){let c=Jp(n.rtl,this.x,this.width);for(e.x=_y(this,n.titleAlign,n),t.textAlign=c.textAlign(n.titleAlign),t.textBaseline=`middle`,a=q(n.titleFont),o=n.titleSpacing,t.fillStyle=n.titleColor,t.font=a.string,s=0;s<i;++s)t.fillText(r[s],c.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+o,s+1===i&&(e.y+=n.titleMarginBottom-o)}}_drawColorBox(e,t,n,r,i){let a=this.labelColors[n],o=this.labelPointStyles[n],{boxHeight:s,boxWidth:c}=i,l=q(i.bodyFont),u=_y(this,`left`,i),d=r.x(u),f=s<l.lineHeight?(l.lineHeight-s)/2:0,p=t.y+f;if(i.usePointStyle){let t={radius:Math.min(c,s)/2,pointStyle:o.pointStyle,rotation:o.rotation,borderWidth:1},n=r.leftForLtr(d,c)+c/2,l=p+s/2;e.strokeStyle=i.multiKeyBackground,e.fillStyle=i.multiKeyBackground,Of(e,t,n,l),e.strokeStyle=a.borderColor,e.fillStyle=a.backgroundColor,Of(e,t,n,l)}else{e.lineWidth=L(a.borderWidth)?Math.max(...Object.values(a.borderWidth)):a.borderWidth||1,e.strokeStyle=a.borderColor,e.setLineDash(a.borderDash||[]),e.lineDashOffset=a.borderDashOffset||0;let t=r.leftForLtr(d,c),n=r.leftForLtr(r.xPlus(d,1),c-2),o=Kf(a.borderRadius);Object.values(o).some(e=>e!==0)?(e.beginPath(),e.fillStyle=i.multiKeyBackground,zf(e,{x:t,y:p,w:c,h:s,radius:o}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),zf(e,{x:n,y:p+1,w:c-2,h:s-2,radius:o}),e.fill()):(e.fillStyle=i.multiKeyBackground,e.fillRect(t,p,c,s),e.strokeRect(t,p,c,s),e.fillStyle=a.backgroundColor,e.fillRect(n,p+1,c-2,s-2))}e.fillStyle=this.labelTextColors[n]}drawBody(e,t,n){let{body:r}=this,{bodySpacing:i,bodyAlign:a,displayColors:o,boxHeight:s,boxWidth:c,boxPadding:l}=n,u=q(n.bodyFont),d=u.lineHeight,f=0,p=Jp(n.rtl,this.x,this.width),m=function(n){t.fillText(n,p.x(e.x+f),e.y+d/2),e.y+=d+i},h=p.textAlign(a),g,_,v,y,b,x,S;for(t.textAlign=a,t.textBaseline=`middle`,t.font=u.string,e.x=_y(this,h,n),t.fillStyle=n.bodyColor,V(this.beforeBody,m),f=o&&h!==`right`?a===`center`?c/2+l:c+2+l:0,y=0,x=r.length;y<x;++y){for(g=r[y],_=this.labelTextColors[y],t.fillStyle=_,V(g.before,m),v=g.lines,o&&v.length&&(this._drawColorBox(t,e,y,p,n),d=Math.max(u.lineHeight,s)),b=0,S=v.length;b<S;++b)m(v[b]),d=u.lineHeight;V(g.after,m)}f=0,d=u.lineHeight,V(this.afterBody,m),e.y-=i}drawFooter(e,t,n){let r=this.footer,i=r.length,a,o;if(i){let s=Jp(n.rtl,this.x,this.width);for(e.x=_y(this,n.footerAlign,n),e.y+=n.footerMarginTop,t.textAlign=s.textAlign(n.footerAlign),t.textBaseline=`middle`,a=q(n.footerFont),t.fillStyle=n.footerColor,t.font=a.string,o=0;o<i;++o)t.fillText(r[o],s.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+n.footerSpacing}}drawBackground(e,t,n,r){let{xAlign:i,yAlign:a}=this,{x:o,y:s}=e,{width:c,height:l}=n,{topLeft:u,topRight:d,bottomLeft:f,bottomRight:p}=Kf(r.cornerRadius);t.fillStyle=r.backgroundColor,t.strokeStyle=r.borderColor,t.lineWidth=r.borderWidth,t.beginPath(),t.moveTo(o+u,s),a===`top`&&this.drawCaret(e,t,n,r),t.lineTo(o+c-d,s),t.quadraticCurveTo(o+c,s,o+c,s+d),a===`center`&&i===`right`&&this.drawCaret(e,t,n,r),t.lineTo(o+c,s+l-p),t.quadraticCurveTo(o+c,s+l,o+c-p,s+l),a===`bottom`&&this.drawCaret(e,t,n,r),t.lineTo(o+f,s+l),t.quadraticCurveTo(o,s+l,o,s+l-f),a===`center`&&i===`left`&&this.drawCaret(e,t,n,r),t.lineTo(o,s+u),t.quadraticCurveTo(o,s,o+u,s),t.closePath(),t.fill(),r.borderWidth>0&&t.stroke()}_updateAnimationTarget(e){let t=this.chart,n=this.$animations,r=n&&n.x,i=n&&n.y;if(r||i){let n=ay[e.position].call(this,this._active,this._eventPosition);if(!n)return;let a=this._size=ly(this,e),o=Object.assign({},n,this._size),s=py(t,e,o),c=gy(e,o,s,t);(r._to!==c.x||i._to!==c.y)&&(this.xAlign=s.xAlign,this.yAlign=s.yAlign,this.width=a.width,this.height=a.height,this.caretX=n.x,this.caretY=n.y,this._resolveAnimations().update(this,c))}}_willRender(){return!!this.opacity}draw(e){let t=this.options.setContext(this.getContext()),n=this.opacity;if(!n)return;this._updateAnimationTarget(t);let r={width:this.width,height:this.height},i={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;let a=qf(t.padding),o=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;t.enabled&&o&&(e.save(),e.globalAlpha=n,this.drawBackground(i,e,r,t),Yp(e,t.textDirection),i.y+=a.top,this.drawTitle(i,e,t),this.drawBody(i,e,t),this.drawFooter(i,e,t),Xp(e,t.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,t){let n=this._active,r=e.map(({datasetIndex:e,index:t})=>{let n=this.chart.getDatasetMeta(e);if(!n)throw Error(`Cannot find a dataset at index `+e);return{datasetIndex:e,element:n.data[t],index:t}}),i=!Qu(n,r),a=this._positionChanged(r,t);(i||a)&&(this._active=r,this._eventPosition=t,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,t,n=!0){if(t&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;let r=this.options,i=this._active||[],a=this._getActiveElements(e,i,t,n),o=this._positionChanged(a,e),s=t||!Qu(a,i)||o;return s&&(this._active=a,(r.enabled||r.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,t))),s}_getActiveElements(e,t,n,r){let i=this.options;if(e.type===`mouseout`)return[];if(!r)return t.filter(e=>this.chart.data.datasets[e.datasetIndex]&&this.chart.getDatasetMeta(e.datasetIndex).controller.getParsed(e.index)!==void 0);let a=this.chart.getElementsAtEventForMode(e,i.mode,i,n);return i.reverse&&a.reverse(),a}_positionChanged(e,t){let{caretX:n,caretY:r,options:i}=this,a=ay[i.position].call(this,e,t);return a!==!1&&(n!==a.x||r!==a.y)}},wy=Object.freeze({__proto__:null,Colors:ov,Decimation:fv,Filler:Wv,Legend:$v,SubTitle:iy,Title:ny,Tooltip:{id:`tooltip`,_element:Cy,positioners:ay,afterInit(e,t,n){n&&(e.tooltip=new Cy({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){let t=e.tooltip;if(t&&t._willRender()){let n={tooltip:t};if(e.notifyPlugins(`beforeTooltipDraw`,{...n,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins(`afterTooltipDraw`,n)}},afterEvent(e,t){if(e.tooltip){let n=t.replay;e.tooltip.handleEvent(t.event,n,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:(e,t)=>t.bodyFont.size,boxWidth:(e,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:xy},defaultRoutes:{bodyFont:`font`,footerFont:`font`,titleFont:`font`},descriptors:{_scriptable:e=>e!==`filter`&&e!==`itemSort`&&e!==`external`,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:`animation`}},additionalOptionScopes:[`interaction`]}}),Ty=(e,t,n,r)=>(typeof t==`string`?(n=e.push(t)-1,r.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function Ey(e,t,n,r){let i=e.indexOf(t);return i===-1?Ty(e,t,n,r):i===e.lastIndexOf(t)?i:n}var Dy=(e,t)=>e===null?null:G(Math.round(e),0,t);function Oy(e){let t=this.getLabels();return e>=0&&e<t.length?t[e]:e}var ky=class extends wg{static id=`category`;static defaults={ticks:{callback:Oy}};constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){let t=this._addedLabels;if(t.length){let e=this.getLabels();for(let{index:n,label:r}of t)e[n]===r&&e.splice(n,1);this._addedLabels=[]}super.init(e)}parse(e,t){if(F(e))return null;let n=this.getLabels();return t=isFinite(t)&&n[t]===e?t:Ey(n,e,z(t,e),this._addedLabels),Dy(t,n.length-1)}determineDataLimits(){let{minDefined:e,maxDefined:t}=this.getUserBounds(),{min:n,max:r}=this.getMinMax(!0);this.options.bounds===`ticks`&&(e||(n=0),t||(r=this.getLabels().length-1)),this.min=n,this.max=r}buildTicks(){let e=this.min,t=this.max,n=this.options.offset,r=[],i=this.getLabels();i=e===0&&t===i.length-1?i:i.slice(e,t+1),this._valueRange=Math.max(i.length-+!n,1),this._startValue=this.min-(n?.5:0);for(let n=e;n<=t;n++)r.push({value:n});return r}getLabelForValue(e){return Oy.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return typeof e!=`number`&&(e=this.parse(e)),e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){let t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}};function Ay(e,t){let n=[],{bounds:r,step:i,min:a,max:o,precision:s,count:c,maxTicks:l,maxDigits:u,includeBounds:d}=e,f=i||1,p=l-1,{min:m,max:h}=t,g=!F(a),_=!F(o),v=!F(c),y=(h-m)/(u+1),b=Sd((h-m)/p/f)*f,x,S,C,w;if(b<1e-14&&!g&&!_)return[{value:m},{value:h}];w=Math.ceil(h/b)-Math.floor(m/b),w>p&&(b=Sd(w*b/p/f)*f),F(s)||(x=10**s,b=Math.ceil(b*x)/x),r===`ticks`?(S=Math.floor(m/b)*b,C=Math.ceil(h/b)*b):(S=m,C=h),g&&_&&i&&Ed((o-a)/i,b/1e3)?(w=Math.round(Math.min((o-a)/b,l)),b=(o-a)/w,S=a,C=o):v?(S=g?a:S,C=_?o:C,w=c-1,b=(C-S)/w):(w=(C-S)/b,w=xd(w,Math.round(w),b/1e3)?Math.round(w):Math.ceil(w));let T=Math.max(Ad(b),Ad(S));x=10**(F(s)?T:s),S=Math.round(S*x)/x,C=Math.round(C*x)/x;let E=0;for(g&&(d&&S!==a?(n.push({value:a}),S<a&&E++,xd(Math.round((S+E*b)*x)/x,a,jy(a,y,e))&&E++):S<a&&E++);E<w;++E){let e=Math.round((S+E*b)*x)/x;if(_&&e>o)break;n.push({value:e})}return _&&d&&C!==o?n.length&&xd(n[n.length-1].value,o,jy(o,y,e))?n[n.length-1].value=o:n.push({value:o}):_&&C!==o||n.push({value:C}),n}function jy(e,t,{horizontal:n,minRotation:r}){let i=Od(r),a=(n?Math.sin(i):Math.cos(i))||.001,o=.75*t*(``+e).length;return Math.min(t/a,o)}var My=class extends wg{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,t){return F(e)||(typeof e==`number`||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){let{beginAtZero:e}=this.options,{minDefined:t,maxDefined:n}=this.getUserBounds(),{min:r,max:i}=this,a=e=>r=t?r:e,o=e=>i=n?i:e;if(e){let e=bd(r),t=bd(i);e<0&&t<0?o(0):e>0&&t>0&&a(0)}if(r===i){let t=i===0?1:Math.abs(i*.05);o(i+t),e||a(r-t)}this.min=r,this.max=i}getTickLimit(){let{maxTicksLimit:e,stepSize:t}=this.options.ticks,n;return t?(n=Math.ceil(this.max/t)-Math.floor(this.min/t)+1,n>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${t} would result generating up to ${n} ticks. Limiting to 1000.`),n=1e3)):(n=this.computeTickLimit(),e||=11),e&&(n=Math.min(e,n)),n}computeTickLimit(){return 1/0}buildTicks(){let e=this.options,t=e.ticks,n=this.getTickLimit();n=Math.max(2,n);let r=Ay({maxTicks:n,bounds:e.bounds,min:e.min,max:e.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:t.includeBounds!==!1},this._range||this);return e.bounds===`ticks`&&Dd(r,this,`value`),e.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){let e=this.ticks,t=this.min,n=this.max;if(super.configure(),this.options.offset&&e.length){let r=(n-t)/Math.max(e.length-1,1)/2;t-=r,n+=r}this._startValue=t,this._endValue=n,this._valueRange=n-t}getLabelForValue(e){return mf(e,this.chart.options.locale,this.options.ticks.format)}},Ny=class extends My{static id=`linear`;static defaults={ticks:{callback:_f.formatters.numeric}};determineDataLimits(){let{min:e,max:t}=this.getMinMax(!0);this.min=R(e)?e:0,this.max=R(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){let e=this.isHorizontal(),t=e?this.width:this.height,n=Od(this.options.ticks.minRotation),r=(e?Math.sin(n):Math.cos(n))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,i.lineHeight/r))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}},Py=e=>Math.floor(yd(e)),Fy=(e,t)=>10**(Py(e)+t);function Iy(e){return e/10**Py(e)==1}function Ly(e,t,n){let r=10**n,i=Math.floor(e/r);return Math.ceil(t/r)-i}function Ry(e,t){let n=Py(t-e);for(;Ly(e,t,n)>10;)n++;for(;Ly(e,t,n)<10;)n--;return Math.min(n,Py(e))}function zy(e,{min:t,max:n}){t=Yu(e.min,t);let r=[],i=Py(t),a=Ry(t,n),o=a<0?10**Math.abs(a):1,s=10**a,c=i>a?10**i:0,l=Math.round((t-c)*o)/o,u=Math.floor((t-c)/s/10)*s*10,d=Math.floor((l-u)/10**a),f=Yu(e.min,Math.round((c+u+d*10**a)*o)/o);for(;f<n;)r.push({value:f,major:Iy(f),significand:d}),d>=10?d=d<15?15:20:d++,d>=20&&(a++,d=2,o=a>=0?1:o),f=Math.round((c+u+d*10**a)*o)/o;let p=Yu(e.max,f);return r.push({value:p,major:Iy(p),significand:d}),r}var By=class extends wg{static id=`logarithmic`;static defaults={ticks:{callback:_f.formatters.logarithmic,major:{enabled:!0}}};constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,t){let n=My.prototype.parse.apply(this,[e,t]);if(n===0)this._zero=!0;else return R(n)&&n>0?n:null}determineDataLimits(){let{min:e,max:t}=this.getMinMax(!0);this.min=R(e)?Math.max(0,e):null,this.max=R(t)?Math.max(0,t):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!R(this._userMin)&&(this.min=e===Fy(this.min,0)?Fy(this.min,-1):Fy(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){let{minDefined:e,maxDefined:t}=this.getUserBounds(),n=this.min,r=this.max,i=t=>n=e?n:t,a=e=>r=t?r:e;n===r&&(n<=0?(i(1),a(10)):(i(Fy(n,-1)),a(Fy(r,1)))),n<=0&&i(Fy(r,-1)),r<=0&&a(Fy(n,1)),this.min=n,this.max=r}buildTicks(){let e=this.options,t=zy({min:this._userMin,max:this._userMax},this);return e.bounds===`ticks`&&Dd(t,this,`value`),e.reverse?(t.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),t}getLabelForValue(e){return e===void 0?`0`:mf(e,this.chart.options.locale,this.options.ticks.format)}configure(){let e=this.min;super.configure(),this._startValue=yd(e),this._valueRange=yd(this.max)-yd(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(yd(e)-this._startValue)/this._valueRange)}getValueForPixel(e){let t=this.getDecimalForPixel(e);return 10**(this._startValue+t*this._valueRange)}};function Vy(e){let t=e.ticks;if(t.display&&e.display){let e=qf(t.backdropPadding);return z(t.font&&t.font.size,K.font.size)+e.height}return 0}function Hy(e,t,n){return n=I(n)?n:[n],{w:Tf(e,t.string,n),h:n.length*t.lineHeight}}function Uy(e,t,n,r,i){return e===r||e===i?{start:t-n/2,end:t+n/2}:e<r||e>i?{start:t-n,end:t}:{start:t,end:t+n}}function Wy(e){let t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},n=Object.assign({},t),r=[],i=[],a=e._pointLabels.length,o=e.options.pointLabels,s=o.centerPointLabels?H/a:0;for(let c=0;c<a;c++){let a=o.setContext(e.getPointLabelContext(c));i[c]=a.padding;let l=e.getPointPosition(c,e.drawingArea+i[c],s),u=q(a.font),d=Hy(e.ctx,u,e._pointLabels[c]);r[c]=d;let f=Pd(e.getIndexAngle(c)+s),p=Math.round(kd(f));Gy(n,t,f,Uy(p,l.x,d.w,0,180),Uy(p,l.y,d.h,90,270))}e.setCenterPoint(t.l-n.l,n.r-t.r,t.t-n.t,n.b-t.b),e._pointLabelItems=Jy(e,r,i)}function Gy(e,t,n,r,i){let a=Math.abs(Math.sin(n)),o=Math.abs(Math.cos(n)),s=0,c=0;r.start<t.l?(s=(t.l-r.start)/a,e.l=Math.min(e.l,t.l-s)):r.end>t.r&&(s=(r.end-t.r)/a,e.r=Math.max(e.r,t.r+s)),i.start<t.t?(c=(t.t-i.start)/o,e.t=Math.min(e.t,t.t-c)):i.end>t.b&&(c=(i.end-t.b)/o,e.b=Math.max(e.b,t.b+c))}function Ky(e,t,n){let r=e.drawingArea,{extra:i,additionalAngle:a,padding:o,size:s}=n,c=e.getPointPosition(t,r+i+o,a),l=Math.round(kd(Pd(c.angle+W))),u=Zy(c.y,s.h,l),d=Yy(l),f=Xy(c.x,s.w,d);return{visible:!0,x:c.x,y:u,textAlign:d,left:f,top:u,right:f+s.w,bottom:u+s.h}}function qy(e,t){if(!t)return!0;let{left:n,top:r,right:i,bottom:a}=e;return!(Af({x:n,y:r},t)||Af({x:n,y:a},t)||Af({x:i,y:r},t)||Af({x:i,y:a},t))}function Jy(e,t,n){let r=[],i=e._pointLabels.length,a=e.options,{centerPointLabels:o,display:s}=a.pointLabels,c={extra:Vy(a)/2,additionalAngle:o?H/i:0},l;for(let a=0;a<i;a++){c.padding=n[a],c.size=t[a];let i=Ky(e,a,c);r.push(i),s===`auto`&&(i.visible=qy(i,l),i.visible&&(l=i))}return r}function Yy(e){return e===0||e===180?`center`:e<180?`left`:`right`}function Xy(e,t,n){return n===`right`?e-=t:n===`center`&&(e-=t/2),e}function Zy(e,t,n){return n===90||n===270?e-=t/2:(n>270||n<90)&&(e-=t),e}function Qy(e,t,n){let{left:r,top:i,right:a,bottom:o}=n,{backdropColor:s}=t;if(!F(s)){let n=Kf(t.borderRadius),c=qf(t.backdropPadding);e.fillStyle=s;let l=r-c.left,u=i-c.top,d=a-r+c.width,f=o-i+c.height;Object.values(n).some(e=>e!==0)?(e.beginPath(),zf(e,{x:l,y:u,w:d,h:f,radius:n}),e.fill()):e.fillRect(l,u,d,f)}}function $y(e,t){let{ctx:n,options:{pointLabels:r}}=e;for(let i=t-1;i>=0;i--){let t=e._pointLabelItems[i];if(!t.visible)continue;let a=r.setContext(e.getPointLabelContext(i));Qy(n,a,t);let o=q(a.font),{x:s,y:c,textAlign:l}=t;Rf(n,e._pointLabels[i],s,c+o.lineHeight/2,o,{color:a.color,textAlign:l,textBaseline:`middle`})}}function eb(e,t,n,r){let{ctx:i}=e;if(n)i.arc(e.xCenter,e.yCenter,t,0,U);else{let n=e.getPointPosition(0,t);i.moveTo(n.x,n.y);for(let a=1;a<r;a++)n=e.getPointPosition(a,t),i.lineTo(n.x,n.y)}}function tb(e,t,n,r,i){let a=e.ctx,o=t.circular,{color:s,lineWidth:c}=t;!o&&!r||!s||!c||n<0||(a.save(),a.strokeStyle=s,a.lineWidth=c,a.setLineDash(i.dash||[]),a.lineDashOffset=i.dashOffset,a.beginPath(),eb(e,n,o,r),a.closePath(),a.stroke(),a.restore())}function nb(e,t,n){return Xf(e,{label:n,index:t,type:`pointLabel`})}var rb=class extends My{static id=`radialLinear`;static defaults={display:!0,animate:!0,position:`chartArea`,angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:_f.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(e){return e},padding:5,centerPointLabels:!1}};static defaultRoutes={"angleLines.color":`borderColor`,"pointLabels.color":`color`,"ticks.color":`color`};static descriptors={angleLines:{_fallback:`grid`}};constructor(e){super(e),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){let e=this._padding=qf(Vy(this.options)/2),t=this.width=this.maxWidth-e.width,n=this.height=this.maxHeight-e.height;this.xCenter=Math.floor(this.left+t/2+e.left),this.yCenter=Math.floor(this.top+n/2+e.top),this.drawingArea=Math.floor(Math.min(t,n)/2)}determineDataLimits(){let{min:e,max:t}=this.getMinMax(!1);this.min=R(e)&&!isNaN(e)?e:0,this.max=R(t)&&!isNaN(t)?t:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/Vy(this.options))}generateTickLabels(e){My.prototype.generateTickLabels.call(this,e),this._pointLabels=this.getLabels().map((e,t)=>{let n=B(this.options.pointLabels.callback,[e,t],this);return n||n===0?n:``}).filter((e,t)=>this.chart.getDataVisibility(t))}fit(){let e=this.options;e.display&&e.pointLabels.display?Wy(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,t,n,r){this.xCenter+=Math.floor((e-t)/2),this.yCenter+=Math.floor((n-r)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,t,n,r))}getIndexAngle(e){let t=U/(this._pointLabels.length||1),n=this.options.startAngle||0;return Pd(e*t+Od(n))}getDistanceFromCenterForValue(e){if(F(e))return NaN;let t=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*t:(e-this.min)*t}getValueForDistanceFromCenter(e){if(F(e))return NaN;let t=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-t:this.min+t}getPointLabelContext(e){let t=this._pointLabels||[];if(e>=0&&e<t.length){let n=t[e];return nb(this.getContext(),e,n)}}getPointPosition(e,t,n=0){let r=this.getIndexAngle(e)-W+n;return{x:Math.cos(r)*t+this.xCenter,y:Math.sin(r)*t+this.yCenter,angle:r}}getPointPositionForValue(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))}getBasePosition(e){return this.getPointPositionForValue(e||0,this.getBaseValue())}getPointLabelPosition(e){let{left:t,top:n,right:r,bottom:i}=this._pointLabelItems[e];return{left:t,top:n,right:r,bottom:i}}drawBackground(){let{backgroundColor:e,grid:{circular:t}}=this.options;if(e){let n=this.ctx;n.save(),n.beginPath(),eb(this,this.getDistanceFromCenterForValue(this._endValue),t,this._pointLabels.length),n.closePath(),n.fillStyle=e,n.fill(),n.restore()}}drawGrid(){let e=this.ctx,t=this.options,{angleLines:n,grid:r,border:i}=t,a=this._pointLabels.length,o,s,c;if(t.pointLabels.display&&$y(this,a),r.display&&this.ticks.forEach((e,t)=>{if(t!==0||t===0&&this.min<0){s=this.getDistanceFromCenterForValue(e.value);let n=this.getContext(t),o=r.setContext(n),c=i.setContext(n);tb(this,o,s,a,c)}}),n.display){for(e.save(),o=a-1;o>=0;o--){let r=n.setContext(this.getPointLabelContext(o)),{color:i,lineWidth:a}=r;a&&i&&(e.lineWidth=a,e.strokeStyle=i,e.setLineDash(r.borderDash),e.lineDashOffset=r.borderDashOffset,s=this.getDistanceFromCenterForValue(t.reverse?this.min:this.max),c=this.getPointPosition(o,s),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(c.x,c.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){let e=this.ctx,t=this.options,n=t.ticks;if(!n.display)return;let r=this.getIndexAngle(0),i,a;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(r),e.textAlign=`center`,e.textBaseline=`middle`,this.ticks.forEach((r,o)=>{if(o===0&&this.min>=0&&!t.reverse)return;let s=n.setContext(this.getContext(o)),c=q(s.font);if(i=this.getDistanceFromCenterForValue(this.ticks[o].value),s.showLabelBackdrop){e.font=c.string,a=e.measureText(r.label).width,e.fillStyle=s.backdropColor;let t=qf(s.backdropPadding);e.fillRect(-a/2-t.left,-i-c.size/2-t.top,a+t.width,c.size+t.height)}Rf(e,r.label,0,-i,c,{color:s.color,strokeColor:s.textStrokeColor,strokeWidth:s.textStrokeWidth})}),e.restore()}drawTitle(){}},ib={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}},ab=Object.keys(ib);function ob(e,t){return e-t}function sb(e,t){if(F(t))return null;let n=e._adapter,{parser:r,round:i,isoWeekday:a}=e._parseOpts,o=t;return typeof r==`function`&&(o=r(o)),R(o)||(o=typeof r==`string`?n.parse(o,r):n.parse(o)),o===null?null:(i&&(o=i===`week`&&(Td(a)||a===!0)?n.startOf(o,`isoWeek`,a):n.startOf(o,i)),+o)}function cb(e,t,n,r){let i=ab.length;for(let a=ab.indexOf(e);a<i-1;++a){let e=ib[ab[a]],i=e.steps?e.steps:2**53-1;if(e.common&&Math.ceil((n-t)/(i*e.size))<=r)return ab[a]}return ab[i-1]}function lb(e,t,n,r,i){for(let a=ab.length-1;a>=ab.indexOf(n);a--){let n=ab[a];if(ib[n].common&&e._adapter.diff(i,r,n)>=t-1)return n}return ab[n?ab.indexOf(n):0]}function ub(e){for(let t=ab.indexOf(e)+1,n=ab.length;t<n;++t)if(ib[ab[t]].common)return ab[t]}function db(e,t,n){if(!n)e[t]=!0;else if(n.length){let{lo:r,hi:i}=Rd(n,t),a=n[r]>=t?n[r]:n[i];e[a]=!0}}function fb(e,t,n,r){let i=e._adapter,a=+i.startOf(t[0].value,r),o=t[t.length-1].value,s,c;for(s=a;s<=o;s=+i.add(s,1,r))c=n[s],c>=0&&(t[c].major=!0);return t}function pb(e,t,n){let r=[],i={},a=t.length,o,s;for(o=0;o<a;++o)s=t[o],i[s]=o,r.push({value:s,major:!1});return a===0||!n?r:fb(e,r,i,n)}var mb=class extends wg{static id=`time`;static defaults={bounds:`data`,adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:`millisecond`,displayFormats:{}},ticks:{source:`auto`,callback:!1,major:{enabled:!1}}};constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit=`day`,this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,t={}){let n=e.time||={},r=this._adapter=new ch._date(e.adapters.date);r.init(t),rd(n.displayFormats,r.formats()),this._parseOpts={parser:n.parser,round:n.round,isoWeekday:n.isoWeekday},super.init(e),this._normalized=t.normalized}parse(e,t){return e===void 0?null:sb(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){let e=this.options,t=this._adapter,n=e.time.unit||`day`,{min:r,max:i,minDefined:a,maxDefined:o}=this.getUserBounds();function s(e){!a&&!isNaN(e.min)&&(r=Math.min(r,e.min)),!o&&!isNaN(e.max)&&(i=Math.max(i,e.max))}a&&o||(s(this._getLabelBounds()),(e.bounds!==`ticks`||e.ticks.source!==`labels`)&&s(this.getMinMax(!1))),r=R(r)&&!isNaN(r)?r:+t.startOf(Date.now(),n),i=R(i)&&!isNaN(i)?i:+t.endOf(Date.now(),n)+1,this.min=Math.min(r,i-1),this.max=Math.max(r+1,i)}_getLabelBounds(){let e=this.getLabelTimestamps(),t=1/0,n=-1/0;return e.length&&(t=e[0],n=e[e.length-1]),{min:t,max:n}}buildTicks(){let e=this.options,t=e.time,n=e.ticks,r=n.source===`labels`?this.getLabelTimestamps():this._generate();e.bounds===`ticks`&&r.length&&(this.min=this._userMin||r[0],this.max=this._userMax||r[r.length-1]);let i=this.min,a=this.max,o=Vd(r,i,a);return this._unit=t.unit||(n.autoSkip?cb(t.minUnit,this.min,this.max,this._getLabelCapacity(i)):lb(this,o.length,t.minUnit,this.min,this.max)),this._majorUnit=!n.major.enabled||this._unit===`year`?void 0:ub(this._unit),this.initOffsets(r),e.reverse&&o.reverse(),pb(this,o,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(e=>+e.value))}initOffsets(e=[]){let t=0,n=0,r,i;this.options.offset&&e.length&&(r=this.getDecimalForValue(e[0]),t=e.length===1?1-r:(this.getDecimalForValue(e[1])-r)/2,i=this.getDecimalForValue(e[e.length-1]),n=e.length===1?i:(i-this.getDecimalForValue(e[e.length-2]))/2);let a=e.length<3?.5:.25;t=G(t,0,a),n=G(n,0,a),this._offsets={start:t,end:n,factor:1/(t+1+n)}}_generate(){let e=this._adapter,t=this.min,n=this.max,r=this.options,i=r.time,a=i.unit||cb(i.minUnit,t,n,this._getLabelCapacity(t)),o=z(r.ticks.stepSize,1),s=a===`week`&&i.isoWeekday,c=Td(s)||s===!0,l={},u=t,d,f;if(c&&(u=+e.startOf(u,`isoWeek`,s)),u=+e.startOf(u,c?`day`:a),e.diff(n,t,a)>1e5*o)throw Error(t+` and `+n+` are too far apart with stepSize of `+o+` `+a);let p=r.ticks.source===`data`&&this.getDataTimestamps();for(d=u,f=0;d<n;d=+e.add(d,o,a),f++)db(l,d,p);return(d===n||r.bounds===`ticks`||f===1)&&db(l,d,p),Object.keys(l).sort(ob).map(e=>+e)}getLabelForValue(e){let t=this._adapter,n=this.options.time;return n.tooltipFormat?t.format(e,n.tooltipFormat):t.format(e,n.displayFormats.datetime)}format(e,t){let n=this.options.time.displayFormats,r=this._unit,i=t||n[r];return this._adapter.format(e,i)}_tickFormatFunction(e,t,n,r){let i=this.options,a=i.ticks.callback;if(a)return B(a,[e,t,n],this);let o=i.time.displayFormats,s=this._unit,c=this._majorUnit,l=s&&o[s],u=c&&o[c],d=n[t],f=c&&u&&d&&d.major;return this._adapter.format(e,r||(f?u:l))}generateTickLabels(e){let t,n,r;for(t=0,n=e.length;t<n;++t)r=e[t],r.label=this._tickFormatFunction(r.value,t,e)}getDecimalForValue(e){return e===null?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){let t=this._offsets,n=this.getDecimalForValue(e);return this.getPixelForDecimal((t.start+n)*t.factor)}getValueForPixel(e){let t=this._offsets,n=this.getDecimalForPixel(e)/t.factor-t.end;return this.min+n*(this.max-this.min)}_getLabelSize(e){let t=this.options.ticks,n=this.ctx.measureText(e).width,r=Od(this.isHorizontal()?t.maxRotation:t.minRotation),i=Math.cos(r),a=Math.sin(r),o=this._resolveTickFontOptions(0).size;return{w:n*i+o*a,h:n*a+o*i}}_getLabelCapacity(e){let t=this.options.time,n=t.displayFormats,r=n[t.unit]||n.millisecond,i=this._tickFormatFunction(e,0,pb(this,[e],this._majorUnit),r),a=this._getLabelSize(i),o=Math.floor(this.isHorizontal()?this.width/a.w:this.height/a.h)-1;return o>0?o:1}getDataTimestamps(){let e=this._cache.data||[],t,n;if(e.length)return e;let r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(t=0,n=r.length;t<n;++t)e=e.concat(r[t].controller.getAllParsedValues(this));return this._cache.data=this.normalize(e)}getLabelTimestamps(){let e=this._cache.labels||[],t,n;if(e.length)return e;let r=this.getLabels();for(t=0,n=r.length;t<n;++t)e.push(sb(this,r[t]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return Gd(e.sort(ob))}};function hb(e,t,n){let r=0,i=e.length-1,a,o,s,c;n?(t>=e[r].pos&&t<=e[i].pos&&({lo:r,hi:i}=zd(e,`pos`,t)),{pos:a,time:s}=e[r],{pos:o,time:c}=e[i]):(t>=e[r].time&&t<=e[i].time&&({lo:r,hi:i}=zd(e,`time`,t)),{time:a,pos:s}=e[r],{time:o,pos:c}=e[i]);let l=o-a;return l?s+(c-s)*(t-a)/l:s}var gb=class extends mb{static id=`timeseries`;static defaults=mb.defaults;constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){let e=this._getTimestampsForTable(),t=this._table=this.buildLookupTable(e);this._minPos=hb(t,this.min),this._tableRange=hb(t,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){let{min:t,max:n}=this,r=[],i=[],a,o,s,c,l;for(a=0,o=e.length;a<o;++a)c=e[a],c>=t&&c<=n&&r.push(c);if(r.length<2)return[{time:t,pos:0},{time:n,pos:1}];for(a=0,o=r.length;a<o;++a)l=r[a+1],s=r[a-1],c=r[a],Math.round((l+s)/2)!==c&&i.push({time:c,pos:a/(o-1)});return i}_generate(){let e=this.min,t=this.max,n=super.getDataTimestamps();return n.includes(e)&&n.length||n.splice(0,0,e),n.includes(t)&&n.length!==1||n.push(t),n.sort((e,t)=>e-t)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;let t=this.getDataTimestamps(),n=this.getLabelTimestamps();return e=t.length&&n.length?this.normalize(t.concat(n)):t.length?t:n,e=this._cache.all=e,e}getDecimalForValue(e){return(hb(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){let t=this._offsets,n=this.getDecimalForPixel(e)/t.factor-t.end;return hb(this._table,n*this._tableRange+this._minPos,!0)}},_b=[oh,J_,wy,Object.freeze({__proto__:null,CategoryScale:ky,LinearScale:Ny,LogarithmicScale:By,RadialLinearScale:rb,TimeScale:mb,TimeSeriesScale:gb})];f_.register(..._b);var vb=f_,yb=e=>{vb.defaults.color=e[`gray-600`],vb.defaults.borderColor=of(e.black).alpha(.1).rgbString()};yb(window.theme),vb.defaults.font.family=`'Inter', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif`,vb.defaults.elements.bar.borderRadius=10,vb.defaults.elements.line.tension=.4,vb.overrides.radar.elements={line:{tension:0}};var bb=window.matchMedia(`(prefers-reduced-motion: reduce)`),xb=new Map([vb.defaults,...Object.values(vb.defaults.datasets)].filter(e=>e.animation!==void 0).map(e=>[e,e.animation])),Sb=()=>{for(let[e,t]of xb)e.animation=!bb.matches&&t};Sb(),bb.addEventListener(`change`,Sb);var Cb=new WeakMap,wb=(e,t)=>{let n=typeof e==`string`?document.querySelector(e):e,r=new vb(n,t(window.theme));return Cb.set(r,t),Wl(n),r};document.addEventListener(`adminkit:themechange`,({detail:e})=>{yb(e);for(let t of Object.values(vb.instances)){let n=Cb.get(t);if(n){let{data:r,options:i}=n(e);t.data=r,t.options=i}t.update(`none`)}}),window.Chart=vb,window.adminkit={...window.adminkit,chartjs:wb};var J=e=>new Date(`${e}T00:00:00`),Tb=e=>`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,`0`)}-${String(e.getDate()).padStart(2,`0`)}`,Eb=(e,t)=>e.reduce((e,n)=>{if(n instanceof Date||typeof n==`number`){let t=n instanceof Date?n:new Date(n);e.push(Tb(t))}else n.match(/^(\d{4}-\d{2}-\d{2})$/g)?e.push(n):n.replace(/(\d{4}-\d{2}-\d{2}).*?(\d{4}-\d{2}-\d{2})/g,(n,r,i)=>{var a;let o=`${r}:${i}`,s=t?t.start.getTime():-1/0,c=t==null||(a=t.cursors)==null?void 0:a.get(o),l=c!==void 0&&c<=s?new Date(c):J(r),u=J(i).setHours(23,59,59,999);if(t){if(u<s)return n;u=Math.min(u,new Date(t.end).setHours(23,59,59,999))}let d=!1;for(let n=l.getTime();n<=u;n=l.setDate(l.getDate()+1))(!t||n>=s)&&(t!=null&&t.cursors&&!d&&(t.cursors.set(o,n),d=!0),e.push(Tb(l)));return n});return e},[]),Db=(e,t)=>{if(t&&t.values.length===e.length){let n=0;for(;n<e.length&&t.values[n]===e[n];)n++;if(n===e.length)return t}return{values:e.slice(),set:new Set(e)}},Ob=new WeakMap,kb=e=>{var t;let n=(t=e.selectedHolidays)!=null&&t[0]?e.selectedHolidays:[],r=JSON.stringify(n.map(e=>e instanceof Date?e.getTime():e)),i=Ob.get(e);Ob.set(e,{holidayKey:r,holidays:i?.holidayKey===r?i.holidays:new Set(Eb(n)),selected:Db(e.context.selectedDates,i?.selected),disabled:Db(e.context.disableDates,i?.disabled),enabled:Db(e.context.enableDates,i?.enabled),min:Date.parse(`${e.context.displayDateMin}T00:00:00`),max:Date.parse(`${e.context.displayDateMax}T00:00:00`),first:Date.parse(`${e.context.selectedDates[0]}T00:00:00`),last:Date.parse(`${e.context.selectedDates[e.context.selectedDates.length-1]}T00:00:00`)})},Ab=e=>Ob.get(e),jb=[`motion`,`time`,`annotations`,`weeks`,`months`],Mb=new WeakMap,Nb={},Pb=Object.freeze([]),Y=e=>Mb.get(e)??Nb,Fb=(e,t=e)=>{if(t.extensions&&t.extensions!==e.extensions&&(new Set(t.extensions).size!==e.extensions.length||t.extensions.some(t=>!e.extensions.includes(t))))throw Error(`Calendar extensions are fixed at construction. Create a new Calendar to change them.`);let n=Y(e),r=(e,t,r)=>{if(e&&!n[t])throw Error(`The "${r}" option requires ${t}. Import { ${t} } from 'vanilla-calendar-pro' and add it to extensions: [${t}].`)};r(t.animation||t.enableSwipe,`motion`,t.animation?`animation`:`enableSwipe`),r(t.selectionTimeMode,`time`,`selectionTimeMode`),r(t.popups&&Object.keys(t.popups).length||t.onCreateDateRangeTooltip,`annotations`,t.onCreateDateRangeTooltip?`onCreateDateRangeTooltip`:`popups`),r(t.type===`multiple`,`months`,`type`),r(t.type===`week`||t.enableCollapse||t.enableWeekNumbers||t.onClickWeekDay,`weeks`,t.type===`week`?`type`:t.enableCollapse?`enableCollapse`:t.enableWeekNumbers?`enableWeekNumbers`:`onClickWeekDay`)},Ib=(e,t,n)=>Y(e).annotations?.tooltip(e,t,n),Lb=new WeakMap,Rb=e=>{let t=Lb.get(e);return t||(t={lastDateEl:null,isHovering:!1,rangeMin:void 0,rangeMax:void 0,tooltipEl:null,timeoutId:null,frameId:null},Lb.set(e,t)),t},zb=e=>{e.context.mainElement.querySelectorAll(`[data-vc-date-hover]`).forEach(e=>e.removeAttribute(`data-vc-date-hover`))},X=(e,t,n)=>{e.context[t]=n},Bb=(e,t)=>t===void 0||(typeof t==`function`?t(e):t),Vb=e=>Bb(e,e.enableDateToggle),Hb=e=>{if(e.length<3||e.includes(void 0))return e.sort((e,t)=>+new Date(e)-new Date(t));let t=e.map(e=>({date:e,time:+new Date(e)}));return t.sort((e,t)=>e.time-t.time),t.forEach((t,n)=>e[n]=t.date),e},Ub=e=>{var t;let n=Lb.get(e);n&&((t=n.cleanup)==null||t.call(n),n.cleanup=void 0,n.timeoutId!==null&&clearTimeout(n.timeoutId),n.frameId!==null&&cancelAnimationFrame(n.frameId),n.lastDateEl=null,n.tooltipEl=null,n.timeoutId=null,n.frameId=null,Lb.delete(e))},Wb=(e,t,n=!0)=>{let r=Rb(e);if(r.lastDateEl=t,zb(e),!r.cleanup){let t=e.context.mainElement,n=(e=>t=>{if(!e.context.selectedDates[0]||e.context.selectedDates.length!==1&&!e.onCreateDateRangeTooltip)return;let n=Rb(e);if(n.isHovering)return;let r=t.target;n.isHovering=!0,n.frameId=requestAnimationFrame(()=>{var t;n.frameId=null,n.isHovering=!1,!e.context.isDestroyed&&e.context.mainElement.contains(r)&&(e.context.selectedDates.length===1?((e,t)=>{var n;let r=Rb(e);if(e.context.mainElement.hasAttribute(`data-vc-dragging`)||!t||e==null||(n=e.context)==null||!n.selectedDates[0])return;if(!t.closest(`[data-vc="dates"]`))return r.lastDateEl=null,Ib(e,r.tooltipEl,null),void zb(e);let i=t.closest(`[data-vc-date]`);if(!i||r.lastDateEl===i)return;r.lastDateEl=i,Ib(e,r.tooltipEl,i),zb(e);let a=i.dataset.vcDate,o=J(e.context.selectedDates[0]),s=J(a),[c,l]=o<s?[o,s]:[s,o],[u,d]=o<s?[e.context.selectedDates[0],a]:[a,e.context.selectedDates[0]],f=new Set(e.context.disableDates),p=new Date(c);for(;p<=l&&f.has(Tb(p));)p.setDate(p.getDate()+1);p<=l&&e.context.mainElement.querySelectorAll(`[data-vc-date]`).forEach(e=>{let t=e.dataset.vcDate;if(t===u||t===d)e.dataset.vcDateHover=u===d?`first-and-last`:t===u?`first`:`last`;else{let n=J(t);n>=c&&n<=l&&!f.has(t)&&(e.dataset.vcDateHover=``)}})})(e,r):e.context.selectedDates[0]&&e.onCreateDateRangeTooltip&&((t=Y(e).annotations)==null||t.hover(e,r)))})})(e),i=()=>(e=>{let t=Rb(e);t.timeoutId!==null&&clearTimeout(t.timeoutId),t.timeoutId=setTimeout(()=>{t.timeoutId=null,!e.context.isDestroyed&&(t.lastDateEl=null,Ib(e,t.tooltipEl,null),zb(e))},50)})(e),a=t=>((e,t)=>{if(t.key!==`Escape`||e.context.selectedDates.length!==1)return;let n=Rb(e);n.lastDateEl=null,X(e,`selectedDates`,[]),Ib(e,n.tooltipEl,null),zb(e)})(e,t);t.addEventListener(`mousemove`,n),t.addEventListener(`mouseleave`,i),t.addEventListener(`keydown`,a),r.cleanup=()=>{t.removeEventListener(`mousemove`,n),t.removeEventListener(`mouseleave`,i),t.removeEventListener(`keydown`,a)}}e.disableDatesGaps&&(r.rangeMin??=e.context.displayDateMin,r.rangeMax??=e.context.displayDateMax),r.tooltipEl=e.onCreateDateRangeTooltip?e.context.mainElement.querySelector(`[data-vc-date-range-tooltip]`):null;let i=t?.dataset.vcDate;if(i){let t=e.context.selectedDates.length===1&&e.context.selectedDates[0].includes(i);X(e,`selectedDates`,t&&!Vb(e)?[i,i]:t&&Vb(e)?[]:e.context.selectedDates.length>1?[i]:[...e.context.selectedDates,i]),e.context.selectedDates.length>1&&Hb(e.context.selectedDates)}({set:()=>{e.disableDatesGaps&&(e=>{var t,n;if(e==null||(t=e.context)==null||(t=t.selectedDates)==null||!t[0]||(n=e.context.disableDates)==null||!n[0])return;let r=J(e.context.selectedDates[0]),[i,a]=e.context.disableDates.map(e=>J(e)).reduce(([e,t],n)=>[r>=n?n:e,r<n&&t===null?n:t],[null,null]);i&&X(e,`displayDateMin`,Tb(new Date(i.setDate(i.getDate()+1)))),a&&X(e,`displayDateMax`,Tb(new Date(a.setDate(a.getDate()-1)))),e.disableDatesPast&&!e.disableAllDates&&J(e.context.displayDateMin)<J(e.context.dateToday)&&X(e,`displayDateMin`,e.context.dateToday)})(e),Ib(e,r.tooltipEl,t)},reset:()=>{if(!n)return;let[i,a]=[e.context.selectedDates[0],e.context.selectedDates[e.context.selectedDates.length-1]];X(e,`selectedDates`,e.context.selectedDates[0]===e.context.selectedDates[e.context.selectedDates.length-1]?[e.context.selectedDates[0],e.context.selectedDates[0]]:e.enableEdgeDatesOnly?[i,a]:(()=>{let t=new Set(e.context.disableDates);return Eb([`${i}:${a}`]).filter(e=>!t.has(e))})()),e.disableDatesGaps&&(X(e,`displayDateMin`,r.rangeMin),X(e,`displayDateMax`,r.rangeMax)),e.onCreateDateRangeTooltip&&Ib(e,r.tooltipEl,e.context.selectedDates[0]?t:null)}})[e.context.selectedDates.length===1?`set`:`reset`]()},Gb=e=>e.getRootNode?e.getRootNode():document,Kb=new WeakSet,qb=`data-vc-prev-tabindex`,Jb=e=>e.tabIndex>=0&&!e.hasAttribute(`disabled`)&&e.getAttribute(`aria-disabled`)!==`true`,Yb=e=>{if(e.hasAttribute(qb))return;let t=e.getAttribute(`tabindex`);e.setAttribute(qb,t??``)},Xb=e=>{if(!e.hasAttribute(qb))return;let t=e.getAttribute(qb);t===``||t===null?e.removeAttribute(`tabindex`):e.setAttribute(`tabindex`,t),e.removeAttribute(qb)},Zb=e=>{e.setAttribute(`inert`,``),e.ariaHidden=`true`,(e=>{Jb(e)&&(Yb(e),e.tabIndex=-1);let t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>Jb(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;t.nextNode();){let e=t.currentNode;Yb(e),e.tabIndex=-1}})(e)},Qb=e=>{var t;if(ix(e),!e.context.isShowInInputMode||!e.context.currentType)return;let n=e.context.mainElement.contains(Gb(e.context.mainElement).activeElement);e.context.mainElement.dataset.vcCalendarHidden=``,X(e,`isShowInInputMode`,!1),e.inputMode&&Zb(e.context.mainElement),(t=e.context.inputElement)!=null&&t.hasAttribute(`aria-expanded`)&&e.context.inputElement.setAttribute(`aria-expanded`,`false`),e.context.cleanupHandlers[0]&&(e.context.cleanupHandlers.forEach(e=>e()),X(e,`cleanupHandlers`,[])),e.inputMode&&e.context.inputElement&&n&&((typeof e.openOnFocus==`function`||!0===e.openOnFocus)&&(e=>{Kb.add(e)})(e),e.context.inputElement.focus()),e.onHide&&e.onHide(e)};function $b(e){if(e==null||!e.getBoundingClientRect)return{top:0,bottom:0,left:0,right:0};let t=e.getBoundingClientRect(),n=document.documentElement;return{bottom:t.bottom,right:t.right,top:t.top+window.scrollY-n.clientTop,left:t.left+window.scrollX-n.clientLeft}}function ex(){return{vw:Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),vh:Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)}}function tx(e,t,n=5){let r={top:!0,bottom:!0,left:!0,right:!0},i=[];if(!t||!e)return{canShow:r,parentPositions:i};let{bottom:a,top:o}=function(e){let{top:t,left:n}={left:window.scrollX||document.documentElement.scrollLeft||0,top:window.scrollY||document.documentElement.scrollTop||0},{top:r,left:i}=$b(e),{vh:a,vw:o}=ex(),s=r-t,c=i-n;return{top:s,bottom:a-(s+e.clientHeight),left:c,right:o-(c+e.clientWidth)}}(e),{top:s,left:c}=$b(e),{height:l,width:u}=t.getBoundingClientRect(),{vh:d,vw:f}=ex(),p=f/2,m=d/2;return[{condition:s<m,position:`top`},{condition:s>m,position:`bottom`},{condition:c<p,position:`left`},{condition:c>p,position:`right`}].forEach(({condition:e,position:t})=>{e&&i.push(t)}),Object.assign(r,{top:l<=o-n,bottom:l<=a-n,left:u<=c,right:u<=f-c}),{canShow:r,parentPositions:i}}var nx=(e,t,n)=>{if(!e)return;let r=n===`auto`?function(e,t){let n=`left`;if(!t||!e)return n;let{canShow:r,parentPositions:i}=tx(e,t),a=r.left&&r.right;return(a&&r.bottom?`center`:a&&r.top?[`top`,`center`]:Array.isArray(i)?[i[0]===`bottom`?`top`:`bottom`,...i.slice(1)]:i)||n}(e,t):n,i={top:-t.offsetHeight,bottom:e.offsetHeight,left:0,center:e.offsetWidth/2-t.offsetWidth/2,right:e.offsetWidth-t.offsetWidth},a=Array.isArray(r)?r[0]:`bottom`,o=Array.isArray(r)?r[1]:r;t.dataset.vcPosition=a;let{top:s,left:c}=$b(e),l=s+i[a],u=c+i[o],{vw:d}=ex();if(u+t.clientWidth>d){let e=window.innerWidth-document.body.clientWidth;u=d-t.clientWidth-e}else u<0&&(u=0);Object.assign(t.style,{left:`${u}px`,top:`${l}px`})},rx=new WeakMap,ix=e=>{clearTimeout(rx.get(e)),rx.delete(e)},ax=e=>{ix(e),rx.set(e,setTimeout(()=>{rx.delete(e),e.context.isDestroyed||ox(e)}))},ox=e=>{var t,n;if(ix(e),e.context.isShowInInputMode||e.context.isDestroyed)return;if(!e.context.currentType)return void e.context.mainElement.click();X(e,`cleanupHandlers`,[]),X(e,`isShowInInputMode`,!0),e.inputMode&&((n=e.context.mainElement).removeAttribute(`inert`),n.removeAttribute(`aria-hidden`),(e=>{Xb(e),e.querySelectorAll(`[${qb}]`).forEach(Xb)})(n)),nx(e.context.inputElement,e.context.mainElement,e.positionToInput),e.context.mainElement.removeAttribute(`data-vc-calendar-hidden`),(t=e.context.inputElement)!=null&&t.hasAttribute(`aria-expanded`)&&e.context.inputElement.setAttribute(`aria-expanded`,`true`);let r=()=>{nx(e.context.inputElement,e.context.mainElement,e.positionToInput)};window.addEventListener(`resize`,r),e.context.cleanupHandlers.push(()=>window.removeEventListener(`resize`,r));let i=t=>{t.key===`Escape`&&Qb(e)};document.addEventListener(`keydown`,i),e.context.cleanupHandlers.push(()=>document.removeEventListener(`keydown`,i));let a=t=>{let n=t.composedPath()[0]??t.target;n===e.context.inputElement||e.context.mainElement.contains(n)||Qb(e)};document.addEventListener(`click`,a,{capture:!0}),e.context.cleanupHandlers.push(()=>document.removeEventListener(`click`,a,{capture:!0})),e.onShow&&e.onShow(e)},sx=`The calendar has not been initialized, please initialize it using the "init()" method first.`,cx=`You specified an incorrect language label or did not specify the required number of values for «locale.weekdays» or «locale.months».`,Z=e=>String(e).replace(/[&<>"']/g,e=>({"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`})[e]),lx=(e,t)=>`\n <div class="${Z(e.styles.header)}" data-vc="header" role="group" aria-label="${Z(e.labels.navigation)}">\n${t?` <#ArrowPrev [${t}] />\n`:``} <div class="${Z(e.styles.headerContent)}" data-vc-header="content" aria-live="polite" aria-atomic="true">\n <#Month />\n <#Year />\n </div>\n${t?` <#ArrowNext [${t}] />\n`:``} </div>\n`,ux=(e,t=`month`)=>`${lx(e,t)} <div class="${Z(e.styles.wrapper)}" data-vc="wrapper">\n <#WeekNumbers />\n <div class="${Z(e.styles.content)}" data-vc="content" role="grid">\n <#Week />\n <#Dates />\n <#DateRangeTooltip />\n </div>\n </div>\n <#Collapse />\n <#ControlTime />\n`,dx=e=>e,fx=new WeakMap,px=e=>{var t;(t=fx.get(e))==null||t.observer.disconnect(),fx.delete(e)},mx=px,hx=e=>!(e.animation||e.enableCollapse||e.onCreateDateEls||e.onCreateDateRangeTooltip||e.disableDatesGaps||e.popups&&Object.keys(e.popups).length||e.sanitizerHTML!==dx||e.context.currentType!=="default"&&e.context.currentType!==`multiple`||e.layouts[e.context.currentType]!==(e.context.currentType===`multiple`?Y(e).months?.layout(e):ux(e))),gx=e=>JSON.stringify(Object.entries(e).filter(([e])=>e!==`context`&&e!==`selectedDates`),(e,t)=>typeof t==`function`||t),_x=({context:e})=>JSON.stringify([e.currentType,e.locale,e.dateToday,e.dateMin,e.dateMax,e.displayDateMin,e.displayDateMax,e.selectedYear,e.selectedMonth,e.displayMonthsCount,e.selectedHours,e.selectedMinutes,e.selectedKeeping,e.selectedTime]),vx=e=>JSON.stringify([_x(e),e.context.displayYear,e.context.displayWeekDate,e.context.selectedDates,e.context.disableDates,e.context.enableDates]),yx=(e,t=!1)=>{let n=fx.get(e);if(!n||!t&&!n.fullLayout||n.dirty||n.observer.takeRecords().length||!hx(e))return;let r=Gb(e.context.mainElement).activeElement;if(!r||r===e.context.mainElement||!e.context.mainElement.contains(r)||t&&!r.closest(`[data-vc="column"], [data-vc="dates"], [data-vc-week="numbers"]`))try{if(n.options===gx(e)&&n.context===vx(e)&&n.timezone===new Intl.DateTimeFormat().resolvedOptions().timeZone)return n}catch{}},bx=(e,t=!1)=>{if(px(e),hx(e)&&!e.context.isDestroyed)try{let n=gx(e),r=vx(e);if(n.length+r.length>262144)return;let i=Array.from(e.context.mainElement.querySelectorAll(`[data-vc="dates"]`));if(i.length!==e.context.displayMonthsCount)return;let a={observer:new MutationObserver(()=>a.dirty=!0),dirty:!1,fullLayout:t,options:n,context:r,structure:_x(e),timezone:new Intl.DateTimeFormat().resolvedOptions().timeZone,month:12*e.context.selectedYear+e.context.selectedMonth,count:i.length};a.observer.observe(e.context.mainElement,{subtree:!0,childList:!0,attributes:!0,characterData:!0}),fx.set(e,a)}catch{px(e)}},xx=(e,t,n,r=``)=>{t?e.getAttribute(n)!==r&&e.setAttribute(n,r):e.getAttribute(n)===r&&e.removeAttribute(n)},Sx=(e,t,n,r,i,a,o)=>{let s=(u=a,Date.parse(`${u}T00:00:00`)),c=Ab(e),l=c.min>s||c.max<s||c.disabled.set.has(a)||!e.selectionMonthsMode&&o!==`current`||!e.selectionYearsMode&&J(a).getFullYear()!==t;var u;xx(n,l,`data-vc-date-disabled`),r&&xx(r,l,`aria-disabled`,`true`),r&&l&&xx(r,!0,`tabindex`,`-1`),r&&r.disabled!==!!l&&(r.disabled=!!l),xx(n,!e.disableToday&&e.context.dateToday===a,`data-vc-date-today`),xx(n,!e.disableToday&&e.context.dateToday===a,`aria-current`,`date`),xx(n,e.selectedWeekends?.includes(i),`data-vc-date-weekend`),xx(n,c.holidays.has(a),`data-vc-date-holiday`);let d=c.selected.set.has(a),f=d?``:void 0;d?(xx(n,!0,`aria-selected`,`true`),e.context.selectedDates.length>1&&e.selectionDatesMode===`multiple-ranged`&&(e.context.selectedDates[0]===a&&e.context.selectedDates[e.context.selectedDates.length-1]===a?f=`first-and-last`:e.context.selectedDates[0]===a?f=`first`:e.context.selectedDates[e.context.selectedDates.length-1]===a&&(f=`last`),e.context.selectedDates[0]!==a&&e.context.selectedDates[e.context.selectedDates.length-1]!==a&&(f=`middle`))):n.hasAttribute(`data-vc-date-selected`)&&n.removeAttribute(`aria-selected`),!c.disabled.set.has(a)&&e.enableEdgeDatesOnly&&e.context.selectedDates.length>1&&e.selectionDatesMode===`multiple-ranged`&&(s>c.first&&s<c.last?f=`middle`:f===`middle`&&(f=void 0)),f===void 0?n.hasAttribute(`data-vc-date-selected`)&&n.removeAttribute(`data-vc-date-selected`):xx(n,!0,`data-vc-date-selected`,f)},Cx=new Map,wx=new Map,Tx=(e,t,n)=>{var r;let i=e.disableWeekdays?.includes(n),a=e.disableAllDates&&!((r=e.context.enableDates)==null||!r[0]),o=Ab(e);if((i||a)&&!o.enabled.set.has(t)&&!o.disabled.set.has(t)){let n=e.context.disableDates;if(o.disabled.set.add(t),e.onCreateDateEls)n.push(t),Hb(n),o.disabled.values=n.slice();else{let e=+new Date(t),r=0,i=n.length;for(;r<i;){let t=r+i>>>1;+new Date(n[t])<=e?r=t+1:i=t}n.splice(r,0,t),o.disabled.values.splice(r,0,t)}}},Ex=(e,t,n,r,i,a)=>{var o;let s,c=J(i).getDay(),l=typeof e.locale==`string`&&e.locale.length?e.locale:`en`,u=document.createElement(`div`);u.className=e.styles.date,u.dataset.vcDate=i,u.dataset.vcDateMonth=a,u.dataset.vcDateWeekDay=String(c),u.role=`gridcell`,(a===`current`||e.displayDatesOutside)&&(s=document.createElement(`button`),s.className=e.styles.dateBtn,s.type=`button`,s.dataset.vcDateBtn=``,s.ariaLabel=((e,t)=>{let n=`${t}:${e}`,r=wx.get(n);if(r!==void 0)return r;let i=Cx.get(t);i||(i=new Intl.DateTimeFormat(t,{dateStyle:`long`,timeZone:`UTC`}),Cx.size>=8&&Cx.delete(Cx.keys().next().value),Cx.set(t,i));let a=i.format(new Date(`${e}T00:00:00.000Z`));return wx.size>=512&&wx.delete(wx.keys().next().value),wx.set(n,a),a})(i,l),s.innerText=String(r),u.appendChild(s)),e.enableWeekNumbers&&((o=Y(e).weeks)==null||o.date(e,u,i)),Tx(e,i,c),Sx(e,t,u,s,c,i,a),n.addDate(u),e.onCreateDateEls&&(e.onCreateDateEls(e,u),kb(e))},Dx=[{container:`[data-vc="dates"]`,item:`[data-vc-date-btn]`,active:[`[data-vc-date-selected] [data-vc-date-btn]`,`[data-vc-date-today] [data-vc-date-btn]`]},{container:`[data-vc="months"]`,item:`[data-vc-months-month]`,active:[`[data-vc-months-month-selected]`]},{container:`[data-vc="years"]`,item:`[data-vc-years-year]`,active:[`[data-vc-years-year-selected]`]}],Ox=e=>!e.hasAttribute(`disabled`)&&e.getAttribute(`aria-disabled`)!==`true`,kx=(e,t,n)=>{if(n&&Ox(n))return e.querySelectorAll(`${t.item}:not([tabindex="-1"])`).forEach(e=>{e!==n&&(e.tabIndex=-1)}),void(n.getAttribute(`tabindex`)!==`0`&&(n.tabIndex=0));let r=Array.from(e.querySelectorAll(t.item));if(!r[0])return;let i=((e,t,n)=>t.active.map(t=>e.querySelector(t)).find(e=>!!e&&Ox(e))??n.find(Ox)??n[0])(e,t,r);r.forEach(e=>{let t=e===i?0:-1;e.getAttribute(`tabindex`)!==String(t)&&(e.tabIndex=t)})},Ax=e=>{let t=e.target,n=Dx.find(e=>t.matches?.call(t,e.item)),r=n?t.closest(n.container):null;n&&r&&kx(r,n,t)},jx=e=>{Dx.forEach(t=>{e.context.mainElement.querySelectorAll(t.container).forEach(e=>{e.closest(`[data-vc-ghost]`)||kx(e,t,null)})})},Mx=(e,t,n=!0)=>{mx(e);let r=new Date(e.context.selectedYear,e.context.selectedMonth,1),i=e.context.mainElement.querySelectorAll(`[data-vc="dates"]`),a=Y(e).weeks,o=e.enableWeekNumbers?e.context.mainElement.querySelectorAll(`[data-vc-week="numbers"]`):[],s=Y(e).annotations?.prepare(e,i.length);i.forEach((n,i)=>{e.selectionDatesMode||(n.dataset.vcDatesDisabled=``);let c=t?12*e.context.selectedYear+e.context.selectedMonth+i-t.month:-1;if(t&&c>=0&&c<t.count)return;if(n.textContent=``,kb(e),e.context.currentType===`week`)return a?.dates(e,n),s?.(n),void(a==null||a.numbers(e,0,7,o[i],n));let l=new Date(r);l.setMonth(l.getMonth()+i);let u=l.getMonth(),d=l.getFullYear(),f=(new Date(d,u,1).getDay()-e.firstWeekday+7)%7,p=new Date(d,u+1,0).getDate(),m=f+p,h=Math.ceil(m/7),g=7*h-m,_=[];for(let t=0;t<h;t++){let t=document.createElement(`div`);t.className=e.styles.datesRow,t.setAttribute(`data-vc-dates`,`row`),t.setAttribute(`role`,`row`),_.push(t)}let v=0,y=0,b={addDate:e=>{_[v].appendChild(e),y++,y>=7&&(v++,y=0)}};((e,t,n,r,i)=>{let a=new Date(n,r,0).getDate()-(i-1),o=r===0?n-1:n,s=r===0?12:r<10?`0${r}`:r;for(let r=i;r>0;r--,a++)Ex(e,n,t,a,`${o}-${s}-${a}`,`prev`)})(e,b,d,u,f),((e,t,n,r,i)=>{for(let a=1;a<=n;a++){let n=new Date(r,i,a);Ex(e,r,t,a,Tb(n),`current`)}})(e,b,p,d,u),((e,t,n,r,i)=>{let a=i+1===12?r+1:r,o=i+1===12?`01`:i+2<10?`0${i+2}`:i+2;for(let i=1;i<=n;i++){let n=`${a}-${o}-${i<10?`0${i}`:String(i)}`;Ex(e,r,t,i,n,`next`)}})(e,b,g,d,u);for(let e of _)n.appendChild(e);s?.(n),a?.numbers(e,f,p,o[i],n)}),jx(e),n&&bx(e,t?.fullLayout)},Nx=(e,t)=>`${lx(e,t===`Years`?`year`:void 0)} <div class="${Z(e.styles.wrapper)}" data-vc="wrapper">\n <div class="${Z(e.styles.content)}" data-vc="content">\n <#${t} />\n </div>\n </div>\n`,Px=e=>Nx(e,`Months`),Fx=e=>Nx(e,`Years`),Ix=(e,t,n)=>e.labels[`arrow`+(t===`prev`?`Prev`:`Next`)][n],Lx={ArrowNext:(e,t)=>`<button type="button" class="${Z(e.styles.arrowNext)}" data-vc-arrow="next" aria-label="${Z(Ix(e,`next`,t))}"></button>`,ArrowPrev:(e,t)=>`<button type="button" class="${Z(e.styles.arrowPrev)}" data-vc-arrow="prev" aria-label="${Z(Ix(e,`prev`,t))}"></button>`,Dates:e=>`<div class="${Z(e.styles.dates)}" data-vc="dates" role="rowgroup" aria-label="${Z(e.labels.dates)}"></div>`,Month:e=>`<button type="button" class="${Z(e.styles.month)}" data-vc="month"></button>`,Months:e=>`<div class="${Z(e.styles.months)}" data-vc="months" role="grid" aria-label="${Z(e.labels.months)}"></div>`,Week:e=>`<div class="${Z(e.styles.week)}" data-vc="week" role="row" aria-label="${Z(e.labels.week)}"></div>`,Year:e=>`<button type="button" class="${Z(e.styles.year)}" data-vc="year"></button>`,Years:e=>`<div class="${Z(e.styles.years)}" data-vc="years" role="grid" aria-label="${Z(e.labels.years)}"></div>`},Rx=(e,t)=>t.replace(/[\n\t]/g,``).replace(/<#(?!\/?Multiple)(.*?)>/g,(t,n)=>{let r=(n.match(/\[(.*?)\]/)||[])[1],i=((e,t)=>t===`Collapse`?Y(e).weeks?.component:t===`WeekNumbers`?Y(e).weeks?.numbersComponent:t===`DateRangeTooltip`?Y(e).annotations?.component:t===`ControlTime`?Y(e).time?.component:Object.prototype.hasOwnProperty.call(Lx,t)?Lx[t]:void 0)(e,n.replace(/[/\s\n\t]|\[(.*?)\]/g,``)),a=i?i(e,r??null):``;return e.sanitizerHTML(a)}).replace(/[\n\t]/g,``),zx=(e,t)=>{var n;let r=Y(e),i={default:ux,month:Px,year:Fx,multiple:r.months?.layout,week:r.weeks?.layout};var a;Object.keys(i).forEach(t=>{let n=t;e.layouts[n].length||(e.layouts[n]=i[n]?.call(i,e)??``)}),e.context.mainElement.className=e.styles.calendar,e.context.mainElement.dataset.vc=`calendar`,e.context.mainElement.dataset.vcType=e.context.currentType,e.context.mainElement.toggleAttribute(`data-vc-swipe`,e.enableSwipe),e.context.mainElement.role=e.inputMode?`dialog`:`group`,e.context.mainElement.tabIndex=-1,e.context.mainElement.ariaLabel=e.labels.application,(n=r.months)!=null&&n.render(e,t)||((a=r.time)==null||a.destroy(e),e.context.mainElement.innerHTML=e.sanitizerHTML(Rx(e,e.layouts[e.context.currentType]))),(e=>{let t=[`multiple`,`multiple-ranged`].includes(String(e.selectionDatesMode));e.context.mainElement.querySelectorAll(`[data-vc="content"][role="grid"]`).forEach(e=>{t?e.setAttribute(`aria-multiselectable`,`true`):e.removeAttribute(`aria-multiselectable`)})})(e)},Bx=(e,t,n,r)=>{e.style.visibility=n?`hidden`:``,t.style.visibility=r?`hidden`:``},Vx=e=>{if(e.context.currentType===`month`)return;let t=e.context.mainElement.querySelector(`[data-vc-arrow="prev"]`),n=e.context.mainElement.querySelector(`[data-vc-arrow="next"]`);t&&n&&{default:()=>((e,t,n)=>{let r=J(Tb(new Date(e.context.selectedYear,e.context.selectedMonth,1))),i=new Date(r.getTime()),a=new Date(r.getTime());i.setMonth(i.getMonth()-e.monthsToSwitch),a.setMonth(a.getMonth()+e.monthsToSwitch);let o=J(e.context.dateMin),s=J(e.context.dateMax);e.selectionYearsMode||(o.setFullYear(r.getFullYear()),s.setFullYear(r.getFullYear())),Bx(t,n,!e.selectionMonthsMode||i.getFullYear()<o.getFullYear()||i.getFullYear()===o.getFullYear()&&i.getMonth()<o.getMonth(),!e.selectionMonthsMode||a.getFullYear()>s.getFullYear()||a.getFullYear()===s.getFullYear()&&a.getMonth()>s.getMonth()-(e.context.displayMonthsCount-1))})(e,t,n),year:()=>((e,t,n)=>{let r=J(e.context.dateMin),i=J(e.context.dateMax);Bx(t,n,!!(r.getFullYear()&&e.context.displayYear-7<=r.getFullYear()),!!(i.getFullYear()&&e.context.displayYear+7>=i.getFullYear()))})(e,t,n),week:()=>Y(e).weeks?.arrows(e,t,n)}[e.context.currentType===`multiple`?`default`:e.context.currentType]()},Hx=(e,t)=>{let n=e.context.mainElement.querySelectorAll(`[data-vc="month"]`),r=e.context.mainElement.querySelectorAll(`[data-vc="year"]`),i=new Date(e.context.selectedYear,e.context.selectedMonth,1);[n,r].forEach(n=>n?.forEach((n,r)=>{(!t||t.includes(r))&&((e,t,n,r,i)=>{let a=new Date(r.setFullYear(e.context.selectedYear,e.context.selectedMonth+n)).getFullYear(),o=new Date(r.setMonth(e.context.selectedMonth+n)).getMonth(),s=e.context.locale.months.long[o],c=t.closest(`[data-vc="column"]`);c&&(c.ariaLabel=`${s} ${a}`);let l={month:{id:o,label:s},year:{id:a,label:a}};t.innerText=String(l[i].label),t.dataset[`vc${i.charAt(0).toUpperCase()+i.slice(1)}`]=String(l[i].id),t.ariaLabel=`${e.labels[i]} ${l[i].label}`;let u={month:e.selectionMonthsMode,year:e.selectionYearsMode},d=!1===u[i]||u[i]===`only-arrows`;d&&(t.tabIndex=-1),t.disabled=d})(e,n,r,i,n.dataset.vc)}))},Ux=(e,t,n,r,i)=>{let a={month:{selected:`data-vc-months-month-selected`,aria:`aria-selected`,value:`vcMonthsMonth`,selectedProperty:`selectedMonth`},year:{selected:`data-vc-years-year-selected`,aria:`aria-selected`,value:`vcYearsYear`,selectedProperty:`selectedYear`}};var o,s;i&&((o=e.context.mainElement.querySelectorAll({month:`[data-vc-months-month]`,year:`[data-vc-years-year]`}[n]))==null||o.forEach(e=>{var t;e.removeAttribute(a[n].selected),(t=e.parentElement)==null||t.removeAttribute(a[n].aria)}),X(e,a[n].selectedProperty,Number(t.dataset[a[n].value])),Hx(e),n===`year`&&Vx(e)),r&&(t.setAttribute(a[n].selected,``),(s=t.parentElement)==null||s.setAttribute(a[n].aria,`true`))},Wx=(e,t,n,r,i,a,o,s)=>{let c=t===`month`?`months`:`years`,l=document.createElement(`div`);l.className=e.styles[`${c}Cell`],l.setAttribute(`data-vc-${c}`,`cell`),l.role=`gridcell`;let u=n.cloneNode(!1);return u.className=e.styles[t===`month`?`monthsMonth`:`yearsYear`],u.innerText=o,u.ariaLabel=s,u.setAttribute(`data-vc-${c}-${t}`,String(a)),i&&(u.ariaDisabled=`true`),i&&(u.tabIndex=-1),u.disabled=i,l.appendChild(u),Ux(e,u,t,r===a,!1),l},Gx=(e,t)=>Y(e).months?.column(e,t)??{currentValue:null,columnID:0},Kx=(e,t)=>{var n;let r=t==null||(n=t.closest(`[data-vc="header"]`))==null?void 0:n.querySelector(`[data-vc="year"]`),i=r?Number(r.dataset.vcYear):e.context.selectedYear,a=t!=null&&t.dataset.vcMonth?Number(t.dataset.vcMonth):e.context.selectedMonth;X(e,`currentType`,`month`),zx(e,t),Hx(e);let o=e.context.mainElement.querySelector(`[data-vc="months"]`);if(!e.selectionMonthsMode||!o)return;let s=e.monthsToSwitch>1?e.context.locale.months.long.map((t,n)=>a-e.monthsToSwitch*n).concat(e.context.locale.months.long.map((t,n)=>a+e.monthsToSwitch*n)).filter(e=>e>=0&&e<=12):Array.from(Array(12).keys()),c=document.createElement(`button`);c.type=`button`;let l,u=()=>({min:J(e.context.dateMin),max:J(e.context.dateMax),monthCount:e.context.displayMonthsCount-1,columnID:Gx(e,`month`).columnID}),d=e.onCreateMonthEls?void 0:u();for(let t=0;t<12;t++){t%4==0&&(l=document.createElement(`div`),l.className=e.styles.monthsRow,l.dataset.vcMonths=`row`,l.role=`row`,o.appendChild(l));let{min:n,max:r,monthCount:f,columnID:p}=d??u(),m=Wx(e,`month`,c,a,i<=n.getFullYear()&&t<n.getMonth()+p||i>=r.getFullYear()&&t>r.getMonth()-f+p||i>r.getFullYear()||t!==a&&!s.includes(t),t,e.context.locale.months.short[t],e.context.locale.months.long[t]);l?.appendChild(m),e.onCreateMonthEls&&e.onCreateMonthEls(e,m)}jx(e)},qx=e=>{let t=e.selectedWeekends?[...e.selectedWeekends]:[],n=[...e.context.locale.weekdays.long].map((n,r)=>({id:r,titleShort:e.context.locale.weekdays.short[r],titleLong:n,isWeekend:t.includes(r)})),r=[...n.slice(e.firstWeekday),...n.slice(0,e.firstWeekday)],i=Y(e).weeks?.weekday(e),a=document.createElement(i?`div`:`b`);e.context.mainElement.querySelectorAll(`[data-vc="week"]`).forEach(t=>{r.forEach(n=>{let r=a.cloneNode(!1);r.className=e.styles.weekDay,r.role=`columnheader`,r.ariaLabel=n.titleLong,r.dataset.vcWeekDay=String(n.id),n.isWeekend&&(r.dataset.vcWeekDayOff=``),i?i(r,n.titleShort,n.titleLong):r.innerText=n.titleShort,t.appendChild(r)})})},Jx=(e,t)=>{let n=t!=null&&t.dataset.vcYear?Number(t.dataset.vcYear):e.context.selectedYear;X(e,`currentType`,`year`),zx(e,t),Hx(e),Vx(e);let r=e.context.mainElement.querySelector(`[data-vc="years"]`);if(!e.selectionYearsMode||!r)return;let i=e.type===`multiple`?e.context.selectedYear===n?0:1:0,a=document.createElement(`button`);a.type=`button`;let o,s=()=>[J(e.context.dateMin).getFullYear(),J(e.context.dateMax).getFullYear()],c=e.onCreateYearEls?void 0:s();for(let t=e.context.displayYear-7;t<e.context.displayYear+8;t++){(t-(e.context.displayYear-7))%5==0&&(o=document.createElement(`div`),o.className=e.styles.yearsRow,o.dataset.vcYears=`row`,o.role=`row`,r.appendChild(o));let[l,u]=c??s(),d=Wx(e,`year`,a,n,t<l+i||t>u,t,String(t),String(t));o?.appendChild(d),e.onCreateYearEls&&e.onCreateYearEls(e,d)}jx(e)},Yx=new WeakMap,Xx=e=>{var t,n;let r=window.matchMedia(`(prefers-color-scheme)`).media!==`not all`;var i,a;if(!r||e.selectedTheme!==`system`)return(i=(a=e.context).cleanupSystemTheme)==null||i.call(a),void(e.context.mainElement.dataset.vcTheme=r?e.selectedTheme:`light`);let o=e.themeAttrDetect.length?document.querySelector(e.themeAttrDetect):null,s=e.themeAttrDetect.replace(/^.*\[(.+)\]/g,(e,t)=>t),c=Yx.get(e);if(c?.element===o&&c.attr===s)return void c.update();(t=(n=e.context).cleanupSystemTheme)==null||t.call(n);let l,u=window.matchMedia(`(prefers-color-scheme: dark)`),d=()=>{let t=o?.getAttribute(s),n=!t||t===`system`;e.context.mainElement.dataset.vcTheme=n?u.matches?`dark`:`light`:t,n&&!l?u.addEventListener?(u.addEventListener(`change`,d),l=()=>u.removeEventListener(`change`,d)):(u.addListener(d),l=()=>u.removeListener(d)):!n&&l&&(l(),l=void 0)},f=o?((e,t,n)=>{let r=new MutationObserver(e=>{for(let r=0;r<e.length;r++)if(e[r].attributeName===t){n();break}});return r.observe(e,{attributes:!0,attributeFilter:[t]}),()=>r.disconnect()})(o,s,d):void 0;Yx.set(e,{element:o,attr:s,update:d}),X(e,`cleanupSystemTheme`,()=>{f?.(),l?.(),Yx.delete(e),X(e,`cleanupSystemTheme`,void 0)}),d()};function Zx(e){return Zx=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Zx(e)}function Q(e,t,n){return(t=function(e){var t=function(e){if(Zx(e)!=`object`||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,`string`);if(Zx(n)!=`object`)return n;throw TypeError(`@@toPrimitive must return a primitive value.`)}return String(e)}(e);return Zx(t)==`symbol`?t:t+``}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function $x(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Qx(Object(n),!0).forEach(function(t){Q(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qx(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var eS=new Map,tS=(e,t,n)=>{let r=new Intl.DateTimeFormat(e,{[t]:n,timeZone:`UTC`});return Array.from({length:t===`weekday`?7:12},(e,n)=>{return(i=r.format(new Date(Date.UTC(1978,t===`month`?n:0,t===`weekday`?n+1:1)))).charAt(0).toUpperCase()+i.slice(1).replace(/\./,``);var i})},nS=e=>{if(e.context.locale.weekdays.short[6]&&e.context.locale.weekdays.long[6]&&e.context.locale.months.short[11]&&e.context.locale.months.long[11])return;if(typeof e.locale!=`string`){var t,n,r,i;if(!((t=e.locale)!=null&&(t=t.weekdays)!=null&&t.short[6]&&(n=e.locale)!=null&&(n=n.weekdays)!=null&&n.long[6]&&(r=e.locale)!=null&&(r=r.months)!=null&&r.short[11]&&(i=e.locale)!=null&&(i=i.months)!=null&&i.long[11]))throw Error(cx);X(e,`locale`,$x({},e.locale));return}if(typeof e.locale==`string`&&!e.locale.length)throw Error(cx);let a=eS.get(e.locale);a||(a={weekdays:{short:tS(e.locale,`weekday`,`short`),long:tS(e.locale,`weekday`,`long`)},months:{short:tS(e.locale,`month`,`short`),long:tS(e.locale,`month`,`long`)}},eS.size>=8&&eS.delete(eS.keys().next().value),eS.set(e.locale,a));for(let t of[`weekdays`,`months`])for(let n of[`short`,`long`])e.context.locale[t][n].push(...a[t][n])},rS=(e,t=!0)=>{var n;mx(e),Xx(e),nS(e),zx(e),Hx(e),Vx(e),(n=Y(e).time)==null||n.render(e),{default:()=>{qx(e),Mx(e,void 0,!1)},multiple:()=>{qx(e),Mx(e,void 0,!1)},week:()=>{var t;(t=Y(e).weeks)==null||t.init(e),qx(e),Mx(e,void 0,!1)},month:()=>Kx(e),year:()=>Jx(e)}[e.context.currentType](),t&&bx(e,!0)},iS=(e,t=!1)=>{kb(e),e.context.mainElement.querySelectorAll(`[data-vc-date]`).forEach(n=>{let r=n.querySelector(`[data-vc-date-btn]`),i=n.dataset.vcDate,a=J(i),o=a.getDay();t&&Tx(e,i,o);let s=t?n.dataset.vcDateMonth:`current`;s===`prev`&&a.setMonth(a.getMonth()+1,1),s===`next`&&a.setMonth(a.getMonth()-1,1),Sx(e,t?a.getFullYear():e.context.selectedYear,n,r,o,i,s)}),jx(e)},aS=e=>{let t=[{container:`[data-vc="dates"]`,row:`[data-vc-dates="row"]`,item:`[data-vc-date-btn]`},{container:`[data-vc="months"]`,row:`[data-vc-months="row"]`,item:`[data-vc-months-month]`},{container:`[data-vc="years"]`,row:`[data-vc-years="row"]`,item:`[data-vc-years-year]`}],n=e=>!e.disabled&&e.getAttribute(`aria-disabled`)!==`true`,r=e=>{let r=e.target.closest(`button`);if(!r||![`ArrowUp`,`ArrowDown`,`ArrowLeft`,`ArrowRight`].includes(e.key))return;let i,a=t.find(e=>r.matches(e.item)),o=a?r.closest(a.container):null;if(a&&o&&!o.closest(`[data-vc-ghost]`)&&n(r)){if(e.key===`ArrowUp`||e.key===`ArrowDown`)i=((e,t,r,i)=>{var a;let o=r.closest(t.row);if(!o)return r;let s=Array.from(e.querySelectorAll(t.row)),c=s.indexOf(o),l=Array.from(o.children).indexOf(r.parentElement),u=s[c+i],d=u==null||(a=u.children[l])==null?void 0:a.querySelector(t.item);return d&&n(d)?d:r})(o,a,r,e.key===`ArrowUp`?-1:1);else{let t=Array.from(o.querySelectorAll(a.item)).filter(n),s=t.indexOf(r);if(s===-1)return;i=e.key===`ArrowLeft`?t[Math.max(0,s-1)]:t[Math.min(t.length-1,s+1)]}e.preventDefault(),i?.focus()}};return e.context.mainElement.addEventListener(`keydown`,r),e.context.mainElement.addEventListener(`focusin`,Ax),()=>{e.context.mainElement.removeEventListener(`keydown`,r),e.context.mainElement.removeEventListener(`focusin`,Ax)}},oS=`[data-vc="dates"]`,sS=(e,t)=>e===`next`?t:-t,cS=e=>{let t={selector:oS,shift:t=>((e,t)=>{let n=J(Tb(new Date(e.context.selectedYear,e.context.selectedMonth,1)));n.setMonth(n.getMonth()+sS(t,e.monthsToSwitch)),X(e,`selectedMonth`,n.getMonth()),X(e,`selectedYear`,n.getFullYear())})(e,t),render:(t,n)=>Mx(e,n)};return{default:t,multiple:t,week:{selector:oS,shift:t=>Y(e).weeks?.shift(e,t),render:()=>Mx(e)},year:{selector:`[data-vc="years"]`,shift:t=>X(e,`displayYear`,e.context.displayYear+sS(t,15)),render:t=>Jx(e,t)},month:null}[e.context.currentType]},lS=(e,t,n)=>{let r=cS(e);if(!r)return;let{mainElement:i}=e.context,a=i.contains(Gb(i).activeElement),o=e.context.currentType===`multiple`?yx(e,!0):void 0;mx(e),r.shift(t);let s=o?Y(e).months?.rotate(e,o):void 0;s||(o=void 0),Hx(e,s),Vx(e);let c=Y(e).motion;c&&e.animation?c.navigate(e,r.selector,t,()=>r.render(n,o)):r.render(n,o),((e,t,n)=>{var r;let{mainElement:i}=e.context;if(!n||i.contains(Gb(i).activeElement))return;let a=i.querySelector(`[data-vc-arrow="${t}"]`);if(a&&a.style.visibility!==`hidden`)return a.focus();(r=Array.from(i.querySelectorAll(`[tabindex="0"]`)).find(e=>!e.closest(`[data-vc-ghost]`)))==null||r.focus()})(e,t,a)},uS=(e,t,n)=>{let r=t.dataset.vcDate,i=t.closest(`[data-vc-date][data-vc-date-selected]`),a=Vb(e);(!i||a)&&X(e,`selectedDates`,i?e.context.selectedDates.filter(e=>e!==r):n?[...e.context.selectedDates,r]:[r])},dS=[`month`,`year`],fS=`[data-vc="column"]`,pS=(e,t,n)=>{let r=Y(e).motion;r&&e.animation?r.changeView(e,t,n):n()},mS=(e,t)=>{var n;let{columnID:r}=Gx(e,e.context.currentType);X(e,`currentType`,e.type),pS(e,r,()=>rS(e)),(n=e.context.mainElement.querySelector(`[data-vc="${t}"]`))==null||n.focus()},hS=e=>{let t=t=>{var n,r;((e,t)=>{let n=t.target,r=n.closest(`[data-vc-arrow]`);r&&(lS(e,r.dataset.vcArrow,n),e.onClickArrow&&e.onClickArrow(e,t))})(e,t),(n=Y(e).weeks)==null||n.click(e,t),((e,t)=>{let n=t.target,r=n.closest(`[data-vc-date-btn]`);if(!e.selectionDatesMode||![`single`,`multiple`,`multiple-ranged`].includes(e.selectionDatesMode)||!r)return;let i=r.closest(`[data-vc-date]`);({single:()=>uS(e,i,!1),multiple:()=>uS(e,i,!0),"multiple-ranged":()=>Wb(e,i)})[e.selectionDatesMode](),e.context.selectedDates&&Hb(e.context.selectedDates),e.onClickDate&&e.onClickDate(e,t),e.inputMode&&e.context.inputElement&&e.context.mainElement&&e.onChangeToInput&&e.onChangeToInput(e,t);let a=n.closest(`[data-vc-date-month="prev"]`),o=n.closest(`[data-vc-date-month="next"]`);({prev:()=>e.enableMonthChangeOnDayClick?lS(e,`prev`):iS(e),next:()=>e.enableMonthChangeOnDayClick?lS(e,`next`):iS(e),current:()=>iS(e)})[a?`prev`:o?`next`:`current`]()})(e,t),((e,t)=>{let n={month:e.selectionMonthsMode,year:e.selectionYearsMode};dS.forEach(r=>{n[r]&&t.target&&((e,t,n)=>{let r=t.target,i=r.closest(`[data-vc="${n}"]`),a=((e,t)=>{let n=t.closest(fS);return n?Array.from(e.context.mainElement.querySelectorAll(fS)).indexOf(n):0})(e,r),o={year:()=>pS(e,a,()=>Jx(e,r)),month:()=>pS(e,a,()=>Kx(e,r))};if(i&&e.onClickTitle&&e.onClickTitle(e,t),i&&e.context.currentType!==n){let t=r.closest(fS);return o[n](),((e,t,n)=>(n??e.context.mainElement).querySelector(`[data-vc-${t}s-${t}][tabindex="0"]`)?.focus())(e,n,t)}let s=r.closest(`[data-vc-${n}s-${n}]`);if(s)return((e,t,n,r)=>{({year:()=>{if(e.type===`multiple`)return Y(e).months?.select(e,`year`,r);X(e,`selectedYear`,Number(r.dataset.vcYearsYear))},month:()=>{if(e.type===`multiple`)return Y(e).months?.select(e,`month`,r);X(e,`selectedMonth`,Number(r.dataset.vcMonthsMonth))}})[n](),{year:()=>e.onClickYear?.call(e,e,t),month:()=>e.onClickMonth?.call(e,e,t)}[n](),e.context.currentType===e.type?Ux(e,r,n,!0,!0):mS(e,n)})(e,t,n,s);let c=r.closest(`[data-vc="grid"]`),l=r.closest(`[data-vc="column"]`);(e.context.currentType===n&&i||e.type===`multiple`&&e.context.currentType===n&&c&&!l)&&mS(e,n)})(e,t,r)})})(e,t),(r=Y(e).weeks)==null||r.collapseClick(e,t)};return e.context.mainElement.addEventListener(`click`,t),()=>e.context.mainElement.removeEventListener(`click`,t)},gS=new WeakMap,_S=(e,t)=>{let n=e[t].map(e=>e instanceof Date?e.getTime():e),r=gS.get(e),i=r?.[t];if(i&&n.length===i.values.length){let e=0;for(;e<n.length&&n[e]===i.values[e];)e++;if(e===n.length&&i.timezone===new Intl.DateTimeFormat().resolvedOptions().timeZone)return i.dates.slice()}let a=Eb(e[t]);if(a.length>1&&Hb(a),a.length>128&&a.length<=1e4&&n.length<=1e4){let i=r??{};i[t]={values:n,dates:a.slice(),timezone:new Intl.DateTimeFormat().resolvedOptions().timeZone},gS.set(e,i)}else r&&delete r[t];return a},vS=(e,t)=>e===`today`?(()=>{let e=new Date;return new Date(e.getTime()-6e4*e.getTimezoneOffset()).toISOString().substring(0,10)})():e instanceof Date||typeof e==`number`||typeof e==`string`?Eb([e])[0]:t,yS=(e,t,n)=>{X(e,`selectedMonth`,t),X(e,`selectedYear`,n),X(e,`displayYear`,n)},bS=e=>{var t,n;if(e.enableCollapse&&![`default`,`week`].includes(e.type))throw Error(`The «enableCollapse» parameter is only supported by the «default» and «week» calendar types.`);X(e,`currentType`,e.type),(e=>{if(e.type===`multiple`&&(e.displayMonthsCount<=1||e.displayMonthsCount>12)||e.type!==`multiple`&&e.displayMonthsCount>1)throw Error(`For the «multiple» calendar type, the «displayMonthsCount» parameter can have a value from 2 to 12, and for all others it cannot be greater than 1.`);X(e,`displayMonthsCount`,e.displayMonthsCount?e.displayMonthsCount:e.type===`multiple`?2:1)})(e),(e=>{var t,n,r;let i=vS(e.dateMin,e.dateMin),a=vS(e.dateMax,e.dateMax),o=vS(e.displayDateMin,i),s=vS(e.displayDateMax,a);if(X(e,`dateToday`,vS(e.dateToday,e.dateToday)),X(e,`displayDateMin`,o?J(i)>=J(o)?i:o:i),X(e,`displayDateMax`,s?J(a)<=J(s)?a:s:a),X(e,`displayDateMin`,e.disableDatesPast&&!e.disableAllDates&&J(o)<J(e.context.dateToday)||e.disableAllDates?e.context.dateToday:o),X(e,`displayDateMax`,e.disableAllDates?e.context.dateToday:s),X(e,`disableDates`,e.disableDates[0]&&!e.disableAllDates?_S(e,`disableDates`):e.disableAllDates?[e.context.displayDateMin]:[]),X(e,`enableDates`,e.enableDates[0]?_S(e,`enableDates`):[]),(t=e.context.enableDates)!=null&&t[0]&&(n=e.context.disableDates)!=null&&n[0]){let t=new Set(e.context.enableDates);X(e,`disableDates`,e.context.disableDates.filter(e=>!t.has(e)))}(r=e.context.enableDates)!=null&&r[0]&&e.disableAllDates&&(X(e,`displayDateMin`,e.context.enableDates[0]),X(e,`displayDateMax`,e.context.enableDates[e.context.enableDates.length-1])),X(e,`dateMin`,e.displayDisabledDates?i:e.context.displayDateMin),X(e,`dateMax`,e.displayDisabledDates?a:e.context.displayDateMax)})(e),(e=>{var t;if(e.enableJumpToSelectedDate&&(t=e.selectedDates)!=null&&t[0]&&e.selectedMonth===void 0&&e.selectedYear===void 0){let t=J(Eb(e.selectedDates)[0]);yS(e,t.getMonth(),t.getFullYear());return}if((e=>{let t=t=>{let n=new Date(t);yS(e,n.getMonth(),n.getFullYear())};return e.displayDateMin&&e.displayDateMin!==`today`&&(n=e.displayDateMin,r=new Date,new Date(n).getTime()>r.getTime())?(t(J(vS(e.selectedDates.length&&e.selectedDates[0]?Eb(e.selectedDates)[0]:e.displayDateMin,e.displayDateMin))),!0):!(!e.displayDateMax||e.displayDateMax===`today`||!((e,t)=>new Date(e).getTime()<t.getTime())(e.displayDateMax,new Date)||(t(J(vS(e.selectedDates.length&&e.selectedDates[0]?Eb(e.selectedDates)[0]:e.displayDateMax,e.displayDateMax))),0));var n,r})(e))return;let n=e.selectedMonth!==void 0&&Number(e.selectedMonth)>=0&&Number(e.selectedMonth)<12,r=e.selectedYear!==void 0&&Number(e.selectedYear)>=0&&Number(e.selectedYear)<=9999;yS(e,n?Number(e.selectedMonth):J(e.context.dateToday).getMonth(),r?Number(e.selectedYear):J(e.context.dateToday).getFullYear())})(e),(e=>{var t;X(e,`selectedDates`,(t=e.selectedDates)!=null&&t[0]?Eb(e.selectedDates):[])})(e),(t=Y(e).weeks)==null||t.init(e),(n=Y(e).time)==null||n.init(e)},xS=(e,{year:t,month:n,dates:r,time:i,locale:a},o=!0,s)=>{var c,l,u,d;mx(e);let f=Y(e);(c=f.motion)==null||c.reset(e),(l=f.time)==null||l.destroy(e),(u=f.annotations)==null||u.destroy(e),Ub(e);let p={year:e.selectedYear,month:e.selectedMonth,dates:e.selectedDates,time:e.selectedTime};var m;e.selectedYear=t?p.year:e.context.selectedYear,e.selectedMonth=n?p.month:e.context.selectedMonth,e.selectedTime=i?p.time:e.context.selectedTime,e.selectedDates=r===`only-first`&&(d=e.context.selectedDates)!=null&&d[0]?[e.context.selectedDates[0]]:!0===r?p.dates:e.context.selectedDates,a&&X(e,`locale`,{months:{short:[],long:[]},weekdays:{short:[],long:[]}}),bS(e),o&&(s&&nS(e),s&&s.structure===_x(e)?(Xx(e),(m=f.time)==null||m.render(e),iS(e,!0)):rS(e,!1)),e.selectedYear=p.year,e.selectedMonth=p.month,e.selectedDates=p.dates,e.selectedTime=p.time,e.selectionDatesMode===`multiple-ranged`&&Wb(e,null,!!r),o&&bx(e,!0)},SS=(e,t,n)=>{if(!e.context.isInit)throw Error(sx);Fb(e),xS(e,$x($x({},{year:!0,month:!0,dates:!0,time:!0,locale:!0}),t),!(e.inputMode&&!e.context.inputModeInit),n),e.onUpdate&&e.onUpdate(e)},CS=[`extensions`,`context`,`init`,`update`,`destroy`,`show`,`hide`,`set`,`queryAndMemoize`],wS=(e,t,n=!0)=>{let r=Object.keys(t);for(let i=0;i<r.length;i++){let a=r[i];a!==`__proto__`&&a!==`constructor`&&a!==`prototype`&&(n&&CS.includes(String(a))||(typeof e[a]!=`object`||e[a]===null||typeof t[a]!=`object`||t[a]===null||t[a]instanceof Date||Array.isArray(t[a])?t[a]!==void 0&&(e[a]=t[a]):wS(e[a],t[a],!1)))}},TS={application:`Calendar`,navigation:`Calendar Navigation`,arrowNext:{month:`Next month`,year:`Next list of years`,week:`Next week`},arrowPrev:{month:`Previous month`,year:`Previous list of years`,week:`Previous week`},month:`Select month, current selected month:`,months:`List of months`,year:`Select year, current selected year:`,years:`List of years`,week:`Days of the week`,weekNumber:`Numbers of weeks in a year`,collapse:`Collapse to a single week`,expand:`Expand to the whole month`,dates:`Dates in the current month`,selectingTime:`Selecting a time `,inputHour:`Hours`,inputMinute:`Minutes`,rangeHour:`Slider for selecting hours`,rangeMinute:`Slider for selecting minutes`,btnKeeping:`Switch AM/PM, current position:`},ES={calendar:`vc`,controls:`vc-controls`,grid:`vc-grid`,column:`vc-column`,header:`vc-header`,headerContent:`vc-header__content`,month:`vc-month`,year:`vc-year`,arrowPrev:`vc-arrow vc-arrow_prev`,arrowNext:`vc-arrow vc-arrow_next`,wrapper:`vc-wrapper`,content:`vc-content`,months:`vc-months`,monthsRow:`vc-months__row`,monthsCell:`vc-months__cell`,monthsMonth:`vc-months__month`,years:`vc-years`,yearsRow:`vc-years__row`,yearsCell:`vc-years__cell`,yearsYear:`vc-years__year`,week:`vc-week`,weekDay:`vc-week__day`,weekDayBtn:`vc-week__day-btn`,weekNumbers:`vc-week-numbers`,weekNumbersTitle:`vc-week-numbers__title`,weekNumbersContent:`vc-week-numbers__content`,weekNumber:`vc-week-number`,collapse:`vc-collapse`,dates:`vc-dates`,datesRow:`vc-dates__row`,date:`vc-date`,dateBtn:`vc-date__btn`,datePopup:`vc-date__popup`,dateRangeTooltip:`vc-date-range-tooltip`,time:`vc-time`,timeContent:`vc-time__content`,timeHour:`vc-time__hour`,timeMinute:`vc-time__minute`,timeKeeping:`vc-time__keeping`,timeRanges:`vc-time__ranges`,timeRange:`vc-time__range`},DS=class{constructor(){Q(this,`type`,`default`),Q(this,`inputMode`,!1),Q(this,`openOnFocus`,!0),Q(this,`positionToInput`,`left`),Q(this,`animation`,!1),Q(this,`firstWeekday`,1),Q(this,`monthsToSwitch`,1),Q(this,`themeAttrDetect`,`html[data-theme]`),Q(this,`locale`,`en`),Q(this,`dateToday`,`today`),Q(this,`dateMin`,`1970-01-01`),Q(this,`dateMax`,`2470-12-31`),Q(this,`displayDateMin`,void 0),Q(this,`displayDateMax`,void 0),Q(this,`displayDatesOutside`,!0),Q(this,`displayDisabledDates`,!1),Q(this,`displayMonthsCount`,void 0),Q(this,`disableDates`,[]),Q(this,`disableAllDates`,!1),Q(this,`disableDatesPast`,!1),Q(this,`disableDatesGaps`,!1),Q(this,`disableWeekdays`,[]),Q(this,`disableToday`,!1),Q(this,`enableDates`,[]),Q(this,`enableEdgeDatesOnly`,!0),Q(this,`enableDateToggle`,!0),Q(this,`enableWeekNumbers`,!1),Q(this,`enableMonthChangeOnDayClick`,!0),Q(this,`enableJumpToSelectedDate`,!1),Q(this,`enableCollapse`,!1),Q(this,`enableSwipe`,!1),Q(this,`selectionDatesMode`,`single`),Q(this,`selectionMonthsMode`,!0),Q(this,`selectionYearsMode`,!0),Q(this,`selectionTimeMode`,!1),Q(this,`selectedDates`,[]),Q(this,`selectedMonth`,void 0),Q(this,`selectedYear`,void 0),Q(this,`selectedHolidays`,[]),Q(this,`selectedWeekends`,[0,6]),Q(this,`selectedTime`,void 0),Q(this,`selectedTheme`,`system`),Q(this,`timeMinHour`,0),Q(this,`timeMaxHour`,23),Q(this,`timeMinMinute`,0),Q(this,`timeMaxMinute`,59),Q(this,`timeControls`,`all`),Q(this,`timeStepHour`,1),Q(this,`timeStepMinute`,1),Q(this,`sanitizerHTML`,dx),Q(this,`onClickDate`,void 0),Q(this,`onClickWeekDay`,void 0),Q(this,`onClickWeekNumber`,void 0),Q(this,`onClickTitle`,void 0),Q(this,`onClickMonth`,void 0),Q(this,`onClickYear`,void 0),Q(this,`onClickArrow`,void 0),Q(this,`onChangeTime`,void 0),Q(this,`onChangeToInput`,void 0),Q(this,`onCreateDateRangeTooltip`,void 0),Q(this,`onCreateDateEls`,void 0),Q(this,`onCreateMonthEls`,void 0),Q(this,`onCreateYearEls`,void 0),Q(this,`onInit`,void 0),Q(this,`onUpdate`,void 0),Q(this,`onDestroy`,void 0),Q(this,`onShow`,void 0),Q(this,`onHide`,void 0),Q(this,`popups`,{}),Q(this,`labels`,$x($x({},TS),{},{arrowNext:$x({},TS.arrowNext),arrowPrev:$x({},TS.arrowPrev)})),Q(this,`layouts`,{default:``,multiple:``,month:``,year:``,week:``}),Q(this,`styles`,$x({},ES))}},OS=class e extends DS{constructor(t,n){super(),Q(this,`extensions`,void 0),Q(this,`init`,()=>(e=>{var t;if(e.context.isInit)throw Error(`The calendar has already been initialized, calling init() again is not allowed. Create a new Calendar instance instead.`);if(Fb(e),X(e,`originalElement`,e.context.mainElement.cloneNode(!0)),X(e,`isInit`,!0),e.inputMode){let t=(e=>{X(e,`inputElement`,e.context.mainElement);let t=e.context.inputElement;[`input`,`button`,`textarea`].includes(t.localName)&&(t.setAttribute(`aria-haspopup`,`dialog`),(t.localName===`button`||t.getAttribute(`role`)===`combobox`)&&t.setAttribute(`aria-expanded`,`false`));let n=()=>{e.context.inputModeInit?ax(e):(e=>{var t;let n=document.createElement(`div`);n.className=e.styles.calendar,n.dataset.vc=`calendar`,n.dataset.vcInput=``,n.dataset.vcCalendarHidden=``,Object.assign(n.style,{left:`0`,top:`0`}),Zb(n);let r=Gb(e.context.mainElement),i=r===document?document.body:r;X(e,`inputModeInit`,!0),X(e,`isShowInInputMode`,!1),X(e,`mainElement`,n),i.appendChild(e.context.mainElement),xS(e,{year:!0,month:!0,dates:!0,time:!0,locale:!0}),ax(e),e.onInit&&e.onInit(e),e.context.isDestroyed||(aS(e),(t=Y(e).motion)==null||t.bind(e),hS(e))})(e)};e.context.inputElement.addEventListener(`click`,n);let r=typeof e.openOnFocus==`function`||!0===e.openOnFocus,i=()=>{(e=>Kb.has(e))(e)?(e=>{Kb.delete(e)})(e):(e=>Bb(e,e.openOnFocus))(e)&&n()};r&&e.context.inputElement.addEventListener(`focus`,i);let a=t=>{let n=t.key===`Tab`&&!t.shiftKey,r=[`ArrowUp`,`ArrowDown`,`ArrowLeft`,`ArrowRight`].includes(t.key);(n||r)&&(t=>{if(!e.context.isShowInInputMode||Gb(e.context.mainElement).activeElement!==e.context.inputElement)return!1;let n=e=>e.tabIndex>=0&&!e.hasAttribute(`disabled`)&&e.getAttribute(`aria-disabled`)!==`true`,r=document.createTreeWalker(e.context.mainElement,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>n(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}).nextNode()??(n(e.context.mainElement)?e.context.mainElement:null);!r||r.tabIndex<0||(t.preventDefault(),r.focus())})(t)};return e.context.inputElement.addEventListener(`keydown`,a),()=>{t.removeEventListener(`click`,n),r&&t.removeEventListener(`focus`,i),t.removeEventListener(`keydown`,a)}})(e);return X(e,`cleanupInput`,t),t}if(bS(e),rS(e),e.selectionDatesMode===`multiple-ranged`&&e.context.selectedDates.length===1&&(Wb(e,null),iS(e)),e.onInit&&e.onInit(e),!e.context.isDestroyed)return aS(e),(t=Y(e).motion)==null||t.bind(e),hS(e)})(this)),Q(this,`update`,e=>SS(this,e)),Q(this,`destroy`,()=>{let t=this.inputMode?this.context.inputElement:this.context.mainElement;if((e=>{var t,n,r,i,a,o,s,c;if(!e.context.isInit)throw Error(sx);if(e.context.isDestroyed)throw Error(`The calendar has already been destroyed, calling destroy() again is not allowed.`);px(e);let l=Y(e);var u,d,f,p,m;(t=l.motion)==null||t.destroy(e),(n=l.time)==null||n.destroy(e),(r=l.annotations)==null||r.destroy(e),Ub(e),(e=>{Ob.delete(e)})(e),ix(e),(i=(a=e.context).cleanupInput)==null||i.call(a),X(e,`cleanupInput`,void 0),(o=e.context.cleanupHandlers)==null||o.forEach(e=>e()),X(e,`cleanupHandlers`,[]),X(e,`isShowInInputMode`,!1),(s=(c=e.context).cleanupSystemTheme)==null||s.call(c),e.inputMode?(e.context.mainElement!==e.context.inputElement&&((f=e.context.mainElement.parentElement)==null||f.removeChild(e.context.mainElement)),(u=e.context.inputElement)==null||(d=u.replaceWith)==null||d.call(u,e.context.originalElement),X(e,`inputElement`,void 0)):(p=(m=e.context.mainElement).replaceWith)==null||p.call(m,e.context.originalElement),X(e,`mainElement`,e.context.originalElement),X(e,`isDestroyed`,!0),e.onDestroy&&e.onDestroy(e)})(this),t)for(let[n,r]of e.memoizedElements)r===t&&e.memoizedElements.delete(n)}),Q(this,`show`,()=>ox(this)),Q(this,`hide`,()=>Qb(this)),Q(this,`set`,(e,t)=>((e,t,n)=>{Fb(e,t);let r=Object.keys(t);t.extensions&&r.splice(r.indexOf(`extensions`),1);let i=r.length===1&&r[0]===`selectedDates`?yx(e):void 0;wS(e,t),e.context.isInit&&SS(e,n,i)})(this,e,t)),Q(this,`context`,void 0),this.context=$x($x({},this.context),{},{locale:{months:{short:[],long:[]},weekdays:{short:[],long:[]}}}),X(this,`mainElement`,typeof t==`string`?e.memoizedElements.get(t)??this.queryAndMemoize(t):t);let r=n?.extensions;this.extensions=r!=null&&r.length?Object.freeze(Array.from(new Set(r))):Pb,(e=>{if(!e.extensions.length)return;let t={};for(let n of e.extensions){let e=n,r=e.name;if(!jb.includes(r))throw Error(`Unknown calendar extension.`);if(t[r]&&t[r]!==e)throw Error(`Conflicting calendar extension: ${r}.`);Object.assign(t,{[r]:e})}Mb.set(e,t)})(this),n&&wS(this,n)}queryAndMemoize(t){let n=document.querySelector(t);if(!n)throw Error((e=>`${e} is not found, check the first argument passed to new Calendar. If the element lives inside a Shadow DOM, a string selector can't reach it - resolve the element yourself (e.g. shadowRoot.querySelector(...)) and pass it directly instead.`)(t));return e.memoizedElements.set(t,n),n}};Q(OS,`memoizedElements`,new Map),window.VanillaCalendar={Calendar:OS};var kS=function(e){return AS(e)&&!jS(e)};function AS(e){return!!e&&typeof e==`object`}function jS(e){var t=Object.prototype.toString.call(e);return t===`[object RegExp]`||t===`[object Date]`||PS(e)||NS(e)}var MS=typeof Symbol==`function`&&Symbol.for?Symbol.for(`react.element`):60103;function NS(e){return e.$$typeof===MS}function PS(e){return e instanceof Node}function FS(e){return Array.isArray(e)?[]:{}}function IS(e,t){return t.clone!==!1&&t.isMergeableObject(e)?WS(FS(e),e,t):e}function LS(e,t,n){return e.concat(t).map(function(e){return IS(e,n)})}function RS(e,t){if(!t.customMerge)return WS;var n=t.customMerge(e);return typeof n==`function`?n:WS}function zS(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return e.propertyIsEnumerable(t)}):[]}function BS(e){return Object.keys(e).concat(zS(e))}function VS(e,t){try{return t in e}catch{return!1}}function HS(e,t){return VS(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function US(e,t,n){var r={};return n.isMergeableObject(e)&&BS(e).forEach(function(t){r[t]=IS(e[t],n)}),BS(t).forEach(function(i){HS(e,i)||(r[i]=VS(e,i)&&n.isMergeableObject(t[i])?RS(i,n)(e[i],t[i],n):IS(t[i],n))}),r}var WS=function(e,t,n){n||={},n.arrayMerge=n.arrayMerge||LS,n.isMergeableObject=n.isMergeableObject||kS,n.cloneUnlessOtherwiseSpecified=IS;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):US(e,t,n):IS(t,n)},GS=function(e){return typeof e==`object`&&e.nodeType!==void 0?e:typeof e==`string`?document.querySelector(e):null},KS=function(e,t,n,r){r===void 0&&(r=!1);var i=document.createElement(e);return n&&(i[r?`innerHTML`:`textContent`]=n),t&&(i.className=t),i},qS=function(e,t){return Element.prototype.querySelector.call(e,t)},JS=function(e){e.parentNode.removeChild(e)},YS=function(e){return/\.(jpg|gif|png)$/.test(e)},XS=function(e){return e.replace(/[\w]([A-Z])/g,function(e){return e[0]+`-`+e[1]}).toLowerCase()},ZS=function(e,t,n){return n===void 0&&(n=!1),n?WS(e,t):Object.assign(e,t)},QS=function(e,t){return e.toLowerCase()+`:to:`+t.toLowerCase()},$S=function(e,t){Object.assign(e.prototype,t)},eC={},tC=1,$={on:function(e,t,n,r){r===void 0&&(r={});var i=`jvm:`+t+`::`+tC++;eC[i]={selector:e,handler:n},n._uid=i,e.addEventListener(t,n,r)},delegate:function(e,t,n,r){t=t.split(` `),t.forEach(function(t){$.on(e,t,function(e){var t=e.target;t.matches(n)&&r.call(t,e)})})},off:function(e,t,n){var r=t.split(`:`)[1];e.removeEventListener(r,n),delete eC[n._uid]},flush:function(){Object.keys(eC).forEach(function(e){$.off(eC[e].selector,e,eC[e].handler)})},getEventRegistry:function(){return eC}};function nC(){var e=this,t=this,n=!1,r,i;this.params.draggable&&($.on(this.container,`mousemove`,function(e){if(!n)return!1;t.transX-=(r-e.pageX)/t.scale,t.transY-=(i-e.pageY)/t.scale,t._applyTransform(),r=e.pageX,i=e.pageY}),$.on(this.container,`mousedown`,function(e){return n=!0,r=e.pageX,i=e.pageY,!1}),$.on(document.body,`mouseup`,function(){n=!1})),this.params.zoomOnScroll&&$.on(this.container,`wheel`,function(n){var r=((n.deltaY||-n.wheelDelta||n.detail)>>10||1)*75,i=e.container.getBoundingClientRect(),a=n.pageX-i.left-window.scrollX,o=n.pageY-i.top-window.scrollY,s=(1+t.params.zoomOnScrollSpeed/1e3)**(-1.5*r);t.tooltip&&t._tooltip.hide(),t._setScale(t.scale*s,a,o),n.preventDefault()})}var rC={onLoaded:`map:loaded`,onViewportChange:`viewport:changed`,onRegionClick:`region:clicked`,onMarkerClick:`marker:clicked`,onRegionSelected:`region:selected`,onMarkerSelected:`marker:selected`,onRegionTooltipShow:`region.tooltip:show`,onMarkerTooltipShow:`marker.tooltip:show`,onDestroyed:`map:destroyed`},iC=function(e,t,n){var r=GS(t),i=r.getAttribute(`class`).indexOf(`jvm-region`)===-1?`marker`:`region`,a=i===`region`,o=a?r.getAttribute(`data-code`):r.getAttribute(`data-index`),s=a?rC.onRegionSelected:rC.onMarkerSelected;return n&&(s=a?rC.onRegionTooltipShow:rC.onMarkerTooltipShow),{type:i,code:o,event:s,element:a?e.regions[o].element:e._markers[o].element,tooltipText:a?e._mapData.paths[o].name||``:e._markers[o].config.name||``}};function aC(){var e=this,t=this.container,n,r,i;$.on(t,`mousemove`,function(e){Math.abs(n-e.pageX)+Math.abs(r-e.pageY)>2&&(i=!0)}),$.delegate(t,`mousedown`,`.jvm-element`,function(e){n=e.pageX,r=e.pageY,i=!1}),$.delegate(t,`mouseover mouseout`,`.jvm-element`,function(t){var n=iC(e,this,!0),r=e.params.showTooltip;t.type===`mouseover`?(n.element.hover(!0),r&&(e._tooltip.text(n.tooltipText),e._emit(n.event,[t,e._tooltip,n.code]),t.defaultPrevented||e._tooltip.show())):(n.element.hover(!1),r&&e._tooltip.hide())}),$.delegate(t,`mouseup`,`.jvm-element`,function(t){var n=iC(e,this);if(!i&&(n.type===`region`&&e.params.regionsSelectable||n.type===`marker`&&e.params.markersSelectable)){var r=n.element;e.params[n.type+`sSelectableOne`]&&(n.type===`region`?e.clearSelectedRegions():e.clearSelectedMarkers()),n.element.isSelected?r.select(!1):r.select(!0),e._emit(n.event,[n.code,r.isSelected,n.type===`region`?e.getSelectedRegions():e.getSelectedMarkers()])}}),$.delegate(t,`click`,`.jvm-element`,function(t){var n=iC(e,this),r=n.type,i=n.code;e._emit(r===`region`?rC.onRegionClick:rC.onMarkerClick,[t,i])})}function oC(){var e=this,t=this.params.zoomInButton,n=this.params.zoomOutButton,r=function(e){return typeof e==`string`?document.querySelector(e):e},i=t?r(t):KS(`div`,`jvm-zoom-btn jvm-zoomin`,`+`,!0),a=n?r(n):KS(`div`,`jvm-zoom-btn jvm-zoomout`,`−`,!0);t||this.container.appendChild(i),n||this.container.appendChild(a);var o=function(t){return t===void 0&&(t=!0),function(){return e._setScale(t?e.scale*e.params.zoomStep:e.scale/e.params.zoomStep,e._width/2,e._height/2,!1,e.params.zoomAnimate)}};$.on(i,`click`,o()),$.on(a,`click`,o(!1))}function sC(){var e=this,t,n,r,i,a,o,s,c=function(c){var l=c.touches,u,d,f,p;if(c.type==`touchstart`&&(s=0),l.length==1){if(s==1){var m;f=e.transX,p=e.transY,e.transX-=(r-l[0].pageX)/e.scale,e.transY-=(i-l[0].pageY)/e.scale,(m=e._tooltip)==null||m.hide(),e._applyTransform(),(f!=e.transX||p!=e.transY)&&c.preventDefault()}r=l[0].pageX,i=l[0].pageY}else if(l.length==2){if(s==2){var h;d=Math.sqrt((l[0].pageX-l[1].pageX)**2+(l[0].pageY-l[1].pageY)**2)/n,e._setScale(t*d,a,o),(h=e._tooltip)==null||h.hide(),c.preventDefault()}else{var g=e.container.getBoundingClientRect();u={top:g.top+window.scrollY,left:g.left+window.scrollX},a=l[0].pageX>l[1].pageX?l[1].pageX+(l[0].pageX-l[1].pageX)/2:l[0].pageX+(l[1].pageX-l[0].pageX)/2,o=l[0].pageY>l[1].pageY?l[1].pageY+(l[0].pageY-l[1].pageY)/2:l[0].pageY+(l[1].pageY-l[0].pageY)/2,a-=u.left,o-=u.top,t=e.scale,n=Math.sqrt((l[0].pageX-l[1].pageX)**2+(l[0].pageY-l[1].pageY)**2)}}s=l.length};$.on(e.container,`touchstart`,c),$.on(e.container,`touchmove`,c)}function cC(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function lC(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function uC(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,vC(r.key),r)}}function dC(e,t,n){return t&&uC(e.prototype,t),n&&uC(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function fC(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=yC(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
4
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pC(){return pC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pC.apply(null,arguments)}function mC(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,gC(e,t)}function hC(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function gC(e,t){return gC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},gC(e,t)}function _C(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function vC(e){var t=_C(e,`string`);return typeof t==`symbol`?t:t+``}function yC(e,t){if(e){if(typeof e==`string`)return cC(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?cC(e,t):void 0}}var bC=function(){function e(){}var t=e.prototype;return t.dispose=function(){this._tooltip?JS(this._tooltip):this.shape.remove();for(var e=fC(Object.getOwnPropertyNames(this)),t;!(t=e()).done;){var n=t.value;this[n]=null}},e}(),xC={getLabelText:function(e,t){if(t){if(typeof t.render==`function`){var n=[];return this.constructor.Name===`marker`&&n.push(this.getConfig()),n.push(e),t.render.apply(this,n)}return e}},getLabelOffsets:function(e,t){return typeof t.offsets==`function`?t.offsets(e):Array.isArray(t.offsets)?t.offsets[e]:[0,0]},setStyle:function(e,t){this.shape.setStyle(e,t)},remove:function(){this.shape.remove(),this.label&&this.label.remove()},hover:function(e){this._setStatus(`isHovered`,e)},select:function(e){this._setStatus(`isSelected`,e)},_setStatus:function(e,t){this.shape[e]=t,this.shape.updateStyle(),this[e]=t,this.label&&(this.label[e]=t,this.label.updateStyle())}},SC=function(e){function t(t){var n,r=t.map,i=t.code,a=t.path,o=t.style,s=t.label,c=t.labelStyle,l=t.labelsGroup;n=e.call(this)||this,n._map=r,n.shape=n._createRegion(a,i,o);var u=n.getLabelText(i,s);if(s&&u){var d=n.shape.getBBox(),f=n.getLabelOffsets(i,s);n.labelX=d.x+d.width/2+f[0],n.labelY=d.y+d.height/2+f[1],n.label=n._map.canvas.createText({text:u,textAnchor:`middle`,alignmentBaseline:`central`,dataCode:i,x:n.labelX,y:n.labelY},c,l),n.label.addClass(`jvm-region jvm-element`)}return n}mC(t,e);var n=t.prototype;return n._createRegion=function(e,t,n){return e=this._map.canvas.createPath({d:e,dataCode:t},n),e.addClass(`jvm-region jvm-element`),e},n.updateLabelPosition=function(){this.label&&this.label.set({x:this.labelX*this._map.scale+this._map.transX*this._map.scale,y:this.labelY*this._map.scale+this._map.transY*this._map.scale})},t}(bC);$S(SC,xC);function CC(){for(var e in this._regionLabelsGroup=this._regionLabelsGroup||this.canvas.createGroup(`jvm-regions-labels-group`),this._mapData.paths){var t=new SC({map:this,code:e,path:this._mapData.paths[e].path,style:ZS({},this.params.regionStyle),labelStyle:this.params.regionLabelStyle,labelsGroup:this._regionLabelsGroup,label:this.params.labels&&this.params.labels.regions});this.regions[e]={config:this._mapData.paths[e],element:t}}}var wC=`jvm-line`,TC=function(e){function t(t,n){var r=e.call(this)||this;return r._options=t,r._style={initial:n},r._draw(),r}mC(t,e);var n=t.prototype;return n.setStyle=function(e,t){this.shape.setStyle(e,t)},n.getConfig=function(){return this._options.config},n._draw=function(){var e=this._options,t=e.index,n=e.group,r=e.map,i={d:this._getDAttribute(),fill:`none`,dataIndex:t};this.shape=r.canvas.createPath(i,this._style,n),this.shape.addClass(wC)},n._getDAttribute=function(){var e=this._options,t=e.x1,n=e.y1,r=e.x2,i=e.y2,a=e.curvature;return`M`+t+`,`+n+this._getQCommand(t,n,r,i,a)+r+`,`+i},n._getQCommand=function(e,t,n,r,i){if(!i)return` `;var a=(e+n)/2+i*(r-t),o=(t+r)/2-i*(n-e);return` Q`+a+`,`+o+` `},t}(bC),EC=[`curvature`],DC=[`curvature`];function OC(e){var t=!1,n=!1,r=this.params.lineStyle,i=r.curvature,a=hC(r,EC);for(var o in e){for(var s=e[o],c=0,l=Object.values(this._markers);c<l.length;c++){var u=l[c].config;u.name===s.from&&(t=this.getMarkerPosition(u)),u.name===s.to&&(n=this.getMarkerPosition(u))}if(t!==!1&&n!==!1){var d=s.style||{},f=d.curvature,p=hC(d,DC);this._lines[QS(s.from,s.to)]=new TC({index:o,map:this,group:this._linesGroup,config:s,x1:t.x,y1:t.y,x2:n.x,y2:n.y,curvature:f==0?0:f||i},ZS(a,p,!0))}}}var kC=`marker`,AC=`jvm-`,jC=AC+`element `+AC+`marker`,MC=AC+`element `+AC+`label`,NC=function(e){function t(t,n){var r=e.call(this)||this;return r._options=t,r._style=n,r._labelX=null,r._labelY=null,r._offsets=null,r._isImage=!!n.initial.image,r._draw(),r._options.label&&r._drawLabel(),r._isImage&&r.updateLabelPosition(),r}mC(t,e);var n=t.prototype;return n.getConfig=function(){return this._options.config},n.updateLabelPosition=function(){var e=this._options.map;this.label&&this.label.set({x:this._labelX*e.scale+this._offsets[0]+e.transX*e.scale+5+(this._isImage?(this.shape.width||0)/2:this.shape.node.r.baseVal.value),y:this._labelY*e.scale+e.transY*this._options.map.scale+this._offsets[1]})},n._draw=function(){var e=this._options,t=e.index,n=e.map,r=e.group,i=e.cx,a=e.cy,o=this._isImage?`createImage`:`createCircle`;this.shape=n.canvas[o]({dataIndex:t,cx:i,cy:a},this._style,r),this.shape.addClass(jC)},n._drawLabel=function(){var e=this._options,t=e.index,n=e.map,r=e.label,i=e.labelsGroup,a=e.cx,o=e.cy,s=e.config,c=e.isRecentlyCreated,l=this.getLabelText(t,r);this._labelX=a/n.scale-n.transX,this._labelY=o/n.scale-n.transY,this._offsets=c&&s.offsets?s.offsets:this.getLabelOffsets(t,r),this.label=n.canvas.createText({text:l,dataIndex:t,x:this._labelX,y:this._labelY,dy:`0.6ex`},n.params.markerLabelStyle,i),this.label.addClass(MC),c&&this.updateLabelPosition()},dC(t,null,[{key:`Name`,get:function(){return kC}}])}(bC);$S(NC,xC);function PC(e,t){var n=this;e===void 0&&(e={}),t===void 0&&(t=!1);var r=function(){var r=e[i],a=n.getMarkerPosition(r),o=r.coords.join(`:`);if(!a)return 0;if(t){if(Object.keys(n._markers).filter(function(e){return n._markers[e]._uid===o}).length)return 0;i=Object.keys(n._markers).length}var s=new NC({index:i,map:n,label:n.params.labels&&n.params.labels.markers,labelsGroup:n._markerLabelsGroup,cx:a.x,cy:a.y,group:n._markersGroup,config:r,isRecentlyCreated:t},ZS(n.params.markerStyle,pC({},r.style||{}),!0));n._markers[i]&&n.removeMarkers([i]),n._markers[i]={_uid:o,config:r,element:s}};for(var i in e)r()}var FC=function(){function e(e){e===void 0&&(e={}),this._options=e,this._map=this._options.map,this._series=this._options.series,this._body=KS(`div`,`jvm-legend`),this._options.cssClass&&this._body.setAttribute(`class`,this._options.cssClass),e.vertical?this._map.legendVertical.appendChild(this._body):this._map.legendHorizontal.appendChild(this._body),this.render()}var t=e.prototype;return t.render=function(){var e=this._series.scale.getTicks();if(this._body.innderHTML=``,this._options.title){var t=KS(`div`,`jvm-legend-title`,this._options.title);this._body.appendChild(t)}for(var n=0;n<e.length;n++){var r=KS(`div`,`jvm-legend-tick`),i=KS(`div`,`jvm-legend-tick-sample`);switch(this._series.config.attribute){case`fill`:YS(e[n].value)?i.style.background=`url(`+e[n].value+`)`:i.style.background=e[n].value;break;case`stroke`:i.style.background=e[n].value;break;case`image`:i.style.background=`url(`+(typeof e[n].value==`object`?e[n].value.url:e[n].value)+`) no-repeat center center`,i.style.backgroundSize=`cover`}r.appendChild(i);var a=e[n].label;this._options.labelRender&&(a=this._options.labelRender(a));var o=KS(`div`,`jvm-legend-tick-text`,a);r.appendChild(o),this._body.appendChild(r)}},e}(),IC=function(){function e(e){this._scale=e}var t=e.prototype;return t.getValue=function(e){return this._scale[e]},t.getTicks=function(){var e=[];for(var t in this._scale)e.push({label:t,value:this._scale[t]});return e},e}(),LC=function(){function e(e,t,n){e===void 0&&(e={}),this._map=n,this._elements=t,this._values=e.values||{},this.config=e,this.config.attribute=e.attribute||`fill`,e.attributes&&this.setAttributes(e.attributes),typeof e.scale==`object`&&(this.scale=new IC(e.scale)),this.config.legend&&(this.legend=new FC(ZS({map:this._map,series:this},this.config.legend))),this.setValues(this._values)}var t=e.prototype;return t.setValues=function(e){var t={};for(var n in e)e[n]&&(t[n]=this.scale.getValue(e[n]));this.setAttributes(t)},t.setAttributes=function(e){for(var t in e)this._elements[t]&&this._elements[t].element.setStyle(this.config.attribute,e[t])},t.clear=function(){var e,t={};for(e in this._values)this._elements[e]&&(t[e]=this._elements[e].element.shape.style.initial[this.config.attribute]);this.setAttributes(t),this._values={}},e}();function RC(){for(var e in this.series={markers:[],regions:[]},this.params.series)for(var t=0;t<this.params.series[e].length;t++)this.series[e][t]=new LC(this.params.series[e][t],e===`markers`?this._markers:this.regions,this)}function zC(){var e,t,n,r;this._defaultWidth*this.scale<=this._width?(e=(this._width-this._defaultWidth*this.scale)/(2*this.scale),n=(this._width-this._defaultWidth*this.scale)/(2*this.scale)):(e=0,n=(this._width-this._defaultWidth*this.scale)/this.scale),this._defaultHeight*this.scale<=this._height?(t=(this._height-this._defaultHeight*this.scale)/(2*this.scale),r=(this._height-this._defaultHeight*this.scale)/(2*this.scale)):(t=0,r=(this._height-this._defaultHeight*this.scale)/this.scale),this.transY>t?this.transY=t:this.transY<r&&(this.transY=r),this.transX>e?this.transX=e:this.transX<n&&(this.transX=n),this.canvas.applyTransformParams(this.scale,this.transX,this.transY),this._markers&&this._repositionMarkers(),this._lines&&this._repositionLines(),this._repositionLabels()}function BC(){var e=this._baseScale;this._width/this._height>this._defaultWidth/this._defaultHeight?(this._baseScale=this._height/this._defaultHeight,this._baseTransX=Math.abs(this._width-this._defaultWidth*this._baseScale)/(2*this._baseScale)):(this._baseScale=this._width/this._defaultWidth,this._baseTransY=Math.abs(this._height-this._defaultHeight*this._baseScale)/(2*this._baseScale)),this.scale*=this._baseScale/e,this.transX*=this._baseScale/e,this.transY*=this._baseScale/e}function VC(e,t,n,r,i){var a=this,o,s,c=0,l=Math.abs(Math.round((e-this.scale)*60/Math.max(e,this.scale))),u,d,f,p,m,h,g,_;e>this.params.zoomMax*this._baseScale?e=this.params.zoomMax*this._baseScale:e<this.params.zoomMin*this._baseScale&&(e=this.params.zoomMin*this._baseScale),t!==void 0&&n!==void 0&&(o=e/this.scale,r?(g=t+this._defaultWidth*(this._width/(this._defaultWidth*e))/2,_=n+this._defaultHeight*(this._height/(this._defaultHeight*e))/2):(g=this.transX-(o-1)/e*t,_=this.transY-(o-1)/e*n)),i&&l>0?(u=this.scale,d=(e-u)/l,f=this.transX*this.scale,m=this.transY*this.scale,p=(g*e-f)/l,h=(_*e-m)/l,s=setInterval(function(){c+=1,a.scale=u+d*c,a.transX=(f+p*c)/a.scale,a.transY=(m+h*c)/a.scale,a._applyTransform(),c==l&&(clearInterval(s),a._emit(rC.onViewportChange,[a.scale,a.transX,a.transY]))},10)):(this.transX=g,this.transY=_,this.scale=e,this._applyTransform(),this._emit(rC.onViewportChange,[this.scale,this.transX,this.transY]))}function HC(e){var t=this;e===void 0&&(e={});var n,r=[];if(e.region?r.push(e.region):e.regions&&(r=e.regions),r.length)return r.forEach(function(e){if(t.regions[e]){var r=t.regions[e].element.shape.getBBox();r&&(n=n===void 0?r:{x:Math.min(n.x,r.x),y:Math.min(n.y,r.y),width:Math.max(n.x+n.width,r.x+r.width)-Math.min(n.x,r.x),height:Math.max(n.y+n.height,r.y+r.height)-Math.min(n.y,r.y)})}}),this._setScale(Math.min(this._width/n.width,this._height/n.height),-(n.x+n.width/2),-(n.y+n.height/2),!0,e.animate);if(e.coords){var i=this.coordsToPoint(e.coords[0],e.coords[1]),a=this.transX-i.x/this.scale,o=this.transY-i.y/this.scale;return this._setScale(e.scale*this._baseScale,a,o,!0,e.animate)}}function UC(){this._width=this.container.offsetWidth,this._height=this.container.offsetHeight,this._resize(),this.canvas.setSize(this._width,this._height),this._applyTransform()}var WC={mill:function(e,t,n){return{x:this.radius*(t-n)*this.radDeg,y:-this.radius*Math.log(Math.tan((45+.4*e)*this.radDeg))/.8}},merc:function(e,t,n){return{x:this.radius*(t-n)*this.radDeg,y:-this.radius*Math.log(Math.tan(Math.PI/4+e*Math.PI/360))}},aea:function(e,t,n){var r=0,i=n*this.radDeg,a=29.5*this.radDeg,o=45.5*this.radDeg,s=e*this.radDeg,c=t*this.radDeg,l=(Math.sin(a)+Math.sin(o))/2,u=Math.cos(a)*Math.cos(a)+2*l*Math.sin(a),d=l*(c-i),f=Math.sqrt(u-2*l*Math.sin(s))/l,p=Math.sqrt(u-2*l*Math.sin(r))/l;return{x:f*Math.sin(d)*this.radius,y:-(p-f*Math.cos(d))*this.radius}},lcc:function(e,t,n){var r=0,i=n*this.radDeg,a=t*this.radDeg,o=33*this.radDeg,s=45*this.radDeg,c=e*this.radDeg,l=Math.log(1/Math.cos(s)*Math.cos(o))/Math.log(Math.tan(Math.PI/4+s/2)*(1/Math.tan(Math.PI/4+o/2))),u=Math.cos(o)*Math.tan(Math.PI/4+o/2)**+l/l,d=u*(1/Math.tan(Math.PI/4+c/2))**l,f=u*(1/Math.tan(Math.PI/4+r/2))**l;return{x:d*Math.sin(l*(a-i))*this.radius,y:-(f-d*Math.cos(l*(a-i)))*this.radius}}};WC.degRad=180/Math.PI,WC.radDeg=Math.PI/180,WC.radius=6381372;function GC(e,t){var n=mw.maps[this.params.map].projection,r=WC[n.type](e,t,n.centralMeridian),i=r.x,a=r.y,o=this.getInsetForPoint(i,a);if(!o)return!1;var s=o.bbox;return i=(i-s[0].x)/(s[1].x-s[0].x)*o.width*this.scale,a=(a-s[0].y)/(s[1].y-s[0].y)*o.height*this.scale,{x:i+this.transX*this.scale+o.left*this.scale,y:a+this.transY*this.scale+o.top*this.scale}}function KC(e,t){for(var n=mw.maps[this.params.map].insets,r=0;r<n.length;r++){var i=n[r].bbox,a=i[0],o=i[1];if(e>a.x&&e<o.x&&t>a.y&&t<o.y)return n[r]}}function qC(e){var t=e.coords;return mw.maps[this.params.map].projection?this.coordsToPoint.apply(this,t):{x:t[0]*this.scale+this.transX*this.scale,y:t[1]*this.scale+this.transY*this.scale}}function JC(){var e=this,t=this.params.lineStyle.curvature;Object.values(this._lines).forEach(function(n){var r=Object.values(e._markers).find(function(e){return e.config.name===n.getConfig().from}),i=Object.values(e._markers).find(function(e){return e.config.name===n.getConfig().to});if(r&&i){var a=e.getMarkerPosition(r.config),o=a.x,s=a.y,c=e.getMarkerPosition(i.config),l=c.x,u=c.y,d=n._options.curvature==0?0:n._options.curvature||t,f=(o+l)/2,p=(s+u)/2,m=f+d*(u-s),h=p-d*(l-o);n.setStyle({d:`M`+o+`,`+s+` Q`+m+`,`+h+` `+l+`,`+u})}})}function YC(){for(var e in this._markers){var t=this.getMarkerPosition(this._markers[e].config);t!==!1&&this._markers[e].element.setStyle({cx:t.x,cy:t.y})}}function XC(){var e=this.params.labels;if(e){if(e.regions)for(var t in this.regions)this.regions[t].element.updateLabelPosition();if(e.markers)for(var n in this._markers)this._markers[n].element.updateLabelPosition()}}var ZC={_setupContainerEvents:nC,_setupElementEvents:aC,_setupZoomButtons:oC,_setupContainerTouchEvents:sC,_createRegions:CC,_createLines:OC,_createMarkers:PC,_createSeries:RC,_applyTransform:zC,_resize:BC,_setScale:VC,setFocus:HC,updateSize:UC,coordsToPoint:GC,getInsetForPoint:KC,getMarkerPosition:qC,_repositionLines:JC,_repositionMarkers:YC,_repositionLabels:XC},QC={map:`world`,backgroundColor:`transparent`,draggable:!0,zoomButtons:!0,zoomOnScroll:!0,zoomOnScrollSpeed:3,zoomMax:12,zoomMin:1,zoomAnimate:!0,showTooltip:!0,zoomStep:1.5,bindTouchEvents:!0,lineStyle:{curvature:0,stroke:`#808080`,strokeWidth:1,strokeLinecap:`round`},markersSelectable:!1,markersSelectableOne:!1,markerStyle:{initial:{r:7,fill:`#374151`,fillOpacity:1,stroke:`#FFF`,strokeWidth:5,strokeOpacity:.5},hover:{fill:`#3cc0ff`,cursor:`pointer`},selected:{fill:`blue`},selectedHover:{}},markerLabelStyle:{initial:{fontFamily:`Verdana`,fontSize:12,fontWeight:500,cursor:`default`,fill:`#374151`},hover:{cursor:`pointer`},selected:{},selectedHover:{}},regionsSelectable:!1,regionsSelectableOne:!1,regionStyle:{initial:{fill:`#dee2e8`,fillOpacity:1,stroke:`none`,strokeWidth:0},hover:{fillOpacity:.7,cursor:`pointer`},selected:{fill:`#9ca3af`},selectedHover:{}},regionLabelStyle:{initial:{fontFamily:`Verdana`,fontSize:`12`,fontWeight:`bold`,cursor:`default`,fill:`#35373e`},hover:{cursor:`pointer`}}},$C=function(){function e(e,t){this.node=this._createElement(e),t&&this.set(t)}var t=e.prototype;return t._createElement=function(e){return document.createElementNS(`http://www.w3.org/2000/svg`,e)},t.addClass=function(e){this.node.setAttribute(`class`,e)},t.getBBox=function(){return this.node.getBBox()},t.set=function(e,t){if(typeof e==`object`)for(var n in e)this.applyAttr(n,e[n]);else this.applyAttr(e,t)},t.get=function(e){return this.style.initial[e]},t.applyAttr=function(e,t){this.node.setAttribute(XS(e),t)},t.remove=function(){JS(this.node)},e}(),ew=function(e){function t(t,n,r){var i;return r===void 0&&(r={}),i=e.call(this,t,n)||this,i.isHovered=!1,i.isSelected=!1,i.style=r,i.style.current={},i.updateStyle(),i}mC(t,e);var n=t.prototype;return n.setStyle=function(e,t){if(typeof e==`object`)ZS(this.style.current,e);else{var n;ZS(this.style.current,(n={},n[e]=t,n))}this.updateStyle()},n.updateStyle=function(){var e={};ZS(e,this.style.initial),ZS(e,this.style.current),this.isHovered&&ZS(e,this.style.hover),this.isSelected&&(ZS(e,this.style.selected),this.isHovered&&ZS(e,this.style.selectedHover)),this.set(e)},t}($C),tw=function(e){function t(t,n){return e.call(this,`text`,t,n)||this}mC(t,e);var n=t.prototype;return n.applyAttr=function(t,n){t===`text`?this.node.textContent=n:e.prototype.applyAttr.call(this,t,n)},t}(ew),nw=function(e){function t(t,n){return e.call(this,`image`,t,n)||this}mC(t,e);var n=t.prototype;return n.applyAttr=function(t,n){var r;t===`image`?(typeof n==`object`?(r=n.url,this.offset=n.offset||[0,0]):(r=n,this.offset=[0,0]),this.node.setAttributeNS(`http://www.w3.org/1999/xlink`,`href`,r),this.width=23,this.height=23,this.applyAttr(`width`,this.width),this.applyAttr(`height`,this.height),this.applyAttr(`x`,this.cx-this.width/2+this.offset[0]),this.applyAttr(`y`,this.cy-this.height/2+this.offset[1])):t==`cx`?(this.cx=n,this.width&&this.applyAttr(`x`,n-this.width/2+this.offset[0])):t==`cy`?(this.cy=n,this.height&&this.applyAttr(`y`,n-this.height/2+this.offset[1])):e.prototype.applyAttr.apply(this,arguments)},t}(ew),rw=function(e){function t(t){var n=e.call(this,`svg`)||this;return n._container=t,n._defsElement=new $C(`defs`),n._rootElement=new $C(`g`,{id:`jvm-regions-group`}),n.node.appendChild(n._defsElement.node),n.node.appendChild(n._rootElement.node),n._container.appendChild(n.node),n}mC(t,e);var n=t.prototype;return n.setSize=function(e,t){this.node.setAttribute(`width`,e),this.node.setAttribute(`height`,t)},n.applyTransformParams=function(e,t,n){this._rootElement.node.setAttribute(`transform`,`scale(`+e+`) translate(`+t+`, `+n+`)`)},n.createPath=function(e,t,n){var r=new ew(`path`,e,t);return r.node.setAttribute(`fill-rule`,`evenodd`),this._add(r,n)},n.createCircle=function(e,t,n){var r=new ew(`circle`,e,t);return this._add(r,n)},n.createLine=function(e,t,n){var r=new ew(`line`,e,t);return this._add(r,n)},n.createText=function(e,t,n){var r=new tw(e,t);return this._add(r,n)},n.createImage=function(e,t,n){var r=new nw(e,t);return this._add(r,n)},n.createGroup=function(e){var t=new $C(`g`);return this.node.appendChild(t.node),e&&(t.node.id=e),t.canvas=this,t},n._add=function(e,t){return t||=this._rootElement,t.node.appendChild(e.node),e},t}($C),iw=function(e){function t(t){var n=e.call(this)||this,r=KS(`div`,`jvm-tooltip`);return n._map=t,n._tooltip=document.body.appendChild(r),n._bindEventListeners(),n||lC(n)}mC(t,e);var n=t.prototype;return n._bindEventListeners=function(){var e=this;$.on(this._map.container,`mousemove`,function(t){if(e._tooltip.classList.contains(`active`)){var n=qS(e._map.container,`#jvm-regions-group`).getBoundingClientRect(),r=5,i=e._tooltip.getBoundingClientRect(),a=i.height,o=i.width,s=t.clientY<=n.top+a+r,c=t.pageY-a-r,l=t.pageX-o-r;s&&(c+=a+r,l-=r*2),t.clientX<n.left+o+r&&(l=t.pageX+r+2,s&&(l+=r*2)),e.css({top:c+`px`,left:l+`px`})}})},n.getElement=function(){return this._tooltip},n.show=function(){this._tooltip.classList.add(`active`)},n.hide=function(){this._tooltip.classList.remove(`active`)},n.text=function(e,t){t===void 0&&(t=!1);var n=t?`innerHTML`:`textContent`;if(!e)return this._tooltip[n];this._tooltip[n]=e},n.css=function(e){for(var t in e)this._tooltip.style[t]=e[t];return this},t}(bC),aw=function(){function e(e,t){var n=e.scale,r=e.values;this._scale=n,this._values=r,this._fromColor=this.hexToRgb(n[0]),this._toColor=this.hexToRgb(n[1]),this._map=t,this.setMinMaxValues(r),this.visualize()}var t=e.prototype;return t.setMinMaxValues=function(e){for(var t in this.min=Number.MAX_VALUE,this.max=0,e)t=parseFloat(e[t]),t>this.max&&(this.max=t),t<this.min&&(this.min=t)},t.visualize=function(){var e={},t;for(var n in this._values)t=parseFloat(this._values[n]),isNaN(t)||(e[n]=this.getValue(t));this.setAttributes(e)},t.setAttributes=function(e){for(var t in e)this._map.regions[t]&&this._map.regions[t].element.setStyle(`fill`,e[t])},t.getValue=function(e){if(this.min===this.max)return`#`+this._toColor.join(``);for(var t,n=`#`,r=0;r<3;r++)t=Math.round(this._fromColor[r]+(this._toColor[r]-this._fromColor[r])*((e-this.min)/(this.max-this.min))).toString(16),n+=(t.length===1?`0`:``)+t;return n},t.hexToRgb=function(e){var t=0,n=0,r=0;return e.length==4?(t=`0x`+e[1]+e[1],n=`0x`+e[2]+e[2],r=`0x`+e[3]+e[3]):e.length==7&&(t=`0x`+e[1]+e[2],n=`0x`+e[3]+e[4],r=`0x`+e[5]+e[6]),[parseInt(t),parseInt(n),parseInt(r)]},e}(),ow=`jvm-`,sw=ow+`container`,cw=ow+`markers-group`,lw=ow+`markers-labels-group`,uw=ow+`lines-group`,dw=ow+`series-container`,fw=dw+` `+ow+`series-h`,pw=dw+` `+ow+`series-v`,mw=function(){function e(t){var n=this;if(t===void 0&&(t={}),this.params=ZS(e.defaults,t,!0),!e.maps[this.params.map])throw Error(`Attempt to use map which was not loaded: `+t.map);this.regions={},this.scale=1,this.transX=0,this.transY=0,this._mapData=e.maps[this.params.map],this._markers={},this._lines={},this._defaultWidth=this._mapData.width,this._defaultHeight=this._mapData.height,this._height=0,this._width=0,this._baseScale=1,this._baseTransX=0,this._baseTransY=0,document.readyState===`loading`?window.addEventListener(`DOMContentLoaded`,function(){return n._init()}):this._init()}var t=e.prototype;return t._init=function(){var e=this.params;this.container=GS(e.selector),this.container.classList.add(sw),this.canvas=new rw(this.container),this.setBackgroundColor(e.backgroundColor),this._createRegions(),this.updateSize(),e.lines&&(this._linesGroup=this.canvas.createGroup(uw)),e.markers&&(this._markersGroup=this.canvas.createGroup(cw),this._markerLabelsGroup=this.canvas.createGroup(lw)),this._createMarkers(e.markers),this._createLines(e.lines||{}),this._repositionLabels(),this._setupContainerEvents(),this._setupElementEvents(),e.zoomButtons&&this._setupZoomButtons(),e.showTooltip&&(this._tooltip=new iw(this)),e.selectedRegions&&this._setSelected(`regions`,e.selectedRegions),e.selectedMarkers&&this._setSelected(`_markers`,e.selectedMarkers),e.focusOn&&this.setFocus(e.focusOn),e.visualizeData&&(this.dataVisualization=new aw(e.visualizeData,this)),e.bindTouchEvents&&(`ontouchstart`in window||window.DocumentTouch&&document instanceof DocumentTouch)&&this._setupContainerTouchEvents(),e.series&&(this.container.appendChild(this.legendHorizontal=KS(`div`,fw)),this.container.appendChild(this.legendVertical=KS(`div`,pw)),this._createSeries()),this._emit(rC.onLoaded,[this])},t.setBackgroundColor=function(e){this.container.style.backgroundColor=e},t.getSelectedRegions=function(){return this._getSelected(`regions`)},t.clearSelectedRegions=function(e){var t=this;e===void 0&&(e=void 0),e=this._normalizeRegions(e)||this._getSelected(`regions`),e.forEach(function(e){t.regions[e].element.select(!1)})},t.setSelectedRegions=function(e){this.clearSelectedRegions(),this._setSelected(`regions`,this._normalizeRegions(e))},t.getSelectedMarkers=function(){return this._getSelected(`_markers`)},t.clearSelectedMarkers=function(){this._clearSelected(`_markers`)},t.setSelectedMarkers=function(e){this._setSelected(`_markers`,e)},t.addMarkers=function(e){e=Array.isArray(e)?e:[e],this._createMarkers(e,!0)},t.removeMarkers=function(e){var t=this;e||=Object.keys(this._markers),e.forEach(function(e){t._markers[e].element.remove(),delete t._markers[e]})},t.addLine=function(e,t,n){n===void 0&&(n={}),console.warn("`addLine` method is deprecated, please use `addLines` instead."),this._createLines([{from:e,to:t,style:n}],this._markers,!0)},t.addLines=function(e){var t=this._getLinesAsUids();Array.isArray(e)||(e=[e]),this._createLines(e.filter(function(e){return!(t.indexOf(QS(e.from,e.to))>-1)}),!0)},t.removeLines=function(e){var t=this;e=Array.isArray(e)?e.map(function(e){return QS(e.from,e.to)}):this._getLinesAsUids(),e.forEach(function(e){t._lines[e].dispose(),delete t._lines[e]})},t.removeLine=function(e,t){console.warn("`removeLine` method is deprecated, please use `removeLines` instead.");var n=QS(e,t);this._lines.hasOwnProperty(n)&&(this._lines[n].element.remove(),delete this._lines[n])},t.reset=function(){for(var e in this.series)for(var t=0;t<this.series[e].length;t++)this.series[e][t].clear();this.legendHorizontal&&=(JS(this.legendHorizontal),null),this.legendVertical&&=(JS(this.legendVertical),null),this.scale=this._baseScale,this.transX=this._baseTransX,this.transY=this._baseTransY,this._applyTransform(),this.clearSelectedMarkers(),this.clearSelectedRegions(),this.removeMarkers()},t.destroy=function(e){var t=this;e===void 0&&(e=!0),$.flush(),this._tooltip.dispose(),this._emit(rC.onDestroyed),e&&Object.keys(this).forEach(function(e){try{delete t[e]}catch{}})},t.extend=function(t,n){if(typeof this[t]==`function`)throw Error(`The method [`+t+`] does already exist, please use another name.`);e.prototype[t]=n},t._emit=function(e,t){for(var n in rC)rC[n]===e&&typeof this.params[n]==`function`&&this.params[n].apply(this,t)},t._getSelected=function(e){var t=[];for(var n in this[e])this[e][n].element.isSelected&&t.push(n);return t},t._setSelected=function(e,t){var n=this;t.forEach(function(t){n[e][t]&&n[e][t].element.select(!0)})},t._clearSelected=function(e){var t=this;this._getSelected(e).forEach(function(n){t[e][n].element.select(!1)})},t._getLinesAsUids=function(){return Object.keys(this._lines)},t._normalizeRegions=function(e){return typeof e==`string`?[e]:e},e}();mw.maps={},mw.defaults=QC,Object.assign(mw.prototype,ZC),window.jsVectorMap=function(){function e(e){if(e===void 0&&(e={}),!e.selector)throw Error(`Selector is not given.`);return new mw(e)}return e.addMap=function(e,t){mw.maps[e]=t},e}(),jsVectorMap.addMap(`world`,{insets:[{width:900,top:0,left:0,height:440.70631074413296,bbox:[{y:-12671671.123330014,x:-20004297.151525836},{y:6930392.025135122,x:20026572.39474939}]}],paths:{BD:{path:`M651.84,230.21l-0.6,-2.0l-1.36,-1.71l-2.31,-0.11l-0.41,0.48l0.2,0.94l-0.53,0.99l-0.72,-0.36l-0.68,0.35l-1.2,-0.36l-0.37,-2.0l-0.81,-1.86l0.39,-1.46l-0.22,-0.47l-1.14,-0.53l0.29,-0.5l1.48,-0.94l0.03,-0.65l-1.55,-1.22l0.55,-1.14l1.61,0.94l1.04,0.15l0.18,1.54l0.34,0.35l5.64,0.63l-0.84,1.64l-1.22,0.34l-0.77,1.51l0.07,0.47l1.37,1.37l0.67,-0.19l0.42,-1.39l1.21,3.84l-0.03,1.21l-0.33,-0.15l-0.4,0.28Z`,name:`Bangladesh`},BE:{path:`M429.29,144.05l1.91,0.24l2.1,-0.63l2.63,1.99l-0.21,1.66l-0.69,0.4l-0.18,1.2l-1.66,-1.13l-1.39,0.15l-2.73,-2.7l-1.17,-0.18l-0.16,-0.52l1.54,-0.5Z`,name:`Belgium`},BF:{path:`M421.42,247.64l-0.11,0.95l0.34,1.16l1.4,1.71l0.07,1.1l0.32,0.37l2.55,0.51l-0.04,1.28l-0.38,0.53l-1.07,0.21l-0.72,1.18l-0.63,0.21l-3.22,-0.25l-0.94,0.39l-5.4,-0.05l-0.39,0.38l0.16,2.73l-1.23,-0.43l-1.17,0.1l-0.89,0.57l-2.27,-1.72l-0.13,-1.11l0.61,-0.96l0.02,-0.93l1.87,-1.98l0.44,-1.81l0.43,-0.39l1.28,0.26l1.05,-0.52l0.47,-0.73l1.84,-1.09l0.55,-0.83l2.2,-1.0l1.15,-0.3l0.72,0.45l1.13,-0.01Z`,name:`Burkina Faso`},BG:{path:`M491.65,168.18l-0.86,0.88l-0.91,2.17l0.48,1.34l-1.6,-0.24l-2.55,0.95l-0.28,1.51l-1.8,0.22l-2.0,-1.0l-1.92,0.79l-1.42,-0.07l-0.15,-1.63l-1.05,-0.97l0.0,-0.8l1.2,-1.57l0.01,-0.56l-1.14,-1.23l-0.05,-0.94l0.88,0.97l0.88,-0.2l1.91,0.47l3.68,0.16l1.42,-0.81l2.72,-0.66l2.55,1.24Z`,name:`Bulgaria`},BA:{path:`M463.49,163.65l2.1,0.5l1.72,-0.03l1.52,0.68l-0.36,0.78l0.08,0.45l1.04,1.02l-0.25,0.98l-1.81,1.15l-0.38,1.38l-1.67,-0.87l-0.89,-1.2l-2.11,-1.83l-1.63,-2.22l0.23,-0.57l0.48,0.38l0.55,-0.06l0.43,-0.51l0.94,-0.06Z`,name:`Bosnia and Herz.`},BN:{path:`M707.48,273.58l0.68,-0.65l1.41,-0.91l-0.15,1.63l-0.81,-0.05l-0.61,0.58l-0.53,-0.6Z`,name:`Brunei`},BO:{path:`M263.83,340.69l-3.09,-0.23l-0.38,0.23l-0.7,1.52l-1.31,-1.53l-3.28,-0.64l-2.37,2.4l-1.31,0.26l-0.88,-3.26l-1.3,-2.86l0.74,-2.37l-0.13,-0.43l-1.2,-1.01l-0.37,-1.89l-1.08,-1.55l1.45,-2.56l-0.96,-2.33l0.47,-1.06l-0.34,-0.73l0.91,-1.32l0.16,-3.84l0.5,-1.18l-1.81,-3.41l2.46,0.07l0.8,-0.85l3.4,-1.91l2.66,-0.35l-0.19,1.38l0.3,1.07l-0.05,1.97l2.72,2.27l2.88,0.49l0.89,0.86l1.79,0.58l0.98,0.7l1.71,0.05l1.17,0.61l0.6,2.7l-0.7,0.54l0.96,2.99l0.37,0.28l4.3,0.1l-0.25,1.2l0.27,1.02l1.43,0.9l0.5,1.35l-0.41,1.86l-0.65,1.08l0.12,1.35l-2.69,-1.65l-2.4,-0.03l-4.36,0.76l-1.49,2.5l-0.11,1.52l-0.75,2.37Z`,name:`Bolivia`},JP:{path:`M781.12,166.87l1.81,0.68l1.62,-0.97l0.39,2.42l-3.35,0.75l-2.23,2.88l-3.63,-1.9l-0.56,0.2l-1.26,3.05l-2.16,0.03l-0.29,-2.51l1.08,-2.03l2.45,-0.16l0.37,-0.33l1.25,-5.94l2.47,2.71l2.03,1.12ZM773.56,187.34l-0.91,2.22l0.37,1.52l-1.14,1.75l-3.02,1.26l-4.58,0.27l-3.34,3.01l-1.25,-0.8l-0.09,-1.9l-0.46,-0.38l-4.35,0.62l-3.0,1.32l-2.85,0.05l-0.37,0.27l0.13,0.44l2.32,1.89l-1.54,4.34l-1.26,0.9l-0.79,-0.7l0.56,-2.27l-0.21,-0.45l-1.47,-0.75l-0.74,-1.4l2.12,-0.84l1.26,-1.7l2.45,-1.42l1.83,-1.91l4.78,-0.81l2.6,0.57l0.44,-0.21l2.39,-4.66l1.29,1.06l0.5,0.01l5.1,-4.02l1.69,-3.73l-0.38,-3.4l0.9,-1.61l2.14,-0.44l1.23,3.72l-0.07,2.18l-2.23,2.84l-0.04,3.16ZM757.78,196.26l0.19,0.56l-1.01,1.21l-1.16,-0.68l-1.28,0.65l-0.69,1.45l-1.02,-0.5l0.01,-0.93l1.14,-1.38l1.57,0.14l0.85,-0.98l1.4,0.46Z`,name:`Japan`},BI:{path:`M495.45,295.49l-1.08,-2.99l1.14,-0.11l0.64,-1.19l0.76,0.09l0.65,1.83l-2.1,2.36Z`,name:`Burundi`},BJ:{path:`M429.57,255.75l-0.05,0.8l0.5,1.34l-0.42,0.86l0.17,0.79l-1.81,2.12l-0.57,1.76l-0.08,5.42l-1.41,0.2l-0.48,-1.36l0.11,-5.71l-0.52,-0.7l-0.2,-1.35l-1.48,-1.48l0.21,-0.9l0.89,-0.43l0.42,-0.92l1.27,-0.36l1.22,-1.34l0.61,-0.0l1.62,1.24Z`,name:`Benin`},BT:{path:`M650.32,213.86l0.84,0.71l-0.12,1.1l-3.76,-0.11l-1.57,0.4l-1.93,-0.87l1.48,-1.96l1.13,-0.57l1.63,0.57l1.33,0.08l0.99,0.65Z`,name:`Bhutan`},JM:{path:`M228.38,239.28l-0.8,0.4l-2.26,-1.06l0.84,-0.23l2.14,0.3l1.17,0.56l-1.08,0.03Z`,name:`Jamaica`},BW:{path:`M483.92,330.07l2.27,4.01l2.83,2.86l0.96,0.31l0.78,2.43l2.13,0.61l1.02,0.76l-3.0,1.64l-2.32,2.02l-1.54,2.69l-1.52,0.45l-0.64,1.94l-1.34,0.52l-1.85,-0.12l-1.21,-0.74l-1.35,-0.3l-1.22,0.62l-0.75,1.37l-2.31,1.9l-1.4,0.21l-0.35,-0.59l0.16,-1.75l-1.48,-2.54l-0.62,-0.43l-0.0,-7.1l2.08,-0.08l0.39,-0.4l0.07,-8.9l5.19,-0.93l0.8,0.89l0.51,0.07l1.5,-0.95l2.21,-0.49Z`,name:`Botswana`},BR:{path:`M259.98,275.05l3.24,0.7l0.65,-0.53l4.55,-1.32l1.08,-1.06l-0.02,-0.63l0.55,-0.05l0.28,0.28l-0.26,0.87l0.22,0.48l0.73,0.32l0.4,0.81l-0.62,0.86l-0.4,2.13l0.82,2.56l1.69,1.43l1.43,0.2l3.17,-1.68l3.18,0.3l0.65,-0.75l-0.27,-0.92l1.9,-0.09l2.39,0.99l1.06,-0.61l0.84,0.78l1.2,-0.18l1.18,-1.06l0.84,-1.94l1.36,-2.11l0.37,-0.05l1.89,5.45l1.33,0.59l0.05,1.28l-1.77,1.94l0.02,0.56l1.02,0.87l4.07,0.36l0.08,2.16l0.66,0.29l1.74,-1.5l6.97,2.32l1.02,1.22l-0.35,1.18l0.49,0.5l2.81,-0.74l4.77,1.3l3.75,-0.08l3.57,2.0l3.29,2.86l1.93,0.72l2.12,0.12l0.71,0.62l1.21,4.51l-0.95,3.98l-4.72,5.06l-1.64,2.92l-1.72,2.05l-0.8,0.3l-0.72,2.03l0.18,4.75l-0.94,5.53l-0.81,1.13l-0.43,3.36l-2.55,3.5l-0.4,2.51l-1.86,1.04l-0.67,1.53l-2.54,0.01l-3.94,1.01l-1.83,1.2l-2.87,0.82l-3.03,2.19l-2.2,2.83l-0.36,2.0l0.4,1.58l-0.44,2.6l-0.51,1.2l-1.77,1.54l-2.75,4.78l-3.83,3.42l-1.24,2.74l-1.18,1.15l-0.36,-0.83l0.95,-1.14l0.01,-0.5l-1.52,-1.97l-4.56,-3.32l-1.03,-0.0l-2.38,-2.02l-0.81,-0.0l5.34,-5.45l3.77,-2.58l0.22,-2.46l-1.35,-1.81l-0.91,0.07l0.58,-2.33l0.01,-1.54l-1.11,-0.83l-1.75,0.3l-0.44,-3.11l-0.52,-0.95l-1.88,-0.88l-1.24,0.47l-2.17,-0.41l0.15,-3.21l-0.62,-1.34l0.66,-0.73l-0.22,-1.34l0.66,-1.13l0.44,-2.04l-0.61,-1.83l-1.4,-0.86l-0.2,-0.75l0.34,-1.39l-0.38,-0.5l-4.52,-0.1l-0.72,-2.22l0.59,-0.42l-0.03,-1.1l-0.5,-0.87l-0.32,-1.7l-1.45,-0.76l-1.63,-0.02l-1.05,-0.72l-1.6,-0.48l-1.13,-0.99l-2.69,-0.4l-2.47,-2.06l0.13,-4.35l-0.45,-0.45l-3.46,0.5l-3.44,1.94l-0.6,0.74l-2.9,-0.17l-1.47,0.42l-0.72,-0.18l0.15,-3.52l-0.63,-0.34l-1.94,1.41l-1.87,-0.06l-0.83,-1.18l-1.37,-0.26l0.21,-1.01l-1.35,-1.49l-0.88,-1.91l0.56,-0.6l-0.0,-0.81l1.29,-0.62l0.22,-0.43l-0.22,-1.19l0.61,-0.91l0.15,-0.99l2.65,-1.58l1.99,-0.47l0.42,-0.36l2.06,0.11l0.42,-0.33l1.19,-8.0l-0.41,-1.56l-1.1,-1.0l0.01,-1.33l1.91,-0.42l0.08,-0.96l-0.33,-0.43l-1.14,-0.2l-0.02,-0.83l4.47,0.05l0.82,-0.67l0.82,1.81l0.8,0.07l1.15,1.1l2.26,-0.05l0.71,-0.83l2.78,-0.96l0.48,-1.13l1.6,-0.64l0.24,-0.47l-0.48,-0.82l-1.83,-0.19l-0.36,-3.22Z`,name:`Brazil`},BS:{path:`M226.4,223.87l-0.48,-1.15l-0.84,-0.75l0.36,-1.11l0.95,1.95l0.01,1.06ZM225.56,216.43l-1.87,0.29l-0.04,-0.22l0.74,-0.14l1.17,0.06Z`,name:`Bahamas`},BY:{path:`M493.84,128.32l0.29,0.7l0.49,0.23l1.19,-0.38l2.09,0.72l0.19,1.26l-0.45,1.24l1.57,2.26l0.89,0.59l0.17,0.81l1.58,0.56l0.4,0.5l-0.53,0.41l-1.87,-0.11l-0.73,0.38l-0.13,0.52l1.04,2.74l-1.91,0.26l-0.89,0.99l-0.11,1.18l-2.73,-0.04l-0.53,-0.62l-0.52,-0.08l-0.75,0.46l-0.91,-0.42l-1.92,-0.07l-2.75,-0.79l-2.6,-0.28l-2.0,0.07l-1.5,0.92l-0.67,0.07l-0.08,-1.22l-0.59,-1.19l1.36,-0.88l0.01,-1.35l-0.7,-1.41l-0.07,-1.0l2.16,-0.02l2.72,-1.3l0.75,-2.04l1.91,-1.04l0.2,-0.41l-0.19,-1.25l3.8,-1.78l2.3,0.77Z`,name:`Belarus`},BZ:{path:`M198.03,244.38l0.1,-4.49l0.69,-0.06l0.74,-1.3l0.34,0.28l-0.4,1.3l0.17,0.58l-0.34,2.25l-1.3,1.42Z`,name:`Belize`},RU:{path:`M491.55,115.25l2.55,-1.85l-0.01,-0.65l-2.2,-1.5l7.32,-6.76l1.03,-2.11l-0.13,-0.49l-3.46,-2.52l0.86,-2.7l-2.11,-2.81l1.56,-3.67l-2.77,-4.52l2.15,-2.99l-0.08,-0.55l-3.65,-2.73l0.3,-2.54l1.81,-0.37l4.26,-1.77l2.42,-1.45l4.06,2.61l6.79,1.04l9.34,4.85l1.78,1.88l0.14,2.46l-2.55,2.02l-3.9,1.06l-11.07,-3.14l-2.06,0.53l-0.13,0.7l3.94,2.94l0.31,5.86l0.26,0.36l5.14,2.24l0.58,-0.29l0.32,-1.94l-1.35,-1.78l1.13,-1.09l6.13,2.42l2.11,-0.98l0.18,-0.56l-1.51,-2.67l5.41,-3.76l2.07,0.22l2.26,1.41l0.57,-0.16l1.46,-2.87l-0.05,-0.44l-1.92,-2.32l1.12,-2.32l-1.32,-2.27l5.87,1.16l1.04,1.75l-2.59,0.43l-0.33,0.4l0.02,2.36l2.46,1.83l3.87,-0.91l0.86,-2.8l13.69,-5.65l0.99,0.11l-1.92,2.06l0.23,0.67l3.11,0.45l2.0,-1.48l4.56,-0.12l3.64,-1.73l2.65,2.44l0.56,-0.01l2.85,-2.88l-0.01,-0.57l-2.35,-2.29l0.9,-1.01l7.14,1.3l3.41,1.36l9.05,4.97l0.51,-0.11l1.67,-2.27l-0.05,-0.53l-2.43,-2.21l-0.06,-0.78l-0.34,-0.36l-2.52,-0.36l0.64,-1.93l-1.32,-3.46l-0.06,-1.21l4.48,-4.06l1.69,-4.29l1.6,-0.81l6.23,1.18l0.44,2.21l-2.29,3.64l0.06,0.5l1.47,1.39l0.76,3.0l-0.56,6.03l2.69,2.82l-0.96,2.57l-4.86,5.95l0.23,0.64l2.86,0.61l0.42,-0.17l0.93,-1.4l2.64,-1.03l0.87,-2.24l2.09,-1.96l0.07,-0.5l-1.36,-2.28l1.09,-2.69l-0.32,-0.55l-2.47,-0.33l-0.5,-2.06l1.94,-4.38l-0.06,-0.42l-2.96,-3.4l4.12,-2.88l0.16,-0.4l-0.51,-2.93l0.54,-0.05l1.13,2.25l-0.96,4.35l0.27,0.47l2.68,0.84l0.5,-0.51l-1.02,-2.99l3.79,-1.66l5.01,-0.24l4.53,2.61l0.48,-0.06l0.07,-0.48l-2.18,-3.82l-0.23,-4.67l3.98,-0.9l5.97,0.21l5.49,-0.64l0.27,-0.65l-1.83,-2.31l2.56,-2.9l2.87,-0.17l4.8,-2.47l6.54,-0.67l1.03,-1.42l6.25,-0.45l2.32,1.11l5.53,-2.7l4.5,0.08l0.39,-0.28l0.66,-2.15l2.26,-2.12l5.69,-2.11l3.21,1.29l-2.46,0.94l-0.25,0.42l0.34,0.35l5.41,0.77l0.61,2.33l0.58,0.25l2.2,-1.22l7.13,0.07l5.51,2.47l1.79,1.72l-0.53,2.24l-9.16,4.15l-1.97,1.52l0.16,0.71l6.77,1.91l2.16,-0.78l1.13,2.74l0.67,0.11l1.01,-1.15l3.81,-0.73l7.7,0.77l0.54,1.99l0.36,0.29l10.47,0.71l0.43,-0.38l0.13,-3.23l4.87,0.78l3.95,-0.02l3.83,2.4l1.03,2.71l-1.35,1.79l0.02,0.5l3.15,3.64l4.07,1.96l0.53,-0.18l2.23,-4.47l3.95,1.93l4.16,-1.21l4.73,1.39l2.05,-1.26l3.94,0.62l0.43,-0.55l-1.68,-4.02l2.89,-1.8l22.31,3.03l2.16,2.75l6.55,3.51l10.29,-0.81l4.82,0.73l1.85,1.66l-0.29,3.08l0.25,0.41l3.08,1.26l3.56,-0.88l4.35,-0.11l4.8,0.87l4.57,-0.47l4.23,3.79l0.43,0.07l3.1,-1.4l0.16,-0.6l-1.88,-2.62l0.85,-1.52l7.71,1.21l5.22,-0.26l7.09,2.09l9.59,5.22l6.35,4.11l-0.2,2.38l1.88,1.41l0.6,-0.42l-0.48,-2.53l6.15,0.57l4.4,3.51l-1.97,1.43l-4.0,0.41l-0.36,0.39l-0.06,3.79l-0.74,0.62l-2.07,-0.11l-1.91,-1.39l-3.14,-1.11l-0.78,-1.85l-2.72,-0.68l-2.63,0.49l-1.04,-1.1l0.46,-1.31l-0.5,-0.51l-3.0,0.98l-0.22,0.58l0.99,1.7l-1.21,1.48l-3.04,1.68l-3.12,-0.28l-0.4,0.23l0.09,0.46l2.2,2.09l1.46,3.2l1.15,1.1l0.24,1.33l-0.42,0.67l-4.63,-0.77l-6.96,2.9l-2.19,0.44l-7.6,5.06l-0.84,1.45l-3.61,-2.37l-6.24,2.82l-0.94,-1.15l-0.53,-0.08l-2.28,1.52l-3.2,-0.49l-0.44,0.27l-0.78,2.37l-3.05,3.78l0.09,1.47l0.29,0.36l2.54,0.72l-0.29,4.53l-1.97,0.11l-0.35,0.26l-1.07,2.94l0.8,1.45l-3.91,1.58l-1.05,3.95l-3.48,0.77l-0.3,0.3l-0.72,3.29l-3.09,2.65l-0.7,-1.74l-2.44,-12.44l1.16,-4.71l2.04,-2.06l0.22,-1.64l3.8,-0.86l4.46,-4.61l4.28,-3.81l4.48,-3.01l2.17,-5.63l-0.42,-0.54l-3.04,0.33l-1.77,3.31l-5.86,3.86l-1.86,-4.25l-0.45,-0.23l-6.46,1.3l-6.47,6.44l-0.01,0.55l1.58,1.74l-8.24,1.17l0.15,-2.2l-0.34,-0.42l-3.89,-0.56l-3.25,1.81l-7.62,-0.62l-8.45,1.19l-17.71,15.41l0.22,0.7l3.74,0.41l1.36,2.17l2.43,0.76l1.88,-1.68l2.4,0.2l3.4,3.54l0.08,2.6l-1.95,3.42l-0.21,3.9l-1.1,5.06l-3.71,4.54l-0.87,2.21l-8.29,8.89l-3.19,1.7l-1.32,0.03l-1.45,-1.36l-0.49,-0.04l-2.27,1.5l0.41,-3.65l-0.59,-2.47l1.75,-0.89l2.91,0.53l0.42,-0.2l1.68,-3.03l0.87,-3.46l0.97,-1.18l1.32,-2.88l-0.45,-0.56l-4.14,0.95l-2.19,1.25l-3.41,-0.0l-1.06,-2.93l-2.97,-2.3l-4.28,-1.06l-1.75,-5.07l-2.66,-5.01l-2.29,-1.29l-3.75,-1.01l-3.44,0.08l-3.18,0.62l-2.24,1.77l0.05,0.66l1.18,0.69l0.02,1.43l-1.33,1.05l-2.26,3.51l-0.04,1.43l-3.16,1.84l-2.82,-1.16l-3.01,0.23l-1.35,-1.07l-1.5,-0.35l-3.9,2.31l-3.22,0.52l-2.27,0.79l-3.05,-0.51l-2.21,0.03l-1.48,-1.6l-2.6,-1.63l-2.63,-0.43l-5.46,1.01l-3.23,-1.25l-0.72,-2.57l-5.2,-1.24l-2.75,-1.36l-0.5,0.12l-2.59,3.45l0.84,2.1l-2.06,1.93l-3.41,-0.77l-2.42,-0.12l-1.83,-1.54l-2.53,-0.05l-2.42,-0.98l-3.86,1.57l-4.72,2.78l-3.3,0.75l-1.55,-1.92l-3.0,0.41l-1.11,-1.33l-1.62,-0.59l-1.31,-1.94l-1.38,-0.6l-3.7,0.79l-3.31,-1.83l-0.51,0.11l-0.99,1.29l-5.29,-8.05l-2.96,-2.48l0.65,-0.77l0.01,-0.51l-0.5,-0.11l-6.2,3.21l-1.84,0.15l0.15,-1.39l-0.26,-0.42l-3.22,-1.17l-2.46,0.7l-0.69,-3.16l-0.32,-0.31l-4.5,-0.75l-2.47,1.47l-6.19,1.27l-1.29,0.86l-9.51,1.3l-1.15,1.17l-0.03,0.53l1.47,1.9l-1.89,0.69l-0.22,0.56l0.31,0.6l-2.11,1.44l0.03,0.68l3.75,2.12l-0.39,0.98l-3.23,-0.13l-0.86,0.86l-3.09,-1.59l-3.97,0.07l-2.66,1.35l-8.32,-3.56l-4.07,0.06l-5.39,3.68l-0.39,2.0l-2.03,-1.5l-0.59,0.13l-2.0,3.59l0.57,0.93l-1.28,2.16l0.06,0.48l2.13,2.17l1.95,0.04l1.37,1.82l-0.23,1.46l0.25,0.43l0.83,0.33l-0.8,1.31l-2.49,0.62l-2.49,3.2l0.0,0.49l2.17,2.78l-0.15,2.18l2.5,3.24l-1.58,1.59l-0.7,-0.13l-1.63,-1.72l-2.29,-0.84l-0.94,-1.31l-2.34,-0.63l-1.48,0.4l-0.43,-0.47l-3.51,-1.48l-5.76,-1.01l-0.45,0.19l-2.89,-2.34l-2.9,-1.2l-1.53,-1.29l1.29,-0.43l2.08,-2.61l-0.05,-0.55l-0.89,-0.79l3.05,-1.06l0.27,-0.42l-0.07,-0.69l-0.49,-0.35l-1.73,0.39l0.04,-0.68l1.04,-0.72l2.66,-0.48l0.4,-1.32l-0.5,-1.6l0.92,-1.54l0.03,-1.17l-0.29,-0.37l-3.69,-1.06l-1.41,0.02l-1.42,-1.41l-2.19,0.38l-2.77,-1.01l-0.03,-0.59l-0.89,-1.43l-2.0,-0.32l-0.11,-0.54l0.49,-0.53l0.01,-0.53l-1.6,-1.9l-3.58,0.02l-0.88,0.73l-0.46,-0.07l-1.0,-2.79l2.22,-0.02l0.97,-0.74l0.07,-0.57l-0.9,-1.04l-1.35,-0.48l-0.11,-0.7l-0.95,-0.58l-1.38,-1.99l0.46,-0.98l-0.51,-1.96l-2.45,-0.84l-1.21,0.3l-0.46,-0.76l-2.46,-0.83l-0.72,-1.87l-0.21,-1.69l-0.99,-0.85l0.85,-1.17l-0.7,-3.21l1.66,-1.97l-0.16,-0.79ZM749.2,170.72l-0.6,0.4l-0.13,0.16l-0.01,-0.51l0.74,-0.05ZM874.85,67.94l-5.63,0.48l-0.26,-0.84l3.15,-1.89l1.94,0.01l3.19,1.16l-2.39,1.09ZM797.39,48.49l-2.0,1.36l-3.8,-0.42l-4.25,-1.8l0.35,-0.97l9.69,1.83ZM783.67,46.12l-1.63,3.09l-8.98,-0.13l-4.09,1.14l-4.54,-2.97l1.16,-3.01l3.05,-0.89l6.5,0.22l8.54,2.56ZM778.2,134.98l-0.56,-0.9l0.27,-0.12l0.29,1.01ZM778.34,135.48l0.94,3.53l-0.05,3.38l1.05,3.39l2.18,5.0l-2.89,-0.83l-0.49,0.26l-1.54,4.65l2.42,3.5l-0.04,1.13l-1.24,-1.24l-0.61,0.06l-1.09,1.61l-0.28,-1.61l0.27,-3.1l-0.28,-3.4l0.58,-2.47l0.11,-4.39l-1.46,-3.36l0.21,-4.32l2.15,-1.46l0.07,-0.34ZM771.95,56.61l1.76,-1.42l2.89,-0.42l3.28,1.71l0.14,0.6l-3.27,0.03l-4.81,-0.5ZM683.76,31.09l-13.01,1.93l4.03,-6.35l1.82,-0.56l1.73,0.34l5.99,2.98l-0.56,1.66ZM670.85,27.93l-5.08,0.64l-6.86,-1.57l-3.99,-2.05l-2.1,-4.16l-2.6,-0.87l5.72,-3.5l5.2,-1.28l4.69,2.85l5.59,5.4l-0.56,4.53ZM564.15,68.94l-0.64,0.17l-7.85,-0.57l-0.86,-2.04l-4.28,-1.17l-0.28,-1.94l2.27,-0.89l0.25,-0.39l-0.08,-2.38l4.81,-3.97l-0.15,-0.7l-1.47,-0.38l5.3,-3.81l0.15,-0.44l-0.58,-1.94l5.28,-2.51l8.21,-3.27l8.28,-0.96l4.35,-1.94l4.6,-0.64l1.36,1.61l-1.34,1.28l-16.43,4.94l-7.97,4.88l-7.74,9.63l0.66,4.14l4.16,3.27ZM548.81,18.48l-5.5,1.18l-0.58,1.02l-2.59,0.84l-2.13,-1.07l1.12,-1.42l-0.3,-0.65l-2.33,-0.07l1.68,-0.36l3.47,-0.06l0.42,1.29l0.66,0.16l1.38,-1.34l2.15,-0.88l2.94,1.01l-0.39,0.36ZM477.37,133.15l-4.08,0.05l-2.56,-0.32l0.33,-0.87l3.17,-1.03l3.24,0.96l-0.09,1.23Z`,name:`Russia`},RW:{path:`M497.0,288.25l0.71,1.01l-0.11,1.09l-1.63,0.03l-1.04,1.39l-0.83,-0.11l0.51,-1.2l0.08,-1.34l0.42,-0.41l0.7,0.14l1.19,-0.61Z`,name:`Rwanda`},RS:{path:`M469.4,163.99l0.42,-0.5l-0.01,-0.52l-1.15,-1.63l1.43,-0.62l1.33,0.12l1.17,1.06l0.46,1.13l1.34,0.64l0.35,1.35l1.46,0.9l0.76,-0.29l0.2,0.69l-0.48,0.78l0.22,1.12l1.05,1.22l-0.77,0.8l-0.37,1.52l-1.21,0.08l0.24,-0.64l-0.39,-0.54l-2.08,-1.64l-0.9,0.05l-0.48,0.94l-2.12,-1.37l0.53,-1.6l-1.11,-1.37l0.51,-1.1l-0.41,-0.57Z`,name:`Serbia`},LT:{path:`M486.93,129.3l0.17,1.12l-1.81,0.98l-0.72,2.02l-2.47,1.18l-2.1,-0.02l-0.73,-1.05l-1.06,-0.3l-0.09,-1.87l-3.56,-1.13l-0.43,-2.36l2.48,-0.94l4.12,0.22l2.25,-0.31l0.52,0.69l1.24,0.21l2.19,1.56Z`,name:`Lithuania`},LU:{path:`M436.08,149.45l-0.48,-0.07l0.3,-1.28l0.27,0.4l-0.09,0.96Z`,name:`Luxembourg`},LR:{path:`M399.36,265.97l0.18,1.54l-0.48,0.99l0.08,0.47l2.47,1.8l-0.33,2.8l-2.65,-1.13l-5.78,-4.61l0.58,-1.32l2.1,-2.33l0.86,-0.22l0.77,1.14l-0.14,0.85l0.59,0.87l1.0,0.14l0.76,-0.99Z`,name:`Liberia`},RO:{path:`M487.53,154.23l0.6,0.24l2.87,3.98l-0.17,2.69l0.45,1.42l1.32,0.81l1.35,-0.42l0.76,0.36l0.02,0.31l-0.83,0.45l-0.59,-0.22l-0.54,0.3l-0.62,3.3l-1.0,-0.22l-2.07,-1.13l-2.95,0.71l-1.25,0.76l-3.51,-0.15l-1.89,-0.47l-0.87,0.16l-0.82,-1.3l0.29,-0.26l-0.06,-0.64l-1.09,-0.34l-0.56,0.5l-1.05,-0.64l-0.39,-1.39l-1.36,-0.65l-0.35,-1.0l-0.83,-0.75l1.54,-0.54l2.66,-4.21l2.4,-1.24l2.96,0.34l1.48,0.73l0.79,-0.45l1.78,-0.3l0.75,-0.74l0.79,0.0Z`,name:`Romania`},GW:{path:`M386.23,253.6l-0.29,0.84l0.15,0.6l-2.21,0.59l-0.86,0.96l-1.04,-0.83l-1.09,-0.23l-0.54,-1.06l-0.66,-0.49l2.41,-0.48l4.13,0.1Z`,name:`Guinea-Bissau`},GT:{path:`M195.08,249.77l-2.48,-0.37l-1.03,-0.45l-1.14,-0.89l0.3,-0.99l-0.24,-0.68l0.96,-1.66l2.98,-0.01l0.4,-0.37l-0.19,-1.28l-1.67,-1.4l0.51,-0.4l0.0,-1.05l3.85,0.02l-0.21,4.53l0.4,0.43l1.46,0.38l-1.48,0.98l-0.35,0.7l0.12,0.57l-2.2,1.96Z`,name:`Guatemala`},GR:{path:`M487.07,174.59l-0.59,1.43l-0.37,0.21l-2.84,-0.35l-3.03,0.77l-0.18,0.68l1.28,1.23l-0.61,0.23l-1.14,0.0l-1.2,-1.39l-0.63,0.03l-0.53,1.01l0.56,1.76l1.03,1.19l-0.56,0.38l-0.05,0.62l2.52,2.12l0.02,0.87l-1.78,-0.59l-0.48,0.56l0.5,1.0l-1.07,0.2l-0.3,0.53l0.75,2.01l-0.98,0.02l-1.84,-1.12l-1.37,-4.2l-2.21,-2.95l-0.11,-0.56l1.04,-1.28l0.2,-0.95l0.85,-0.66l0.03,-0.46l1.32,-0.21l1.01,-0.64l1.22,0.05l0.65,-0.56l2.26,-0.0l1.82,-0.75l1.85,1.0l2.28,-0.28l0.35,-0.39l0.01,-0.77l0.34,0.22ZM480.49,192.16l0.58,0.4l-0.68,-0.12l0.11,-0.28ZM482.52,192.82l2.51,0.06l0.24,0.32l-1.99,0.13l-0.77,-0.51Z`,name:`Greece`},GQ:{path:`M448.79,279.62l0.02,2.22l-4.09,0.0l0.69,-2.27l3.38,0.05Z`,name:`Eq. Guinea`},GY:{path:`M277.42,270.07l-0.32,1.83l-1.32,0.57l-0.23,0.46l-0.28,2.0l1.11,1.82l0.83,0.19l0.32,1.25l1.13,1.62l-1.21,-0.19l-1.08,0.71l-1.77,0.5l-0.44,0.46l-0.86,-0.09l-1.32,-1.01l-0.77,-2.27l0.36,-1.9l0.68,-1.23l-0.57,-1.17l-0.74,-0.43l0.12,-1.16l-0.9,-0.69l-1.1,0.09l-1.31,-1.48l0.53,-0.72l-0.04,-0.84l1.99,-0.86l0.05,-0.59l-0.71,-0.78l0.14,-0.57l1.66,-1.24l1.36,0.77l1.41,1.49l0.06,1.15l0.37,0.38l0.8,0.05l2.06,1.86Z`,name:`Guyana`},GE:{path:`M521.71,168.93l5.29,0.89l4.07,2.01l1.41,-0.44l2.07,0.56l0.68,1.1l1.07,0.55l-0.12,0.59l0.98,1.29l-1.01,-0.13l-1.81,-0.83l-0.94,0.47l-3.23,0.43l-2.29,-1.39l-2.33,0.05l0.21,-0.97l-0.76,-2.26l-1.45,-1.12l-1.43,-0.39l-0.41,-0.42Z`,name:`Georgia`},GB:{path:`M412.61,118.72l-2.19,3.22l-0.0,0.45l5.13,-0.3l-0.53,2.37l-2.2,3.12l0.29,0.63l2.37,0.21l2.33,4.3l1.76,0.69l2.2,5.12l2.94,0.77l-0.23,1.62l-1.15,0.88l-0.1,0.52l0.82,1.42l-1.86,1.43l-3.3,-0.02l-4.12,0.87l-1.04,-0.58l-0.47,0.06l-1.51,1.41l-2.12,-0.34l-1.86,1.18l-0.6,-0.29l3.19,-3.0l2.16,-0.69l0.28,-0.41l-0.34,-0.36l-3.73,-0.53l-0.4,-0.76l2.2,-0.87l0.17,-0.61l-1.26,-1.67l0.36,-1.7l3.38,0.28l0.43,-0.33l0.37,-1.99l-1.79,-2.49l-3.11,-0.72l-0.38,-0.59l0.79,-1.35l-0.04,-0.46l-0.82,-0.97l-0.61,0.01l-0.68,0.84l-0.1,-2.34l-1.23,-1.88l0.85,-3.47l1.77,-2.68l1.85,0.26l2.17,-0.22ZM406.26,132.86l-1.01,1.77l-1.57,-0.59l-1.16,0.01l0.37,-1.54l-0.39,-1.39l1.45,-0.1l2.3,1.84Z`,name:`United Kingdom`},GA:{path:`M453.24,279.52l-0.08,0.98l0.7,1.29l2.36,0.24l-0.98,2.63l1.18,1.79l0.25,1.78l-0.29,1.52l-0.6,0.93l-1.84,-0.09l-1.23,-1.11l-0.66,0.23l-0.15,0.84l-1.42,0.26l-1.02,0.7l-0.11,0.52l0.77,1.35l-1.34,0.97l-3.94,-4.3l-1.44,-2.45l0.06,-0.6l0.54,-0.81l1.05,-3.46l4.17,-0.07l0.4,-0.4l-0.02,-2.66l2.39,0.21l1.25,-0.27Z`,name:`Gabon`},GN:{path:`M391.8,254.11l0.47,0.8l1.11,-0.32l0.98,0.7l1.07,0.2l2.26,-1.22l0.64,0.44l1.13,1.56l-0.48,1.4l0.8,0.3l-0.08,0.48l0.46,0.68l-0.35,1.36l1.05,2.61l-1.0,0.69l0.03,1.41l-0.72,-0.06l-1.08,1.0l-0.24,-0.27l0.07,-1.11l-1.05,-1.54l-1.79,0.21l-0.35,-2.01l-1.6,-2.18l-2.0,-0.0l-1.31,0.54l-1.95,2.18l-1.86,-2.19l-1.2,-0.78l-0.3,-1.11l-0.8,-0.85l0.65,-0.72l0.81,-0.03l1.64,-0.8l0.23,-1.87l2.67,0.64l0.89,-0.3l1.21,0.15Z`,name:`Guinea`},GM:{path:`M379.31,251.39l0.1,-0.35l2.43,-0.07l0.74,-0.61l0.51,-0.03l0.77,0.49l-1.03,-0.3l-1.87,0.9l-1.65,-0.04ZM384.03,250.91l0.91,0.05l0.75,-0.24l-0.59,0.31l-1.08,-0.13Z`,name:`Gambia`},GL:{path:`M353.02,1.2l14.69,4.67l-3.68,1.89l-22.97,0.86l-0.36,0.27l0.12,0.43l1.55,1.18l8.79,-0.66l7.48,2.07l4.86,-1.77l1.66,1.73l-2.53,3.19l-0.01,0.48l0.46,0.15l6.35,-2.2l12.06,-2.31l7.24,1.13l1.09,1.99l-9.79,4.01l-1.44,1.32l-7.87,0.98l-0.35,0.41l0.38,0.38l5.07,0.24l-2.53,3.58l-2.07,3.81l0.08,6.05l2.57,3.11l-3.22,0.2l-4.12,1.66l-0.05,0.72l4.45,2.65l0.51,3.75l-2.3,0.4l-0.25,0.64l2.79,3.69l-4.82,0.31l-0.36,0.29l0.16,0.44l2.62,1.8l-0.59,1.22l-3.3,0.7l-3.45,0.01l-0.29,0.68l3.03,3.12l0.02,1.34l-4.4,-1.73l-1.72,1.35l0.15,0.66l3.31,1.15l3.13,2.71l0.81,3.16l-3.85,0.75l-4.89,-4.26l-0.47,-0.03l-0.17,0.44l0.79,2.86l-2.71,2.21l-0.13,0.44l0.37,0.27l8.73,0.34l-12.32,6.64l-7.24,1.48l-2.94,0.08l-2.69,1.75l-3.43,4.41l-5.24,2.84l-1.73,0.18l-7.12,2.1l-2.15,2.52l-0.13,2.99l-1.19,2.45l-4.01,3.09l-0.14,0.44l0.97,2.9l-2.28,6.48l-3.1,0.2l-3.83,-3.07l-4.86,-0.02l-2.25,-1.93l-1.7,-3.79l-4.3,-4.84l-1.21,-2.49l-0.44,-3.8l-3.32,-3.63l0.84,-2.86l-1.56,-1.7l2.28,-4.6l3.83,-1.74l1.03,-1.96l0.52,-3.47l-0.59,-0.41l-4.17,2.21l-2.07,0.58l-2.72,-1.28l-0.15,-2.71l0.85,-2.09l2.01,-0.06l5.06,1.2l0.46,-0.23l-0.14,-0.49l-6.54,-4.47l-2.67,0.55l-1.58,-0.86l2.56,-4.01l-0.03,-0.48l-1.5,-1.74l-4.98,-8.5l-3.13,-1.96l0.03,-1.88l-0.24,-0.37l-6.85,-3.02l-5.36,-0.38l-12.7,0.58l-2.78,-1.57l-3.66,-2.77l5.73,-1.45l5.0,-0.28l0.38,-0.38l-0.35,-0.41l-10.67,-1.38l-5.3,-2.06l0.25,-1.54l18.41,-5.26l1.22,-2.27l-0.25,-0.55l-6.14,-1.86l1.68,-1.77l8.55,-4.03l3.59,-0.63l0.3,-0.54l-0.88,-2.27l5.47,-1.47l7.65,-0.95l7.55,-0.05l3.04,1.85l6.48,-3.27l5.81,2.22l3.56,0.5l5.16,1.94l0.5,-0.21l-0.17,-0.52l-5.71,-3.13l0.28,-2.13l8.12,-3.6l8.7,0.28l3.35,-2.34l8.71,-0.6l19.93,0.8Z`,name:`Greenland`},KW:{path:`M540.81,207.91l0.37,0.86l-0.17,0.76l0.6,1.53l-0.95,0.04l-0.82,-1.28l-1.57,-0.18l1.31,-1.88l1.22,0.17Z`,name:`Kuwait`},GH:{path:`M420.53,257.51l-0.01,0.72l0.96,1.2l0.24,3.73l0.59,0.95l-0.51,2.1l0.19,1.41l1.02,2.21l-6.97,2.84l-1.8,-0.57l0.04,-0.89l-1.02,-2.04l0.61,-2.65l1.07,-2.32l-0.96,-6.47l5.01,0.07l0.94,-0.39l0.61,0.11Z`,name:`Ghana`},OM:{path:`M568.09,230.93l-0.91,1.67l-1.22,0.04l-0.6,0.76l-0.41,1.51l0.27,1.58l-1.16,0.05l-1.56,0.97l-0.76,1.74l-1.62,0.05l-0.98,0.65l-0.17,1.15l-0.89,0.52l-1.49,-0.18l-2.4,0.94l-2.47,-5.4l7.35,-2.71l1.67,-5.23l-1.12,-2.09l0.05,-0.83l0.67,-1.0l0.07,-1.05l0.9,-0.42l-0.05,-2.07l0.7,-0.01l1.0,1.62l1.51,1.08l3.3,0.84l1.73,2.29l0.81,0.37l-1.23,2.35l-0.99,0.79Z`,name:`Oman`},_2:{path:`M531.15,258.94l1.51,0.12l5.13,-0.95l5.3,-1.48l-0.01,4.4l-2.67,3.39l-1.85,0.01l-8.04,-2.94l-2.55,-3.17l1.12,-1.71l2.04,2.34Z`,name:`Somaliland`},_1:{path:`M472.77,172.64l-1.08,-1.29l0.96,-0.77l0.29,-0.83l1.98,1.64l-0.36,0.67l-1.79,0.58Z`,name:`Kosovo`},_0:{path:`M504.91,192.87l0.34,0.01l0.27,-0.07l-0.29,0.26l-0.31,-0.2Z`,name:`N. Cyprus`},JO:{path:`M518.64,201.38l-5.14,1.56l-0.19,0.65l2.16,2.39l-0.89,1.14l-1.71,0.34l-1.71,1.8l-2.34,-0.37l1.21,-4.32l0.56,-4.07l2.8,0.94l4.46,-2.71l0.79,2.66Z`,name:`Jordan`},HR:{path:`M455.59,162.84l1.09,0.07l-0.82,0.94l-0.27,-1.01ZM456.96,162.92l0.62,-0.41l1.73,0.45l0.42,-0.4l-0.01,-0.59l0.86,-0.52l0.2,-1.05l1.63,-0.68l2.57,1.68l2.07,0.6l0.87,-0.31l1.05,1.57l-0.52,0.63l-1.05,-0.56l-1.68,0.04l-2.1,-0.5l-1.29,0.06l-0.57,0.49l-0.59,-0.47l-0.62,0.16l-0.46,1.7l1.79,2.42l2.79,2.75l-1.18,-0.87l-2.21,-0.87l-1.67,-1.78l0.13,-0.63l-1.05,-1.19l-0.32,-1.27l-1.42,-0.43Z`,name:`Croatia`},HT:{path:`M237.05,238.38l-1.16,0.43l-0.91,-0.55l0.05,-0.2l2.02,0.31ZM237.53,238.43l1.06,0.12l-0.05,0.01l-1.01,-0.12ZM239.25,238.45l0.79,-0.51l0.06,-0.62l-1.02,-1.0l0.02,-0.82l-0.3,-0.4l-0.93,-0.32l3.16,0.45l0.02,1.84l-0.48,0.34l-0.08,0.58l0.54,0.72l-1.78,-0.26Z`,name:`Haiti`},HU:{path:`M462.08,157.89l0.65,-1.59l-0.09,-0.44l0.64,-0.0l0.39,-0.34l0.1,-0.69l1.75,0.87l2.32,-0.37l0.43,-0.66l3.49,-0.78l0.69,-0.78l0.57,-0.14l2.57,0.93l0.67,-0.23l1.03,0.65l0.08,0.37l-1.42,0.71l-2.59,4.14l-1.8,0.53l-1.68,-0.1l-2.74,1.23l-1.85,-0.54l-2.54,-1.66l-0.66,-1.1Z`,name:`Hungary`},HN:{path:`M199.6,249.52l-1.7,-1.21l0.06,-0.94l3.04,-2.14l2.37,0.28l1.27,-0.09l1.1,-0.52l1.3,0.28l1.14,-0.25l1.38,0.37l2.23,1.37l-2.36,0.93l-1.23,-0.39l-0.88,1.3l-1.28,0.99l-0.98,-0.22l-0.42,0.52l-0.96,0.05l-0.36,0.41l0.04,0.88l-0.52,0.6l-0.3,0.04l-0.3,-0.55l-0.66,-0.31l0.11,-0.67l-0.48,-0.65l-0.87,-0.26l-0.73,0.2Z`,name:`Honduras`},PR:{path:`M256.17,238.73l-0.26,0.27l-2.83,0.05l-0.07,-0.55l1.95,-0.1l1.22,0.33Z`,name:`Puerto Rico`},PS:{path:`M509.21,203.07l0.1,-0.06l-0.02,0.03l-0.09,0.03ZM509.36,202.91l-0.02,-0.63l-0.33,-0.16l0.31,-1.09l0.24,0.1l-0.2,1.78Z`,name:`Palestine`},PT:{path:`M401.84,187.38l-0.64,0.47l-1.13,-0.35l-0.91,0.17l0.28,-1.78l-0.24,-1.78l-1.25,-0.56l-0.45,-0.84l0.17,-1.66l1.01,-1.18l0.69,-2.92l-0.04,-1.39l-0.59,-1.9l1.3,-0.85l0.84,1.35l3.1,-0.3l0.46,0.99l-1.05,0.94l-0.03,2.16l-0.41,0.57l-0.08,1.1l-0.79,0.18l-0.26,0.59l0.91,1.6l-0.63,1.75l0.76,1.09l-1.1,1.52l0.07,1.05Z`,name:`Portugal`},PY:{path:`M274.9,336.12l0.74,1.52l-0.16,3.45l0.32,0.41l2.64,0.5l1.11,-0.47l1.4,0.59l0.36,0.6l0.53,3.42l1.27,0.4l0.98,-0.38l0.51,0.27l-0.0,1.18l-1.21,5.32l-2.09,1.9l-1.8,0.4l-4.71,-0.98l2.2,-3.63l-0.32,-1.5l-2.78,-1.28l-3.03,-1.94l-2.07,-0.44l-4.34,-4.06l0.91,-2.9l0.08,-1.42l1.07,-2.04l4.13,-0.72l2.18,0.03l2.05,1.17l0.03,0.59Z`,name:`Paraguay`},PA:{path:`M213.8,263.68l0.26,-1.52l-0.36,-0.26l-0.01,-0.49l0.44,-0.1l0.93,1.4l1.26,0.03l0.77,0.49l1.38,-0.23l2.51,-1.11l0.86,-0.72l3.45,0.85l1.4,1.18l0.41,1.74l-0.21,0.34l-0.53,-0.12l-0.47,0.29l-0.16,0.6l-0.68,-1.28l0.45,-0.49l-0.19,-0.66l-0.47,-0.13l-0.54,-0.84l-1.5,-0.75l-1.1,0.16l-0.75,0.99l-1.62,0.84l-0.18,0.96l0.85,0.97l-0.58,0.45l-0.69,0.08l-0.34,-1.18l-1.27,0.03l-0.71,-1.05l-2.59,-0.46Z`,name:`Panama`},PG:{path:`M808.58,298.86l2.54,2.56l-0.13,0.26l-0.33,0.12l-0.87,-0.78l-1.22,-2.16ZM801.41,293.04l0.5,0.29l0.26,0.27l-0.49,-0.35l-0.27,-0.21ZM803.17,294.58l0.59,0.5l0.08,1.06l-0.29,-0.91l-0.38,-0.65ZM796.68,298.41l0.52,0.75l1.43,-0.19l2.27,-1.81l-0.01,-1.43l1.12,0.16l-0.04,1.1l-0.7,1.28l-1.12,0.18l-0.62,0.79l-2.46,1.11l-1.17,-0.0l-3.08,-1.25l3.41,0.0l0.45,-0.68ZM789.15,303.55l2.31,1.8l1.59,2.61l1.34,0.13l-0.06,0.66l0.31,0.43l1.06,0.24l0.06,0.65l2.25,1.05l-1.22,0.13l-0.72,-0.63l-4.56,-0.65l-3.22,-2.87l-1.49,-2.34l-3.27,-1.1l-2.38,0.72l-1.59,0.86l-0.2,0.42l0.27,1.55l-1.55,0.68l-1.36,-0.4l-2.21,-0.09l-0.08,-15.41l8.39,2.93l2.95,2.4l0.6,1.64l4.02,1.49l0.31,0.68l-1.76,0.21l-0.33,0.52l0.55,1.68Z`,name:`Papua New Guinea`},PE:{path:`M244.96,295.21l-1.26,-0.07l-0.57,0.42l-1.93,0.45l-2.98,1.75l-0.36,1.36l-0.58,0.8l0.12,1.37l-1.24,0.59l-0.22,1.22l-0.62,0.84l1.04,2.27l1.28,1.44l-0.41,0.84l0.32,0.57l1.48,0.13l1.16,1.37l2.21,0.07l1.63,-1.08l-0.13,3.02l0.3,0.4l1.14,0.29l1.31,-0.34l1.9,3.59l-0.48,0.85l-0.17,3.85l-0.94,1.59l0.35,0.75l-0.47,1.07l0.98,1.97l-2.1,3.82l-0.98,0.5l-2.17,-1.28l-0.39,-1.16l-4.95,-2.58l-4.46,-2.79l-1.84,-1.51l-0.91,-1.84l0.3,-0.96l-2.11,-3.33l-4.82,-9.68l-1.04,-1.2l-0.87,-1.94l-3.4,-2.48l0.58,-1.18l-1.13,-2.23l0.66,-1.49l1.45,-1.15l-0.6,0.98l0.07,0.92l0.47,0.36l1.74,0.03l0.97,1.17l0.54,0.07l1.42,-1.03l0.6,-1.84l1.42,-2.02l3.04,-1.04l2.73,-2.62l0.86,-1.74l-0.1,-1.87l1.44,1.02l0.9,1.25l1.06,0.59l1.7,2.73l1.86,0.31l1.45,-0.61l0.96,0.39l1.36,-0.19l1.45,0.89l-1.4,2.21l0.31,0.61l0.59,0.05l0.47,0.5Z`,name:`Peru`},PK:{path:`M615.09,192.34l-1.83,1.81l-2.6,0.39l-3.73,-0.68l-1.58,1.33l-0.09,0.42l1.77,4.39l1.7,1.23l-1.69,1.27l-0.12,2.14l-2.33,2.64l-1.6,2.8l-2.46,2.67l-3.03,-0.07l-2.76,2.83l0.05,0.6l1.5,1.11l0.26,1.9l1.44,1.5l0.37,1.68l-5.01,-0.01l-1.78,1.7l-1.42,-0.52l-0.76,-1.87l-2.27,-2.15l-11.61,0.86l0.71,-2.34l3.43,-1.32l0.25,-0.44l-0.21,-1.24l-1.2,-0.65l-0.28,-2.46l-2.29,-1.14l-1.28,-1.94l2.82,0.94l2.62,-0.38l1.42,0.33l0.76,-0.56l1.71,0.19l3.25,-1.14l0.27,-0.36l0.08,-2.19l1.18,-1.32l1.68,0.0l0.58,-0.82l1.6,-0.3l1.19,0.16l0.98,-0.78l0.02,-1.88l0.93,-1.47l1.48,-0.66l0.19,-0.55l-0.66,-1.25l2.04,-0.11l0.69,-1.01l-0.02,-1.16l1.11,-1.06l-0.17,-1.78l-0.49,-1.03l1.15,-0.98l5.42,-0.91l2.6,-0.82l1.6,1.16l0.97,2.34l3.45,0.97Z`,name:`Pakistan`},PH:{path:`M737.01,263.84l0.39,2.97l-0.44,1.18l-0.55,-1.53l-0.67,-0.14l-1.17,1.28l0.65,2.09l-0.42,0.69l-2.48,-1.23l-0.57,-1.49l0.65,-1.03l-0.1,-0.54l-1.59,-1.19l-0.56,0.08l-0.65,0.87l-1.23,0.0l-1.58,0.97l0.83,-1.8l2.56,-1.42l0.65,0.84l0.45,0.13l1.9,-0.69l0.56,-1.11l1.5,-0.06l0.38,-0.43l-0.09,-1.19l1.21,0.71l0.36,2.02ZM733.59,256.58l0.05,0.75l0.08,0.26l-0.8,-0.42l-0.18,-0.71l0.85,0.12ZM734.08,256.1l-0.12,-1.12l-1.0,-1.27l1.36,0.03l0.53,0.73l0.51,2.04l-1.27,-0.4ZM733.76,257.68l0.38,0.98l-0.32,0.15l-0.07,-1.13ZM724.65,238.43l1.46,0.7l0.72,-0.31l-0.32,1.17l0.79,1.71l-0.57,1.84l-1.53,1.04l-0.39,2.25l0.56,2.04l1.63,0.57l1.16,-0.27l2.71,1.23l-0.19,1.08l0.76,0.84l-0.08,0.36l-1.4,-0.9l-0.88,-1.27l-0.66,0.0l-0.38,0.55l-1.6,-1.31l-2.15,0.36l-0.87,-0.39l0.07,-0.61l0.66,-0.55l-0.01,-0.62l-0.75,-0.59l-0.72,0.44l-0.74,-0.87l-0.39,-2.49l0.32,0.27l0.66,-0.28l0.26,-3.97l0.7,-2.02l1.14,0.0ZM731.03,258.87l-0.88,0.85l-1.19,1.94l-1.05,-1.19l0.93,-1.1l0.32,-1.47l0.52,-0.06l-0.27,1.15l0.22,0.45l0.49,-0.12l1.0,-1.32l-0.08,0.85ZM726.83,255.78l0.83,0.38l1.17,-0.0l-0.02,0.48l-2.0,1.4l0.03,-2.26ZM724.81,252.09l-0.38,1.27l-1.42,-1.95l1.2,0.05l0.6,0.63ZM716.55,261.82l1.1,-0.95l0.03,-0.03l-0.28,0.36l-0.85,0.61ZM719.22,259.06l0.04,-0.06l0.8,-1.53l0.16,0.75l-1.0,0.84Z`,name:`Philippines`},PL:{path:`M468.44,149.42l-1.11,-1.54l-1.86,-0.33l-0.48,-1.05l-1.72,-0.37l-0.65,0.69l-0.72,-0.36l0.11,-0.61l-0.33,-0.46l-1.75,-0.27l-1.04,-0.93l-0.94,-1.94l0.16,-1.22l-0.62,-1.8l-0.78,-1.07l0.57,-1.04l-0.48,-1.43l1.41,-0.83l6.91,-2.71l2.14,0.5l0.52,0.91l5.51,0.44l4.55,-0.05l1.07,0.31l0.48,0.84l0.15,1.58l0.65,1.2l-0.01,0.99l-1.27,0.58l-0.19,0.54l0.73,1.48l0.08,1.55l1.2,2.76l-0.17,0.58l-1.23,0.44l-2.27,2.72l0.18,0.95l-1.97,-1.03l-1.98,0.4l-1.36,-0.28l-1.24,0.58l-1.07,-0.97l-1.16,0.24Z`,name:`Poland`},ZM:{path:`M481.47,313.3l0.39,0.31l2.52,0.14l0.99,1.17l2.01,0.35l1.4,-0.64l0.69,1.17l1.78,0.33l1.84,2.35l2.23,0.18l0.4,-0.43l-0.21,-2.74l-0.62,-0.3l-0.48,0.32l-1.98,-1.17l0.72,-5.29l-0.51,-1.18l0.57,-1.3l3.68,-0.62l0.26,0.63l1.21,0.63l0.9,-0.22l2.16,0.67l1.33,0.71l1.07,1.02l0.56,1.87l-0.88,2.7l0.43,2.09l-0.73,0.87l-0.76,2.37l0.59,0.68l-6.6,1.83l-0.29,0.44l0.19,1.45l-1.68,0.35l-1.43,1.02l-0.38,0.87l-0.87,0.26l-3.48,3.69l-4.16,-0.53l-1.52,-1.0l-1.77,-0.13l-1.83,0.52l-3.04,-3.4l0.11,-7.59l4.82,0.03l0.39,-0.49l-0.18,-0.76l0.33,-0.83l-0.4,-1.36l0.24,-1.05Z`,name:`Zambia`},EH:{path:`M384.42,230.28l0.25,-0.79l1.06,-1.29l0.8,-3.51l3.38,-2.78l0.7,-1.81l0.06,4.84l-1.98,0.2l-0.94,1.59l0.39,3.56l-3.7,-0.01ZM392.01,218.1l0.7,-1.8l1.77,-0.24l2.09,0.34l0.95,-0.62l1.28,-0.07l-0.0,2.51l-6.79,-0.12Z`,name:`W. Sahara`},EE:{path:`M485.71,115.04l2.64,0.6l2.56,0.11l-1.6,1.91l0.61,3.54l-0.81,0.87l-1.78,-0.01l-3.22,-1.76l-1.8,0.45l0.21,-1.53l-0.58,-0.41l-0.69,0.34l-1.26,-1.03l-0.17,-1.63l2.83,-0.92l3.05,-0.52Z`,name:`Estonia`},EG:{path:`M492.06,205.03l1.46,0.42l2.95,-1.64l2.04,-0.21l1.53,0.3l0.59,1.19l0.69,0.04l0.41,-0.64l1.81,0.58l1.95,0.16l1.04,-0.51l1.42,4.08l-2.03,4.54l-1.66,-1.77l-1.76,-3.85l-0.64,-0.12l-0.36,0.67l1.04,2.88l3.44,6.95l1.78,3.04l2.03,2.65l-0.36,0.53l0.23,2.01l2.7,2.19l-28.41,0.0l0.0,-18.96l-0.73,-2.2l0.59,-1.56l-0.32,-1.26l0.68,-0.99l3.06,-0.04l4.82,1.52Z`,name:`Egypt`},ZA:{path:`M467.14,373.21l-0.13,-1.96l-0.68,-1.56l0.7,-0.68l-0.13,-2.33l-4.56,-8.19l0.77,-0.86l0.6,0.45l0.69,1.31l2.83,0.72l1.5,-0.26l2.24,-1.39l0.19,-9.55l1.35,2.3l-0.21,1.5l0.61,1.2l0.4,0.19l1.79,-0.27l2.6,-2.07l0.69,-1.32l0.96,-0.48l2.19,1.04l2.04,0.13l1.77,-0.65l0.85,-2.12l1.38,-0.33l1.59,-2.76l2.15,-1.89l3.41,-1.87l2.0,0.45l1.02,-0.28l0.99,0.2l1.75,5.29l-0.38,3.25l-0.81,-0.23l-1.0,0.46l-0.87,1.68l-0.05,1.16l1.97,1.84l1.47,-0.29l0.69,-1.18l1.09,0.01l-0.76,3.69l-0.58,1.09l-2.2,1.79l-3.17,4.76l-2.8,2.83l-3.57,2.88l-2.53,1.05l-1.22,0.14l-0.51,0.7l-1.18,-0.32l-1.39,0.5l-2.59,-0.52l-1.61,0.33l-1.18,-0.11l-2.55,1.1l-2.1,0.44l-1.6,1.07l-0.85,0.05l-0.93,-0.89l-0.93,-0.15l-0.97,-1.13l-0.25,0.05ZM491.45,364.19l0.62,-0.93l1.48,-0.59l1.18,-2.19l-0.07,-0.49l-1.99,-1.69l-1.66,0.56l-1.43,1.14l-1.34,1.73l0.02,0.51l1.88,2.11l1.31,-0.16Z`,name:`South Africa`},EC:{path:`M231.86,285.53l0.29,1.59l-0.69,1.45l-2.61,2.51l-3.13,1.11l-1.53,2.18l-0.49,1.68l-1.0,0.73l-1.02,-1.11l-1.78,-0.16l0.67,-1.15l-0.24,-0.86l1.25,-2.13l-0.54,-1.09l-0.67,-0.08l-0.72,0.87l-0.87,-0.64l0.35,-0.69l-0.36,-1.96l0.81,-0.51l0.45,-1.51l0.92,-1.57l-0.07,-0.97l2.65,-1.33l2.75,1.35l0.77,1.05l2.12,0.35l0.76,-0.32l1.96,1.21Z`,name:`Ecuador`},AL:{path:`M470.32,171.8l0.74,0.03l0.92,0.89l-0.17,1.95l0.36,1.28l1.01,0.82l-1.82,2.83l-0.19,-0.61l-1.25,-0.89l-0.18,-1.2l0.53,-2.82l-0.54,-1.47l0.6,-0.83Z`,name:`Albania`},AO:{path:`M461.55,300.03l1.26,3.15l1.94,2.36l2.47,-0.53l1.25,0.32l0.44,-0.18l0.93,-1.92l1.31,-0.08l0.41,-0.44l0.47,-0.0l-0.1,0.41l0.39,0.49l2.65,-0.02l0.03,1.19l0.48,1.01l-0.34,1.52l0.18,1.55l0.83,1.04l-0.13,2.85l0.54,0.39l3.96,-0.41l-0.1,1.79l0.39,1.05l-0.24,1.43l-4.7,-0.03l-0.4,0.39l-0.12,8.13l2.92,3.49l-3.83,0.88l-5.89,-0.36l-1.88,-1.24l-10.47,0.22l-1.3,-1.01l-1.85,-0.16l-2.4,0.77l-0.15,-1.06l0.33,-2.16l1.0,-3.45l1.35,-3.2l2.24,-2.8l0.33,-2.06l-0.13,-1.53l-0.8,-1.08l-1.21,-2.87l0.87,-1.62l-1.27,-4.12l-1.17,-1.53l2.47,-0.63l7.03,0.03ZM451.71,298.87l-0.47,-1.25l1.25,-1.11l0.32,0.3l-0.99,1.03l-0.12,1.03Z`,name:`Angola`},KZ:{path:`M552.8,172.89l0.46,-1.27l-0.48,-1.05l-2.96,-1.19l-1.06,-2.58l-1.37,-0.87l-0.03,-0.3l1.95,0.23l0.45,-0.38l0.08,-1.96l1.75,-0.41l2.1,0.45l0.48,-0.33l0.45,-3.04l-0.45,-2.09l-0.41,-0.31l-2.42,0.15l-2.36,-0.73l-2.87,1.37l-2.17,0.61l-0.85,-0.34l0.13,-1.61l-1.6,-2.12l-2.02,-0.08l-1.78,-1.82l1.29,-2.18l-0.57,-0.95l1.62,-2.91l2.21,1.63l0.63,-0.27l0.29,-2.22l4.92,-3.43l3.71,-0.08l8.4,3.6l2.92,-1.36l3.77,-0.06l3.11,1.66l0.51,-0.11l0.6,-0.81l3.31,0.13l0.39,-0.25l0.63,-1.57l-0.17,-0.5l-3.5,-1.98l1.87,-1.27l-0.13,-1.03l1.98,-0.72l0.18,-0.62l-1.59,-2.06l0.81,-0.82l9.23,-1.18l1.33,-0.88l6.18,-1.26l2.26,-1.42l4.08,0.68l0.73,3.33l0.51,0.3l2.48,-0.8l2.79,1.02l-0.17,1.56l0.43,0.44l2.55,-0.24l4.89,-2.53l0.03,0.32l3.15,2.61l5.56,8.47l0.65,0.02l1.12,-1.46l3.15,1.74l3.76,-0.78l1.15,0.49l1.14,1.8l1.84,0.76l0.99,1.29l3.35,-0.25l1.02,1.52l-1.6,1.81l-1.93,0.28l-0.34,0.38l-0.11,3.05l-1.13,1.16l-4.75,-1.0l-0.46,0.27l-1.76,5.47l-1.1,0.59l-4.91,1.23l-0.27,0.54l2.1,4.97l-1.37,0.63l-0.23,0.41l0.13,1.13l-0.88,-0.25l-1.42,-1.13l-7.89,-0.4l-0.92,0.31l-3.73,-1.22l-1.42,0.63l-0.53,1.66l-3.72,-0.94l-1.85,0.43l-0.76,1.4l-4.65,2.62l-1.13,2.08l-0.44,0.01l-0.92,-1.4l-2.87,-0.09l-0.45,-2.14l-0.38,-0.32l-0.8,-0.01l0.0,-2.96l-3.0,-2.22l-7.31,0.58l-2.35,-2.68l-6.71,-3.69l-6.45,1.83l-0.29,0.39l0.1,10.85l-0.7,0.08l-1.62,-2.17l-1.83,-0.96l-3.11,0.59l-0.64,0.51Z`,name:`Kazakhstan`},ET:{path:`M516.04,247.79l1.1,0.84l1.63,-0.45l0.68,0.47l1.63,0.03l2.01,0.94l1.73,1.66l1.64,2.07l-1.52,2.04l0.16,1.72l0.39,0.38l2.05,0.0l-0.36,1.03l2.86,3.58l8.32,3.08l1.31,0.02l-6.32,6.75l-3.1,0.11l-2.36,1.77l-1.47,0.04l-0.86,0.79l-1.38,-0.0l-1.32,-0.81l-2.29,1.05l-0.76,0.98l-3.29,-0.41l-3.07,-2.07l-1.8,-0.07l-0.62,-0.6l0.0,-1.24l-0.28,-0.38l-1.15,-0.37l-1.4,-2.59l-1.19,-0.68l-0.47,-1.0l-1.27,-1.23l-1.16,-0.22l0.43,-0.72l1.45,-0.28l0.41,-0.95l-0.03,-2.21l0.68,-2.44l1.05,-0.63l1.43,-3.06l1.57,-1.37l1.02,-2.51l0.35,-1.88l2.52,0.46l0.44,-0.24l0.58,-1.43Z`,name:`Ethiopia`},ZW:{path:`M498.91,341.09l-1.11,-0.22l-0.92,0.28l-2.09,-0.44l-1.5,-1.11l-1.89,-0.43l-0.62,-1.4l-0.01,-0.84l-0.3,-0.38l-0.97,-0.25l-2.71,-2.74l-1.92,-3.32l3.83,0.45l3.73,-3.82l1.08,-0.44l0.26,-0.77l1.25,-0.9l1.41,-0.26l0.5,0.89l1.99,-0.05l1.72,1.17l1.11,0.17l1.05,0.66l0.01,2.99l-0.59,3.76l0.38,0.86l-0.23,1.23l-0.39,0.35l-0.63,1.81l-2.43,2.75Z`,name:`Zimbabwe`},ES:{path:`M416.0,169.21l1.07,1.17l4.61,1.38l1.06,-0.57l2.6,1.26l2.71,-0.3l0.09,1.12l-2.14,1.8l-3.11,0.61l-0.31,0.31l-0.2,0.89l-1.54,1.69l-0.97,2.4l0.84,1.74l-1.32,1.27l-0.48,1.68l-1.88,0.65l-1.66,2.07l-5.36,-0.01l-1.79,1.08l-0.89,0.98l-0.88,-0.17l-0.79,-0.82l-0.68,-1.59l-2.37,-0.63l-0.11,-0.5l1.21,-1.82l-0.77,-1.13l0.61,-1.68l-0.76,-1.62l0.87,-0.49l0.09,-1.25l0.42,-0.6l0.03,-2.11l0.99,-0.69l0.13,-0.5l-1.03,-1.73l-1.46,-0.11l-0.61,0.38l-1.06,0.0l-0.52,-1.23l-0.53,-0.21l-1.32,0.67l-0.01,-1.49l-0.75,-0.96l3.03,-1.88l2.99,0.53l3.32,-0.02l2.63,0.51l6.01,-0.06Z`,name:`Spain`},ER:{path:`M520.38,246.23l3.42,2.43l3.5,3.77l0.84,0.54l-0.95,-0.01l-3.51,-3.89l-2.33,-1.15l-1.73,-0.07l-0.91,-0.51l-1.26,0.51l-1.34,-1.02l-0.61,0.17l-0.66,1.61l-2.35,-0.43l-0.17,-0.67l1.29,-5.29l0.61,-0.61l1.95,-0.53l0.87,-1.01l1.17,2.41l0.68,2.33l1.49,1.43Z`,name:`Eritrea`},ME:{path:`M468.91,172.53l-1.22,-1.02l0.47,-1.81l0.89,-0.72l2.26,1.51l-0.5,0.57l-0.75,-0.27l-1.14,1.73Z`,name:`Montenegro`},MD:{path:`M488.41,153.73l1.4,-0.27l1.72,0.93l1.07,0.15l0.85,0.65l-0.14,0.84l0.96,0.85l1.12,2.47l-1.15,-0.07l-0.66,-0.41l-0.52,0.25l-0.09,0.86l-1.08,1.89l-0.27,-0.86l0.25,-1.34l-0.16,-1.6l-3.29,-4.34Z`,name:`Moldova`},MG:{path:`M545.91,319.14l0.4,3.03l0.62,1.21l-0.21,1.02l-0.57,-0.8l-0.69,-0.01l-0.47,0.76l0.41,2.12l-0.18,0.87l-0.73,0.78l-0.15,2.14l-4.71,15.2l-1.06,2.88l-3.92,1.64l-3.12,-1.49l-0.6,-1.21l-0.19,-2.4l-0.86,-2.05l-0.21,-1.77l0.38,-1.62l1.21,-0.75l0.01,-0.76l1.19,-2.04l0.23,-1.66l-1.06,-2.99l-0.19,-2.21l0.81,-1.33l0.32,-1.46l4.63,-1.22l3.44,-3.0l0.85,-1.4l-0.08,-0.7l0.78,-0.04l1.38,-1.77l0.13,-1.64l0.45,-0.61l1.16,1.69l0.59,1.6Z`,name:`Madagascar`},MA:{path:`M378.78,230.02l0.06,-0.59l0.92,-0.73l0.82,-1.37l-0.09,-1.04l0.79,-1.7l1.31,-1.58l0.96,-0.59l0.66,-1.55l0.09,-1.47l0.81,-1.48l1.72,-1.07l1.55,-2.69l1.16,-0.96l2.44,-0.39l1.94,-1.82l1.31,-0.78l2.09,-2.28l-0.51,-3.65l1.24,-3.7l1.5,-1.75l4.46,-2.57l2.37,-4.47l1.44,0.01l1.68,1.21l2.32,-0.19l3.47,0.65l0.8,1.54l0.16,1.71l0.86,2.96l0.56,0.59l-0.26,0.61l-3.05,0.44l-1.26,1.05l-1.33,0.22l-0.33,0.37l-0.09,1.78l-2.68,1.0l-1.07,1.42l-4.47,1.13l-4.04,2.01l-0.54,4.64l-1.15,0.06l-0.92,0.61l-1.96,-0.35l-2.42,0.54l-0.74,1.9l-0.86,0.4l-1.14,3.26l-3.53,3.01l-0.8,3.55l-0.96,1.1l-0.29,0.82l-4.95,0.18Z`,name:`Morocco`},UZ:{path:`M598.64,172.75l-1.63,1.52l0.06,0.64l1.85,1.12l1.97,-0.64l2.21,1.17l-2.52,1.68l-2.59,-0.22l-0.18,-0.41l0.46,-1.23l-0.45,-0.53l-3.35,0.69l-2.1,3.51l-1.87,-0.12l-1.03,1.51l0.22,0.55l1.64,0.62l0.46,1.83l-1.19,2.49l-2.66,-0.53l0.05,-1.36l-0.26,-0.39l-3.3,-1.23l-2.56,-1.4l-4.4,-3.34l-1.34,-3.14l-1.08,-0.6l-2.58,0.13l-0.69,-0.44l-0.47,-2.52l-3.37,-1.6l-0.43,0.05l-2.07,1.72l-2.1,1.01l-0.21,0.47l0.28,1.01l-1.91,0.03l-0.09,-10.5l5.99,-1.7l6.19,3.54l2.71,2.84l7.05,-0.67l2.71,2.01l-0.17,2.81l0.39,0.42l0.9,0.02l0.44,2.14l0.38,0.32l2.94,0.09l0.95,1.42l1.28,-0.24l1.05,-2.04l4.43,-2.5Z`,name:`Uzbekistan`},MM:{path:`M673.9,230.21l-1.97,1.57l-0.57,0.96l-1.4,0.6l-1.36,1.05l-1.99,0.36l-1.08,2.66l-0.91,0.4l-0.19,0.55l1.21,2.27l2.52,3.43l-0.79,1.91l-0.74,0.41l-0.17,0.52l0.65,1.37l1.61,1.95l0.25,2.58l0.9,2.13l-1.92,3.57l0.68,-2.25l-0.81,-1.74l0.19,-2.65l-1.05,-1.53l-1.24,-6.17l-1.12,-2.26l-0.6,-0.13l-4.34,3.02l-2.39,-0.65l0.77,-2.84l-0.52,-2.61l-1.91,-2.96l0.25,-0.75l-0.29,-0.51l-1.33,-0.3l-1.61,-1.93l-0.1,-1.3l0.82,-0.24l0.04,-1.64l1.02,-0.52l0.21,-0.45l-0.23,-0.95l0.54,-0.96l0.08,-2.22l1.46,0.45l0.47,-0.2l1.12,-2.19l0.16,-1.35l1.33,-2.16l-0.0,-1.52l2.89,-1.66l1.63,0.44l0.5,-0.44l-0.17,-1.4l0.64,-0.36l0.08,-1.04l0.77,-0.11l0.71,1.35l1.06,0.69l-0.03,3.86l-2.38,2.37l-0.3,3.15l0.46,0.43l2.28,-0.38l0.51,2.08l1.47,0.67l-0.6,1.8l0.19,0.48l2.97,1.48l1.64,-0.55l0.02,0.32Z`,name:`Myanmar`},ML:{path:`M392.61,254.08l-0.19,-2.37l-0.99,-0.87l-0.44,-1.3l-0.09,-1.28l0.81,-0.58l0.35,-1.24l2.37,0.65l1.31,-0.47l0.86,0.15l0.66,-0.56l9.83,-0.04l0.38,-0.28l0.56,-1.8l-0.44,-0.65l-2.35,-21.95l3.27,-0.04l16.7,11.38l0.74,1.31l2.5,1.09l0.02,1.38l0.44,0.39l2.34,-0.21l0.01,5.38l-1.28,1.61l-0.26,1.49l-5.31,0.57l-1.07,0.92l-2.9,0.1l-0.86,-0.48l-1.38,0.36l-2.4,1.08l-0.6,0.87l-1.85,1.09l-0.43,0.7l-0.79,0.39l-1.44,-0.21l-0.81,0.84l-0.34,1.64l-1.91,2.02l-0.06,1.03l-0.67,1.22l0.13,1.16l-0.97,0.39l-0.23,-0.64l-0.52,-0.24l-1.35,0.4l-0.34,0.55l-2.69,-0.28l-0.37,-0.35l-0.02,-0.9l-0.65,-0.35l0.45,-0.64l-0.03,-0.53l-2.12,-2.44l-0.76,-0.01l-2.0,1.16l-0.78,-0.15l-0.8,-0.67l-1.21,0.23Z`,name:`Mali`},MN:{path:`M676.61,146.48l3.81,1.68l5.67,-1.0l2.37,0.41l2.34,1.5l1.79,1.75l2.29,-0.03l3.12,0.52l2.47,-0.81l3.41,-0.59l3.53,-2.21l1.25,0.29l1.53,1.13l2.27,-0.21l-2.66,5.01l0.64,1.68l0.47,0.21l1.32,-0.38l2.38,0.48l2.02,-1.11l1.76,0.89l2.06,2.02l-0.13,0.53l-1.72,-0.29l-3.77,0.46l-1.88,0.99l-1.76,1.99l-3.71,1.17l-2.45,1.6l-3.83,-0.87l-0.41,0.17l-1.31,1.99l1.04,2.24l-1.52,0.9l-1.74,1.57l-2.79,1.02l-3.78,0.13l-4.05,1.05l-2.77,1.52l-1.16,-0.85l-2.94,0.0l-3.62,-1.79l-2.58,-0.49l-3.4,0.41l-5.12,-0.67l-2.63,0.06l-1.31,-1.6l-1.4,-3.0l-1.48,-0.33l-3.13,-1.94l-6.16,-0.93l-0.71,-1.06l0.86,-3.82l-1.93,-2.71l-3.5,-1.18l-1.95,-1.58l-0.5,-1.72l2.34,-0.52l4.75,-2.8l3.62,-1.47l2.18,0.97l2.46,0.05l1.81,1.53l2.46,0.12l3.95,0.71l2.43,-2.28l0.08,-0.48l-0.9,-1.72l2.24,-2.98l2.62,1.27l4.94,1.17l0.43,2.24Z`,name:`Mongolia`},MK:{path:`M472.8,173.98l0.49,-0.71l3.57,-0.71l1.0,0.77l0.13,1.45l-0.65,0.53l-1.15,-0.05l-1.12,0.67l-1.39,0.22l-0.79,-0.55l-0.29,-1.03l0.19,-0.6Z`,name:`Macedonia`},MW:{path:`M505.5,309.31l0.85,1.95l0.15,2.86l-0.69,1.65l0.71,1.8l0.06,1.28l0.49,0.64l0.07,1.06l0.4,0.55l0.8,-0.23l0.55,0.61l0.69,-0.21l0.34,0.6l0.19,2.94l-1.04,0.62l-0.54,1.25l-1.11,-1.08l-0.16,-1.56l0.51,-1.31l-0.32,-1.3l-0.99,-0.65l-0.82,0.12l-2.36,-1.64l0.63,-1.96l0.82,-1.18l-0.46,-2.01l0.9,-2.86l-0.94,-2.51l0.96,0.18l0.29,0.4Z`,name:`Malawi`},MR:{path:`M407.36,220.66l-2.58,0.03l-0.39,0.44l2.42,22.56l0.36,0.43l-0.39,1.24l-9.75,0.04l-0.56,0.53l-0.91,-0.11l-1.27,0.45l-1.61,-0.66l-0.97,0.03l-0.36,0.29l-0.38,1.35l-0.42,0.23l-2.93,-3.4l-2.96,-1.52l-1.62,-0.03l-1.27,0.54l-1.12,-0.2l-0.65,0.4l-0.08,-0.49l0.68,-1.29l0.31,-2.43l-0.57,-3.91l0.23,-1.21l-0.69,-1.5l-1.15,-1.02l0.25,-0.39l9.58,0.02l0.4,-0.45l-0.46,-3.68l0.47,-1.04l2.12,-0.21l0.36,-0.4l-0.08,-6.4l7.81,0.13l0.41,-0.4l0.01,-3.31l7.76,5.35Z`,name:`Mauritania`},UG:{path:`M498.55,276.32l0.7,-0.46l1.65,0.5l1.96,-0.57l1.7,0.01l1.45,-0.98l0.91,1.33l1.33,3.95l-2.57,4.03l-1.46,-0.4l-2.54,0.91l-1.37,1.61l-0.01,0.81l-2.42,-0.01l-2.26,1.01l-0.17,-1.59l0.58,-1.04l0.14,-1.94l1.37,-2.28l1.78,-1.58l-0.17,-0.65l-0.72,-0.24l0.13,-2.43Z`,name:`Uganda`},MY:{path:`M717.47,273.46l-1.39,0.65l-2.12,-0.41l-2.88,-0.0l-0.38,0.28l-0.84,2.75l-0.99,0.96l-1.21,3.29l-1.73,0.45l-2.45,-0.68l-1.39,0.31l-1.33,1.15l-1.59,-0.14l-1.41,0.44l-1.44,-1.19l-0.18,-0.73l1.34,0.53l1.93,-0.47l0.75,-2.22l4.02,-1.03l2.75,-3.21l0.82,0.94l0.64,-0.05l0.4,-0.65l0.96,0.06l0.42,-0.36l0.24,-2.68l1.81,-1.64l1.21,-1.86l0.63,-0.01l1.07,1.05l0.34,1.28l3.44,1.35l-0.06,0.35l-1.37,0.1l-0.35,0.54l0.32,0.88ZM673.68,269.59l0.17,1.09l0.47,0.33l1.65,-0.3l0.87,-0.94l1.61,1.52l0.98,1.56l-0.12,2.81l0.41,2.29l0.95,0.9l0.88,2.44l-1.27,0.12l-5.1,-3.67l-0.34,-1.29l-1.37,-1.59l-0.33,-1.97l-0.88,-1.4l0.25,-1.68l-0.46,-1.05l1.63,0.84Z`,name:`Malaysia`},MX:{path:`M133.12,200.41l0.2,0.47l9.63,3.33l6.96,-0.02l0.4,-0.4l0.0,-0.74l3.77,0.0l3.55,2.93l1.39,2.83l1.52,1.04l2.08,0.82l0.47,-0.14l1.46,-2.0l1.73,-0.04l1.59,0.98l2.05,3.35l1.47,1.56l1.26,3.14l2.18,1.02l2.26,0.58l-1.18,3.72l-0.42,5.04l1.79,4.89l1.62,1.89l0.61,1.52l1.2,1.42l2.55,0.66l1.37,1.1l7.54,-1.89l1.86,-1.3l1.14,-4.3l4.1,-1.21l3.57,-0.11l0.32,0.3l-0.06,0.94l-1.26,1.45l-0.67,1.71l0.38,0.7l-0.72,2.27l-0.49,-0.3l-1.0,0.08l-1.0,1.39l-0.47,-0.11l-0.53,0.47l-4.26,-0.02l-0.4,0.4l-0.0,1.06l-1.1,0.26l0.1,0.44l1.82,1.44l0.56,0.91l-3.19,0.21l-1.21,2.09l0.24,0.72l-0.2,0.44l-2.24,-2.18l-1.45,-0.93l-2.22,-0.69l-1.52,0.22l-3.07,1.16l-10.55,-3.85l-2.86,-1.96l-3.78,-0.92l-1.08,-1.19l-2.62,-1.43l-1.18,-1.54l-0.38,-0.81l0.66,-0.63l-0.18,-0.53l0.52,-0.76l0.01,-0.91l-2.0,-3.82l-2.21,-2.63l-2.53,-2.09l-1.19,-1.62l-2.2,-1.17l-0.3,-0.43l0.34,-1.48l-0.21,-0.45l-1.23,-0.6l-1.36,-1.2l-0.59,-1.78l-1.54,-0.47l-2.44,-2.55l-0.16,-0.9l-1.33,-2.03l-0.84,-1.99l-0.16,-1.33l-1.81,-1.1l-0.97,0.05l-1.31,-0.7l-0.57,0.22l-0.4,1.12l0.72,3.77l3.51,3.89l0.28,0.78l0.53,0.26l0.41,1.43l1.33,1.73l1.58,1.41l0.8,2.39l1.43,2.41l0.13,1.32l0.37,0.36l1.04,0.08l1.67,2.28l-0.85,0.76l-0.66,-1.51l-1.68,-1.54l-2.91,-1.87l0.06,-1.82l-0.54,-1.68l-2.91,-2.03l-0.55,0.09l-1.95,-1.1l-0.88,-0.94l0.68,-0.08l0.93,-1.01l0.08,-1.78l-1.93,-1.94l-1.46,-0.77l-3.75,-7.56l4.88,-0.42Z`,name:`Mexico`},VU:{path:`M839.04,322.8l0.22,1.14l-0.44,0.03l-0.2,-1.45l0.42,0.27Z`,name:`Vanuatu`},FR:{path:`M444.48,172.62l-0.64,1.78l-0.58,-0.31l-0.49,-1.72l0.4,-0.89l1.0,-0.72l0.3,1.85ZM429.64,147.1l1.78,1.58l1.46,-0.13l2.1,1.42l1.35,0.27l1.23,0.83l3.04,0.5l-1.03,1.85l-0.3,2.12l-0.41,0.32l-0.95,-0.24l-0.5,0.43l0.06,0.61l-1.81,1.92l-0.04,1.42l0.55,0.38l0.88,-0.36l0.61,0.97l-0.03,1.0l0.57,0.91l-0.75,1.09l0.65,2.39l1.27,0.57l-0.18,0.82l-2.01,1.53l-4.77,-0.8l-3.82,1.0l-0.53,1.85l-2.49,0.34l-2.71,-1.31l-1.16,0.57l-4.31,-1.29l-0.72,-0.86l1.19,-1.78l0.39,-6.45l-2.58,-3.3l-1.9,-1.66l-3.72,-1.23l-0.19,-1.72l2.81,-0.61l4.12,0.81l0.47,-0.48l-0.6,-2.77l1.94,0.95l5.83,-2.54l0.92,-2.74l1.6,-0.49l0.24,0.78l1.36,0.33l1.05,1.19ZM289.01,278.39l-0.81,0.8l-0.78,0.12l-0.5,-0.66l-0.56,-0.1l-0.91,0.6l-0.46,-0.22l1.09,-2.96l-0.96,-1.77l-0.17,-1.49l1.07,-1.77l2.32,0.75l2.51,2.01l0.3,0.74l-2.14,3.96Z`,name:`France`},FI:{path:`M492.17,76.39l-0.23,3.5l3.52,2.63l-2.08,2.88l-0.02,0.44l2.8,4.56l-1.59,3.31l2.16,3.24l-0.94,2.39l0.14,0.47l3.44,2.51l-0.77,1.62l-7.52,6.95l-4.5,0.31l-4.38,1.37l-3.8,0.74l-1.44,-1.96l-2.17,-1.11l0.5,-3.66l-1.16,-3.33l1.09,-2.08l2.21,-2.42l5.67,-4.32l1.64,-0.83l0.21,-0.42l-0.46,-2.02l-3.38,-1.89l-0.75,-1.43l-0.22,-6.74l-6.79,-4.8l0.8,-0.62l2.54,2.12l3.46,-0.12l3.0,0.96l2.51,-2.11l1.17,-3.08l3.55,-1.38l2.76,1.53l-0.95,2.79Z`,name:`Finland`},FJ:{path:`M871.53,326.34l-2.8,1.05l-0.08,-0.23l2.97,-1.21l-0.1,0.39ZM867.58,329.25l0.43,0.37l-0.27,0.88l-1.24,0.28l-1.04,-0.24l-0.14,-0.66l0.63,-0.58l0.92,0.26l0.7,-0.31Z`,name:`Fiji`},FK:{path:`M274.36,425.85l1.44,1.08l-0.47,0.73l-3.0,0.89l-0.96,-1.0l-0.52,-0.05l-1.83,1.29l-0.73,-0.88l2.46,-1.64l1.93,0.76l1.67,-1.19Z`,name:`Falkland Is.`},NI:{path:`M202.33,252.67l0.81,-0.18l1.03,-1.02l-0.04,-0.88l0.68,-0.0l0.63,-0.54l0.97,0.22l1.53,-1.26l0.58,-0.99l1.17,0.34l2.41,-0.94l0.13,1.32l-0.81,1.94l0.1,2.74l-0.36,0.37l-0.11,1.75l-0.47,0.81l0.18,1.14l-1.73,-0.85l-0.71,0.27l-1.47,-0.6l-0.52,0.16l-4.01,-3.81Z`,name:`Nicaragua`},NL:{path:`M430.31,143.39l0.6,-0.5l2.13,-4.8l3.2,-1.33l1.74,0.08l0.33,0.8l-0.59,2.92l-0.5,0.99l-1.26,0.0l-0.4,0.45l0.33,2.7l-2.2,-1.78l-2.62,0.58l-0.75,-0.11Z`,name:`Netherlands`},NO:{path:`M491.44,67.41l6.8,2.89l-2.29,0.86l-0.15,0.65l2.33,2.38l-4.98,1.79l0.84,-2.45l-0.18,-0.48l-3.55,-1.8l-3.89,1.52l-1.42,3.38l-2.12,1.72l-2.64,-1.0l-3.11,0.21l-2.66,-2.22l-0.5,-0.01l-1.41,1.1l-1.44,0.17l-0.35,0.35l-0.32,2.47l-4.32,-0.64l-0.44,0.29l-0.58,2.11l-2.45,0.2l-4.15,7.68l-3.88,5.76l0.78,1.62l-0.64,1.16l-2.24,-0.06l-0.38,0.24l-1.66,3.89l0.15,5.17l1.57,2.04l-0.78,4.16l-2.02,2.48l-0.85,1.63l-1.3,-1.75l-0.58,-0.07l-4.87,4.19l-3.1,0.79l-3.16,-1.7l-0.85,-3.77l-0.77,-8.55l2.14,-2.31l6.55,-3.27l5.02,-4.17l10.63,-13.84l10.98,-8.7l5.35,-1.91l4.34,0.12l3.69,-3.64l4.49,0.19l4.37,-0.89ZM484.55,20.04l4.26,1.75l-3.1,2.55l-7.1,0.65l-7.08,-0.9l-0.37,-1.31l-0.37,-0.29l-3.44,-0.1l-2.08,-2.0l6.87,-1.44l3.9,1.31l2.39,-1.64l6.13,1.4ZM481.69,33.93l-4.45,1.74l-3.54,-0.99l1.12,-0.9l0.05,-0.58l-1.06,-1.22l4.22,-0.89l1.09,1.97l2.57,0.87ZM466.44,24.04l7.43,3.77l-5.41,1.86l-1.58,4.08l-2.26,1.2l-1.12,4.11l-2.61,0.18l-4.79,-2.86l1.84,-1.54l-0.1,-0.68l-3.69,-1.53l-4.77,-4.51l-1.73,-3.89l6.11,-1.82l1.54,1.92l3.57,-0.08l1.2,-1.96l3.32,-0.18l3.05,1.92Z`,name:`Norway`},NA:{path:`M474.26,330.66l-0.97,0.04l-0.38,0.4l-0.07,8.9l-2.09,0.08l-0.39,0.4l-0.0,17.42l-1.98,1.23l-1.17,0.17l-2.44,-0.66l-0.48,-1.13l-0.99,-0.74l-0.54,0.05l-0.9,1.01l-1.53,-1.68l-0.93,-1.88l-1.99,-8.56l-0.06,-3.12l-0.33,-1.52l-2.3,-3.34l-1.91,-4.83l-1.96,-2.43l-0.12,-1.57l2.33,-0.79l1.43,0.07l1.81,1.13l10.23,-0.25l1.84,1.23l5.87,0.35ZM474.66,330.64l6.51,-1.6l1.9,0.39l-1.69,0.4l-1.31,0.83l-1.12,-0.94l-4.29,0.92Z`,name:`Namibia`},NC:{path:`M838.78,341.24l-0.33,0.22l-2.9,-1.75l-3.26,-3.37l1.65,0.83l4.85,4.07Z`,name:`New Caledonia`},NE:{path:`M454.75,226.53l1.33,1.37l0.48,0.07l1.27,-0.7l0.53,3.52l0.94,0.83l0.17,0.92l0.81,0.69l-0.44,0.95l-0.96,5.26l-0.13,3.22l-3.04,2.31l-1.22,3.57l1.02,1.24l-0.0,1.46l0.39,0.4l1.13,0.04l-0.9,1.25l-1.47,-2.42l-0.86,-0.29l-2.09,1.37l-1.74,-0.67l-1.45,-0.17l-0.85,0.35l-1.36,-0.07l-1.64,1.09l-1.06,0.05l-2.94,-1.28l-1.44,0.59l-1.01,-0.03l-0.97,-0.94l-2.7,-0.98l-2.69,0.3l-0.87,0.64l-0.47,1.6l-0.75,1.16l-0.12,1.53l-1.57,-1.1l-1.31,0.24l0.03,-0.81l-0.32,-0.41l-2.59,-0.52l-0.15,-1.16l-1.35,-1.6l-0.29,-1.0l0.13,-0.84l1.29,-0.08l1.08,-0.92l3.31,-0.22l2.22,-0.41l0.32,-0.34l0.2,-1.47l1.39,-1.88l-0.01,-5.66l3.36,-1.12l7.24,-5.12l8.42,-4.92l3.69,1.06Z`,name:`Niger`},NG:{path:`M456.32,253.89l0.64,0.65l-0.28,1.04l-2.11,2.01l-2.03,5.18l-1.37,1.16l-1.15,3.18l-1.33,0.66l-1.46,-0.97l-1.21,0.16l-1.38,1.36l-0.91,0.24l-1.79,4.06l-2.33,0.81l-1.11,-0.07l-0.86,0.5l-1.71,-0.05l-1.19,-1.39l-0.89,-1.89l-1.77,-1.66l-3.95,-0.08l0.07,-5.21l0.42,-1.43l1.95,-2.3l-0.14,-0.91l0.43,-1.18l-0.53,-1.41l0.25,-2.92l0.72,-1.07l0.32,-1.34l0.46,-0.39l2.47,-0.28l2.34,0.89l1.15,1.02l1.28,0.04l1.22,-0.58l3.03,1.27l1.49,-0.14l1.36,-1.0l1.33,0.07l0.82,-0.35l3.45,0.8l1.82,-1.32l1.84,2.67l0.66,0.16Z`,name:`Nigeria`},NZ:{path:`M857.8,379.65l1.86,3.12l0.44,0.18l0.3,-0.38l0.03,-1.23l0.38,0.27l0.57,2.31l2.02,0.94l1.81,0.27l1.57,-1.06l0.7,0.18l-1.15,3.59l-1.98,0.11l-0.74,1.2l0.2,1.11l-2.42,3.98l-1.49,0.92l-1.04,-0.85l1.21,-2.05l-0.81,-2.01l-2.63,-1.25l0.04,-0.57l1.82,-1.19l0.43,-2.34l-0.16,-2.03l-0.95,-1.82l-0.06,-0.72l-3.11,-3.64l-0.79,-1.52l1.56,1.45l1.76,0.66l0.65,2.34ZM853.83,393.59l0.57,1.24l0.59,0.16l1.42,-0.97l0.46,0.79l0.0,1.03l-2.47,3.48l-1.26,1.2l-0.06,0.5l0.55,0.87l-1.41,0.07l-2.33,1.38l-2.03,5.02l-3.02,2.16l-2.06,-0.06l-1.71,-1.04l-2.47,-0.2l-0.27,-0.73l1.22,-2.1l3.05,-2.94l1.62,-0.59l4.02,-2.82l1.57,-1.67l1.07,-2.16l0.88,-0.7l0.48,-1.75l1.24,-0.97l0.35,0.79Z`,name:`New Zealand`},NP:{path:`M641.14,213.62l0.01,3.19l-1.74,0.04l-4.8,-0.86l-1.58,-1.39l-3.37,-0.34l-7.65,-3.7l0.8,-2.09l2.33,-1.7l1.77,0.75l2.49,1.76l1.38,0.41l0.99,1.35l1.9,0.52l1.99,1.17l5.49,0.9Z`,name:`Nepal`},CI:{path:`M407.4,259.27l0.86,0.42l0.56,0.9l1.13,0.53l1.19,-0.61l0.97,-0.08l1.42,0.54l0.6,3.24l-1.03,2.08l-0.65,2.84l1.06,2.33l-0.06,0.53l-2.54,-0.47l-1.66,0.03l-3.06,0.46l-4.11,1.6l0.32,-3.06l-1.18,-1.31l-1.32,-0.66l0.42,-0.85l-0.2,-1.4l0.5,-0.67l0.01,-1.59l0.84,-0.32l0.26,-0.5l-1.15,-3.01l0.12,-0.5l0.51,-0.25l0.66,0.31l1.93,0.02l0.67,-0.71l0.71,-0.14l0.25,0.69l0.57,0.22l1.4,-0.61Z`,name:`Côte d'Ivoire`},CH:{path:`M444.62,156.35l-0.29,0.87l0.18,0.53l1.13,0.58l1.0,0.1l-0.1,0.65l-0.79,0.38l-1.72,-0.37l-0.45,0.23l-0.45,1.04l-0.75,0.06l-0.84,-0.4l-1.32,1.0l-0.96,0.12l-0.88,-0.55l-0.81,-1.3l-0.49,-0.16l-0.63,0.26l0.02,-0.65l1.71,-1.66l0.1,-0.56l0.93,0.08l0.58,-0.46l1.99,0.02l0.66,-0.61l2.19,0.79Z`,name:`Switzerland`},CO:{path:`M242.07,254.93l-1.7,0.59l-0.59,1.18l-1.7,1.69l-0.38,1.93l-0.67,1.43l0.31,0.57l1.03,0.13l0.25,0.9l0.57,0.64l-0.04,2.34l1.64,1.42l3.16,-0.24l1.26,0.28l1.67,2.06l0.41,0.13l4.09,-0.39l0.45,0.22l-0.92,1.95l-0.2,1.8l0.52,1.83l0.75,1.05l-1.12,1.1l0.07,0.63l0.84,0.51l0.74,1.29l-0.39,-0.45l-0.59,-0.01l-0.71,0.74l-4.71,-0.05l-0.4,0.41l0.03,1.57l0.33,0.39l1.11,0.2l-1.68,0.4l-0.29,0.38l-0.01,1.82l1.16,1.14l0.34,1.25l-1.05,7.05l-1.04,-0.87l1.26,-1.99l-0.13,-0.56l-2.18,-1.23l-1.38,0.2l-1.14,-0.38l-1.27,0.61l-1.55,-0.26l-1.38,-2.46l-1.23,-0.75l-0.85,-1.2l-1.67,-1.19l-0.86,0.13l-2.11,-1.32l-1.01,0.31l-1.8,-0.29l-0.52,-0.91l-3.09,-1.68l0.77,-0.52l-0.1,-1.12l0.41,-0.64l1.34,-0.32l2.0,-2.88l-0.11,-0.57l-0.66,-0.43l0.39,-1.38l-0.52,-2.1l0.49,-0.83l-0.4,-2.13l-0.97,-1.35l0.17,-0.66l0.86,-0.08l0.47,-0.75l-0.46,-1.63l1.41,-0.07l1.8,-1.69l0.93,-0.24l0.3,-0.38l0.45,-2.76l1.22,-1.0l1.44,-0.04l0.45,-0.5l1.91,0.12l2.93,-1.84l1.15,-1.14l0.91,0.46l-0.25,0.45Z`,name:`Colombia`},CN:{path:`M740.23,148.97l4.57,1.3l2.8,2.17l0.98,2.9l0.38,0.27l3.8,0.0l2.32,-1.28l3.29,-0.75l-0.96,2.09l-1.02,1.28l-0.85,3.4l-1.52,2.73l-2.76,-0.5l-2.4,1.13l-0.21,0.45l0.64,2.57l-0.32,3.2l-0.94,0.06l-0.37,0.89l-0.91,-1.01l-0.64,0.07l-0.92,1.57l-3.73,1.25l-0.26,0.48l0.26,1.06l-1.5,-0.08l-1.09,-0.86l-0.56,0.06l-1.67,2.06l-2.7,1.56l-2.03,1.88l-3.4,0.83l-1.93,1.4l-1.15,0.34l0.33,-0.7l-0.41,-0.89l1.79,-1.79l0.02,-0.54l-1.32,-1.56l-0.48,-0.1l-2.24,1.09l-2.83,2.06l-1.51,1.83l-2.28,0.13l-1.55,1.49l-0.04,0.5l1.32,1.97l2.0,0.58l0.31,1.35l1.98,0.84l3.0,-1.96l2.0,1.02l1.49,0.11l0.22,0.83l-3.37,0.86l-1.12,1.48l-2.5,1.52l-1.29,1.99l0.14,0.56l2.57,1.48l0.97,2.7l3.17,4.63l-0.03,1.66l-1.35,0.65l-0.2,0.51l0.6,1.47l1.4,0.91l-0.89,3.82l-1.43,0.38l-3.85,6.44l-2.27,3.11l-6.78,4.57l-2.73,0.29l-1.45,1.04l-0.62,-0.61l-0.55,-0.01l-1.36,1.25l-3.39,1.27l-2.61,0.4l-1.1,2.79l-0.81,0.09l-0.49,-1.42l0.5,-0.85l-0.25,-0.59l-3.36,-0.84l-1.3,0.4l-2.31,-0.62l-0.94,-0.84l0.33,-1.28l-0.3,-0.49l-2.19,-0.46l-1.13,-0.93l-0.47,-0.02l-2.06,1.36l-4.29,0.28l-2.76,1.05l-0.28,0.43l0.32,2.53l-0.59,-0.03l-0.19,-1.34l-0.55,-0.34l-1.68,0.7l-2.46,-1.23l0.62,-1.87l-0.26,-0.51l-1.37,-0.44l-0.54,-2.22l-0.45,-0.3l-2.13,0.35l0.24,-2.48l2.39,-2.4l0.03,-4.31l-1.19,-0.92l-0.78,-1.49l-0.41,-0.21l-1.41,0.19l-1.98,-0.3l0.46,-1.07l-1.17,-1.7l-0.55,-0.11l-1.63,1.05l-2.25,-0.57l-2.89,1.73l-2.25,1.98l-1.75,0.29l-1.17,-0.71l-3.31,-0.65l-1.48,0.79l-1.04,1.27l-0.12,-1.17l-0.54,-0.34l-1.44,0.54l-5.55,-0.86l-1.98,-1.16l-1.89,-0.54l-0.99,-1.35l-1.34,-0.37l-2.55,-1.79l-2.01,-0.84l-1.21,0.56l-5.57,-3.45l-0.53,-2.31l1.19,0.25l0.48,-0.37l0.08,-1.42l-0.98,-1.56l0.15,-2.44l-2.69,-3.32l-4.12,-1.23l-0.67,-2.0l-1.92,-1.48l-0.38,-0.7l-0.51,-3.01l-1.52,-0.66l-0.7,0.13l-0.48,-2.05l0.55,-0.51l-0.09,-0.82l2.03,-1.19l1.6,-0.54l2.56,0.38l0.42,-0.22l0.85,-1.7l3.0,-0.33l1.1,-1.26l4.05,-1.77l0.39,-0.91l-0.17,-1.44l1.45,-0.67l0.2,-0.52l-2.07,-4.9l4.51,-1.12l1.37,-0.73l1.89,-5.51l4.98,0.86l1.51,-1.7l0.11,-2.87l1.99,-0.38l1.83,-2.06l0.49,-0.13l0.68,2.08l2.23,1.77l3.44,1.16l1.55,2.29l-0.92,3.49l0.96,1.67l6.54,1.13l2.95,1.87l1.47,0.35l1.06,2.62l1.53,1.91l3.05,0.08l5.14,0.67l3.37,-0.41l2.36,0.43l3.65,1.8l3.06,0.04l1.45,0.88l2.87,-1.59l3.95,-1.02l3.83,-0.14l3.06,-1.14l1.77,-1.6l1.72,-1.01l0.17,-0.49l-1.1,-2.05l1.02,-1.54l4.02,0.8l2.45,-1.61l3.76,-1.19l1.96,-2.13l1.63,-0.83l3.51,-0.4l1.92,0.34l0.46,-0.3l0.17,-1.5l-2.27,-2.22l-2.11,-1.09l-2.18,1.11l-2.32,-0.47l-1.29,0.32l-0.4,-0.82l2.73,-5.16l3.02,1.06l3.53,-2.06l0.18,-1.68l2.16,-3.35l1.49,-1.35l-0.03,-1.85l-1.07,-0.85l1.54,-1.26l2.98,-0.59l3.23,-0.09l3.64,0.99l2.04,1.16l3.29,6.71l0.92,3.19ZM696.92,237.31l-1.87,1.08l-1.63,-0.64l-0.06,-1.79l1.03,-0.98l2.58,-0.69l1.16,0.05l0.3,0.54l-0.98,1.06l-0.53,1.37Z`,name:`China`},CM:{path:`M457.92,257.49l1.05,1.91l-1.4,0.16l-1.05,-0.23l-0.45,0.22l-0.54,1.19l0.08,0.45l1.48,1.47l1.05,0.45l1.01,2.46l-1.52,2.99l-0.68,0.68l-0.13,3.69l2.38,3.84l1.09,0.8l0.24,2.48l-3.67,-1.14l-11.27,-0.13l0.23,-1.79l-0.98,-1.66l-1.19,-0.54l-0.44,-0.97l-0.6,-0.42l1.71,-4.27l0.75,-0.13l1.38,-1.36l0.65,-0.03l1.71,0.99l1.93,-1.12l1.14,-3.18l1.38,-1.17l2.0,-5.14l2.17,-2.13l0.3,-1.64l-0.86,-0.88l0.03,-0.33l0.94,1.28l0.07,3.22Z`,name:`Cameroon`},CL:{path:`M246.5,429.18l-3.14,1.83l-0.57,3.16l-0.64,0.05l-2.68,-1.06l-2.82,-2.33l-3.04,-1.89l-0.69,-1.85l0.63,-2.14l-1.21,-2.11l-0.31,-5.37l1.01,-2.91l2.57,-2.38l-0.18,-0.68l-3.16,-0.77l2.05,-2.47l0.77,-4.65l2.32,0.9l0.54,-0.29l1.31,-6.31l-0.22,-0.44l-1.68,-0.8l-0.56,0.28l-0.7,3.36l-0.81,-0.22l1.56,-9.41l1.15,-2.24l-0.71,-2.82l-0.18,-2.84l1.01,-0.33l3.26,-9.14l1.07,-4.22l-0.56,-4.21l0.74,-2.34l-0.29,-3.27l1.46,-3.34l2.04,-16.59l-0.66,-7.76l1.03,-0.53l0.54,-0.9l0.79,1.14l0.32,1.78l1.25,1.16l-0.69,2.55l1.33,2.9l0.97,3.59l0.46,0.29l1.5,-0.3l0.11,0.23l-0.76,2.44l-2.57,1.23l-0.23,0.37l0.08,4.33l-0.46,0.77l0.56,1.21l-1.58,1.51l-1.68,2.62l-0.89,2.47l0.2,2.7l-1.48,2.73l1.12,5.09l0.64,0.61l-0.01,2.29l-1.38,2.68l0.01,2.4l-1.89,2.04l0.02,2.75l0.69,2.57l-1.43,1.13l-1.26,5.68l0.39,3.51l-0.97,0.89l0.58,3.5l1.02,1.14l-0.65,1.02l0.15,0.57l1.0,0.53l0.16,0.69l-1.03,0.85l0.26,1.75l-0.89,4.03l-1.31,2.66l0.24,1.75l-0.71,1.83l-1.99,1.7l0.3,3.67l0.88,1.19l1.58,0.01l0.01,2.21l1.04,1.95l5.98,0.63ZM248.69,430.79l0.0,7.33l0.4,0.4l3.52,0.05l-0.44,0.75l-1.94,0.98l-2.49,-0.37l-1.88,-1.06l-2.55,-0.49l-5.59,-3.71l-2.38,-2.63l4.1,2.48l3.32,1.23l0.45,-0.12l1.29,-1.57l0.83,-2.32l2.05,-1.24l1.31,0.29Z`,name:`Chile`},CA:{path:`M280.06,145.6l-1.67,2.88l0.07,0.49l0.5,0.04l1.46,-0.98l1.0,0.42l-0.56,0.72l0.17,0.62l2.22,0.89l1.35,-0.71l1.95,0.78l-0.66,2.01l0.5,0.51l1.32,-0.42l0.98,3.17l-0.91,2.41l-0.8,0.08l-1.23,-0.45l0.47,-2.25l-0.89,-0.83l-0.48,0.06l-2.78,2.63l-0.34,-0.02l1.02,-0.85l-0.14,-0.69l-2.4,-0.77l-7.4,0.08l-0.17,-0.41l1.3,-0.94l0.02,-0.64l-0.73,-0.58l1.85,-1.74l2.57,-5.16l1.47,-1.79l1.99,-1.05l0.46,0.06l-1.53,2.45ZM68.32,74.16l4.13,0.95l4.02,2.14l2.61,0.4l2.47,-1.89l2.88,-1.31l3.85,0.48l3.71,-1.94l3.82,-1.04l1.56,1.68l0.49,0.08l1.87,-1.04l0.65,-1.98l1.24,0.35l4.16,3.94l0.54,0.01l2.75,-2.49l0.26,2.59l0.49,0.35l3.08,-0.73l1.04,-1.27l2.73,0.23l3.83,1.86l5.86,1.61l3.47,0.75l2.44,-0.26l2.73,1.78l-2.98,1.81l-0.19,0.41l0.31,0.32l4.53,0.92l6.87,-0.5l2.0,-0.69l2.49,2.39l0.53,0.02l2.72,-2.16l-0.02,-0.64l-2.16,-1.54l1.15,-1.06l4.83,-0.61l1.84,0.95l2.48,2.31l3.01,-0.23l4.55,1.92l3.85,-0.67l3.61,0.1l0.41,-0.44l-0.25,-2.36l1.79,-0.61l3.49,1.32l-0.01,3.77l0.31,0.39l0.45,-0.22l1.48,-3.16l1.74,0.1l0.41,-0.3l1.13,-4.37l-2.78,-3.11l-2.8,-1.74l0.19,-4.64l2.71,-3.07l2.98,0.67l2.41,1.95l3.19,4.8l-1.99,1.97l0.21,0.68l4.33,0.84l-0.01,4.15l0.25,0.37l0.44,-0.09l3.07,-3.15l2.54,2.39l-0.61,3.33l2.42,2.88l0.61,0.0l2.61,-3.08l1.88,-3.82l0.17,-4.58l6.72,0.94l3.13,2.04l0.13,1.82l-1.76,2.19l-0.01,0.49l1.66,2.16l-0.26,1.71l-4.68,2.8l-3.28,0.61l-2.47,-1.2l-0.55,0.23l-0.73,2.04l-2.38,3.43l-0.74,1.77l-2.74,2.57l-3.44,0.25l-2.21,1.78l-0.28,2.53l-2.82,0.55l-3.12,3.22l-2.72,4.31l-1.03,3.17l-0.14,4.31l0.33,0.41l3.44,0.57l2.24,5.95l0.45,0.23l3.4,-0.69l4.52,1.51l2.43,1.31l1.91,1.73l3.1,0.96l2.62,1.46l6.6,0.54l-0.35,2.74l0.81,3.53l1.81,3.78l3.83,3.3l0.45,0.04l2.1,-1.28l1.37,-3.69l-1.31,-5.38l-1.45,-1.58l3.57,-1.47l2.84,-2.46l1.52,-2.8l-0.25,-2.55l-1.7,-3.07l-2.85,-2.61l2.8,-3.95l-1.08,-3.37l-0.79,-5.67l1.36,-0.7l6.76,1.41l2.12,-0.96l5.12,3.36l1.05,1.61l4.08,0.26l-0.06,2.87l0.83,4.7l0.3,0.32l2.16,0.54l1.73,2.06l0.5,0.09l3.63,-2.03l2.52,-4.19l1.26,-1.32l7.6,11.72l-0.92,2.04l0.16,0.51l3.3,1.97l2.22,1.98l4.1,0.98l1.43,0.99l0.95,2.79l2.1,0.68l0.84,1.08l0.17,3.45l-3.37,2.26l-4.22,1.24l-3.06,2.63l-4.06,0.51l-5.35,-0.69l-6.39,0.2l-2.3,2.41l-3.26,1.51l-6.47,7.15l-0.06,0.48l0.44,0.19l2.13,-0.52l4.17,-4.24l5.12,-2.62l3.52,-0.3l1.69,1.21l-2.12,2.21l0.81,3.47l1.02,2.61l3.47,1.6l4.14,-0.45l2.15,-2.8l0.26,1.48l1.14,0.8l-2.56,1.69l-5.5,1.82l-2.54,1.27l-2.74,2.15l-1.4,-0.16l-0.07,-2.01l4.14,-2.44l0.18,-0.45l-0.39,-0.29l-6.63,0.45l-1.39,-1.49l-0.14,-4.43l-1.11,-0.91l-1.82,0.39l-0.66,-0.66l-0.6,0.03l-1.91,2.39l-0.82,2.52l-0.8,1.27l-1.67,0.56l-0.46,0.76l-8.31,0.07l-1.21,0.62l-2.35,1.97l-0.71,-0.14l-1.37,0.96l-1.12,-0.48l-4.74,1.26l-0.9,1.17l0.21,0.62l1.73,0.3l-1.81,0.31l-1.85,0.81l-2.11,-0.13l-2.95,1.78l-0.69,-0.09l1.39,-2.1l1.73,-1.21l0.1,-2.29l1.16,-1.99l0.49,0.53l2.03,0.42l1.2,-1.16l0.02,-0.47l-2.66,-3.51l-2.28,-0.61l-5.64,-0.71l-0.4,-0.57l-0.79,0.13l0.2,-0.41l-0.22,-0.55l-0.68,-0.26l0.19,-1.26l-0.78,-0.73l0.31,-0.64l-0.29,-0.57l-2.6,-0.44l-0.75,-1.63l-0.94,-0.66l-4.31,-0.65l-1.13,1.19l-1.48,0.59l-0.85,1.06l-2.83,-0.76l-2.09,0.39l-2.39,-0.97l-4.24,-0.7l-0.57,-0.4l-0.41,-1.63l-0.4,-0.3l-0.85,0.02l-0.39,0.4l-0.01,0.85l-69.13,-0.01l-6.51,-4.52l-4.5,-1.38l-1.26,-2.66l0.33,-1.93l-0.23,-0.43l-3.01,-1.35l-0.55,-2.77l-2.89,-2.38l-0.04,-1.45l1.39,-1.83l-0.28,-2.55l-4.16,-2.2l-4.07,-6.6l-4.02,-3.22l-1.3,-1.88l-0.5,-0.13l-2.51,1.21l-2.23,1.87l-3.85,-3.88l-2.44,-1.04l-2.22,-0.13l0.03,-37.49ZM260.37,148.65l3.04,0.76l2.26,1.2l-3.78,-0.95l-1.53,-1.01ZM249.4,3.81l6.68,0.49l5.32,0.79l4.26,1.57l-0.07,1.1l-5.85,2.53l-6.02,1.21l-2.39,1.39l-0.18,0.45l0.39,0.29l4.01,-0.02l-4.65,2.82l-4.2,1.74l-4.19,4.59l-5.03,0.92l-1.67,1.15l-7.47,0.59l-0.37,0.37l0.32,0.42l2.41,0.49l-0.81,0.47l-0.12,0.59l1.83,2.41l-2.02,1.59l-3.81,1.51l-1.32,2.16l-3.38,1.53l-0.22,0.48l0.35,1.19l0.4,0.29l3.88,-0.18l0.03,0.61l-6.33,2.95l-6.41,-1.4l-7.43,0.79l-3.72,-0.62l-4.4,-0.25l-0.23,-1.83l4.29,-1.11l0.28,-0.51l-1.1,-3.45l1.0,-0.25l6.58,2.28l0.47,-0.16l-0.05,-0.49l-3.41,-3.45l-3.58,-0.98l1.48,-1.55l4.34,-1.29l0.97,-2.19l-0.16,-0.48l-3.42,-2.13l-0.81,-2.26l6.2,0.22l2.24,0.58l3.91,-2.1l0.2,-0.43l-0.35,-0.32l-5.64,-0.67l-8.73,0.36l-4.26,-1.9l-2.12,-2.4l-2.78,-1.66l-0.41,-1.52l3.31,-1.03l2.93,-0.2l4.91,-0.99l3.7,-2.27l2.87,0.3l2.62,1.67l0.56,-0.14l1.82,-3.2l3.13,-0.94l4.44,-0.69l7.53,-0.26l1.48,0.67l7.19,-1.06l10.8,0.79ZM203.85,57.54l0.01,0.42l1.97,2.97l0.68,-0.02l2.24,-3.72l5.95,-1.86l4.01,4.64l-0.35,2.91l0.5,0.43l4.95,-1.36l2.32,-1.8l5.31,2.28l3.27,2.11l0.3,1.84l0.48,0.33l4.42,-0.99l2.64,2.87l5.97,1.77l2.06,1.72l2.11,3.71l-4.19,1.86l-0.01,0.73l5.9,2.83l3.94,0.94l3.78,3.95l3.46,0.25l-0.63,2.37l-4.11,4.47l-2.76,-1.56l-3.9,-3.94l-3.59,0.41l-0.33,0.34l-0.19,2.72l2.63,2.38l3.42,1.89l0.94,0.97l1.55,3.75l-0.7,2.29l-2.74,-0.92l-6.25,-3.15l-0.51,0.13l0.05,0.52l6.07,5.69l0.18,0.59l-6.09,-1.39l-5.31,-2.24l-2.63,-1.66l0.6,-0.77l-0.12,-0.6l-7.39,-4.01l-0.59,0.37l0.03,0.79l-6.73,0.6l-1.69,-1.1l1.36,-2.46l4.51,-0.07l5.15,-0.52l0.31,-0.6l-0.74,-1.3l0.78,-1.84l3.21,-4.05l-0.67,-2.35l-1.11,-1.6l-3.84,-2.1l-4.35,-1.28l0.91,-0.63l0.06,-0.61l-2.65,-2.75l-2.34,-0.36l-1.89,-1.46l-0.53,0.03l-1.24,1.23l-4.36,0.55l-9.04,-0.99l-9.26,-1.98l-1.6,-1.22l2.22,-1.77l0.13,-0.44l-0.38,-0.27l-3.22,-0.02l-0.72,-4.25l1.83,-4.04l2.42,-1.85l5.5,-1.1l-1.39,2.35ZM261.19,159.33l2.07,0.61l1.44,-0.04l-1.15,0.63l-2.94,-1.23l-0.4,-0.68l0.36,-0.37l0.61,1.07ZM230.83,84.39l-2.37,0.18l-0.49,-1.63l0.93,-2.09l1.94,-0.51l1.62,0.99l0.02,1.52l-1.66,1.54ZM229.43,58.25l0.11,0.65l-4.87,-0.21l-2.72,0.62l-3.1,-2.57l0.08,-1.26l0.86,-0.23l5.57,0.51l4.08,2.5ZM222.0,105.02l-0.72,1.49l-0.63,-0.19l-0.48,-0.84l0.81,-0.99l0.65,0.05l0.37,0.46ZM183.74,38.32l2.9,1.7l4.79,-0.01l1.84,1.46l-0.49,1.68l0.23,0.48l2.82,1.14l1.76,1.26l7.01,0.65l4.1,-1.1l5.03,-0.43l3.93,0.35l2.48,1.77l0.46,1.7l-1.3,1.1l-3.56,1.01l-3.23,-0.59l-7.17,0.76l-5.09,0.09l-3.99,-0.6l-6.42,-1.54l-0.79,-2.51l-0.3,-2.49l-2.64,-2.5l-5.32,-0.72l-2.52,-1.4l0.68,-1.57l4.78,0.31ZM207.38,91.35l0.4,1.56l0.56,0.26l1.06,-0.52l1.32,0.96l5.42,2.57l0.2,1.68l0.46,0.35l1.68,-0.28l1.15,0.85l-1.55,0.87l-3.61,-0.88l-1.32,-1.69l-0.57,-0.06l-2.45,2.1l-3.12,1.79l-0.7,-1.87l-0.42,-0.26l-2.16,0.24l1.39,-1.39l0.32,-3.14l0.76,-3.35l1.18,0.22ZM215.49,102.6l-2.67,1.95l-1.4,-0.07l-0.3,-0.58l1.53,-1.48l2.84,0.18ZM202.7,24.12l2.53,1.59l-2.87,1.4l-4.53,4.05l-4.25,0.38l-5.03,-0.68l-2.45,-2.04l0.03,-1.62l1.82,-1.37l0.14,-0.45l-0.38,-0.27l-4.45,0.04l-2.59,-1.76l-1.41,-2.29l1.57,-2.32l1.62,-1.66l2.44,-0.39l0.25,-0.65l-0.6,-0.74l4.86,-0.25l3.24,3.11l8.16,2.3l1.9,3.61ZM187.47,59.2l-2.76,3.49l-2.38,-0.15l-1.44,-3.84l0.04,-2.2l1.19,-1.88l2.3,-1.23l5.07,0.17l4.11,1.02l-3.24,3.72l-2.88,0.89ZM186.07,48.79l-1.08,1.53l-3.34,-0.34l-2.56,-1.1l1.03,-1.75l3.25,-1.23l1.95,1.58l0.75,1.3ZM185.71,35.32l-5.3,-0.2l-0.32,-0.71l4.31,0.07l1.3,0.84ZM180.68,32.48l-3.34,1.0l-1.79,-1.1l-0.98,-1.87l-0.15,-1.73l4.1,0.53l2.67,1.7l-0.51,1.47ZM180.9,76.31l-1.1,1.08l-3.13,-1.23l-2.12,0.43l-2.71,-1.57l1.72,-1.09l1.55,-1.72l3.81,1.9l1.98,2.2ZM169.74,54.87l2.96,0.97l4.17,-0.57l0.41,0.88l-2.14,2.11l0.09,0.64l3.55,1.92l-0.4,3.72l-3.79,1.65l-2.17,-0.35l-1.72,-1.74l-6.02,-3.5l0.03,-0.85l4.68,0.54l0.4,-0.21l-0.05,-0.45l-2.48,-2.81l2.46,-1.95ZM174.45,40.74l1.37,1.73l0.07,2.44l-1.05,3.45l-3.79,0.47l-2.32,-0.69l0.05,-2.64l-0.44,-0.41l-3.68,0.35l-0.12,-3.1l2.45,0.1l3.67,-1.73l3.41,0.29l0.37,-0.26ZM170.05,31.55l0.67,1.56l-3.33,-0.49l-4.22,-1.77l-4.35,-0.16l1.4,-0.94l-0.06,-0.7l-2.81,-1.23l-0.12,-1.39l4.39,0.68l6.62,1.98l1.81,2.47ZM134.5,58.13l-1.02,1.82l0.45,0.58l5.4,-1.39l3.33,2.29l0.49,-0.03l2.6,-2.23l1.94,1.32l2.0,4.5l0.7,0.06l1.3,-2.29l-1.63,-4.46l1.69,-0.54l2.31,0.71l2.65,1.81l2.49,7.92l8.48,4.27l-0.19,1.35l-3.79,0.33l-0.26,0.67l1.4,1.49l-0.58,1.1l-4.23,-0.64l-4.43,-1.19l-3.0,0.28l-4.66,1.47l-10.52,1.04l-1.43,-2.02l-3.42,-1.2l-2.21,0.43l-2.51,-2.86l4.84,-1.05l3.6,0.19l3.27,-0.78l0.31,-0.39l-0.31,-0.39l-4.84,-1.06l-8.79,0.27l-0.85,-1.07l5.26,-1.66l0.27,-0.45l-0.4,-0.34l-3.8,0.06l-3.81,-1.06l1.81,-3.01l1.66,-1.79l6.48,-2.81l1.97,0.71ZM158.7,56.61l-1.7,2.44l-3.2,-2.75l0.37,-0.3l3.11,-0.18l1.42,0.79ZM149.61,42.73l1.01,1.89l0.5,0.18l2.14,-0.82l2.23,0.19l0.36,2.04l-1.33,2.09l-8.28,0.76l-6.35,2.15l-3.41,0.1l-0.19,-0.96l4.9,-2.08l0.23,-0.46l-0.41,-0.31l-11.25,0.59l-2.89,-0.74l3.04,-4.44l2.14,-1.32l6.81,1.69l4.58,3.06l4.37,0.39l0.36,-0.63l-3.36,-4.6l1.85,-1.53l2.18,0.51l0.77,2.26ZM144.76,34.41l-4.36,1.44l-3.0,-1.4l1.46,-1.24l3.47,-0.52l2.96,0.71l-0.52,1.01ZM145.13,29.83l-1.9,0.66l-3.67,-0.0l2.27,-1.61l3.3,0.95ZM118.92,65.79l-6.03,2.02l-1.33,-1.9l-5.38,-2.28l2.59,-5.05l2.16,-3.14l-0.02,-0.48l-1.97,-2.41l7.64,-0.7l3.6,1.02l6.3,0.27l4.42,2.95l-2.53,0.98l-6.24,3.43l-3.1,3.28l-0.11,2.01ZM129.54,35.53l-0.28,3.37l-1.72,1.62l-2.33,0.28l-4.61,2.19l-3.86,0.76l-2.64,-0.87l3.72,-3.4l5.01,-3.34l3.72,0.07l3.0,-0.67ZM111.09,152.69l-0.67,0.24l-3.85,-1.37l-0.83,-1.17l-2.12,-1.07l-0.66,-1.02l-2.4,-0.55l-0.74,-1.71l6.02,1.45l2.0,2.55l2.52,1.39l0.73,1.27ZM87.8,134.64l0.89,0.29l1.86,-0.21l-0.65,3.34l1.69,2.33l-1.31,-1.33l-0.99,-1.62l-1.17,-0.98l-0.33,-1.82Z`,name:`Canada`},CG:{path:`M466.72,276.48l-0.1,1.03l-1.25,2.97l-0.19,3.62l-0.46,1.78l-0.23,0.63l-1.61,1.19l-1.21,1.39l-1.09,2.43l0.04,2.09l-3.25,3.24l-0.5,-0.24l-0.5,-0.83l-1.36,-0.02l-0.98,0.89l-1.68,-0.99l-1.54,1.24l-1.52,-1.96l1.57,-1.14l0.11,-0.52l-0.77,-1.35l2.1,-0.66l0.39,-0.73l1.05,0.82l2.21,0.11l1.12,-1.37l0.37,-1.81l-0.27,-2.09l-1.13,-1.5l1.0,-2.69l-0.13,-0.45l-0.92,-0.58l-1.6,0.17l-0.51,-0.94l0.1,-0.61l2.75,0.09l3.97,1.24l0.51,-0.33l0.17,-1.28l1.24,-2.21l1.28,-1.14l2.76,0.49Z`,name:`Congo`},CF:{path:`M461.16,278.2l-0.26,-1.19l-1.09,-0.77l-0.84,-1.17l-0.29,-1.0l-1.04,-1.15l0.08,-3.43l0.58,-0.49l1.16,-2.35l1.85,-0.17l0.61,-0.62l0.97,0.58l3.15,-0.96l2.48,-1.92l0.02,-0.96l2.81,0.02l2.36,-1.17l1.93,-2.85l1.16,-0.93l1.11,-0.3l0.27,0.86l1.34,1.47l-0.39,2.01l0.3,1.01l4.01,2.75l0.17,0.93l2.63,2.31l0.6,1.44l2.08,1.4l-3.84,-0.21l-1.94,0.88l-1.23,-0.49l-2.67,1.2l-1.29,-0.18l-0.51,0.36l-0.6,1.22l-3.35,-0.65l-1.57,-0.91l-2.42,-0.83l-1.45,0.91l-0.97,1.27l-0.26,1.56l-3.22,-0.43l-1.49,1.33l-0.94,1.62Z`,name:`Central African Rep.`},CD:{path:`M487.01,272.38l2.34,-0.14l1.35,1.84l1.34,0.45l0.86,-0.39l1.21,0.12l1.07,-0.41l0.54,0.89l2.04,1.54l-0.14,2.72l0.7,0.54l-1.38,1.13l-1.53,2.54l-0.17,2.05l-0.59,1.08l-0.02,1.72l-0.72,0.84l-0.66,3.01l0.63,1.32l-0.44,4.26l0.64,1.47l-0.37,1.22l0.86,1.8l1.53,1.41l0.3,1.26l0.44,0.5l-4.08,0.75l-0.92,1.81l0.51,1.34l-0.74,5.43l0.17,0.38l2.45,1.46l0.54,-0.1l0.12,1.62l-1.28,-0.01l-1.85,-2.35l-1.94,-0.45l-0.48,-1.13l-0.55,-0.2l-1.41,0.74l-1.71,-0.3l-1.01,-1.18l-2.49,-0.19l-0.44,-0.77l-1.98,-0.21l-2.88,0.36l0.11,-2.41l-0.85,-1.13l-0.16,-1.36l0.32,-1.73l-0.46,-0.89l-0.04,-1.49l-0.4,-0.39l-2.53,0.02l0.1,-0.41l-0.39,-0.49l-1.28,0.01l-0.43,0.45l-1.62,0.32l-0.83,1.79l-1.09,-0.28l-2.4,0.52l-1.37,-1.91l-1.3,-3.3l-0.38,-0.27l-7.39,-0.03l-2.46,0.42l0.5,-0.45l0.37,-1.47l0.66,-0.38l0.92,0.08l0.73,-0.82l0.87,0.02l0.31,0.68l1.4,0.36l3.59,-3.63l0.01,-2.23l1.02,-2.29l2.69,-2.39l0.43,-0.99l0.49,-1.96l0.17,-3.51l1.25,-2.95l0.36,-3.14l0.86,-1.13l1.1,-0.66l3.57,1.73l3.65,0.73l0.46,-0.21l0.8,-1.46l1.24,0.19l2.61,-1.17l0.81,0.44l1.04,-0.03l0.59,-0.66l0.7,-0.16l1.81,0.25Z`,name:`Dem. Rep. Congo`},CZ:{path:`M458.46,144.88l1.22,1.01l1.47,0.23l0.13,0.93l1.36,0.68l0.54,-0.2l0.24,-0.55l1.15,0.25l0.53,1.09l1.68,0.18l0.6,0.84l-1.04,0.73l-0.96,1.28l-1.6,0.17l-0.55,0.56l-1.04,-0.46l-1.05,0.15l-2.12,-0.96l-1.05,0.34l-1.2,1.12l-1.56,-0.87l-2.57,-2.1l-0.53,-1.88l4.7,-2.52l0.71,0.26l0.9,-0.28Z`,name:`Czech Rep.`},CY:{path:`M504.36,193.47l0.43,0.28l-1.28,0.57l-0.92,-0.28l-0.24,-0.46l2.01,-0.13Z`,name:`Cyprus`},CR:{path:`M211.34,258.05l0.48,0.99l1.6,1.6l-0.54,0.45l0.29,1.42l-0.25,1.19l-1.09,-0.59l-0.05,-1.25l-2.46,-1.42l-0.28,-0.77l-0.66,-0.45l-0.45,-0.0l-0.11,1.04l-1.32,-0.95l0.31,-1.3l-0.36,-0.6l0.31,-0.27l1.42,0.58l1.29,-0.14l0.56,0.56l0.74,0.17l0.55,-0.27Z`,name:`Costa Rica`},CU:{path:`M221.21,227.25l1.27,1.02l2.19,-0.28l4.43,3.33l2.08,0.43l-0.1,0.38l0.36,0.5l1.75,0.1l1.48,0.84l-3.11,0.51l-4.15,-0.03l0.77,-0.67l-0.04,-0.64l-1.2,-0.74l-1.49,-0.16l-0.7,-0.61l-0.56,-1.4l-0.4,-0.25l-1.34,0.1l-2.2,-0.66l-0.88,-0.58l-3.18,-0.4l-0.27,-0.16l0.58,-0.74l-0.36,-0.29l-2.72,-0.05l-1.7,1.29l-0.91,0.03l-0.61,0.69l-1.01,0.22l1.11,-1.29l1.01,-0.52l3.69,-1.01l3.98,0.21l2.21,0.84Z`,name:`Cuba`},SZ:{path:`M500.35,351.36l0.5,2.04l-0.38,0.89l-1.05,0.21l-1.23,-1.2l-0.02,-0.64l0.83,-1.57l1.34,0.27Z`,name:`Swaziland`},SY:{path:`M511.0,199.79l0.05,-1.33l0.54,-1.36l1.28,-0.99l0.13,-0.45l-0.41,-1.11l-1.14,-0.36l-0.19,-1.74l0.52,-1.0l1.29,-1.21l0.2,-1.18l0.59,0.23l2.62,-0.76l1.36,0.52l2.06,-0.01l2.95,-1.08l3.25,-0.26l-0.67,0.94l-1.28,0.66l-0.21,0.4l0.23,2.01l-0.88,3.19l-10.15,5.73l-2.15,-0.85Z`,name:`Syria`},KG:{path:`M621.35,172.32l-3.87,1.69l-0.96,1.18l-3.04,0.34l-1.13,1.86l-2.36,-0.35l-1.99,0.63l-2.39,1.4l0.06,0.95l-0.4,0.37l-4.52,0.43l-3.02,-0.93l-2.37,0.17l0.11,-0.79l2.32,0.42l1.13,-0.88l1.99,0.2l3.21,-2.14l-0.03,-0.69l-2.97,-1.57l-1.94,0.65l-1.22,-0.74l1.71,-1.58l-0.12,-0.67l-0.36,-0.15l0.32,-0.77l1.36,-0.35l4.02,1.02l0.49,-0.3l0.35,-1.59l1.09,-0.48l3.42,1.22l1.11,-0.31l7.64,0.39l1.16,1.0l1.23,0.39Z`,name:`Kyrgyzstan`},KE:{path:`M506.26,284.69l1.87,-2.56l0.93,-2.15l-1.38,-4.08l-1.06,-1.6l2.82,-2.75l0.79,0.26l0.12,1.41l0.86,0.83l1.9,0.11l3.28,2.13l3.57,0.44l1.05,-1.12l1.96,-0.9l0.82,0.68l1.16,0.09l-1.78,2.45l0.03,9.12l1.3,1.94l-1.37,0.78l-0.67,1.03l-1.08,0.46l-0.34,1.67l-0.81,1.07l-0.45,1.55l-0.68,0.56l-3.2,-2.23l-0.35,-1.58l-8.86,-4.98l0.14,-1.6l-0.57,-1.04Z`,name:`Kenya`},SS:{path:`M481.71,263.34l1.07,-0.72l1.2,-3.18l1.36,-0.26l1.61,1.99l0.87,0.34l1.1,-0.41l1.5,0.07l0.57,0.53l2.49,0.0l0.44,-0.63l1.07,-0.4l0.45,-0.84l0.59,-0.33l1.9,1.33l1.6,-0.2l2.83,-3.33l-0.32,-2.21l1.59,-0.52l-0.24,1.6l0.3,1.83l1.35,1.18l0.2,1.87l0.35,0.41l0.02,1.53l-0.23,0.47l-1.42,0.25l-0.85,1.44l0.3,0.6l1.4,0.16l1.11,1.08l0.59,1.13l1.03,0.53l1.28,2.36l-4.41,3.98l-1.74,0.01l-1.89,0.55l-1.47,-0.52l-1.15,0.57l-2.96,-2.62l-1.3,0.49l-1.06,-0.15l-0.79,0.39l-0.82,-0.22l-1.8,-2.7l-1.91,-1.1l-0.66,-1.5l-2.62,-2.32l-0.18,-0.94l-2.37,-1.6Z`,name:`S. Sudan`},SR:{path:`M283.12,270.19l2.1,0.53l-1.08,1.95l0.2,1.72l0.93,1.49l-0.59,2.03l-0.43,0.71l-1.12,-0.42l-1.32,0.22l-0.93,-0.2l-0.46,0.26l-0.25,0.73l0.33,0.7l-0.89,-0.13l-1.39,-1.97l-0.31,-1.34l-0.97,-0.31l-0.89,-1.47l0.35,-1.61l1.45,-0.82l0.33,-1.87l2.61,0.44l0.57,-0.47l1.75,-0.16Z`,name:`Suriname`},KH:{path:`M689.52,249.39l0.49,1.45l-0.28,2.74l-4.0,1.86l-0.16,0.6l0.68,0.95l-2.06,0.17l-2.05,0.97l-1.82,-0.32l-2.12,-3.7l-0.55,-2.85l1.4,-1.85l3.02,-0.45l2.23,0.35l2.01,0.98l0.51,-0.14l0.95,-1.48l1.74,0.74Z`,name:`Cambodia`},SV:{path:`M195.8,250.13l1.4,-1.19l2.24,1.45l0.98,-0.27l0.44,0.2l-0.27,1.05l-1.14,-0.03l-3.64,-1.21Z`,name:`El Salvador`},SK:{path:`M476.82,151.17l-1.14,1.9l-2.73,-0.92l-0.82,0.2l-0.74,0.8l-3.46,0.73l-0.47,0.69l-1.76,0.33l-1.88,-1.0l-0.18,-0.81l0.38,-0.75l1.87,-0.32l1.74,-1.89l0.83,0.16l0.79,-0.34l1.51,1.04l1.34,-0.63l1.25,0.3l1.65,-0.42l1.81,0.95Z`,name:`Slovakia`},KR:{path:`M737.51,185.84l0.98,-0.1l0.87,-1.17l2.69,-0.32l0.33,-0.29l1.76,2.79l0.58,1.76l0.02,3.12l-0.8,1.32l-2.21,0.55l-1.93,1.13l-1.8,0.19l-0.2,-1.1l0.43,-2.28l-0.95,-2.56l1.43,-0.37l0.23,-0.62l-1.43,-2.06Z`,name:`Korea`},SI:{path:`M456.18,162.07l-0.51,-1.32l0.18,-1.05l1.69,0.2l1.42,-0.71l2.09,-0.07l0.62,-0.51l0.21,0.47l-1.61,0.67l-0.44,1.34l-0.66,0.24l-0.26,0.82l-1.22,-0.49l-0.84,0.46l-0.69,-0.04Z`,name:`Slovenia`},KP:{path:`M736.77,185.16l-0.92,-0.42l-0.88,0.62l-1.21,-0.88l0.96,-1.15l0.59,-2.59l-0.46,-0.74l-2.09,-0.77l1.64,-1.52l2.72,-1.58l1.58,-1.91l1.11,0.78l2.17,0.11l0.41,-0.5l-0.3,-1.22l3.52,-1.18l0.94,-1.4l0.98,1.08l-2.19,2.18l0.01,2.14l-1.06,0.54l-1.41,1.4l-1.7,0.52l-1.25,1.09l-0.14,1.98l0.94,0.45l1.15,1.04l-0.13,0.26l-2.6,0.29l-1.13,1.29l-1.22,0.08Z`,name:`Dem. Rep. Korea`},SO:{path:`M525.13,288.48l-1.13,-1.57l-0.03,-8.86l2.66,-3.38l1.67,-0.13l2.13,-1.69l3.41,-0.23l7.08,-7.55l2.91,-3.69l0.08,-4.82l2.98,-0.67l1.24,-0.86l0.45,-0.0l-0.2,3.0l-1.21,3.62l-2.73,5.97l-2.13,3.65l-5.03,6.16l-8.56,6.4l-2.78,3.08l-0.8,1.56Z`,name:`Somalia`},SN:{path:`M390.09,248.21l0.12,1.55l0.49,1.46l0.96,0.82l0.05,1.28l-1.26,-0.19l-0.75,0.33l-1.84,-0.61l-5.84,-0.13l-2.54,0.51l-0.22,-1.03l1.77,0.04l2.01,-0.91l1.03,0.48l1.09,0.04l1.29,-0.62l0.14,-0.58l-0.51,-0.74l-1.81,0.25l-1.13,-0.63l-0.79,0.04l-0.72,0.61l-2.31,0.06l-0.92,-1.77l-0.81,-0.64l0.64,-0.35l2.46,-3.74l1.04,0.19l1.38,-0.56l1.19,-0.02l2.72,1.37l3.03,3.48Z`,name:`Senegal`},SL:{path:`M394.46,264.11l-1.73,1.98l-0.58,1.33l-2.07,-1.06l-1.22,-1.26l-0.65,-2.39l1.16,-0.96l0.67,-1.17l1.21,-0.52l1.66,0.0l1.03,1.64l0.52,2.41Z`,name:`Sierra Leone`},SB:{path:`M826.69,311.6l-0.61,0.09l-0.2,-0.33l0.37,0.15l0.44,0.09ZM824.18,307.38l-0.26,-0.3l-0.31,-0.91l0.03,0.0l0.54,1.21ZM823.04,309.33l-1.66,-0.22l-0.2,-0.52l1.16,0.28l0.69,0.46ZM819.28,304.68l1.14,0.65l0.02,0.03l-0.81,-0.44l-0.35,-0.23Z`,name:`Solomon Is.`},SA:{path:`M537.53,210.34l2.0,0.24l0.9,1.32l1.49,-0.06l0.87,2.08l1.29,0.76l0.51,0.99l1.56,1.03l-0.1,1.9l0.32,0.9l1.58,2.47l0.76,0.53l0.7,-0.04l1.68,4.23l7.53,1.33l0.51,-0.29l0.77,1.25l-1.55,4.87l-7.29,2.52l-7.3,1.03l-2.34,1.17l-1.88,2.74l-0.76,0.28l-0.82,-0.78l-0.91,0.12l-2.88,-0.51l-3.51,0.25l-0.86,-0.56l-0.57,0.15l-0.66,1.27l0.16,1.11l-0.43,0.32l-0.93,-1.4l-0.33,-1.16l-1.23,-0.88l-1.27,-2.06l-0.78,-2.22l-1.73,-1.79l-1.14,-0.48l-1.54,-2.31l-0.21,-3.41l-1.44,-2.93l-1.27,-1.16l-1.33,-0.57l-1.31,-3.37l-0.77,-0.67l-0.97,-1.97l-2.8,-4.03l-1.06,-0.17l0.37,-1.96l0.2,-0.72l2.74,0.3l1.08,-0.84l0.6,-0.94l1.74,-0.35l0.65,-1.03l0.71,-0.4l0.1,-0.62l-2.06,-2.28l4.39,-1.22l0.48,-0.37l2.77,0.69l3.66,1.9l7.03,5.5l4.87,0.3Z`,name:`Saudi Arabia`},SE:{path:`M480.22,89.3l-4.03,1.17l-2.43,2.86l0.26,2.57l-8.77,6.64l-1.78,5.79l1.78,2.68l2.22,1.96l-2.07,3.77l-2.72,1.13l-0.95,6.04l-1.29,3.01l-2.74,-0.31l-0.4,0.22l-1.31,2.59l-2.34,0.13l-0.75,-3.09l-2.08,-4.03l-1.83,-4.96l1.0,-1.93l2.14,-2.7l0.83,-4.45l-1.6,-2.17l-0.15,-4.94l1.48,-3.39l2.58,-0.15l0.87,-1.59l-0.78,-1.57l3.76,-5.59l4.04,-7.48l2.17,0.01l0.39,-0.29l0.57,-2.07l4.37,0.64l0.46,-0.34l0.33,-2.56l1.1,-0.13l6.94,4.87l0.06,6.32l0.66,1.36Z`,name:`Sweden`},SD:{path:`M505.98,259.4l-0.34,-0.77l-1.17,-0.9l-0.26,-1.61l0.29,-1.81l-0.34,-0.46l-1.16,-0.17l-0.54,0.59l-1.23,0.11l-0.28,0.65l0.53,0.65l0.17,1.22l-2.44,3.0l-0.96,0.19l-2.39,-1.4l-0.95,0.52l-0.38,0.78l-1.11,0.41l-0.29,0.5l-1.94,0.0l-0.54,-0.52l-1.81,-0.09l-0.95,0.4l-2.45,-2.35l-2.07,0.54l-0.73,1.26l-0.6,2.1l-1.25,0.58l-0.75,-0.62l0.27,-2.65l-1.48,-1.78l-0.22,-1.48l-0.92,-0.96l-0.02,-1.29l-0.57,-1.16l-0.68,-0.16l0.69,-1.29l-0.18,-1.14l0.65,-0.62l0.03,-0.55l-0.36,-0.41l1.55,-2.97l1.91,0.16l0.43,-0.4l-0.1,-10.94l2.49,-0.01l0.4,-0.4l-0.0,-4.82l29.02,0.0l0.64,2.04l-0.49,0.66l0.36,2.69l0.93,3.16l2.12,1.55l-0.89,1.04l-1.72,0.39l-0.98,0.9l-1.43,5.65l0.24,1.15l-0.38,2.06l-0.96,2.38l-1.53,1.31l-1.32,2.91l-1.22,0.86l-0.37,1.34Z`,name:`Sudan`},DO:{path:`M241.8,239.2l0.05,-0.65l-0.46,-0.73l0.42,-0.44l0.19,-1.0l-0.09,-1.53l1.66,0.01l1.99,0.63l0.33,0.67l1.28,0.19l0.33,0.76l1.0,0.08l0.8,0.62l-0.45,0.51l-1.13,-0.47l-1.88,-0.01l-1.27,0.59l-0.75,-0.55l-1.01,0.54l-0.79,1.4l-0.23,-0.61Z`,name:`Dominican Rep.`},DJ:{path:`M528.43,256.18l-0.45,0.66l-0.58,-0.25l-1.51,0.13l-0.18,-1.01l1.45,-1.95l0.83,0.17l0.77,-0.44l0.2,1.0l-1.2,0.51l-0.06,0.7l0.73,0.47Z`,name:`Djibouti`},DK:{path:`M452.28,129.07l-1.19,2.24l-2.13,-1.6l-0.23,-0.95l2.98,-0.95l0.57,1.26ZM447.74,126.31l-0.26,0.57l-0.88,-0.07l-1.8,2.53l0.48,1.69l-1.09,0.36l-1.61,-0.39l-0.89,-1.69l-0.07,-3.43l0.96,-1.73l2.02,-0.2l1.09,-1.07l1.33,-0.67l-0.05,1.06l-0.73,1.41l0.3,1.0l1.2,0.64Z`,name:`Denmark`},DE:{path:`M453.14,155.55l-0.55,-0.36l-1.2,-0.1l-1.87,0.57l-2.13,-0.13l-0.56,0.63l-0.86,-0.6l-0.96,0.09l-2.57,-0.93l-0.85,0.67l-1.47,-0.02l0.24,-1.75l1.23,-2.14l-0.28,-0.59l-3.52,-0.58l-0.92,-0.66l0.12,-1.2l-0.48,-0.88l0.27,-2.17l-0.37,-3.03l1.41,-0.22l0.63,-1.26l0.66,-3.19l-0.41,-1.18l0.26,-0.39l1.66,-0.15l0.33,0.54l0.62,0.07l1.7,-1.69l-0.54,-3.02l1.37,0.33l1.31,-0.37l0.31,1.18l2.25,0.71l-0.02,0.92l0.5,0.4l2.55,-0.65l1.34,-0.87l2.57,1.24l1.06,0.98l0.48,1.44l-0.57,0.74l-0.0,0.48l0.87,1.15l0.57,1.64l-0.14,1.29l0.82,1.7l-1.5,-0.07l-0.56,0.57l-4.47,2.15l-0.22,0.54l0.68,2.26l2.58,2.16l-0.66,1.11l-0.79,0.36l-0.23,0.43l0.32,1.87Z`,name:`Germany`},YE:{path:`M528.27,246.72l0.26,-0.42l-0.22,-1.01l0.19,-1.5l0.92,-0.69l-0.07,-1.35l0.39,-0.75l1.01,0.47l3.34,-0.27l3.76,0.41l0.95,0.81l1.36,-0.58l1.74,-2.62l2.18,-1.09l6.86,-0.94l2.48,5.41l-1.64,0.76l-0.56,1.9l-6.23,2.16l-2.29,1.8l-1.93,0.05l-1.41,1.02l-4.24,0.74l-1.72,1.49l-3.28,0.19l-0.52,-1.18l0.02,-1.51l-1.34,-3.29Z`,name:`Yemen`},AT:{path:`M462.89,152.8l0.04,2.25l-1.07,0.0l-0.33,0.63l0.36,0.51l-1.04,2.13l-2.02,0.07l-1.33,0.7l-5.29,-0.99l-0.47,-0.93l-0.44,-0.21l-2.47,0.55l-0.42,0.51l-3.18,-0.81l0.43,-0.91l1.12,0.78l0.6,-0.17l0.25,-0.58l1.93,0.12l1.86,-0.56l1.0,0.08l0.68,0.57l0.62,-0.15l0.26,-0.77l-0.3,-1.78l0.8,-0.44l0.68,-1.15l1.52,0.85l0.47,-0.06l1.34,-1.25l0.64,-0.17l1.81,0.92l1.28,-0.11l0.7,0.37Z`,name:`Austria`},DZ:{path:`M441.46,188.44l-0.32,1.07l0.39,2.64l-0.54,2.16l-1.58,1.82l0.37,2.39l1.91,1.55l0.18,0.8l1.42,1.03l1.84,7.23l0.12,1.16l-0.57,5.0l0.2,1.51l-0.87,0.99l-0.02,0.51l1.41,1.86l0.14,1.2l0.89,1.48l0.5,0.16l0.98,-0.41l1.73,1.08l0.82,1.23l-8.22,4.81l-7.23,5.11l-3.43,1.13l-2.3,0.21l-0.28,-1.59l-2.56,-1.09l-0.67,-1.25l-26.12,-17.86l0.01,-3.47l3.77,-1.88l2.44,-0.41l2.12,-0.75l1.08,-1.42l2.81,-1.05l0.35,-2.08l1.33,-0.29l1.04,-0.94l3.47,-0.69l0.46,-1.08l-0.1,-0.45l-0.58,-0.52l-0.82,-2.81l-0.19,-1.83l-0.78,-1.49l2.03,-1.31l2.63,-0.48l1.7,-1.22l2.31,-0.84l8.24,-0.73l1.49,0.38l2.28,-1.1l2.46,-0.02l0.92,0.6l1.35,-0.05Z`,name:`Algeria`},US:{path:`M892.72,99.2l1.31,0.53l1.41,-0.37l1.89,0.98l1.89,0.42l-1.32,0.58l-2.9,-1.53l-2.08,0.22l-0.26,-0.15l0.07,-0.67ZM183.22,150.47l0.37,1.47l1.12,0.85l4.23,0.7l2.39,0.98l2.17,-0.38l1.85,0.5l-1.55,0.65l-3.49,2.61l-0.16,0.77l0.5,0.39l2.33,-0.61l1.77,1.02l5.15,-2.4l-0.31,0.65l0.25,0.56l1.36,0.38l1.71,1.16l4.7,-0.88l0.67,0.85l1.31,0.21l0.58,0.58l-1.34,0.17l-2.18,-0.32l-3.6,0.89l-2.71,3.25l0.35,0.9l0.59,-0.0l0.55,-0.6l-1.36,4.65l0.29,3.09l0.67,1.58l0.61,0.45l1.77,-0.44l1.6,-1.96l0.14,-2.21l-0.82,-1.96l0.11,-1.13l1.19,-2.37l0.44,-0.33l0.48,0.75l0.4,-0.29l0.4,-1.37l0.6,-0.47l0.24,-0.8l1.69,0.49l1.65,1.08l-0.03,2.37l-1.27,1.13l-0.0,1.13l0.87,0.36l1.66,-1.29l0.5,0.17l0.5,2.6l-2.49,3.75l0.17,0.61l1.54,0.62l1.48,0.17l1.92,-0.44l4.72,-2.15l2.16,-1.8l-0.05,-1.24l0.75,-0.22l3.92,0.36l2.12,-1.05l0.21,-0.4l-0.28,-1.48l3.27,-2.4l8.32,-0.02l0.56,-0.82l1.9,-0.77l0.93,-1.51l0.74,-2.37l1.58,-1.98l0.92,0.62l1.47,-0.47l0.8,0.66l-0.0,4.09l1.96,2.6l-2.34,1.31l-5.37,2.09l-1.83,2.72l0.02,1.79l0.83,1.59l0.54,0.23l-6.19,0.94l-2.2,0.89l-0.23,0.48l0.45,0.29l2.99,-0.46l-2.19,0.56l-1.13,0.0l-0.15,-0.32l-0.48,0.08l-0.76,0.82l0.22,0.67l0.32,0.06l-0.41,1.62l-1.27,1.58l-1.48,-1.07l-0.49,-0.04l-0.16,0.46l0.52,1.58l0.61,0.59l0.03,0.79l-0.95,1.38l-1.21,-1.22l-0.27,-2.27l-0.35,-0.35l-0.42,0.25l-0.48,1.27l0.33,1.41l-0.97,-0.27l-0.48,0.24l0.18,0.5l1.52,0.83l0.1,2.52l0.79,0.51l0.52,3.42l-1.42,1.88l-2.47,0.8l-1.71,1.66l-1.31,0.25l-1.27,1.03l-0.43,0.99l-2.69,1.78l-2.64,3.03l-0.45,2.12l0.45,2.08l0.85,2.38l1.09,1.9l0.04,1.2l1.16,3.06l-0.18,2.69l-0.55,1.43l-0.47,0.21l-0.89,-0.23l-0.49,-1.18l-0.87,-0.56l-2.75,-5.16l0.48,-1.68l-0.72,-1.78l-2.01,-2.38l-1.12,-0.53l-2.72,1.18l-1.47,-1.35l-1.57,-0.68l-2.99,0.31l-2.17,-0.3l-2.0,0.19l-1.15,0.46l-0.19,0.58l0.39,0.63l0.14,1.34l-0.84,-0.2l-0.84,0.46l-1.58,-0.07l-2.08,-1.44l-2.09,0.33l-1.91,-0.62l-3.73,0.84l-2.39,2.07l-2.54,1.22l-1.45,1.41l-0.61,1.38l0.34,3.71l-0.29,0.02l-3.5,-1.33l-1.25,-3.11l-1.44,-1.5l-2.24,-3.56l-1.76,-1.09l-2.27,-0.01l-1.71,2.07l-1.76,-0.69l-1.16,-0.74l-1.52,-2.98l-3.93,-3.16l-4.34,-0.0l-0.4,0.4l-0.0,0.74l-6.5,0.02l-9.02,-3.14l-0.34,-0.71l-5.7,0.49l-0.43,-1.29l-1.62,-1.61l-1.14,-0.38l-0.55,-0.88l-1.28,-0.13l-1.01,-0.77l-2.22,-0.27l-0.43,-0.3l-0.36,-1.58l-2.4,-2.83l-2.01,-3.85l-0.06,-0.9l-2.92,-3.26l-0.33,-2.29l-1.3,-1.66l0.52,-2.37l-0.09,-2.57l-0.78,-2.3l0.95,-2.82l0.61,-5.68l-0.47,-4.27l-1.46,-4.08l3.19,0.79l1.26,2.83l0.69,0.08l0.69,-1.14l-1.1,-4.79l68.76,-0.0l0.4,-0.4l0.14,-0.86ZM32.44,67.52l1.73,1.97l0.55,0.05l0.99,-0.79l3.65,0.24l-0.09,0.62l0.32,0.45l3.83,0.77l2.61,-0.43l5.19,1.4l4.84,0.43l1.89,0.57l3.42,-0.7l6.14,1.87l-0.03,38.06l0.38,0.4l2.39,0.11l2.31,0.98l3.9,3.99l0.55,0.04l2.4,-2.03l2.16,-1.04l1.2,1.71l3.95,3.14l4.09,6.63l4.2,2.29l0.06,1.83l-1.02,1.23l-1.16,-1.08l-2.04,-1.03l-0.67,-2.89l-3.28,-3.03l-1.65,-3.57l-6.35,-0.32l-2.82,-1.01l-5.26,-3.85l-6.77,-2.04l-3.53,0.3l-4.81,-1.69l-3.25,-1.63l-2.78,0.8l-0.28,0.46l0.44,2.21l-3.91,0.96l-2.26,1.27l-2.3,0.65l-0.27,-1.65l1.05,-3.42l2.49,-1.09l0.16,-0.6l-0.69,-0.96l-0.55,-0.1l-3.19,2.12l-1.78,2.56l-3.55,2.61l-0.04,0.61l1.56,1.52l-2.07,2.29l-5.11,2.57l-0.77,1.66l-3.76,1.77l-0.92,1.73l-2.69,1.38l-1.81,-0.22l-6.95,3.32l-3.97,0.91l4.85,-2.5l2.59,-1.86l3.26,-0.52l1.19,-1.4l3.42,-2.1l2.59,-2.27l0.42,-2.68l1.23,-2.1l-0.04,-0.46l-0.45,-0.11l-2.68,1.03l-0.63,-0.49l-0.53,0.03l-1.05,1.04l-1.36,-1.54l-0.66,0.08l-0.32,0.62l-0.58,-1.14l-0.56,-0.16l-2.41,1.42l-1.07,-0.0l-0.17,-1.75l0.3,-1.71l-1.61,-1.33l-3.41,0.59l-1.96,-1.63l-1.57,-0.84l-0.15,-2.21l-1.7,-1.43l0.82,-1.88l1.99,-2.12l0.88,-1.92l1.71,-0.24l2.04,0.51l1.87,-1.77l1.91,0.25l1.91,-1.23l0.17,-0.43l-0.47,-1.82l-1.07,-0.7l1.39,-1.17l0.12,-0.45l-0.39,-0.26l-1.65,0.07l-2.66,0.88l-0.75,0.78l-1.92,-0.8l-3.46,0.44l-3.44,-0.91l-1.06,-1.61l-2.65,-1.99l2.91,-1.43l5.5,-2.0l1.52,0.0l-0.26,1.62l0.41,0.46l5.29,-0.16l0.3,-0.65l-2.03,-2.59l-3.14,-1.68l-1.79,-2.12l-2.4,-1.83l-3.09,-1.24l1.04,-1.69l4.23,-0.14l3.36,-2.07l0.73,-2.27l2.39,-1.99l2.42,-0.52l4.65,-1.97l2.46,0.23l3.71,-2.35l3.5,0.89ZM37.6,123.41l-2.25,1.23l-0.95,-0.69l-0.29,-1.24l3.21,-1.63l1.42,0.21l0.67,0.7l-1.8,1.42ZM31.06,234.03l0.98,0.47l0.74,0.87l-1.77,1.07l-0.44,-1.53l0.49,-0.89ZM29.34,232.07l0.18,0.05l0.08,0.05l-0.16,0.03l-0.11,-0.14ZM25.16,230.17l0.05,-0.03l0.18,0.22l-0.13,-0.01l-0.1,-0.18ZM5.89,113.26l-1.08,0.41l-2.21,-1.12l1.53,-0.4l1.62,0.28l0.14,0.83Z`,name:`United States`},LV:{path:`M489.16,122.85l0.96,0.66l0.22,1.65l0.68,1.76l-3.65,1.7l-2.23,-1.58l-1.29,-0.26l-0.68,-0.77l-2.42,0.34l-4.16,-0.23l-2.47,0.9l0.06,-1.98l1.13,-2.06l1.95,-1.02l2.12,2.58l2.01,-0.07l0.38,-0.33l0.44,-2.52l1.76,-0.53l3.06,1.7l2.15,0.07Z`,name:`Latvia`},UY:{path:`M286.85,372.74l-0.92,1.5l-2.59,1.44l-1.69,-0.52l-1.42,0.26l-2.39,-1.19l-1.52,0.08l-1.27,-1.3l0.16,-1.5l0.56,-0.79l-0.02,-2.73l1.21,-4.74l1.19,-0.21l2.37,2.0l1.08,0.03l4.36,3.17l1.22,1.6l-0.96,1.5l0.61,1.4Z`,name:`Uruguay`},LB:{path:`M510.37,198.01l-0.88,0.51l1.82,-3.54l0.62,0.08l0.22,0.61l-1.13,0.88l-0.65,1.47Z`,name:`Lebanon`},LA:{path:`M689.54,248.53l-1.76,-0.74l-0.49,0.15l-0.94,1.46l-1.32,-0.64l0.62,-0.98l0.11,-2.17l-2.04,-2.42l-0.25,-2.65l-1.9,-2.1l-2.15,-0.31l-0.78,0.91l-1.12,0.06l-1.05,-0.4l-2.06,1.2l-0.04,-1.59l0.61,-2.68l-0.36,-0.49l-1.35,-0.1l-0.11,-1.23l-0.96,-0.88l1.96,-1.89l0.39,0.36l1.33,0.07l0.42,-0.45l-0.34,-2.66l0.7,-0.21l1.28,1.81l1.11,2.35l0.36,0.23l2.82,0.02l0.71,1.67l-1.39,0.65l-0.72,0.93l0.13,0.6l2.91,1.51l3.6,5.25l1.88,1.78l0.56,1.62l-0.35,1.96Z`,name:`Lao PDR`},TW:{path:`M724.01,226.68l-0.74,1.48l-0.9,-1.52l-0.25,-1.74l1.38,-2.44l1.73,-1.74l0.64,0.44l-1.85,5.52Z`,name:`Taiwan`},TT:{path:`M266.64,259.32l0.28,-1.16l1.13,-0.22l-0.06,1.2l-1.35,0.18Z`,name:`Trinidad and Tobago`},TR:{path:`M513.21,175.47l3.64,1.17l3.05,-0.44l2.1,0.26l3.11,-1.56l2.46,-0.13l2.19,1.33l0.33,0.82l-0.22,1.33l0.25,0.44l2.28,1.13l-1.17,0.57l-0.21,0.45l0.75,3.2l-0.41,1.16l1.13,1.92l-0.55,0.22l-0.9,-0.67l-2.91,-0.37l-1.24,0.46l-4.23,0.41l-2.81,1.05l-1.91,0.01l-1.52,-0.53l-2.58,0.75l-0.66,-0.45l-0.62,0.3l-0.12,1.45l-0.89,0.84l-0.47,-0.67l0.79,-1.3l-0.41,-0.2l-1.43,0.23l-2.0,-0.63l-2.02,1.65l-3.51,0.3l-2.13,-1.53l-2.7,-0.1l-0.86,1.24l-1.38,0.27l-2.29,-1.44l-2.71,-0.01l-1.37,-2.65l-1.68,-1.52l1.07,-1.99l-0.09,-0.49l-1.27,-1.12l2.37,-2.41l3.7,-0.11l1.28,-2.24l4.49,0.37l3.21,-1.97l2.81,-0.82l3.99,-0.06l4.29,2.07ZM488.79,176.72l-1.72,1.31l-0.5,-0.88l1.37,-2.57l-0.7,-0.85l1.7,-0.63l1.8,0.34l0.46,1.17l1.76,0.78l-2.87,0.32l-1.3,1.01Z`,name:`Turkey`},LK:{path:`M624.16,268.99l-1.82,0.48l-0.99,-1.67l-0.42,-3.46l0.95,-3.43l1.21,0.98l2.26,4.19l-0.34,2.33l-0.85,0.58Z`,name:`Sri Lanka`},TN:{path:`M448.1,188.24l-1.0,1.27l-0.02,1.32l0.84,0.88l-0.28,2.09l-1.53,1.32l-0.12,0.42l0.48,1.54l1.42,0.32l0.53,1.11l0.9,0.52l-0.11,1.67l-3.54,2.64l-0.1,2.38l-0.58,0.3l-0.96,-4.45l-1.54,-1.25l-0.16,-0.78l-1.92,-1.56l-0.18,-1.76l1.51,-1.62l0.59,-2.34l-0.38,-2.78l0.42,-1.21l2.45,-1.05l1.29,0.26l-0.06,1.11l0.58,0.38l1.47,-0.73Z`,name:`Tunisia`},TL:{path:`M734.55,307.93l-0.1,-0.97l4.5,-0.86l-2.82,1.28l-1.59,0.55Z`,name:`Timor-Leste`},TM:{path:`M553.03,173.76l-0.04,0.34l-0.09,-0.22l0.13,-0.12ZM555.87,172.66l0.45,-0.1l1.48,0.74l2.06,2.43l4.07,-0.18l0.38,-0.51l-0.32,-1.19l1.92,-0.94l1.91,-1.59l2.94,1.39l0.43,2.47l1.19,0.67l2.58,-0.13l0.62,0.4l1.32,3.12l4.54,3.44l2.67,1.45l3.06,1.14l-0.04,1.05l-1.33,-0.75l-0.59,0.19l-0.32,0.84l-2.2,0.81l-0.46,2.13l-1.21,0.74l-1.91,0.42l-0.73,1.33l-1.56,0.31l-2.22,-0.94l-0.2,-2.17l-0.38,-0.36l-1.73,-0.09l-2.76,-2.46l-2.14,-0.4l-2.84,-1.48l-1.78,-0.27l-1.24,0.53l-1.57,-0.08l-2.0,1.69l-1.7,0.43l-0.36,-1.58l0.36,-2.98l-0.22,-0.4l-1.65,-0.84l0.54,-1.69l-0.34,-0.52l-1.22,-0.13l0.36,-1.64l2.22,0.59l2.2,-0.95l0.12,-0.65l-1.77,-1.74l-0.66,-1.57Z`,name:`Turkmenistan`},TJ:{path:`M597.75,178.82l-2.54,-0.44l-0.47,0.34l-0.24,1.7l0.43,0.45l2.64,-0.22l3.18,0.95l4.39,-0.41l0.56,2.37l0.52,0.29l0.67,-0.24l1.11,0.49l0.21,2.13l-3.76,-0.21l-1.8,1.32l-1.76,0.74l-0.61,-0.58l0.21,-2.23l-0.64,-0.49l-0.07,-0.93l-1.36,-0.66l-0.45,0.07l-1.08,1.01l-0.55,1.48l-1.31,-0.05l-0.95,1.16l-0.9,-0.35l-1.86,0.74l1.26,-2.83l-0.54,-2.17l-1.67,-0.82l0.33,-0.66l2.18,-0.04l1.19,-1.63l0.76,-1.79l2.43,-0.5l-0.26,1.0l0.73,1.05Z`,name:`Tajikistan`},LS:{path:`M491.06,363.48l-0.49,0.15l-1.49,-1.67l1.1,-1.43l2.19,-1.44l1.51,1.27l-0.98,1.82l-1.23,0.38l-0.62,0.93Z`,name:`Lesotho`},TH:{path:`M670.27,255.86l-1.41,3.87l0.15,2.0l0.38,0.36l1.38,0.07l0.9,2.04l0.55,2.34l1.4,1.44l1.61,0.38l0.96,0.97l-0.5,0.64l-1.1,0.2l-0.34,-1.18l-2.04,-1.1l-0.63,0.23l-0.63,-0.62l-0.48,-1.3l-2.56,-2.63l-0.73,0.41l0.95,-3.89l2.16,-4.22ZM670.67,254.77l-0.92,-2.18l-0.26,-2.61l-2.14,-3.06l0.71,-0.49l0.89,-2.59l-3.61,-5.45l0.87,-0.51l1.05,-2.58l1.74,-0.18l2.6,-1.59l0.76,0.56l0.13,1.39l0.37,0.36l1.23,0.09l-0.51,2.28l0.05,2.42l0.6,0.34l2.43,-1.42l0.77,0.39l1.47,-0.07l0.71,-0.88l1.48,0.14l1.71,1.88l0.25,2.65l1.92,2.11l-0.1,1.89l-0.61,0.86l-2.22,-0.33l-3.5,0.64l-1.6,2.12l0.36,2.58l-1.51,-0.79l-1.84,-0.01l0.28,-1.52l-0.4,-0.47l-2.21,0.01l-0.4,0.37l-0.19,2.74l-0.34,0.93Z`,name:`Thailand`},TF:{path:`M596.68,420.38l-3.2,0.18l-0.05,-1.26l0.39,-1.41l1.3,0.78l2.08,0.35l-0.52,1.36Z`,name:`Fr. S. Antarctic Lands`},TG:{path:`M422.7,257.63l-0.09,1.23l1.53,1.52l0.08,1.09l0.5,0.65l-0.11,5.62l0.49,1.47l-1.31,0.35l-1.02,-2.13l-0.18,-1.12l0.53,-2.19l-0.63,-1.16l-0.22,-3.68l-1.01,-1.4l0.07,-0.28l1.37,0.03Z`,name:`Togo`},TD:{path:`M480.25,235.49l0.12,9.57l-2.1,0.05l-1.14,1.89l-0.69,1.63l0.34,0.73l-0.66,0.91l0.24,0.89l-0.86,1.95l0.45,0.5l0.6,-0.1l0.34,0.64l0.03,1.38l0.9,1.04l-1.45,0.43l-1.27,1.03l-1.83,2.76l-2.16,1.07l-2.31,-0.15l-0.86,0.25l-0.26,0.49l0.17,0.61l-2.11,1.68l-2.85,0.87l-1.09,-0.57l-0.73,0.66l-1.12,0.1l-1.1,-3.12l-1.25,-0.64l-1.22,-1.22l0.29,-0.64l3.01,0.04l0.35,-0.6l-1.3,-2.2l-0.08,-3.31l-0.97,-1.66l0.22,-1.04l-0.38,-0.48l-1.22,-0.04l0.0,-1.25l-0.98,-1.07l0.96,-3.01l3.25,-2.65l0.13,-3.33l0.95,-5.18l0.52,-1.07l-0.1,-0.48l-0.91,-0.78l-0.2,-0.96l-0.8,-0.58l-0.55,-3.65l2.1,-1.2l19.57,9.83Z`,name:`Chad`},LY:{path:`M483.48,203.15l-0.75,1.1l0.29,1.39l-0.6,1.83l0.73,2.14l0.0,24.12l-2.48,0.01l-0.41,0.85l-19.41,-9.76l-4.41,2.28l-1.37,-1.33l-3.82,-1.1l-1.14,-1.65l-1.98,-1.23l-1.22,0.32l-0.66,-1.11l-0.17,-1.26l-1.28,-1.69l0.87,-1.19l-0.07,-4.34l0.43,-2.27l-0.86,-3.45l1.13,-0.76l0.22,-1.16l-0.2,-1.03l3.48,-2.61l0.29,-1.94l2.45,0.8l1.18,-0.21l1.98,0.44l3.15,1.18l1.37,2.54l5.72,1.67l2.64,1.35l1.61,-0.72l1.29,-1.34l-0.44,-2.34l0.66,-1.13l1.67,-1.21l1.57,-0.35l3.14,0.53l1.08,1.28l3.99,0.78l0.36,0.54Z`,name:`Libya`},AE:{path:`M550.76,223.97l1.88,-0.4l3.84,0.02l4.78,-4.75l0.19,0.36l0.26,1.58l-0.81,0.01l-0.39,0.35l-0.08,2.04l-0.81,0.63l-0.01,0.96l-0.66,0.99l-0.39,1.41l-7.08,-1.25l-0.7,-1.96Z`,name:`United Arab Emirates`},VE:{path:`M240.68,256.69l0.53,0.75l-0.02,1.06l-1.07,1.78l0.95,2.0l0.42,0.22l1.4,-0.44l0.56,-1.83l-0.77,-1.17l-0.1,-1.47l2.82,-0.93l0.26,-0.49l-0.28,-0.96l0.3,-0.28l0.66,1.31l1.96,0.26l1.4,1.22l0.08,0.68l0.39,0.35l4.81,-0.22l1.49,1.11l1.92,0.31l1.67,-0.84l0.22,-0.6l3.44,-0.14l-0.17,0.55l0.86,1.19l2.19,0.35l1.67,1.1l0.37,1.86l0.41,0.32l1.55,0.17l-1.66,1.35l-0.22,0.92l0.65,0.97l-1.67,0.54l-0.3,0.4l0.04,0.99l-0.56,0.57l-0.01,0.55l1.85,2.27l-0.66,0.69l-4.47,1.29l-0.72,0.54l-3.69,-0.9l-0.71,0.27l-0.02,0.7l0.91,0.53l-0.08,1.54l0.35,1.58l0.35,0.31l1.66,0.17l-1.3,0.52l-0.48,1.13l-2.68,0.91l-0.6,0.77l-1.57,0.13l-1.17,-1.13l-0.8,-2.52l-1.25,-1.26l1.02,-1.23l-1.29,-2.95l0.18,-1.62l1.0,-2.21l-0.2,-0.49l-1.14,-0.46l-4.02,0.36l-1.82,-2.1l-1.57,-0.33l-2.99,0.22l-1.06,-0.97l0.25,-1.23l-0.2,-1.01l-0.59,-0.69l-0.29,-1.06l-1.08,-0.39l0.78,-2.79l1.9,-2.11Z`,name:`Venezuela`},AF:{path:`M600.7,188.88l-1.57,1.3l-0.1,0.48l0.8,2.31l-1.09,1.04l-0.03,1.27l-0.48,0.71l-2.16,-0.08l-0.37,0.59l0.78,1.48l-1.38,0.69l-1.06,1.69l0.06,1.7l-0.65,0.52l-0.91,-0.21l-1.91,0.36l-0.48,0.77l-1.88,0.13l-1.4,1.56l-0.18,2.32l-2.91,1.02l-1.65,-0.23l-0.71,0.55l-1.41,-0.3l-2.41,0.39l-3.52,-1.17l1.96,-2.35l-0.21,-1.78l-0.3,-0.34l-1.63,-0.4l-0.19,-1.58l-0.75,-2.03l0.95,-1.36l-0.19,-0.6l-0.73,-0.28l1.47,-4.8l2.14,0.9l2.12,-0.36l0.74,-1.34l1.77,-0.39l1.54,-0.92l0.63,-2.31l1.87,-0.5l0.49,-0.81l0.94,0.56l2.13,0.11l2.55,0.92l1.95,-0.83l0.65,0.43l0.56,-0.13l0.69,-1.12l1.57,-0.08l0.72,-1.66l0.79,-0.74l0.8,0.39l-0.17,0.56l0.71,0.58l-0.08,2.39l1.11,0.95ZM601.37,188.71l1.73,-0.71l1.43,-1.18l4.03,0.35l-2.23,0.74l-4.95,0.8Z`,name:`Afghanistan`},IQ:{path:`M530.82,187.47l0.79,0.66l1.26,-0.28l1.46,3.08l1.63,0.94l0.14,1.23l-1.22,1.05l-0.53,2.52l1.73,2.67l3.12,1.62l1.15,1.88l-0.38,1.85l0.39,0.48l0.41,-0.0l0.02,1.07l0.76,0.94l-2.47,-0.1l-1.71,2.44l-4.31,-0.2l-7.02,-5.48l-3.73,-1.94l-2.88,-0.73l-0.85,-2.87l5.45,-3.02l0.95,-3.43l-0.19,-1.96l1.27,-0.7l1.22,-1.7l0.87,-0.36l2.69,0.34Z`,name:`Iraq`},IS:{path:`M384.14,88.06l-0.37,2.61l2.54,2.51l-2.9,2.75l-9.19,3.4l-9.25,-1.66l1.7,-1.22l-0.1,-0.7l-4.05,-1.47l2.96,-0.53l0.33,-0.43l-0.11,-1.2l-0.33,-0.36l-4.67,-0.85l1.28,-2.04l3.45,-0.56l3.77,2.72l0.44,0.02l3.64,-2.16l3.3,1.08l3.98,-2.16l3.58,0.26Z`,name:`Iceland`},IR:{path:`M533.43,187.16l-1.27,-2.15l0.42,-0.98l-0.71,-3.04l1.03,-0.5l0.33,0.83l1.26,1.35l2.05,0.51l1.11,-0.16l2.89,-2.11l0.62,-0.14l0.39,0.46l-0.72,1.2l0.06,0.49l1.56,1.53l0.65,0.04l0.67,1.81l2.56,0.83l1.87,1.48l3.69,0.49l3.91,-0.76l0.47,-0.73l2.17,-0.6l1.66,-1.54l1.51,0.08l1.18,-0.53l1.59,0.24l2.83,1.48l1.88,0.3l2.77,2.47l1.77,0.18l0.18,1.99l-1.68,5.49l0.24,0.5l0.61,0.23l-0.82,1.48l0.8,2.18l0.19,1.71l0.3,0.34l1.63,0.4l0.15,1.32l-2.15,2.35l-0.01,0.53l2.21,3.03l2.34,1.24l0.06,2.14l1.24,0.72l0.11,0.69l-3.31,1.27l-1.08,3.03l-9.68,-1.68l-0.99,-3.05l-1.43,-0.73l-2.17,0.46l-2.47,1.26l-2.83,-0.82l-2.46,-2.02l-2.41,-0.8l-3.42,-6.06l-0.48,-0.2l-1.18,0.39l-1.44,-0.82l-0.5,0.08l-0.65,0.74l-0.97,-1.01l-0.02,-1.31l-0.71,-0.39l0.26,-1.81l-1.29,-2.11l-3.13,-1.63l-1.58,-2.43l0.5,-1.9l1.31,-1.26l-0.19,-1.66l-1.74,-1.1l-1.57,-3.3Z`,name:`Iran`},AM:{path:`M536.99,182.33l-0.28,0.03l-1.23,-2.13l-0.93,0.01l-0.62,-0.66l-0.69,-0.07l-0.96,-0.81l-1.56,-0.62l0.19,-1.12l-0.26,-0.79l2.72,-0.36l1.09,1.01l-0.17,0.92l1.02,0.78l-0.47,0.62l0.08,0.56l2.04,1.23l0.04,1.4Z`,name:`Armenia`},IT:{path:`M451.59,158.63l3.48,0.94l-0.21,1.17l0.3,0.83l-1.49,-0.24l-2.04,1.1l-0.21,0.39l0.13,1.45l-0.25,1.12l0.82,1.57l2.39,1.63l1.31,2.54l2.79,2.43l2.05,0.08l0.21,0.23l-0.39,0.33l0.09,0.67l4.05,1.97l2.17,1.76l-0.16,0.36l-1.17,-1.08l-2.18,-0.49l-0.44,0.2l-1.05,1.91l0.14,0.54l1.57,0.95l-0.19,0.98l-1.06,0.33l-1.25,2.34l-0.37,0.08l0.0,-0.33l1.0,-2.45l-1.73,-3.17l-1.12,-0.51l-0.88,-1.33l-1.51,-0.51l-1.27,-1.25l-1.75,-0.18l-4.12,-3.21l-1.62,-1.65l-1.03,-3.19l-3.53,-1.36l-1.3,0.51l-1.69,1.41l0.16,-0.72l-0.28,-0.47l-1.14,-0.33l-0.53,-1.96l0.72,-0.78l0.04,-0.48l-0.65,-1.17l0.8,0.39l1.4,-0.23l1.11,-0.84l0.52,0.35l1.19,-0.1l0.75,-1.2l1.53,0.33l1.36,-0.56l0.35,-1.14l1.08,0.32l0.68,-0.64l1.98,-0.44l0.42,0.82ZM459.19,184.75l-0.65,1.65l0.32,1.05l-0.31,0.89l-1.5,-0.85l-4.5,-1.67l0.19,-0.82l2.67,0.23l3.78,-0.48ZM443.93,176.05l1.18,1.66l-0.3,3.32l-1.06,-0.01l-0.77,0.73l-0.53,-0.44l-0.1,-3.37l-0.39,-1.22l1.04,0.01l0.92,-0.68Z`,name:`Italy`},VN:{path:`M690.56,230.25l-2.7,1.82l-2.09,2.46l-0.63,1.95l4.31,6.45l2.32,1.65l1.43,1.94l1.11,4.59l-0.32,4.24l-1.93,1.54l-2.84,1.61l-2.11,2.15l-2.73,2.06l-0.59,-1.05l0.63,-1.53l-0.13,-0.47l-1.34,-1.04l1.51,-0.71l2.55,-0.18l0.3,-0.63l-0.82,-1.14l4.0,-2.07l0.31,-3.05l-0.57,-1.77l0.42,-2.66l-0.73,-1.97l-1.86,-1.76l-3.63,-5.29l-2.72,-1.46l0.36,-0.47l1.5,-0.64l0.21,-0.52l-0.97,-2.27l-0.37,-0.24l-2.83,-0.02l-2.24,-3.9l0.83,-0.4l4.39,-0.29l2.06,-1.31l1.15,0.89l1.88,0.4l-0.17,1.51l1.35,1.16l1.67,0.45Z`,name:`Vietnam`},AR:{path:`M249.29,428.93l-2.33,-0.52l-5.83,-0.43l-0.89,-1.66l0.05,-2.37l-0.45,-0.4l-1.43,0.18l-0.67,-0.91l-0.2,-3.13l1.88,-1.47l0.79,-2.04l-0.25,-1.7l1.3,-2.68l0.91,-4.15l-0.22,-1.69l0.85,-0.45l0.2,-0.44l-0.27,-1.16l-0.98,-0.68l0.59,-0.92l-0.05,-0.5l-1.04,-1.07l-0.52,-3.1l0.97,-0.86l-0.42,-3.58l1.2,-5.43l1.38,-0.98l0.16,-0.43l-0.75,-2.79l-0.01,-2.43l1.78,-1.75l0.06,-2.57l1.43,-2.85l0.01,-2.58l-0.69,-0.74l-1.09,-4.52l1.47,-2.7l-0.18,-2.79l0.85,-2.35l1.59,-2.46l1.73,-1.64l0.05,-0.52l-0.6,-0.84l0.44,-0.85l-0.07,-4.19l2.7,-1.44l0.86,-2.75l-0.21,-0.71l1.76,-2.01l2.9,0.57l1.38,1.78l0.68,-0.08l0.87,-1.87l2.39,0.09l4.95,4.77l2.17,0.49l3.0,1.92l2.47,1.0l0.25,0.82l-2.37,3.93l0.23,0.59l5.39,1.16l2.12,-0.44l2.45,-2.16l0.5,-2.38l0.76,-0.31l0.98,1.2l-0.04,1.8l-3.67,2.51l-2.85,2.66l-3.43,3.88l-1.3,5.07l0.01,2.72l-0.54,0.73l-0.36,3.28l3.14,2.64l-0.16,2.11l1.4,1.11l-0.1,1.09l-2.29,3.52l-3.55,1.49l-4.92,0.6l-2.71,-0.29l-0.43,0.51l0.5,1.65l-0.49,2.1l0.38,1.42l-1.19,0.83l-2.36,0.38l-2.3,-1.04l-1.38,0.83l0.41,3.64l1.69,0.91l1.4,-0.71l0.36,0.76l-2.04,0.86l-2.01,1.89l-0.97,4.63l-2.34,0.1l-2.09,1.78l-0.61,2.75l2.46,2.31l2.17,0.63l-0.7,2.32l-2.83,1.73l-1.73,3.86l-2.17,1.22l-1.16,1.67l0.75,3.76l1.04,1.28ZM256.71,438.88l-2.0,0.15l-1.4,-1.22l-3.82,-0.1l-0.0,-5.83l1.6,3.05l3.26,2.07l3.08,0.78l-0.71,1.1Z`,name:`Argentina`},AU:{path:`M705.8,353.26l0.26,0.04l0.17,-0.47l-0.48,-1.42l0.92,1.11l0.45,0.15l0.27,-0.39l-0.1,-1.56l-1.98,-3.63l1.09,-3.31l-0.24,-1.57l0.34,-0.62l0.38,1.06l0.43,-0.19l0.99,-1.7l1.91,-0.83l1.29,-1.15l1.81,-0.91l0.96,-0.17l0.92,0.26l1.92,-0.95l1.47,-0.28l1.03,-0.8l1.43,0.04l2.78,-0.84l1.36,-1.15l0.71,-1.45l1.41,-1.26l0.3,-2.58l1.27,-1.59l0.78,1.65l0.54,0.19l1.07,-0.51l0.15,-0.6l-0.73,-1.0l0.45,-0.71l0.78,0.39l0.58,-0.3l0.28,-1.82l1.87,-2.14l1.12,-0.39l0.28,-0.58l0.62,0.17l0.53,-0.73l1.87,-0.57l1.65,1.05l1.35,1.48l3.39,0.38l0.43,-0.54l-0.46,-1.23l1.05,-1.79l1.04,-0.61l0.14,-0.55l-0.25,-0.41l0.88,-1.17l1.31,-0.77l1.3,0.27l2.1,-0.48l0.31,-0.4l-0.05,-1.3l-0.92,-0.77l1.48,0.56l1.41,1.07l2.11,0.65l0.81,-0.2l1.4,0.7l1.69,-0.66l0.8,0.19l0.64,-0.33l0.71,0.77l-1.33,1.94l-0.71,0.07l-0.35,0.51l0.24,0.86l-1.52,2.35l0.12,1.05l2.15,1.65l1.97,0.85l3.04,2.36l1.97,0.65l0.55,0.88l2.72,0.85l1.84,-1.1l2.07,-5.97l-0.42,-3.59l0.3,-1.73l0.47,-0.87l-0.31,-0.68l1.09,-3.28l0.46,-0.47l0.4,0.71l0.16,1.51l0.65,0.52l0.16,1.04l0.85,1.21l0.12,2.38l0.9,2.0l0.57,0.18l1.3,-0.78l1.69,1.7l-0.2,1.08l0.53,2.2l0.39,1.3l0.68,0.48l0.6,1.95l-0.19,1.48l0.81,1.76l6.01,3.69l-0.11,0.76l1.38,1.58l0.95,2.77l0.58,0.22l0.72,-0.41l0.8,0.9l0.61,0.01l0.46,2.41l4.81,4.71l0.66,2.02l-0.07,3.31l1.14,2.2l-0.13,2.24l-1.1,3.68l0.03,1.64l-0.47,1.89l-1.05,2.4l-1.9,1.47l-1.72,3.51l-2.38,6.09l-0.24,2.82l-1.14,0.8l-2.85,0.15l-2.31,1.19l-2.51,2.25l-3.09,-1.57l0.3,-1.15l-0.54,-0.47l-1.5,0.63l-2.01,1.94l-7.12,-2.18l-1.48,-1.63l-1.14,-3.74l-1.45,-1.26l-1.81,-0.26l0.56,-1.18l-0.61,-2.1l-0.72,-0.1l-1.14,1.82l-0.9,0.21l0.63,-0.82l0.36,-1.55l0.92,-1.31l-0.13,-2.34l-0.7,-0.22l-2.0,2.34l-1.51,0.93l-0.94,2.01l-1.35,-0.81l-0.02,-1.52l-1.57,-2.04l-1.09,-0.88l0.24,-0.33l-0.14,-0.59l-3.21,-1.69l-1.83,-0.12l-2.54,-1.35l-4.58,0.28l-6.02,1.9l-2.53,-0.13l-2.62,1.41l-2.13,0.63l-1.49,2.6l-3.49,0.31l-2.29,-0.5l-3.48,0.43l-1.6,1.47l-0.81,-0.04l-2.37,1.63l-3.26,-0.1l-3.72,-2.21l0.04,-1.05l1.19,-0.46l0.49,-0.89l0.21,-2.97l-0.28,-1.64l-1.34,-2.86l-0.38,-1.47l0.05,-1.72l-0.95,-1.7l-0.18,-0.97l-1.01,-0.99l-0.29,-1.98l-1.13,-1.75ZM784.92,393.44l2.65,1.02l3.23,-0.96l1.09,0.14l0.15,3.06l-0.85,1.13l-0.17,1.63l-0.87,-0.24l-1.57,1.91l-1.68,-0.18l-1.4,-2.36l-0.37,-2.04l-1.39,-2.51l0.04,-0.8l1.15,0.18Z`,name:`Australia`},IL:{path:`M507.76,203.05l0.4,-0.78l0.18,0.4l-0.33,1.03l0.52,0.44l0.68,-0.22l-0.86,3.6l-1.16,-3.32l0.59,-0.74l-0.03,-0.41ZM508.73,200.34l0.37,-1.02l0.64,0.0l0.52,-0.51l-0.49,1.53l-0.56,-0.24l-0.48,0.23Z`,name:`Israel`},IN:{path:`M623.34,207.03l-1.24,1.04l-0.97,2.55l0.22,0.51l8.04,3.87l3.42,0.37l1.57,1.38l4.92,0.88l2.18,-0.04l0.38,-0.3l0.29,-1.24l-0.32,-1.64l0.14,-0.87l0.82,-0.31l0.45,2.48l2.28,1.02l1.77,-0.38l4.14,0.1l0.38,-0.36l0.18,-1.66l-0.5,-0.65l1.37,-0.29l2.25,-1.99l2.7,-1.62l1.93,0.62l1.8,-0.98l0.79,1.14l-0.68,0.91l0.26,0.63l2.42,0.36l0.09,0.47l-0.83,0.75l0.13,1.07l-1.52,-0.29l-3.24,1.86l-0.13,1.78l-1.32,2.14l-0.18,1.39l-0.93,1.82l-1.64,-0.5l-0.52,0.37l-0.09,2.63l-0.56,1.11l0.19,0.81l-0.53,0.27l-1.18,-3.73l-1.08,-0.27l-0.38,0.31l-0.24,1.0l-0.66,-0.66l0.54,-1.06l1.22,-0.34l1.15,-2.25l-0.24,-0.56l-1.57,-0.47l-4.34,-0.28l-0.18,-1.56l-0.35,-0.35l-1.11,-0.12l-1.91,-1.12l-0.56,0.17l-0.88,1.82l0.11,0.49l1.36,1.07l-1.09,0.69l-0.69,1.11l0.18,0.56l1.24,0.57l-0.32,1.54l0.85,1.94l0.36,2.01l-0.22,0.59l-4.58,0.52l-0.33,0.42l0.13,1.8l-1.17,1.36l-3.65,1.81l-2.79,3.03l-4.32,3.28l-0.18,1.27l-4.65,1.79l-0.77,2.16l0.64,5.3l-1.06,2.49l-0.01,3.94l-1.24,0.28l-1.14,1.93l0.39,0.84l-1.68,0.53l-1.04,1.83l-0.65,0.47l-2.06,-2.05l-2.1,-6.02l-2.2,-3.64l-1.05,-4.75l-2.29,-3.57l-1.76,-8.2l0.01,-3.11l-0.49,-2.53l-0.55,-0.29l-3.53,1.52l-1.53,-0.27l-2.86,-2.77l0.85,-0.67l0.08,-0.55l-0.74,-1.03l-2.67,-2.06l1.24,-1.32l5.34,0.01l0.39,-0.49l-0.5,-2.29l-1.42,-1.46l-0.27,-1.93l-1.43,-1.2l2.31,-2.37l3.05,0.06l2.62,-2.85l1.6,-2.81l2.4,-2.73l0.07,-2.04l1.97,-1.48l-0.02,-0.65l-1.93,-1.31l-0.82,-1.78l-0.8,-2.21l0.9,-0.89l3.59,0.65l2.92,-0.42l2.33,-2.19l2.31,2.85l-0.24,2.13l0.99,1.59l-0.05,0.82l-1.34,-0.28l-0.47,0.48l0.7,3.06l2.62,1.99l2.99,1.65Z`,name:`India`},TZ:{path:`M495.56,296.42l2.8,-3.12l-0.02,-0.81l-0.64,-1.3l0.68,-0.52l0.14,-1.47l-0.76,-1.25l0.31,-0.11l2.26,0.03l-0.51,2.76l0.76,1.3l0.5,0.12l1.05,-0.53l1.19,-0.12l0.61,0.24l1.43,-0.62l0.1,-0.67l-0.71,-0.62l1.57,-1.7l8.65,4.86l0.32,1.53l3.34,2.33l-1.05,2.8l0.13,1.61l1.63,1.12l-0.6,1.76l-0.01,2.33l1.89,4.03l0.57,0.43l-1.46,1.08l-2.61,0.94l-1.43,-0.04l-1.06,0.77l-2.29,0.36l-2.87,-0.68l-0.83,0.07l-0.63,-0.75l-0.31,-2.78l-1.32,-1.35l-3.25,-0.77l-3.96,-1.58l-1.18,-2.41l-0.32,-1.75l-1.76,-1.49l0.42,-1.05l-0.44,-0.89l0.08,-0.96l-0.46,-0.58l0.06,-0.56Z`,name:`Tanzania`},AZ:{path:`M539.29,175.73l1.33,0.32l1.94,-1.8l2.3,3.34l1.43,0.43l-1.26,0.15l-0.35,0.32l-0.8,3.14l-0.99,0.96l0.05,1.11l-1.26,-1.13l0.7,-1.18l-0.04,-0.47l-0.74,-0.86l-1.48,0.15l-2.34,1.71l-0.03,-1.27l-2.03,-1.35l0.47,-0.62l-0.08,-0.56l-1.03,-0.79l0.29,-0.43l-0.14,-0.58l-1.13,-0.86l1.89,0.68l1.69,0.06l0.37,-0.87l-0.81,-1.37l0.42,0.06l1.63,1.72ZM533.78,180.57l0.61,0.46l0.69,-0.0l0.59,1.15l-0.68,-0.15l-1.21,-1.45Z`,name:`Azerbaijan`},IE:{path:`M405.08,135.42l0.35,2.06l-1.75,2.78l-4.22,1.88l-2.84,-0.4l1.73,-3.0l-1.18,-3.53l4.6,-3.74l0.32,1.15l-0.49,1.74l0.4,0.51l1.47,-0.04l1.6,0.6Z`,name:`Ireland`},ID:{path:`M756.47,287.89l0.69,4.01l2.79,1.78l0.51,-0.1l2.04,-2.59l2.71,-1.43l2.05,-0.0l3.9,1.73l2.46,0.45l0.08,15.12l-1.75,-1.54l-2.54,-0.51l-0.88,0.71l-2.32,0.06l0.69,-1.33l1.45,-0.64l0.23,-0.46l-0.65,-2.74l-1.24,-2.21l-5.04,-2.29l-2.09,-0.23l-3.68,-2.27l-0.55,0.13l-0.65,1.07l-0.52,0.12l-0.55,-1.89l-1.21,-0.78l1.84,-0.62l1.72,0.05l0.39,-0.52l-0.21,-0.66l-0.38,-0.28l-3.45,-0.0l-1.13,-1.48l-2.1,-0.43l-0.52,-0.6l2.69,-0.48l1.28,-0.78l3.66,0.94l0.3,0.71ZM757.91,300.34l-0.62,0.82l-0.1,-0.8l0.59,-1.12l0.13,1.1ZM747.38,292.98l0.34,0.72l-1.22,-0.57l-4.68,-0.1l0.27,-0.62l2.78,-0.09l2.52,0.67ZM741.05,285.25l-0.67,-2.88l0.64,-2.01l0.41,0.86l1.21,0.18l0.16,0.7l-0.1,1.68l-0.84,-0.16l-0.46,0.3l-0.34,1.34ZM739.05,293.5l-0.5,0.44l-1.34,-0.36l-0.17,-0.37l1.73,-0.08l0.27,0.36ZM721.45,284.51l-0.19,1.97l2.24,2.23l0.54,0.02l1.27,-1.07l2.75,-0.5l-0.9,1.21l-2.11,0.93l-0.16,0.6l2.22,3.01l-0.3,1.07l1.36,1.74l-2.26,0.85l-0.28,-0.31l0.12,-1.19l-1.64,-1.34l0.17,-2.23l-0.56,-0.39l-1.67,0.76l-0.23,0.39l0.3,6.17l-1.1,0.25l-0.69,-0.47l0.64,-2.21l-0.39,-2.42l-0.39,-0.34l-0.8,-0.01l-0.58,-1.29l0.98,-1.6l0.35,-1.96l1.32,-3.87ZM728.59,296.27l0.38,0.49l-0.02,1.28l-0.88,0.49l-0.53,-0.47l1.04,-1.79ZM729.04,286.98l0.27,-0.05l-0.02,0.13l-0.24,-0.08ZM721.68,284.05l0.16,-0.32l1.89,-1.65l1.83,0.68l3.16,0.35l2.94,-0.1l2.39,-1.66l-1.73,2.13l-1.66,0.43l-2.41,-0.48l-4.17,0.13l-2.39,0.51ZM730.55,310.47l1.11,-1.93l2.03,-0.82l0.08,0.62l-1.45,1.67l-1.77,0.46ZM728.12,305.88l-0.1,0.38l-3.46,0.66l-2.91,-0.27l-0.0,-0.25l1.54,-0.41l1.66,0.73l1.67,-0.19l1.61,-0.65ZM722.9,310.24l-0.64,0.03l-2.26,-1.2l1.11,-0.24l1.78,1.41ZM716.26,305.77l0.88,0.51l1.28,-0.17l0.2,0.35l-4.65,0.73l0.39,-0.67l1.15,-0.02l0.75,-0.73ZM711.66,293.84l-0.38,-0.16l-2.54,1.01l-1.12,-1.44l-1.69,-0.13l-1.16,-0.75l-3.04,0.77l-1.1,-1.15l-3.31,-0.11l-0.35,-3.05l-1.35,-0.95l-1.11,-1.98l-0.33,-2.06l0.27,-2.14l0.9,-1.01l0.37,1.15l2.09,1.49l1.53,-0.48l1.82,0.08l1.38,-1.19l1.0,-0.18l2.28,0.67l2.26,-0.53l1.52,-3.64l1.01,-0.99l0.78,-2.57l4.1,0.3l-1.11,1.77l0.02,0.46l1.7,2.2l-0.23,1.39l2.07,1.71l-2.33,0.42l-0.88,1.9l0.1,2.05l-2.4,1.9l-0.06,2.45l-0.7,2.79ZM692.58,302.03l0.35,0.26l4.8,0.25l0.78,-0.97l4.17,1.09l1.13,1.68l3.69,0.45l2.13,1.04l-1.8,0.6l-2.77,-0.99l-4.8,-0.12l-5.24,-1.41l-1.84,-0.25l-1.11,0.3l-4.26,-0.97l-0.7,-1.14l-1.59,-0.13l1.18,-1.65l2.74,0.13l2.87,1.13l0.26,0.68ZM685.53,299.17l-2.22,0.04l-2.06,-2.03l-3.15,-2.01l-2.93,-3.51l-3.11,-5.33l-2.2,-2.12l-1.64,-4.06l-2.32,-1.69l-1.27,-2.07l-1.96,-1.5l-2.51,-2.65l-0.11,-0.66l4.81,0.53l2.15,2.38l3.31,2.74l2.35,2.66l2.7,0.17l1.95,1.59l1.54,2.17l1.59,0.95l-0.84,1.71l0.15,0.52l1.44,0.87l0.79,0.1l0.4,1.58l0.87,1.4l1.96,0.39l1.0,1.31l-0.6,3.01l-0.09,3.5Z`,name:`Indonesia`},UA:{path:`M492.5,162.44l1.28,-2.49l1.82,0.19l0.66,-0.23l0.09,-0.71l-0.25,-0.75l-0.79,-0.72l-0.33,-1.21l-0.86,-0.62l-0.02,-1.19l-1.13,-0.86l-1.15,-0.19l-2.04,-1.0l-1.66,0.32l-0.66,0.47l-0.92,-0.0l-0.84,0.78l-2.48,0.7l-1.18,-0.71l-3.07,-0.36l-0.89,0.43l-0.24,-0.55l-1.11,-0.7l0.35,-0.93l1.26,-1.02l-0.54,-1.23l2.04,-2.43l1.4,-0.62l0.25,-1.19l-1.04,-2.39l0.83,-0.13l1.28,-0.84l1.8,-0.07l2.47,0.26l2.86,0.81l1.88,0.06l0.86,0.44l1.04,-0.41l0.77,0.66l2.18,-0.15l0.92,0.3l0.52,-0.34l0.15,-1.53l0.56,-0.54l2.85,-0.05l0.84,-0.72l3.04,-0.18l1.23,1.46l-0.48,0.77l0.21,1.03l0.36,0.32l1.8,0.14l0.93,2.08l3.18,1.15l1.94,-0.45l1.67,1.49l1.4,-0.03l3.35,0.96l0.02,0.54l-0.96,1.59l0.47,1.97l-0.26,0.7l-2.36,0.28l-1.29,0.89l-0.23,1.38l-1.83,0.27l-1.58,0.97l-2.41,0.21l-2.16,1.17l-0.21,0.38l0.34,2.26l1.23,0.75l2.13,-0.08l-0.14,0.31l-2.65,0.53l-3.23,1.69l-0.87,-0.39l0.42,-1.1l-0.25,-0.52l-2.21,-0.73l2.35,-1.06l0.12,-0.65l-0.93,-0.82l-3.62,-0.74l-0.13,-0.89l-0.46,-0.34l-2.61,0.59l-0.91,1.69l-1.71,2.04l-0.86,-0.4l-1.62,0.27Z`,name:`Ukraine`},QA:{path:`M549.33,221.64l-0.76,-0.23l-0.14,-1.64l0.84,-1.29l0.47,0.52l0.04,1.34l-0.45,1.3Z`,name:`Qatar`},MZ:{path:`M508.58,318.75l-0.34,-2.57l0.51,-2.05l3.55,0.63l2.5,-0.38l1.02,-0.76l1.49,0.01l2.74,-0.98l1.66,-1.2l0.5,9.24l0.41,1.23l-0.68,1.67l-0.93,1.71l-1.5,1.5l-5.16,2.28l-2.78,2.73l-1.02,0.53l-1.71,1.8l-0.98,0.57l-0.35,2.41l1.16,1.94l0.49,2.17l0.43,0.31l-0.06,2.06l-0.39,1.17l0.5,0.72l-0.25,0.73l-0.92,0.83l-5.12,2.39l-1.22,1.36l0.21,1.13l0.58,0.39l-0.11,0.72l-1.22,-0.01l-0.73,-2.97l0.42,-3.09l-1.78,-5.37l2.49,-2.81l0.69,-1.89l0.44,-0.43l0.28,-1.53l-0.39,-0.93l0.59,-3.65l-0.01,-3.26l-1.49,-1.16l-1.2,-0.22l-1.74,-1.17l-1.92,0.01l-0.29,-2.08l7.06,-1.96l1.28,1.09l0.89,-0.1l0.67,0.44l0.1,0.73l-0.51,1.29l0.19,1.81l1.75,1.83l0.65,-0.13l0.71,-1.65l1.17,-0.86l-0.26,-3.47l-1.05,-1.85l-1.04,-0.94Z`,name:`Mozambique`}},height:440.70631074413296,width:900,projection:{type:`mill`,centralMeridian:11.5}});var hw=new Set,gw=e=>{let t=e(window.theme),n=new window.jsVectorMap(t);return hw.add({map:n,config:e}),Wl(typeof t.selector==`string`?document.querySelector(t.selector):t.selector),n};document.addEventListener(`adminkit:themechange`,({detail:e})=>{for(let{map:t,config:n}of hw){let{regionStyle:r,markerStyle:i}=n(e);if(r?.initial)for(let{element:e}of Object.values(t.regions))e.setStyle(r.initial);if(i?.initial)for(let{element:e}of Object.values(t._markers))e.setStyle(i.initial)}}),window.adminkit={...window.adminkit,vectorMap:gw}})();
|
|
3
|
+
`):e}function ly(e,t){let{element:n,datasetIndex:r,index:i}=t,a=e.getDatasetMeta(r).controller,{label:o,value:s}=a.getLabelAndValue(i);return{chart:e,label:o,parsed:a.getParsed(i),raw:e.data.datasets[r].data[i],formattedValue:s,dataset:a.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function uy(e,t){let n=e.chart.ctx,{body:r,footer:i,title:a}=e,{boxWidth:o,boxHeight:s}=t,c=q(t.bodyFont),l=q(t.titleFont),u=q(t.footerFont),d=a.length,f=i.length,p=r.length,m=Jf(t.padding),h=m.height,g=0,_=r.reduce((e,t)=>e+t.before.length+t.lines.length+t.after.length,0);if(_+=e.beforeBody.length+e.afterBody.length,d&&(h+=d*l.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),_){let e=t.displayColors?Math.max(s,c.lineHeight):c.lineHeight;h+=p*e+(_-p)*c.lineHeight+(_-1)*t.bodySpacing}f&&(h+=t.footerMarginTop+f*u.lineHeight+(f-1)*t.footerSpacing);let v=0,y=function(e){g=Math.max(g,n.measureText(e).width+v)};return n.save(),n.font=l.string,V(e.title,y),n.font=c.string,V(e.beforeBody.concat(e.afterBody),y),v=t.displayColors?o+2+t.boxPadding:0,V(r,e=>{V(e.before,y),V(e.lines,y),V(e.after,y)}),v=0,n.font=u.string,V(e.footer,y),n.restore(),g+=m.width,{width:g,height:h}}function dy(e,t){let{y:n,height:r}=t;return n<r/2?`top`:n>e.height-r/2?`bottom`:`center`}function fy(e,t,n,r){let{x:i,width:a}=r,o=n.caretSize+n.caretPadding;if(e===`left`&&i+a+o>t.width||e===`right`&&i-a-o<0)return!0}function py(e,t,n,r){let{x:i,width:a}=n,{width:o,chartArea:{left:s,right:c}}=e,l=`center`;return r===`center`?l=i<=(s+c)/2?`left`:`right`:i<=a/2?l=`left`:i>=o-a/2&&(l=`right`),fy(l,e,t,n)&&(l=`center`),l}function my(e,t,n){let r=n.yAlign||t.yAlign||dy(e,n);return{xAlign:n.xAlign||t.xAlign||py(e,t,n,r),yAlign:r}}function hy(e,t){let{x:n,width:r}=e;return t===`right`?n-=r:t===`center`&&(n-=r/2),n}function gy(e,t,n){let{y:r,height:i}=e;return t===`top`?r+=n:r-=t===`bottom`?i+n:i/2,r}function _y(e,t,n,r){let{caretSize:i,caretPadding:a,cornerRadius:o}=e,{xAlign:s,yAlign:c}=n,l=i+a,{topLeft:u,topRight:d,bottomLeft:f,bottomRight:p}=qf(o),m=hy(t,s),h=gy(t,c,l);return c===`center`?s===`left`?m+=l:s===`right`&&(m-=l):s===`left`?m-=Math.max(u,f)+i:s===`right`&&(m+=Math.max(d,p)+i),{x:G(m,0,r.width-t.width),y:G(h,0,r.height-t.height)}}function vy(e,t,n){let r=Jf(n.padding);return t===`center`?e.x+e.width/2:t===`right`?e.x+e.width-r.right:e.x+r.left}function yy(e){return sy([],cy(e))}function by(e,t,n){return Zf(e,{tooltip:t,tooltipItems:n,type:`tooltip`})}function xy(e,t){let n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}var Sy={beforeTitle:Ju,title(e){if(e.length>0){let t=e[0],n=t.chart.data.labels,r=n?n.length:0;if(this&&this.options&&this.options.mode===`dataset`)return t.dataset.label||``;if(t.label)return t.label;if(r>0&&t.dataIndex<r)return n[t.dataIndex]}return``},afterTitle:Ju,beforeBody:Ju,beforeLabel:Ju,label(e){if(this&&this.options&&this.options.mode===`dataset`)return e.label+`: `+e.formattedValue||e.formattedValue;let t=e.dataset.label||``;t&&(t+=`: `);let n=e.formattedValue;return F(n)||(t+=n),t},labelColor(e){let t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:t.borderColor,backgroundColor:t.backgroundColor,borderWidth:t.borderWidth,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){let t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:t.pointStyle,rotation:t.rotation}},afterLabel:Ju,afterBody:Ju,beforeFooter:Ju,footer:Ju,afterFooter:Ju};function Cy(e,t,n,r){let i=e[t].call(n,r);return i===void 0?Sy[t].call(n,r):i}var wy=class extends ag{static positioners=oy;constructor(e){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=e.chart,this.options=e.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(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){let e=this._cachedAnimations;if(e)return e;let t=this.chart,n=this.options.setContext(this.getContext()),r=n.enabled&&t.options.animation&&n.animations,i=new _m(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||=by(this.chart.getContext(),this,this._tooltipItems)}getTitle(e,t){let{callbacks:n}=t,r=Cy(n,`beforeTitle`,this,e),i=Cy(n,`title`,this,e),a=Cy(n,`afterTitle`,this,e),o=[];return o=sy(o,cy(r)),o=sy(o,cy(i)),o=sy(o,cy(a)),o}getBeforeBody(e,t){return yy(Cy(t.callbacks,`beforeBody`,this,e))}getBody(e,t){let{callbacks:n}=t,r=[];return V(e,e=>{let t={before:[],lines:[],after:[]},i=xy(n,e);sy(t.before,cy(Cy(i,`beforeLabel`,this,e))),sy(t.lines,Cy(i,`label`,this,e)),sy(t.after,cy(Cy(i,`afterLabel`,this,e))),r.push(t)}),r}getAfterBody(e,t){return yy(Cy(t.callbacks,`afterBody`,this,e))}getFooter(e,t){let{callbacks:n}=t,r=Cy(n,`beforeFooter`,this,e),i=Cy(n,`footer`,this,e),a=Cy(n,`afterFooter`,this,e),o=[];return o=sy(o,cy(r)),o=sy(o,cy(i)),o=sy(o,cy(a)),o}_createItems(e){let t=this._active,n=this.chart.data,r=[],i=[],a=[],o=[],s,c;for(s=0,c=t.length;s<c;++s)o.push(ly(this.chart,t[s]));return e.filter&&(o=o.filter((t,r,i)=>e.filter(t,r,i,n))),e.itemSort&&(o=o.sort((t,r)=>e.itemSort(t,r,n))),V(o,t=>{let n=xy(e.callbacks,t);r.push(Cy(n,`labelColor`,this,t)),i.push(Cy(n,`labelPointStyle`,this,t)),a.push(Cy(n,`labelTextColor`,this,t))}),this.labelColors=r,this.labelPointStyles=i,this.labelTextColors=a,this.dataPoints=o,o}update(e,t){let n=this.options.setContext(this.getContext()),r=this._active,i,a=[];if(!r.length)this.opacity!==0&&(i={opacity:0});else{let e=oy[n.position].call(this,r,this._eventPosition);a=this._createItems(n),this.title=this.getTitle(a,n),this.beforeBody=this.getBeforeBody(a,n),this.body=this.getBody(a,n),this.afterBody=this.getAfterBody(a,n),this.footer=this.getFooter(a,n);let t=this._size=uy(this,n),o=Object.assign({},e,t),s=my(this.chart,n,o),c=_y(n,o,s,this.chart);this.xAlign=s.xAlign,this.yAlign=s.yAlign,i={opacity:1,x:c.x,y:c.y,width:t.width,height:t.height,caretX:e.x,caretY:e.y}}this._tooltipItems=a,this.$context=void 0,i&&this._resolveAnimations().update(this,i),e&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:t})}drawCaret(e,t,n,r){let i=this.getCaretPosition(e,n,r);t.lineTo(i.x1,i.y1),t.lineTo(i.x2,i.y2),t.lineTo(i.x3,i.y3)}getCaretPosition(e,t,n){let{xAlign:r,yAlign:i}=this,{caretSize:a,cornerRadius:o}=n,{topLeft:s,topRight:c,bottomLeft:l,bottomRight:u}=qf(o),{x:d,y:f}=e,{width:p,height:m}=t,h,g,_,v,y,b;return i===`center`?(y=f+m/2,r===`left`?(h=d,g=h-a,v=y+a,b=y-a):(h=d+p,g=h+a,v=y-a,b=y+a),_=h):(g=r===`left`?d+Math.max(s,l)+a:r===`right`?d+p-Math.max(c,u)-a:this.caretX,i===`top`?(v=f,y=v-a,h=g-a,_=g+a):(v=f+m,y=v+a,h=g+a,_=g-a),b=v),{x1:h,x2:g,x3:_,y1:v,y2:y,y3:b}}drawTitle(e,t,n){let r=this.title,i=r.length,a,o,s;if(i){let c=Yp(n.rtl,this.x,this.width);for(e.x=vy(this,n.titleAlign,n),t.textAlign=c.textAlign(n.titleAlign),t.textBaseline=`middle`,a=q(n.titleFont),o=n.titleSpacing,t.fillStyle=n.titleColor,t.font=a.string,s=0;s<i;++s)t.fillText(r[s],c.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+o,s+1===i&&(e.y+=n.titleMarginBottom-o)}}_drawColorBox(e,t,n,r,i){let a=this.labelColors[n],o=this.labelPointStyles[n],{boxHeight:s,boxWidth:c}=i,l=q(i.bodyFont),u=vy(this,`left`,i),d=r.x(u),f=s<l.lineHeight?(l.lineHeight-s)/2:0,p=t.y+f;if(i.usePointStyle){let t={radius:Math.min(c,s)/2,pointStyle:o.pointStyle,rotation:o.rotation,borderWidth:1},n=r.leftForLtr(d,c)+c/2,l=p+s/2;e.strokeStyle=i.multiKeyBackground,e.fillStyle=i.multiKeyBackground,kf(e,t,n,l),e.strokeStyle=a.borderColor,e.fillStyle=a.backgroundColor,kf(e,t,n,l)}else{e.lineWidth=L(a.borderWidth)?Math.max(...Object.values(a.borderWidth)):a.borderWidth||1,e.strokeStyle=a.borderColor,e.setLineDash(a.borderDash||[]),e.lineDashOffset=a.borderDashOffset||0;let t=r.leftForLtr(d,c),n=r.leftForLtr(r.xPlus(d,1),c-2),o=qf(a.borderRadius);Object.values(o).some(e=>e!==0)?(e.beginPath(),e.fillStyle=i.multiKeyBackground,Bf(e,{x:t,y:p,w:c,h:s,radius:o}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),Bf(e,{x:n,y:p+1,w:c-2,h:s-2,radius:o}),e.fill()):(e.fillStyle=i.multiKeyBackground,e.fillRect(t,p,c,s),e.strokeRect(t,p,c,s),e.fillStyle=a.backgroundColor,e.fillRect(n,p+1,c-2,s-2))}e.fillStyle=this.labelTextColors[n]}drawBody(e,t,n){let{body:r}=this,{bodySpacing:i,bodyAlign:a,displayColors:o,boxHeight:s,boxWidth:c,boxPadding:l}=n,u=q(n.bodyFont),d=u.lineHeight,f=0,p=Yp(n.rtl,this.x,this.width),m=function(n){t.fillText(n,p.x(e.x+f),e.y+d/2),e.y+=d+i},h=p.textAlign(a),g,_,v,y,b,x,S;for(t.textAlign=a,t.textBaseline=`middle`,t.font=u.string,e.x=vy(this,h,n),t.fillStyle=n.bodyColor,V(this.beforeBody,m),f=o&&h!==`right`?a===`center`?c/2+l:c+2+l:0,y=0,x=r.length;y<x;++y){for(g=r[y],_=this.labelTextColors[y],t.fillStyle=_,V(g.before,m),v=g.lines,o&&v.length&&(this._drawColorBox(t,e,y,p,n),d=Math.max(u.lineHeight,s)),b=0,S=v.length;b<S;++b)m(v[b]),d=u.lineHeight;V(g.after,m)}f=0,d=u.lineHeight,V(this.afterBody,m),e.y-=i}drawFooter(e,t,n){let r=this.footer,i=r.length,a,o;if(i){let s=Yp(n.rtl,this.x,this.width);for(e.x=vy(this,n.footerAlign,n),e.y+=n.footerMarginTop,t.textAlign=s.textAlign(n.footerAlign),t.textBaseline=`middle`,a=q(n.footerFont),t.fillStyle=n.footerColor,t.font=a.string,o=0;o<i;++o)t.fillText(r[o],s.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+n.footerSpacing}}drawBackground(e,t,n,r){let{xAlign:i,yAlign:a}=this,{x:o,y:s}=e,{width:c,height:l}=n,{topLeft:u,topRight:d,bottomLeft:f,bottomRight:p}=qf(r.cornerRadius);t.fillStyle=r.backgroundColor,t.strokeStyle=r.borderColor,t.lineWidth=r.borderWidth,t.beginPath(),t.moveTo(o+u,s),a===`top`&&this.drawCaret(e,t,n,r),t.lineTo(o+c-d,s),t.quadraticCurveTo(o+c,s,o+c,s+d),a===`center`&&i===`right`&&this.drawCaret(e,t,n,r),t.lineTo(o+c,s+l-p),t.quadraticCurveTo(o+c,s+l,o+c-p,s+l),a===`bottom`&&this.drawCaret(e,t,n,r),t.lineTo(o+f,s+l),t.quadraticCurveTo(o,s+l,o,s+l-f),a===`center`&&i===`left`&&this.drawCaret(e,t,n,r),t.lineTo(o,s+u),t.quadraticCurveTo(o,s,o+u,s),t.closePath(),t.fill(),r.borderWidth>0&&t.stroke()}_updateAnimationTarget(e){let t=this.chart,n=this.$animations,r=n&&n.x,i=n&&n.y;if(r||i){let n=oy[e.position].call(this,this._active,this._eventPosition);if(!n)return;let a=this._size=uy(this,e),o=Object.assign({},n,this._size),s=my(t,e,o),c=_y(e,o,s,t);(r._to!==c.x||i._to!==c.y)&&(this.xAlign=s.xAlign,this.yAlign=s.yAlign,this.width=a.width,this.height=a.height,this.caretX=n.x,this.caretY=n.y,this._resolveAnimations().update(this,c))}}_willRender(){return!!this.opacity}draw(e){let t=this.options.setContext(this.getContext()),n=this.opacity;if(!n)return;this._updateAnimationTarget(t);let r={width:this.width,height:this.height},i={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;let a=Jf(t.padding),o=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;t.enabled&&o&&(e.save(),e.globalAlpha=n,this.drawBackground(i,e,r,t),Xp(e,t.textDirection),i.y+=a.top,this.drawTitle(i,e,t),this.drawBody(i,e,t),this.drawFooter(i,e,t),Zp(e,t.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,t){let n=this._active,r=e.map(({datasetIndex:e,index:t})=>{let n=this.chart.getDatasetMeta(e);if(!n)throw Error(`Cannot find a dataset at index `+e);return{datasetIndex:e,element:n.data[t],index:t}}),i=!$u(n,r),a=this._positionChanged(r,t);(i||a)&&(this._active=r,this._eventPosition=t,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,t,n=!0){if(t&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;let r=this.options,i=this._active||[],a=this._getActiveElements(e,i,t,n),o=this._positionChanged(a,e),s=t||!$u(a,i)||o;return s&&(this._active=a,(r.enabled||r.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,t))),s}_getActiveElements(e,t,n,r){let i=this.options;if(e.type===`mouseout`)return[];if(!r)return t.filter(e=>this.chart.data.datasets[e.datasetIndex]&&this.chart.getDatasetMeta(e.datasetIndex).controller.getParsed(e.index)!==void 0);let a=this.chart.getElementsAtEventForMode(e,i.mode,i,n);return i.reverse&&a.reverse(),a}_positionChanged(e,t){let{caretX:n,caretY:r,options:i}=this,a=oy[i.position].call(this,e,t);return a!==!1&&(n!==a.x||r!==a.y)}},Ty=Object.freeze({__proto__:null,Colors:sv,Decimation:pv,Filler:Gv,Legend:ey,SubTitle:ay,Title:ry,Tooltip:{id:`tooltip`,_element:wy,positioners:oy,afterInit(e,t,n){n&&(e.tooltip=new wy({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){let t=e.tooltip;if(t&&t._willRender()){let n={tooltip:t};if(e.notifyPlugins(`beforeTooltipDraw`,{...n,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins(`afterTooltipDraw`,n)}},afterEvent(e,t){if(e.tooltip){let n=t.replay;e.tooltip.handleEvent(t.event,n,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:(e,t)=>t.bodyFont.size,boxWidth:(e,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:Sy},defaultRoutes:{bodyFont:`font`,footerFont:`font`,titleFont:`font`},descriptors:{_scriptable:e=>e!==`filter`&&e!==`itemSort`&&e!==`external`,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:`animation`}},additionalOptionScopes:[`interaction`]}}),Ey=(e,t,n,r)=>(typeof t==`string`?(n=e.push(t)-1,r.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function Dy(e,t,n,r){let i=e.indexOf(t);return i===-1?Ey(e,t,n,r):i===e.lastIndexOf(t)?i:n}var Oy=(e,t)=>e===null?null:G(Math.round(e),0,t);function ky(e){let t=this.getLabels();return e>=0&&e<t.length?t[e]:e}var Ay=class extends Tg{static id=`category`;static defaults={ticks:{callback:ky}};constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){let t=this._addedLabels;if(t.length){let e=this.getLabels();for(let{index:n,label:r}of t)e[n]===r&&e.splice(n,1);this._addedLabels=[]}super.init(e)}parse(e,t){if(F(e))return null;let n=this.getLabels();return t=isFinite(t)&&n[t]===e?t:Dy(n,e,z(t,e),this._addedLabels),Oy(t,n.length-1)}determineDataLimits(){let{minDefined:e,maxDefined:t}=this.getUserBounds(),{min:n,max:r}=this.getMinMax(!0);this.options.bounds===`ticks`&&(e||(n=0),t||(r=this.getLabels().length-1)),this.min=n,this.max=r}buildTicks(){let e=this.min,t=this.max,n=this.options.offset,r=[],i=this.getLabels();i=e===0&&t===i.length-1?i:i.slice(e,t+1),this._valueRange=Math.max(i.length-+!n,1),this._startValue=this.min-(n?.5:0);for(let n=e;n<=t;n++)r.push({value:n});return r}getLabelForValue(e){return ky.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return typeof e!=`number`&&(e=this.parse(e)),e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){let t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}};function jy(e,t){let n=[],{bounds:r,step:i,min:a,max:o,precision:s,count:c,maxTicks:l,maxDigits:u,includeBounds:d}=e,f=i||1,p=l-1,{min:m,max:h}=t,g=!F(a),_=!F(o),v=!F(c),y=(h-m)/(u+1),b=Cd((h-m)/p/f)*f,x,S,C,w;if(b<1e-14&&!g&&!_)return[{value:m},{value:h}];w=Math.ceil(h/b)-Math.floor(m/b),w>p&&(b=Cd(w*b/p/f)*f),F(s)||(x=10**s,b=Math.ceil(b*x)/x),r===`ticks`?(S=Math.floor(m/b)*b,C=Math.ceil(h/b)*b):(S=m,C=h),g&&_&&i&&Dd((o-a)/i,b/1e3)?(w=Math.round(Math.min((o-a)/b,l)),b=(o-a)/w,S=a,C=o):v?(S=g?a:S,C=_?o:C,w=c-1,b=(C-S)/w):(w=(C-S)/b,w=Sd(w,Math.round(w),b/1e3)?Math.round(w):Math.ceil(w));let T=Math.max(jd(b),jd(S));x=10**(F(s)?T:s),S=Math.round(S*x)/x,C=Math.round(C*x)/x;let E=0;for(g&&(d&&S!==a?(n.push({value:a}),S<a&&E++,Sd(Math.round((S+E*b)*x)/x,a,My(a,y,e))&&E++):S<a&&E++);E<w;++E){let e=Math.round((S+E*b)*x)/x;if(_&&e>o)break;n.push({value:e})}return _&&d&&C!==o?n.length&&Sd(n[n.length-1].value,o,My(o,y,e))?n[n.length-1].value=o:n.push({value:o}):_&&C!==o||n.push({value:C}),n}function My(e,t,{horizontal:n,minRotation:r}){let i=kd(r),a=(n?Math.sin(i):Math.cos(i))||.001,o=.75*t*(``+e).length;return Math.min(t/a,o)}var Ny=class extends Tg{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,t){return F(e)||(typeof e==`number`||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){let{beginAtZero:e}=this.options,{minDefined:t,maxDefined:n}=this.getUserBounds(),{min:r,max:i}=this,a=e=>r=t?r:e,o=e=>i=n?i:e;if(e){let e=xd(r),t=xd(i);e<0&&t<0?o(0):e>0&&t>0&&a(0)}if(r===i){let t=i===0?1:Math.abs(i*.05);o(i+t),e||a(r-t)}this.min=r,this.max=i}getTickLimit(){let{maxTicksLimit:e,stepSize:t}=this.options.ticks,n;return t?(n=Math.ceil(this.max/t)-Math.floor(this.min/t)+1,n>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${t} would result generating up to ${n} ticks. Limiting to 1000.`),n=1e3)):(n=this.computeTickLimit(),e||=11),e&&(n=Math.min(e,n)),n}computeTickLimit(){return 1/0}buildTicks(){let e=this.options,t=e.ticks,n=this.getTickLimit();n=Math.max(2,n);let r=jy({maxTicks:n,bounds:e.bounds,min:e.min,max:e.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:t.includeBounds!==!1},this._range||this);return e.bounds===`ticks`&&Od(r,this,`value`),e.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){let e=this.ticks,t=this.min,n=this.max;if(super.configure(),this.options.offset&&e.length){let r=(n-t)/Math.max(e.length-1,1)/2;t-=r,n+=r}this._startValue=t,this._endValue=n,this._valueRange=n-t}getLabelForValue(e){return hf(e,this.chart.options.locale,this.options.ticks.format)}},Py=class extends Ny{static id=`linear`;static defaults={ticks:{callback:vf.formatters.numeric}};determineDataLimits(){let{min:e,max:t}=this.getMinMax(!0);this.min=R(e)?e:0,this.max=R(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){let e=this.isHorizontal(),t=e?this.width:this.height,n=kd(this.options.ticks.minRotation),r=(e?Math.sin(n):Math.cos(n))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,i.lineHeight/r))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}},Fy=e=>Math.floor(bd(e)),Iy=(e,t)=>10**(Fy(e)+t);function Ly(e){return e/10**Fy(e)==1}function Ry(e,t,n){let r=10**n,i=Math.floor(e/r);return Math.ceil(t/r)-i}function zy(e,t){let n=Fy(t-e);for(;Ry(e,t,n)>10;)n++;for(;Ry(e,t,n)<10;)n--;return Math.min(n,Fy(e))}function By(e,{min:t,max:n}){t=Xu(e.min,t);let r=[],i=Fy(t),a=zy(t,n),o=a<0?10**Math.abs(a):1,s=10**a,c=i>a?10**i:0,l=Math.round((t-c)*o)/o,u=Math.floor((t-c)/s/10)*s*10,d=Math.floor((l-u)/10**a),f=Xu(e.min,Math.round((c+u+d*10**a)*o)/o);for(;f<n;)r.push({value:f,major:Ly(f),significand:d}),d>=10?d=d<15?15:20:d++,d>=20&&(a++,d=2,o=a>=0?1:o),f=Math.round((c+u+d*10**a)*o)/o;let p=Xu(e.max,f);return r.push({value:p,major:Ly(p),significand:d}),r}var Vy=class extends Tg{static id=`logarithmic`;static defaults={ticks:{callback:vf.formatters.logarithmic,major:{enabled:!0}}};constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,t){let n=Ny.prototype.parse.apply(this,[e,t]);if(n===0)this._zero=!0;else return R(n)&&n>0?n:null}determineDataLimits(){let{min:e,max:t}=this.getMinMax(!0);this.min=R(e)?Math.max(0,e):null,this.max=R(t)?Math.max(0,t):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!R(this._userMin)&&(this.min=e===Iy(this.min,0)?Iy(this.min,-1):Iy(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){let{minDefined:e,maxDefined:t}=this.getUserBounds(),n=this.min,r=this.max,i=t=>n=e?n:t,a=e=>r=t?r:e;n===r&&(n<=0?(i(1),a(10)):(i(Iy(n,-1)),a(Iy(r,1)))),n<=0&&i(Iy(r,-1)),r<=0&&a(Iy(n,1)),this.min=n,this.max=r}buildTicks(){let e=this.options,t=By({min:this._userMin,max:this._userMax},this);return e.bounds===`ticks`&&Od(t,this,`value`),e.reverse?(t.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),t}getLabelForValue(e){return e===void 0?`0`:hf(e,this.chart.options.locale,this.options.ticks.format)}configure(){let e=this.min;super.configure(),this._startValue=bd(e),this._valueRange=bd(this.max)-bd(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(bd(e)-this._startValue)/this._valueRange)}getValueForPixel(e){let t=this.getDecimalForPixel(e);return 10**(this._startValue+t*this._valueRange)}};function Hy(e){let t=e.ticks;if(t.display&&e.display){let e=Jf(t.backdropPadding);return z(t.font&&t.font.size,K.font.size)+e.height}return 0}function Uy(e,t,n){return n=I(n)?n:[n],{w:Ef(e,t.string,n),h:n.length*t.lineHeight}}function Wy(e,t,n,r,i){return e===r||e===i?{start:t-n/2,end:t+n/2}:e<r||e>i?{start:t-n,end:t}:{start:t,end:t+n}}function Gy(e){let t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},n=Object.assign({},t),r=[],i=[],a=e._pointLabels.length,o=e.options.pointLabels,s=o.centerPointLabels?H/a:0;for(let c=0;c<a;c++){let a=o.setContext(e.getPointLabelContext(c));i[c]=a.padding;let l=e.getPointPosition(c,e.drawingArea+i[c],s),u=q(a.font),d=Uy(e.ctx,u,e._pointLabels[c]);r[c]=d;let f=Fd(e.getIndexAngle(c)+s),p=Math.round(Ad(f));Ky(n,t,f,Wy(p,l.x,d.w,0,180),Wy(p,l.y,d.h,90,270))}e.setCenterPoint(t.l-n.l,n.r-t.r,t.t-n.t,n.b-t.b),e._pointLabelItems=Yy(e,r,i)}function Ky(e,t,n,r,i){let a=Math.abs(Math.sin(n)),o=Math.abs(Math.cos(n)),s=0,c=0;r.start<t.l?(s=(t.l-r.start)/a,e.l=Math.min(e.l,t.l-s)):r.end>t.r&&(s=(r.end-t.r)/a,e.r=Math.max(e.r,t.r+s)),i.start<t.t?(c=(t.t-i.start)/o,e.t=Math.min(e.t,t.t-c)):i.end>t.b&&(c=(i.end-t.b)/o,e.b=Math.max(e.b,t.b+c))}function qy(e,t,n){let r=e.drawingArea,{extra:i,additionalAngle:a,padding:o,size:s}=n,c=e.getPointPosition(t,r+i+o,a),l=Math.round(Ad(Fd(c.angle+W))),u=Qy(c.y,s.h,l),d=Xy(l),f=Zy(c.x,s.w,d);return{visible:!0,x:c.x,y:u,textAlign:d,left:f,top:u,right:f+s.w,bottom:u+s.h}}function Jy(e,t){if(!t)return!0;let{left:n,top:r,right:i,bottom:a}=e;return!(jf({x:n,y:r},t)||jf({x:n,y:a},t)||jf({x:i,y:r},t)||jf({x:i,y:a},t))}function Yy(e,t,n){let r=[],i=e._pointLabels.length,a=e.options,{centerPointLabels:o,display:s}=a.pointLabels,c={extra:Hy(a)/2,additionalAngle:o?H/i:0},l;for(let a=0;a<i;a++){c.padding=n[a],c.size=t[a];let i=qy(e,a,c);r.push(i),s===`auto`&&(i.visible=Jy(i,l),i.visible&&(l=i))}return r}function Xy(e){return e===0||e===180?`center`:e<180?`left`:`right`}function Zy(e,t,n){return n===`right`?e-=t:n===`center`&&(e-=t/2),e}function Qy(e,t,n){return n===90||n===270?e-=t/2:(n>270||n<90)&&(e-=t),e}function $y(e,t,n){let{left:r,top:i,right:a,bottom:o}=n,{backdropColor:s}=t;if(!F(s)){let n=qf(t.borderRadius),c=Jf(t.backdropPadding);e.fillStyle=s;let l=r-c.left,u=i-c.top,d=a-r+c.width,f=o-i+c.height;Object.values(n).some(e=>e!==0)?(e.beginPath(),Bf(e,{x:l,y:u,w:d,h:f,radius:n}),e.fill()):e.fillRect(l,u,d,f)}}function eb(e,t){let{ctx:n,options:{pointLabels:r}}=e;for(let i=t-1;i>=0;i--){let t=e._pointLabelItems[i];if(!t.visible)continue;let a=r.setContext(e.getPointLabelContext(i));$y(n,a,t);let o=q(a.font),{x:s,y:c,textAlign:l}=t;zf(n,e._pointLabels[i],s,c+o.lineHeight/2,o,{color:a.color,textAlign:l,textBaseline:`middle`})}}function tb(e,t,n,r){let{ctx:i}=e;if(n)i.arc(e.xCenter,e.yCenter,t,0,U);else{let n=e.getPointPosition(0,t);i.moveTo(n.x,n.y);for(let a=1;a<r;a++)n=e.getPointPosition(a,t),i.lineTo(n.x,n.y)}}function nb(e,t,n,r,i){let a=e.ctx,o=t.circular,{color:s,lineWidth:c}=t;!o&&!r||!s||!c||n<0||(a.save(),a.strokeStyle=s,a.lineWidth=c,a.setLineDash(i.dash||[]),a.lineDashOffset=i.dashOffset,a.beginPath(),tb(e,n,o,r),a.closePath(),a.stroke(),a.restore())}function rb(e,t,n){return Zf(e,{label:n,index:t,type:`pointLabel`})}var ib=class extends Ny{static id=`radialLinear`;static defaults={display:!0,animate:!0,position:`chartArea`,angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:vf.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(e){return e},padding:5,centerPointLabels:!1}};static defaultRoutes={"angleLines.color":`borderColor`,"pointLabels.color":`color`,"ticks.color":`color`};static descriptors={angleLines:{_fallback:`grid`}};constructor(e){super(e),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){let e=this._padding=Jf(Hy(this.options)/2),t=this.width=this.maxWidth-e.width,n=this.height=this.maxHeight-e.height;this.xCenter=Math.floor(this.left+t/2+e.left),this.yCenter=Math.floor(this.top+n/2+e.top),this.drawingArea=Math.floor(Math.min(t,n)/2)}determineDataLimits(){let{min:e,max:t}=this.getMinMax(!1);this.min=R(e)&&!isNaN(e)?e:0,this.max=R(t)&&!isNaN(t)?t:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/Hy(this.options))}generateTickLabels(e){Ny.prototype.generateTickLabels.call(this,e),this._pointLabels=this.getLabels().map((e,t)=>{let n=B(this.options.pointLabels.callback,[e,t],this);return n||n===0?n:``}).filter((e,t)=>this.chart.getDataVisibility(t))}fit(){let e=this.options;e.display&&e.pointLabels.display?Gy(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,t,n,r){this.xCenter+=Math.floor((e-t)/2),this.yCenter+=Math.floor((n-r)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,t,n,r))}getIndexAngle(e){let t=U/(this._pointLabels.length||1),n=this.options.startAngle||0;return Fd(e*t+kd(n))}getDistanceFromCenterForValue(e){if(F(e))return NaN;let t=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*t:(e-this.min)*t}getValueForDistanceFromCenter(e){if(F(e))return NaN;let t=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-t:this.min+t}getPointLabelContext(e){let t=this._pointLabels||[];if(e>=0&&e<t.length){let n=t[e];return rb(this.getContext(),e,n)}}getPointPosition(e,t,n=0){let r=this.getIndexAngle(e)-W+n;return{x:Math.cos(r)*t+this.xCenter,y:Math.sin(r)*t+this.yCenter,angle:r}}getPointPositionForValue(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))}getBasePosition(e){return this.getPointPositionForValue(e||0,this.getBaseValue())}getPointLabelPosition(e){let{left:t,top:n,right:r,bottom:i}=this._pointLabelItems[e];return{left:t,top:n,right:r,bottom:i}}drawBackground(){let{backgroundColor:e,grid:{circular:t}}=this.options;if(e){let n=this.ctx;n.save(),n.beginPath(),tb(this,this.getDistanceFromCenterForValue(this._endValue),t,this._pointLabels.length),n.closePath(),n.fillStyle=e,n.fill(),n.restore()}}drawGrid(){let e=this.ctx,t=this.options,{angleLines:n,grid:r,border:i}=t,a=this._pointLabels.length,o,s,c;if(t.pointLabels.display&&eb(this,a),r.display&&this.ticks.forEach((e,t)=>{if(t!==0||t===0&&this.min<0){s=this.getDistanceFromCenterForValue(e.value);let n=this.getContext(t),o=r.setContext(n),c=i.setContext(n);nb(this,o,s,a,c)}}),n.display){for(e.save(),o=a-1;o>=0;o--){let r=n.setContext(this.getPointLabelContext(o)),{color:i,lineWidth:a}=r;a&&i&&(e.lineWidth=a,e.strokeStyle=i,e.setLineDash(r.borderDash),e.lineDashOffset=r.borderDashOffset,s=this.getDistanceFromCenterForValue(t.reverse?this.min:this.max),c=this.getPointPosition(o,s),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(c.x,c.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){let e=this.ctx,t=this.options,n=t.ticks;if(!n.display)return;let r=this.getIndexAngle(0),i,a;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(r),e.textAlign=`center`,e.textBaseline=`middle`,this.ticks.forEach((r,o)=>{if(o===0&&this.min>=0&&!t.reverse)return;let s=n.setContext(this.getContext(o)),c=q(s.font);if(i=this.getDistanceFromCenterForValue(this.ticks[o].value),s.showLabelBackdrop){e.font=c.string,a=e.measureText(r.label).width,e.fillStyle=s.backdropColor;let t=Jf(s.backdropPadding);e.fillRect(-a/2-t.left,-i-c.size/2-t.top,a+t.width,c.size+t.height)}zf(e,r.label,0,-i,c,{color:s.color,strokeColor:s.textStrokeColor,strokeWidth:s.textStrokeWidth})}),e.restore()}drawTitle(){}},ab={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}},ob=Object.keys(ab);function sb(e,t){return e-t}function cb(e,t){if(F(t))return null;let n=e._adapter,{parser:r,round:i,isoWeekday:a}=e._parseOpts,o=t;return typeof r==`function`&&(o=r(o)),R(o)||(o=typeof r==`string`?n.parse(o,r):n.parse(o)),o===null?null:(i&&(o=i===`week`&&(Ed(a)||a===!0)?n.startOf(o,`isoWeek`,a):n.startOf(o,i)),+o)}function lb(e,t,n,r){let i=ob.length;for(let a=ob.indexOf(e);a<i-1;++a){let e=ab[ob[a]],i=e.steps?e.steps:2**53-1;if(e.common&&Math.ceil((n-t)/(i*e.size))<=r)return ob[a]}return ob[i-1]}function ub(e,t,n,r,i){for(let a=ob.length-1;a>=ob.indexOf(n);a--){let n=ob[a];if(ab[n].common&&e._adapter.diff(i,r,n)>=t-1)return n}return ob[n?ob.indexOf(n):0]}function db(e){for(let t=ob.indexOf(e)+1,n=ob.length;t<n;++t)if(ab[ob[t]].common)return ob[t]}function fb(e,t,n){if(!n)e[t]=!0;else if(n.length){let{lo:r,hi:i}=zd(n,t),a=n[r]>=t?n[r]:n[i];e[a]=!0}}function pb(e,t,n,r){let i=e._adapter,a=+i.startOf(t[0].value,r),o=t[t.length-1].value,s,c;for(s=a;s<=o;s=+i.add(s,1,r))c=n[s],c>=0&&(t[c].major=!0);return t}function mb(e,t,n){let r=[],i={},a=t.length,o,s;for(o=0;o<a;++o)s=t[o],i[s]=o,r.push({value:s,major:!1});return a===0||!n?r:pb(e,r,i,n)}var hb=class extends Tg{static id=`time`;static defaults={bounds:`data`,adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:`millisecond`,displayFormats:{}},ticks:{source:`auto`,callback:!1,major:{enabled:!1}}};constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit=`day`,this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,t={}){let n=e.time||={},r=this._adapter=new lh._date(e.adapters.date);r.init(t),id(n.displayFormats,r.formats()),this._parseOpts={parser:n.parser,round:n.round,isoWeekday:n.isoWeekday},super.init(e),this._normalized=t.normalized}parse(e,t){return e===void 0?null:cb(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){let e=this.options,t=this._adapter,n=e.time.unit||`day`,{min:r,max:i,minDefined:a,maxDefined:o}=this.getUserBounds();function s(e){!a&&!isNaN(e.min)&&(r=Math.min(r,e.min)),!o&&!isNaN(e.max)&&(i=Math.max(i,e.max))}a&&o||(s(this._getLabelBounds()),(e.bounds!==`ticks`||e.ticks.source!==`labels`)&&s(this.getMinMax(!1))),r=R(r)&&!isNaN(r)?r:+t.startOf(Date.now(),n),i=R(i)&&!isNaN(i)?i:+t.endOf(Date.now(),n)+1,this.min=Math.min(r,i-1),this.max=Math.max(r+1,i)}_getLabelBounds(){let e=this.getLabelTimestamps(),t=1/0,n=-1/0;return e.length&&(t=e[0],n=e[e.length-1]),{min:t,max:n}}buildTicks(){let e=this.options,t=e.time,n=e.ticks,r=n.source===`labels`?this.getLabelTimestamps():this._generate();e.bounds===`ticks`&&r.length&&(this.min=this._userMin||r[0],this.max=this._userMax||r[r.length-1]);let i=this.min,a=this.max,o=Hd(r,i,a);return this._unit=t.unit||(n.autoSkip?lb(t.minUnit,this.min,this.max,this._getLabelCapacity(i)):ub(this,o.length,t.minUnit,this.min,this.max)),this._majorUnit=!n.major.enabled||this._unit===`year`?void 0:db(this._unit),this.initOffsets(r),e.reverse&&o.reverse(),mb(this,o,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(e=>+e.value))}initOffsets(e=[]){let t=0,n=0,r,i;this.options.offset&&e.length&&(r=this.getDecimalForValue(e[0]),t=e.length===1?1-r:(this.getDecimalForValue(e[1])-r)/2,i=this.getDecimalForValue(e[e.length-1]),n=e.length===1?i:(i-this.getDecimalForValue(e[e.length-2]))/2);let a=e.length<3?.5:.25;t=G(t,0,a),n=G(n,0,a),this._offsets={start:t,end:n,factor:1/(t+1+n)}}_generate(){let e=this._adapter,t=this.min,n=this.max,r=this.options,i=r.time,a=i.unit||lb(i.minUnit,t,n,this._getLabelCapacity(t)),o=z(r.ticks.stepSize,1),s=a===`week`&&i.isoWeekday,c=Ed(s)||s===!0,l={},u=t,d,f;if(c&&(u=+e.startOf(u,`isoWeek`,s)),u=+e.startOf(u,c?`day`:a),e.diff(n,t,a)>1e5*o)throw Error(t+` and `+n+` are too far apart with stepSize of `+o+` `+a);let p=r.ticks.source===`data`&&this.getDataTimestamps();for(d=u,f=0;d<n;d=+e.add(d,o,a),f++)fb(l,d,p);return(d===n||r.bounds===`ticks`||f===1)&&fb(l,d,p),Object.keys(l).sort(sb).map(e=>+e)}getLabelForValue(e){let t=this._adapter,n=this.options.time;return n.tooltipFormat?t.format(e,n.tooltipFormat):t.format(e,n.displayFormats.datetime)}format(e,t){let n=this.options.time.displayFormats,r=this._unit,i=t||n[r];return this._adapter.format(e,i)}_tickFormatFunction(e,t,n,r){let i=this.options,a=i.ticks.callback;if(a)return B(a,[e,t,n],this);let o=i.time.displayFormats,s=this._unit,c=this._majorUnit,l=s&&o[s],u=c&&o[c],d=n[t],f=c&&u&&d&&d.major;return this._adapter.format(e,r||(f?u:l))}generateTickLabels(e){let t,n,r;for(t=0,n=e.length;t<n;++t)r=e[t],r.label=this._tickFormatFunction(r.value,t,e)}getDecimalForValue(e){return e===null?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){let t=this._offsets,n=this.getDecimalForValue(e);return this.getPixelForDecimal((t.start+n)*t.factor)}getValueForPixel(e){let t=this._offsets,n=this.getDecimalForPixel(e)/t.factor-t.end;return this.min+n*(this.max-this.min)}_getLabelSize(e){let t=this.options.ticks,n=this.ctx.measureText(e).width,r=kd(this.isHorizontal()?t.maxRotation:t.minRotation),i=Math.cos(r),a=Math.sin(r),o=this._resolveTickFontOptions(0).size;return{w:n*i+o*a,h:n*a+o*i}}_getLabelCapacity(e){let t=this.options.time,n=t.displayFormats,r=n[t.unit]||n.millisecond,i=this._tickFormatFunction(e,0,mb(this,[e],this._majorUnit),r),a=this._getLabelSize(i),o=Math.floor(this.isHorizontal()?this.width/a.w:this.height/a.h)-1;return o>0?o:1}getDataTimestamps(){let e=this._cache.data||[],t,n;if(e.length)return e;let r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(t=0,n=r.length;t<n;++t)e=e.concat(r[t].controller.getAllParsedValues(this));return this._cache.data=this.normalize(e)}getLabelTimestamps(){let e=this._cache.labels||[],t,n;if(e.length)return e;let r=this.getLabels();for(t=0,n=r.length;t<n;++t)e.push(cb(this,r[t]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return Kd(e.sort(sb))}};function gb(e,t,n){let r=0,i=e.length-1,a,o,s,c;n?(t>=e[r].pos&&t<=e[i].pos&&({lo:r,hi:i}=Bd(e,`pos`,t)),{pos:a,time:s}=e[r],{pos:o,time:c}=e[i]):(t>=e[r].time&&t<=e[i].time&&({lo:r,hi:i}=Bd(e,`time`,t)),{time:a,pos:s}=e[r],{time:o,pos:c}=e[i]);let l=o-a;return l?s+(c-s)*(t-a)/l:s}var _b=class extends hb{static id=`timeseries`;static defaults=hb.defaults;constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){let e=this._getTimestampsForTable(),t=this._table=this.buildLookupTable(e);this._minPos=gb(t,this.min),this._tableRange=gb(t,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){let{min:t,max:n}=this,r=[],i=[],a,o,s,c,l;for(a=0,o=e.length;a<o;++a)c=e[a],c>=t&&c<=n&&r.push(c);if(r.length<2)return[{time:t,pos:0},{time:n,pos:1}];for(a=0,o=r.length;a<o;++a)l=r[a+1],s=r[a-1],c=r[a],Math.round((l+s)/2)!==c&&i.push({time:c,pos:a/(o-1)});return i}_generate(){let e=this.min,t=this.max,n=super.getDataTimestamps();return n.includes(e)&&n.length||n.splice(0,0,e),n.includes(t)&&n.length!==1||n.push(t),n.sort((e,t)=>e-t)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;let t=this.getDataTimestamps(),n=this.getLabelTimestamps();return e=t.length&&n.length?this.normalize(t.concat(n)):t.length?t:n,e=this._cache.all=e,e}getDecimalForValue(e){return(gb(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){let t=this._offsets,n=this.getDecimalForPixel(e)/t.factor-t.end;return gb(this._table,n*this._tableRange+this._minPos,!0)}},vb=[sh,Y_,Ty,Object.freeze({__proto__:null,CategoryScale:Ay,LinearScale:Py,LogarithmicScale:Vy,RadialLinearScale:ib,TimeScale:hb,TimeSeriesScale:_b})];p_.register(...vb);var yb=p_,bb=e=>{yb.defaults.color=e[`gray-600`],yb.defaults.borderColor=sf(e.black).alpha(.1).rgbString()};bb(window.theme),yb.defaults.font.family=`'Inter', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif`,yb.defaults.elements.bar.borderRadius=10,yb.defaults.elements.line.tension=.4,yb.overrides.radar.elements={line:{tension:0}};var xb=window.matchMedia(`(prefers-reduced-motion: reduce)`),Sb=new Map([yb.defaults,...Object.values(yb.defaults.datasets)].filter(e=>e.animation!==void 0).map(e=>[e,e.animation])),Cb=()=>{for(let[e,t]of Sb)e.animation=!xb.matches&&t};Cb(),xb.addEventListener(`change`,Cb);var wb=new WeakMap,Tb=(e,t)=>{let n=typeof e==`string`?document.querySelector(e):e,r=new yb(n,t(window.theme));return wb.set(r,t),Wl(n),r};document.addEventListener(`adminkit:themechange`,({detail:e})=>{bb(e);for(let t of Object.values(yb.instances)){let n=wb.get(t);if(n){let{data:r,options:i}=n(e);t.data=r,t.options=i}t.update(`none`)}}),window.Chart=yb,window.adminkit={...window.adminkit,chartjs:Tb};var J=e=>new Date(`${e}T00:00:00`),Eb=e=>`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,`0`)}-${String(e.getDate()).padStart(2,`0`)}`,Db=(e,t)=>e.reduce((e,n)=>{if(n instanceof Date||typeof n==`number`){let t=n instanceof Date?n:new Date(n);e.push(Eb(t))}else n.match(/^(\d{4}-\d{2}-\d{2})$/g)?e.push(n):n.replace(/(\d{4}-\d{2}-\d{2}).*?(\d{4}-\d{2}-\d{2})/g,(n,r,i)=>{var a;let o=`${r}:${i}`,s=t?t.start.getTime():-1/0,c=t==null||(a=t.cursors)==null?void 0:a.get(o),l=c!==void 0&&c<=s?new Date(c):J(r),u=J(i).setHours(23,59,59,999);if(t){if(u<s)return n;u=Math.min(u,new Date(t.end).setHours(23,59,59,999))}let d=!1;for(let n=l.getTime();n<=u;n=l.setDate(l.getDate()+1))(!t||n>=s)&&(t!=null&&t.cursors&&!d&&(t.cursors.set(o,n),d=!0),e.push(Eb(l)));return n});return e},[]),Ob=(e,t)=>{if(t&&t.values.length===e.length){let n=0;for(;n<e.length&&t.values[n]===e[n];)n++;if(n===e.length)return t}return{values:e.slice(),set:new Set(e)}},kb=new WeakMap,Ab=e=>{var t;let n=(t=e.selectedHolidays)!=null&&t[0]?e.selectedHolidays:[],r=JSON.stringify(n.map(e=>e instanceof Date?e.getTime():e)),i=kb.get(e);kb.set(e,{holidayKey:r,holidays:i?.holidayKey===r?i.holidays:new Set(Db(n)),selected:Ob(e.context.selectedDates,i?.selected),disabled:Ob(e.context.disableDates,i?.disabled),enabled:Ob(e.context.enableDates,i?.enabled),min:Date.parse(`${e.context.displayDateMin}T00:00:00`),max:Date.parse(`${e.context.displayDateMax}T00:00:00`),first:Date.parse(`${e.context.selectedDates[0]}T00:00:00`),last:Date.parse(`${e.context.selectedDates[e.context.selectedDates.length-1]}T00:00:00`)})},jb=e=>kb.get(e),Mb=[`motion`,`time`,`annotations`,`weeks`,`months`],Nb=new WeakMap,Pb={},Fb=Object.freeze([]),Y=e=>Nb.get(e)??Pb,Ib=(e,t=e)=>{if(t.extensions&&t.extensions!==e.extensions&&(new Set(t.extensions).size!==e.extensions.length||t.extensions.some(t=>!e.extensions.includes(t))))throw Error(`Calendar extensions are fixed at construction. Create a new Calendar to change them.`);let n=Y(e),r=(e,t,r)=>{if(e&&!n[t])throw Error(`The "${r}" option requires ${t}. Import { ${t} } from 'vanilla-calendar-pro' and add it to extensions: [${t}].`)};r(t.animation||t.enableSwipe,`motion`,t.animation?`animation`:`enableSwipe`),r(t.selectionTimeMode,`time`,`selectionTimeMode`),r(t.popups&&Object.keys(t.popups).length||t.onCreateDateRangeTooltip,`annotations`,t.onCreateDateRangeTooltip?`onCreateDateRangeTooltip`:`popups`),r(t.type===`multiple`,`months`,`type`),r(t.type===`week`||t.enableCollapse||t.enableWeekNumbers||t.onClickWeekDay,`weeks`,t.type===`week`?`type`:t.enableCollapse?`enableCollapse`:t.enableWeekNumbers?`enableWeekNumbers`:`onClickWeekDay`)},Lb=(e,t,n)=>Y(e).annotations?.tooltip(e,t,n),Rb=new WeakMap,zb=e=>{let t=Rb.get(e);return t||(t={lastDateEl:null,isHovering:!1,rangeMin:void 0,rangeMax:void 0,tooltipEl:null,timeoutId:null,frameId:null},Rb.set(e,t)),t},Bb=e=>{e.context.mainElement.querySelectorAll(`[data-vc-date-hover]`).forEach(e=>e.removeAttribute(`data-vc-date-hover`))},X=(e,t,n)=>{e.context[t]=n},Vb=(e,t)=>t===void 0||(typeof t==`function`?t(e):t),Hb=e=>Vb(e,e.enableDateToggle),Ub=e=>{if(e.length<3||e.includes(void 0))return e.sort((e,t)=>+new Date(e)-new Date(t));let t=e.map(e=>({date:e,time:+new Date(e)}));return t.sort((e,t)=>e.time-t.time),t.forEach((t,n)=>e[n]=t.date),e},Wb=e=>{var t;let n=Rb.get(e);n&&((t=n.cleanup)==null||t.call(n),n.cleanup=void 0,n.timeoutId!==null&&clearTimeout(n.timeoutId),n.frameId!==null&&cancelAnimationFrame(n.frameId),n.lastDateEl=null,n.tooltipEl=null,n.timeoutId=null,n.frameId=null,Rb.delete(e))},Gb=(e,t,n=!0)=>{let r=zb(e);if(r.lastDateEl=t,Bb(e),!r.cleanup){let t=e.context.mainElement,n=(e=>t=>{if(!e.context.selectedDates[0]||e.context.selectedDates.length!==1&&!e.onCreateDateRangeTooltip)return;let n=zb(e);if(n.isHovering)return;let r=t.target;n.isHovering=!0,n.frameId=requestAnimationFrame(()=>{var t;n.frameId=null,n.isHovering=!1,!e.context.isDestroyed&&e.context.mainElement.contains(r)&&(e.context.selectedDates.length===1?((e,t)=>{var n;let r=zb(e);if(e.context.mainElement.hasAttribute(`data-vc-dragging`)||!t||e==null||(n=e.context)==null||!n.selectedDates[0])return;if(!t.closest(`[data-vc="dates"]`))return r.lastDateEl=null,Lb(e,r.tooltipEl,null),void Bb(e);let i=t.closest(`[data-vc-date]`);if(!i||r.lastDateEl===i)return;r.lastDateEl=i,Lb(e,r.tooltipEl,i),Bb(e);let a=i.dataset.vcDate,o=J(e.context.selectedDates[0]),s=J(a),[c,l]=o<s?[o,s]:[s,o],[u,d]=o<s?[e.context.selectedDates[0],a]:[a,e.context.selectedDates[0]],f=new Set(e.context.disableDates),p=new Date(c);for(;p<=l&&f.has(Eb(p));)p.setDate(p.getDate()+1);p<=l&&e.context.mainElement.querySelectorAll(`[data-vc-date]`).forEach(e=>{let t=e.dataset.vcDate;if(t===u||t===d)e.dataset.vcDateHover=u===d?`first-and-last`:t===u?`first`:`last`;else{let n=J(t);n>=c&&n<=l&&!f.has(t)&&(e.dataset.vcDateHover=``)}})})(e,r):e.context.selectedDates[0]&&e.onCreateDateRangeTooltip&&((t=Y(e).annotations)==null||t.hover(e,r)))})})(e),i=()=>(e=>{let t=zb(e);t.timeoutId!==null&&clearTimeout(t.timeoutId),t.timeoutId=setTimeout(()=>{t.timeoutId=null,!e.context.isDestroyed&&(t.lastDateEl=null,Lb(e,t.tooltipEl,null),Bb(e))},50)})(e),a=t=>((e,t)=>{if(t.key!==`Escape`||e.context.selectedDates.length!==1)return;let n=zb(e);n.lastDateEl=null,X(e,`selectedDates`,[]),Lb(e,n.tooltipEl,null),Bb(e)})(e,t);t.addEventListener(`mousemove`,n),t.addEventListener(`mouseleave`,i),t.addEventListener(`keydown`,a),r.cleanup=()=>{t.removeEventListener(`mousemove`,n),t.removeEventListener(`mouseleave`,i),t.removeEventListener(`keydown`,a)}}e.disableDatesGaps&&(r.rangeMin??=e.context.displayDateMin,r.rangeMax??=e.context.displayDateMax),r.tooltipEl=e.onCreateDateRangeTooltip?e.context.mainElement.querySelector(`[data-vc-date-range-tooltip]`):null;let i=t?.dataset.vcDate;if(i){let t=e.context.selectedDates.length===1&&e.context.selectedDates[0].includes(i);X(e,`selectedDates`,t&&!Hb(e)?[i,i]:t&&Hb(e)?[]:e.context.selectedDates.length>1?[i]:[...e.context.selectedDates,i]),e.context.selectedDates.length>1&&Ub(e.context.selectedDates)}({set:()=>{e.disableDatesGaps&&(e=>{var t,n;if(e==null||(t=e.context)==null||(t=t.selectedDates)==null||!t[0]||(n=e.context.disableDates)==null||!n[0])return;let r=J(e.context.selectedDates[0]),[i,a]=e.context.disableDates.map(e=>J(e)).reduce(([e,t],n)=>[r>=n?n:e,r<n&&t===null?n:t],[null,null]);i&&X(e,`displayDateMin`,Eb(new Date(i.setDate(i.getDate()+1)))),a&&X(e,`displayDateMax`,Eb(new Date(a.setDate(a.getDate()-1)))),e.disableDatesPast&&!e.disableAllDates&&J(e.context.displayDateMin)<J(e.context.dateToday)&&X(e,`displayDateMin`,e.context.dateToday)})(e),Lb(e,r.tooltipEl,t)},reset:()=>{if(!n)return;let[i,a]=[e.context.selectedDates[0],e.context.selectedDates[e.context.selectedDates.length-1]];X(e,`selectedDates`,e.context.selectedDates[0]===e.context.selectedDates[e.context.selectedDates.length-1]?[e.context.selectedDates[0],e.context.selectedDates[0]]:e.enableEdgeDatesOnly?[i,a]:(()=>{let t=new Set(e.context.disableDates);return Db([`${i}:${a}`]).filter(e=>!t.has(e))})()),e.disableDatesGaps&&(X(e,`displayDateMin`,r.rangeMin),X(e,`displayDateMax`,r.rangeMax)),e.onCreateDateRangeTooltip&&Lb(e,r.tooltipEl,e.context.selectedDates[0]?t:null)}})[e.context.selectedDates.length===1?`set`:`reset`]()},Kb=e=>e.getRootNode?e.getRootNode():document,qb=new WeakSet,Jb=`data-vc-prev-tabindex`,Yb=e=>e.tabIndex>=0&&!e.hasAttribute(`disabled`)&&e.getAttribute(`aria-disabled`)!==`true`,Xb=e=>{if(e.hasAttribute(Jb))return;let t=e.getAttribute(`tabindex`);e.setAttribute(Jb,t??``)},Zb=e=>{if(!e.hasAttribute(Jb))return;let t=e.getAttribute(Jb);t===``||t===null?e.removeAttribute(`tabindex`):e.setAttribute(`tabindex`,t),e.removeAttribute(Jb)},Qb=e=>{e.setAttribute(`inert`,``),e.ariaHidden=`true`,(e=>{Yb(e)&&(Xb(e),e.tabIndex=-1);let t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>Yb(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;t.nextNode();){let e=t.currentNode;Xb(e),e.tabIndex=-1}})(e)},$b=e=>{var t;if(ax(e),!e.context.isShowInInputMode||!e.context.currentType)return;let n=e.context.mainElement.contains(Kb(e.context.mainElement).activeElement);e.context.mainElement.dataset.vcCalendarHidden=``,X(e,`isShowInInputMode`,!1),e.inputMode&&Qb(e.context.mainElement),(t=e.context.inputElement)!=null&&t.hasAttribute(`aria-expanded`)&&e.context.inputElement.setAttribute(`aria-expanded`,`false`),e.context.cleanupHandlers[0]&&(e.context.cleanupHandlers.forEach(e=>e()),X(e,`cleanupHandlers`,[])),e.inputMode&&e.context.inputElement&&n&&((typeof e.openOnFocus==`function`||!0===e.openOnFocus)&&(e=>{qb.add(e)})(e),e.context.inputElement.focus()),e.onHide&&e.onHide(e)};function ex(e){if(e==null||!e.getBoundingClientRect)return{top:0,bottom:0,left:0,right:0};let t=e.getBoundingClientRect(),n=document.documentElement;return{bottom:t.bottom,right:t.right,top:t.top+window.scrollY-n.clientTop,left:t.left+window.scrollX-n.clientLeft}}function tx(){return{vw:Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),vh:Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)}}function nx(e,t,n=5){let r={top:!0,bottom:!0,left:!0,right:!0},i=[];if(!t||!e)return{canShow:r,parentPositions:i};let{bottom:a,top:o}=function(e){let{top:t,left:n}={left:window.scrollX||document.documentElement.scrollLeft||0,top:window.scrollY||document.documentElement.scrollTop||0},{top:r,left:i}=ex(e),{vh:a,vw:o}=tx(),s=r-t,c=i-n;return{top:s,bottom:a-(s+e.clientHeight),left:c,right:o-(c+e.clientWidth)}}(e),{top:s,left:c}=ex(e),{height:l,width:u}=t.getBoundingClientRect(),{vh:d,vw:f}=tx(),p=f/2,m=d/2;return[{condition:s<m,position:`top`},{condition:s>m,position:`bottom`},{condition:c<p,position:`left`},{condition:c>p,position:`right`}].forEach(({condition:e,position:t})=>{e&&i.push(t)}),Object.assign(r,{top:l<=o-n,bottom:l<=a-n,left:u<=c,right:u<=f-c}),{canShow:r,parentPositions:i}}var rx=(e,t,n)=>{if(!e)return;let r=n===`auto`?function(e,t){let n=`left`;if(!t||!e)return n;let{canShow:r,parentPositions:i}=nx(e,t),a=r.left&&r.right;return(a&&r.bottom?`center`:a&&r.top?[`top`,`center`]:Array.isArray(i)?[i[0]===`bottom`?`top`:`bottom`,...i.slice(1)]:i)||n}(e,t):n,i={top:-t.offsetHeight,bottom:e.offsetHeight,left:0,center:e.offsetWidth/2-t.offsetWidth/2,right:e.offsetWidth-t.offsetWidth},a=Array.isArray(r)?r[0]:`bottom`,o=Array.isArray(r)?r[1]:r;t.dataset.vcPosition=a;let{top:s,left:c}=ex(e),l=s+i[a],u=c+i[o],{vw:d}=tx();if(u+t.clientWidth>d){let e=window.innerWidth-document.body.clientWidth;u=d-t.clientWidth-e}else u<0&&(u=0);Object.assign(t.style,{left:`${u}px`,top:`${l}px`})},ix=new WeakMap,ax=e=>{clearTimeout(ix.get(e)),ix.delete(e)},ox=e=>{ax(e),ix.set(e,setTimeout(()=>{ix.delete(e),e.context.isDestroyed||sx(e)}))},sx=e=>{var t,n;if(ax(e),e.context.isShowInInputMode||e.context.isDestroyed)return;if(!e.context.currentType)return void e.context.mainElement.click();X(e,`cleanupHandlers`,[]),X(e,`isShowInInputMode`,!0),e.inputMode&&((n=e.context.mainElement).removeAttribute(`inert`),n.removeAttribute(`aria-hidden`),(e=>{Zb(e),e.querySelectorAll(`[${Jb}]`).forEach(Zb)})(n)),rx(e.context.inputElement,e.context.mainElement,e.positionToInput),e.context.mainElement.removeAttribute(`data-vc-calendar-hidden`),(t=e.context.inputElement)!=null&&t.hasAttribute(`aria-expanded`)&&e.context.inputElement.setAttribute(`aria-expanded`,`true`);let r=()=>{rx(e.context.inputElement,e.context.mainElement,e.positionToInput)};window.addEventListener(`resize`,r),e.context.cleanupHandlers.push(()=>window.removeEventListener(`resize`,r));let i=t=>{t.key===`Escape`&&$b(e)};document.addEventListener(`keydown`,i),e.context.cleanupHandlers.push(()=>document.removeEventListener(`keydown`,i));let a=t=>{let n=t.composedPath()[0]??t.target;n===e.context.inputElement||e.context.mainElement.contains(n)||$b(e)};document.addEventListener(`click`,a,{capture:!0}),e.context.cleanupHandlers.push(()=>document.removeEventListener(`click`,a,{capture:!0})),e.onShow&&e.onShow(e)},cx=`The calendar has not been initialized, please initialize it using the "init()" method first.`,lx=`You specified an incorrect language label or did not specify the required number of values for «locale.weekdays» or «locale.months».`,Z=e=>String(e).replace(/[&<>"']/g,e=>({"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`})[e]),ux=(e,t)=>`\n <div class="${Z(e.styles.header)}" data-vc="header" role="group" aria-label="${Z(e.labels.navigation)}">\n${t?` <#ArrowPrev [${t}] />\n`:``} <div class="${Z(e.styles.headerContent)}" data-vc-header="content" aria-live="polite" aria-atomic="true">\n <#Month />\n <#Year />\n </div>\n${t?` <#ArrowNext [${t}] />\n`:``} </div>\n`,dx=(e,t=`month`)=>`${ux(e,t)} <div class="${Z(e.styles.wrapper)}" data-vc="wrapper">\n <#WeekNumbers />\n <div class="${Z(e.styles.content)}" data-vc="content" role="grid">\n <#Week />\n <#Dates />\n <#DateRangeTooltip />\n </div>\n </div>\n <#Collapse />\n <#ControlTime />\n`,fx=e=>e,px=new WeakMap,mx=e=>{var t;(t=px.get(e))==null||t.observer.disconnect(),px.delete(e)},hx=mx,gx=e=>!(e.animation||e.enableCollapse||e.onCreateDateEls||e.onCreateDateRangeTooltip||e.disableDatesGaps||e.popups&&Object.keys(e.popups).length||e.sanitizerHTML!==fx||e.context.currentType!=="default"&&e.context.currentType!==`multiple`||e.layouts[e.context.currentType]!==(e.context.currentType===`multiple`?Y(e).months?.layout(e):dx(e))),_x=e=>JSON.stringify(Object.entries(e).filter(([e])=>e!==`context`&&e!==`selectedDates`),(e,t)=>typeof t==`function`||t),vx=({context:e})=>JSON.stringify([e.currentType,e.locale,e.dateToday,e.dateMin,e.dateMax,e.displayDateMin,e.displayDateMax,e.selectedYear,e.selectedMonth,e.displayMonthsCount,e.selectedHours,e.selectedMinutes,e.selectedKeeping,e.selectedTime]),yx=e=>JSON.stringify([vx(e),e.context.displayYear,e.context.displayWeekDate,e.context.selectedDates,e.context.disableDates,e.context.enableDates]),bx=(e,t=!1)=>{let n=px.get(e);if(!n||!t&&!n.fullLayout||n.dirty||n.observer.takeRecords().length||!gx(e))return;let r=Kb(e.context.mainElement).activeElement;if(!r||r===e.context.mainElement||!e.context.mainElement.contains(r)||t&&!r.closest(`[data-vc="column"], [data-vc="dates"], [data-vc-week="numbers"]`))try{if(n.options===_x(e)&&n.context===yx(e)&&n.timezone===new Intl.DateTimeFormat().resolvedOptions().timeZone)return n}catch{}},xx=(e,t=!1)=>{if(mx(e),gx(e)&&!e.context.isDestroyed)try{let n=_x(e),r=yx(e);if(n.length+r.length>262144)return;let i=Array.from(e.context.mainElement.querySelectorAll(`[data-vc="dates"]`));if(i.length!==e.context.displayMonthsCount)return;let a={observer:new MutationObserver(()=>a.dirty=!0),dirty:!1,fullLayout:t,options:n,context:r,structure:vx(e),timezone:new Intl.DateTimeFormat().resolvedOptions().timeZone,month:12*e.context.selectedYear+e.context.selectedMonth,count:i.length};a.observer.observe(e.context.mainElement,{subtree:!0,childList:!0,attributes:!0,characterData:!0}),px.set(e,a)}catch{mx(e)}},Sx=(e,t,n,r=``)=>{t?e.getAttribute(n)!==r&&e.setAttribute(n,r):e.getAttribute(n)===r&&e.removeAttribute(n)},Cx=(e,t,n,r,i,a,o)=>{let s=(u=a,Date.parse(`${u}T00:00:00`)),c=jb(e),l=c.min>s||c.max<s||c.disabled.set.has(a)||!e.selectionMonthsMode&&o!==`current`||!e.selectionYearsMode&&J(a).getFullYear()!==t;var u;Sx(n,l,`data-vc-date-disabled`),r&&Sx(r,l,`aria-disabled`,`true`),r&&l&&Sx(r,!0,`tabindex`,`-1`),r&&r.disabled!==!!l&&(r.disabled=!!l),Sx(n,!e.disableToday&&e.context.dateToday===a,`data-vc-date-today`),Sx(n,!e.disableToday&&e.context.dateToday===a,`aria-current`,`date`),Sx(n,e.selectedWeekends?.includes(i),`data-vc-date-weekend`),Sx(n,c.holidays.has(a),`data-vc-date-holiday`);let d=c.selected.set.has(a),f=d?``:void 0;d?(Sx(n,!0,`aria-selected`,`true`),e.context.selectedDates.length>1&&e.selectionDatesMode===`multiple-ranged`&&(e.context.selectedDates[0]===a&&e.context.selectedDates[e.context.selectedDates.length-1]===a?f=`first-and-last`:e.context.selectedDates[0]===a?f=`first`:e.context.selectedDates[e.context.selectedDates.length-1]===a&&(f=`last`),e.context.selectedDates[0]!==a&&e.context.selectedDates[e.context.selectedDates.length-1]!==a&&(f=`middle`))):n.hasAttribute(`data-vc-date-selected`)&&n.removeAttribute(`aria-selected`),!c.disabled.set.has(a)&&e.enableEdgeDatesOnly&&e.context.selectedDates.length>1&&e.selectionDatesMode===`multiple-ranged`&&(s>c.first&&s<c.last?f=`middle`:f===`middle`&&(f=void 0)),f===void 0?n.hasAttribute(`data-vc-date-selected`)&&n.removeAttribute(`data-vc-date-selected`):Sx(n,!0,`data-vc-date-selected`,f)},wx=new Map,Tx=new Map,Ex=(e,t,n)=>{var r;let i=e.disableWeekdays?.includes(n),a=e.disableAllDates&&!((r=e.context.enableDates)==null||!r[0]),o=jb(e);if((i||a)&&!o.enabled.set.has(t)&&!o.disabled.set.has(t)){let n=e.context.disableDates;if(o.disabled.set.add(t),e.onCreateDateEls)n.push(t),Ub(n),o.disabled.values=n.slice();else{let e=+new Date(t),r=0,i=n.length;for(;r<i;){let t=r+i>>>1;+new Date(n[t])<=e?r=t+1:i=t}n.splice(r,0,t),o.disabled.values.splice(r,0,t)}}},Dx=(e,t,n,r,i,a)=>{var o;let s,c=J(i).getDay(),l=typeof e.locale==`string`&&e.locale.length?e.locale:`en`,u=document.createElement(`div`);u.className=e.styles.date,u.dataset.vcDate=i,u.dataset.vcDateMonth=a,u.dataset.vcDateWeekDay=String(c),u.role=`gridcell`,(a===`current`||e.displayDatesOutside)&&(s=document.createElement(`button`),s.className=e.styles.dateBtn,s.type=`button`,s.dataset.vcDateBtn=``,s.ariaLabel=((e,t)=>{let n=`${t}:${e}`,r=Tx.get(n);if(r!==void 0)return r;let i=wx.get(t);i||(i=new Intl.DateTimeFormat(t,{dateStyle:`long`,timeZone:`UTC`}),wx.size>=8&&wx.delete(wx.keys().next().value),wx.set(t,i));let a=i.format(new Date(`${e}T00:00:00.000Z`));return Tx.size>=512&&Tx.delete(Tx.keys().next().value),Tx.set(n,a),a})(i,l),s.innerText=String(r),u.appendChild(s)),e.enableWeekNumbers&&((o=Y(e).weeks)==null||o.date(e,u,i)),Ex(e,i,c),Cx(e,t,u,s,c,i,a),n.addDate(u),e.onCreateDateEls&&(e.onCreateDateEls(e,u),Ab(e))},Ox=[{container:`[data-vc="dates"]`,item:`[data-vc-date-btn]`,active:[`[data-vc-date-selected] [data-vc-date-btn]`,`[data-vc-date-today] [data-vc-date-btn]`]},{container:`[data-vc="months"]`,item:`[data-vc-months-month]`,active:[`[data-vc-months-month-selected]`]},{container:`[data-vc="years"]`,item:`[data-vc-years-year]`,active:[`[data-vc-years-year-selected]`]}],kx=e=>!e.hasAttribute(`disabled`)&&e.getAttribute(`aria-disabled`)!==`true`,Ax=(e,t,n)=>{if(n&&kx(n))return e.querySelectorAll(`${t.item}:not([tabindex="-1"])`).forEach(e=>{e!==n&&(e.tabIndex=-1)}),void(n.getAttribute(`tabindex`)!==`0`&&(n.tabIndex=0));let r=Array.from(e.querySelectorAll(t.item));if(!r[0])return;let i=((e,t,n)=>t.active.map(t=>e.querySelector(t)).find(e=>!!e&&kx(e))??n.find(kx)??n[0])(e,t,r);r.forEach(e=>{let t=e===i?0:-1;e.getAttribute(`tabindex`)!==String(t)&&(e.tabIndex=t)})},jx=e=>{let t=e.target,n=Ox.find(e=>t.matches?.call(t,e.item)),r=n?t.closest(n.container):null;n&&r&&Ax(r,n,t)},Mx=e=>{Ox.forEach(t=>{e.context.mainElement.querySelectorAll(t.container).forEach(e=>{e.closest(`[data-vc-ghost]`)||Ax(e,t,null)})})},Nx=(e,t,n=!0)=>{hx(e);let r=new Date(e.context.selectedYear,e.context.selectedMonth,1),i=e.context.mainElement.querySelectorAll(`[data-vc="dates"]`),a=Y(e).weeks,o=e.enableWeekNumbers?e.context.mainElement.querySelectorAll(`[data-vc-week="numbers"]`):[],s=Y(e).annotations?.prepare(e,i.length);i.forEach((n,i)=>{e.selectionDatesMode||(n.dataset.vcDatesDisabled=``);let c=t?12*e.context.selectedYear+e.context.selectedMonth+i-t.month:-1;if(t&&c>=0&&c<t.count)return;if(n.textContent=``,Ab(e),e.context.currentType===`week`)return a?.dates(e,n),s?.(n),void(a==null||a.numbers(e,0,7,o[i],n));let l=new Date(r);l.setMonth(l.getMonth()+i);let u=l.getMonth(),d=l.getFullYear(),f=(new Date(d,u,1).getDay()-e.firstWeekday+7)%7,p=new Date(d,u+1,0).getDate(),m=f+p,h=Math.ceil(m/7),g=7*h-m,_=[];for(let t=0;t<h;t++){let t=document.createElement(`div`);t.className=e.styles.datesRow,t.setAttribute(`data-vc-dates`,`row`),t.setAttribute(`role`,`row`),_.push(t)}let v=0,y=0,b={addDate:e=>{_[v].appendChild(e),y++,y>=7&&(v++,y=0)}};((e,t,n,r,i)=>{let a=new Date(n,r,0).getDate()-(i-1),o=r===0?n-1:n,s=r===0?12:r<10?`0${r}`:r;for(let r=i;r>0;r--,a++)Dx(e,n,t,a,`${o}-${s}-${a}`,`prev`)})(e,b,d,u,f),((e,t,n,r,i)=>{for(let a=1;a<=n;a++){let n=new Date(r,i,a);Dx(e,r,t,a,Eb(n),`current`)}})(e,b,p,d,u),((e,t,n,r,i)=>{let a=i+1===12?r+1:r,o=i+1===12?`01`:i+2<10?`0${i+2}`:i+2;for(let i=1;i<=n;i++){let n=`${a}-${o}-${i<10?`0${i}`:String(i)}`;Dx(e,r,t,i,n,`next`)}})(e,b,g,d,u);for(let e of _)n.appendChild(e);s?.(n),a?.numbers(e,f,p,o[i],n)}),Mx(e),n&&xx(e,t?.fullLayout)},Px=(e,t)=>`${ux(e,t===`Years`?`year`:void 0)} <div class="${Z(e.styles.wrapper)}" data-vc="wrapper">\n <div class="${Z(e.styles.content)}" data-vc="content">\n <#${t} />\n </div>\n </div>\n`,Fx=e=>Px(e,`Months`),Ix=e=>Px(e,`Years`),Lx=(e,t,n)=>e.labels[`arrow`+(t===`prev`?`Prev`:`Next`)][n],Rx={ArrowNext:(e,t)=>`<button type="button" class="${Z(e.styles.arrowNext)}" data-vc-arrow="next" aria-label="${Z(Lx(e,`next`,t))}"></button>`,ArrowPrev:(e,t)=>`<button type="button" class="${Z(e.styles.arrowPrev)}" data-vc-arrow="prev" aria-label="${Z(Lx(e,`prev`,t))}"></button>`,Dates:e=>`<div class="${Z(e.styles.dates)}" data-vc="dates" role="rowgroup" aria-label="${Z(e.labels.dates)}"></div>`,Month:e=>`<button type="button" class="${Z(e.styles.month)}" data-vc="month"></button>`,Months:e=>`<div class="${Z(e.styles.months)}" data-vc="months" role="grid" aria-label="${Z(e.labels.months)}"></div>`,Week:e=>`<div class="${Z(e.styles.week)}" data-vc="week" role="row" aria-label="${Z(e.labels.week)}"></div>`,Year:e=>`<button type="button" class="${Z(e.styles.year)}" data-vc="year"></button>`,Years:e=>`<div class="${Z(e.styles.years)}" data-vc="years" role="grid" aria-label="${Z(e.labels.years)}"></div>`},zx=(e,t)=>t.replace(/[\n\t]/g,``).replace(/<#(?!\/?Multiple)(.*?)>/g,(t,n)=>{let r=(n.match(/\[(.*?)\]/)||[])[1],i=((e,t)=>t===`Collapse`?Y(e).weeks?.component:t===`WeekNumbers`?Y(e).weeks?.numbersComponent:t===`DateRangeTooltip`?Y(e).annotations?.component:t===`ControlTime`?Y(e).time?.component:Object.prototype.hasOwnProperty.call(Rx,t)?Rx[t]:void 0)(e,n.replace(/[/\s\n\t]|\[(.*?)\]/g,``)),a=i?i(e,r??null):``;return e.sanitizerHTML(a)}).replace(/[\n\t]/g,``),Bx=(e,t)=>{var n;let r=Y(e),i={default:dx,month:Fx,year:Ix,multiple:r.months?.layout,week:r.weeks?.layout};var a;Object.keys(i).forEach(t=>{let n=t;e.layouts[n].length||(e.layouts[n]=i[n]?.call(i,e)??``)}),e.context.mainElement.className=e.styles.calendar,e.context.mainElement.dataset.vc=`calendar`,e.context.mainElement.dataset.vcType=e.context.currentType,e.context.mainElement.toggleAttribute(`data-vc-swipe`,e.enableSwipe),e.context.mainElement.role=e.inputMode?`dialog`:`group`,e.context.mainElement.tabIndex=-1,e.context.mainElement.ariaLabel=e.labels.application,(n=r.months)!=null&&n.render(e,t)||((a=r.time)==null||a.destroy(e),e.context.mainElement.innerHTML=e.sanitizerHTML(zx(e,e.layouts[e.context.currentType]))),(e=>{let t=[`multiple`,`multiple-ranged`].includes(String(e.selectionDatesMode));e.context.mainElement.querySelectorAll(`[data-vc="content"][role="grid"]`).forEach(e=>{t?e.setAttribute(`aria-multiselectable`,`true`):e.removeAttribute(`aria-multiselectable`)})})(e)},Vx=(e,t,n,r)=>{e.style.visibility=n?`hidden`:``,t.style.visibility=r?`hidden`:``},Hx=e=>{if(e.context.currentType===`month`)return;let t=e.context.mainElement.querySelector(`[data-vc-arrow="prev"]`),n=e.context.mainElement.querySelector(`[data-vc-arrow="next"]`);t&&n&&{default:()=>((e,t,n)=>{let r=J(Eb(new Date(e.context.selectedYear,e.context.selectedMonth,1))),i=new Date(r.getTime()),a=new Date(r.getTime());i.setMonth(i.getMonth()-e.monthsToSwitch),a.setMonth(a.getMonth()+e.monthsToSwitch);let o=J(e.context.dateMin),s=J(e.context.dateMax);e.selectionYearsMode||(o.setFullYear(r.getFullYear()),s.setFullYear(r.getFullYear())),Vx(t,n,!e.selectionMonthsMode||i.getFullYear()<o.getFullYear()||i.getFullYear()===o.getFullYear()&&i.getMonth()<o.getMonth(),!e.selectionMonthsMode||a.getFullYear()>s.getFullYear()||a.getFullYear()===s.getFullYear()&&a.getMonth()>s.getMonth()-(e.context.displayMonthsCount-1))})(e,t,n),year:()=>((e,t,n)=>{let r=J(e.context.dateMin),i=J(e.context.dateMax);Vx(t,n,!!(r.getFullYear()&&e.context.displayYear-7<=r.getFullYear()),!!(i.getFullYear()&&e.context.displayYear+7>=i.getFullYear()))})(e,t,n),week:()=>Y(e).weeks?.arrows(e,t,n)}[e.context.currentType===`multiple`?`default`:e.context.currentType]()},Ux=(e,t)=>{let n=e.context.mainElement.querySelectorAll(`[data-vc="month"]`),r=e.context.mainElement.querySelectorAll(`[data-vc="year"]`),i=new Date(e.context.selectedYear,e.context.selectedMonth,1);[n,r].forEach(n=>n?.forEach((n,r)=>{(!t||t.includes(r))&&((e,t,n,r,i)=>{let a=new Date(r.setFullYear(e.context.selectedYear,e.context.selectedMonth+n)).getFullYear(),o=new Date(r.setMonth(e.context.selectedMonth+n)).getMonth(),s=e.context.locale.months.long[o],c=t.closest(`[data-vc="column"]`);c&&(c.ariaLabel=`${s} ${a}`);let l={month:{id:o,label:s},year:{id:a,label:a}};t.innerText=String(l[i].label),t.dataset[`vc${i.charAt(0).toUpperCase()+i.slice(1)}`]=String(l[i].id),t.ariaLabel=`${e.labels[i]} ${l[i].label}`;let u={month:e.selectionMonthsMode,year:e.selectionYearsMode},d=!1===u[i]||u[i]===`only-arrows`;d&&(t.tabIndex=-1),t.disabled=d})(e,n,r,i,n.dataset.vc)}))},Wx=(e,t,n,r,i)=>{let a={month:{selected:`data-vc-months-month-selected`,aria:`aria-selected`,value:`vcMonthsMonth`,selectedProperty:`selectedMonth`},year:{selected:`data-vc-years-year-selected`,aria:`aria-selected`,value:`vcYearsYear`,selectedProperty:`selectedYear`}};var o,s;i&&((o=e.context.mainElement.querySelectorAll({month:`[data-vc-months-month]`,year:`[data-vc-years-year]`}[n]))==null||o.forEach(e=>{var t;e.removeAttribute(a[n].selected),(t=e.parentElement)==null||t.removeAttribute(a[n].aria)}),X(e,a[n].selectedProperty,Number(t.dataset[a[n].value])),Ux(e),n===`year`&&Hx(e)),r&&(t.setAttribute(a[n].selected,``),(s=t.parentElement)==null||s.setAttribute(a[n].aria,`true`))},Gx=(e,t,n,r,i,a,o,s)=>{let c=t===`month`?`months`:`years`,l=document.createElement(`div`);l.className=e.styles[`${c}Cell`],l.setAttribute(`data-vc-${c}`,`cell`),l.role=`gridcell`;let u=n.cloneNode(!1);return u.className=e.styles[t===`month`?`monthsMonth`:`yearsYear`],u.innerText=o,u.ariaLabel=s,u.setAttribute(`data-vc-${c}-${t}`,String(a)),i&&(u.ariaDisabled=`true`),i&&(u.tabIndex=-1),u.disabled=i,l.appendChild(u),Wx(e,u,t,r===a,!1),l},Kx=(e,t)=>Y(e).months?.column(e,t)??{currentValue:null,columnID:0},qx=(e,t)=>{var n;let r=t==null||(n=t.closest(`[data-vc="header"]`))==null?void 0:n.querySelector(`[data-vc="year"]`),i=r?Number(r.dataset.vcYear):e.context.selectedYear,a=t!=null&&t.dataset.vcMonth?Number(t.dataset.vcMonth):e.context.selectedMonth;X(e,`currentType`,`month`),Bx(e,t),Ux(e);let o=e.context.mainElement.querySelector(`[data-vc="months"]`);if(!e.selectionMonthsMode||!o)return;let s=e.monthsToSwitch>1?e.context.locale.months.long.map((t,n)=>a-e.monthsToSwitch*n).concat(e.context.locale.months.long.map((t,n)=>a+e.monthsToSwitch*n)).filter(e=>e>=0&&e<=12):Array.from(Array(12).keys()),c=document.createElement(`button`);c.type=`button`;let l,u=()=>({min:J(e.context.dateMin),max:J(e.context.dateMax),monthCount:e.context.displayMonthsCount-1,columnID:Kx(e,`month`).columnID}),d=e.onCreateMonthEls?void 0:u();for(let t=0;t<12;t++){t%4==0&&(l=document.createElement(`div`),l.className=e.styles.monthsRow,l.dataset.vcMonths=`row`,l.role=`row`,o.appendChild(l));let{min:n,max:r,monthCount:f,columnID:p}=d??u(),m=Gx(e,`month`,c,a,i<=n.getFullYear()&&t<n.getMonth()+p||i>=r.getFullYear()&&t>r.getMonth()-f+p||i>r.getFullYear()||t!==a&&!s.includes(t),t,e.context.locale.months.short[t],e.context.locale.months.long[t]);l?.appendChild(m),e.onCreateMonthEls&&e.onCreateMonthEls(e,m)}Mx(e)},Jx=e=>{let t=e.selectedWeekends?[...e.selectedWeekends]:[],n=[...e.context.locale.weekdays.long].map((n,r)=>({id:r,titleShort:e.context.locale.weekdays.short[r],titleLong:n,isWeekend:t.includes(r)})),r=[...n.slice(e.firstWeekday),...n.slice(0,e.firstWeekday)],i=Y(e).weeks?.weekday(e),a=document.createElement(i?`div`:`b`);e.context.mainElement.querySelectorAll(`[data-vc="week"]`).forEach(t=>{r.forEach(n=>{let r=a.cloneNode(!1);r.className=e.styles.weekDay,r.role=`columnheader`,r.ariaLabel=n.titleLong,r.dataset.vcWeekDay=String(n.id),n.isWeekend&&(r.dataset.vcWeekDayOff=``),i?i(r,n.titleShort,n.titleLong):r.innerText=n.titleShort,t.appendChild(r)})})},Yx=(e,t)=>{let n=t!=null&&t.dataset.vcYear?Number(t.dataset.vcYear):e.context.selectedYear;X(e,`currentType`,`year`),Bx(e,t),Ux(e),Hx(e);let r=e.context.mainElement.querySelector(`[data-vc="years"]`);if(!e.selectionYearsMode||!r)return;let i=e.type===`multiple`?e.context.selectedYear===n?0:1:0,a=document.createElement(`button`);a.type=`button`;let o,s=()=>[J(e.context.dateMin).getFullYear(),J(e.context.dateMax).getFullYear()],c=e.onCreateYearEls?void 0:s();for(let t=e.context.displayYear-7;t<e.context.displayYear+8;t++){(t-(e.context.displayYear-7))%5==0&&(o=document.createElement(`div`),o.className=e.styles.yearsRow,o.dataset.vcYears=`row`,o.role=`row`,r.appendChild(o));let[l,u]=c??s(),d=Gx(e,`year`,a,n,t<l+i||t>u,t,String(t),String(t));o?.appendChild(d),e.onCreateYearEls&&e.onCreateYearEls(e,d)}Mx(e)},Xx=new WeakMap,Zx=e=>{var t,n;let r=window.matchMedia(`(prefers-color-scheme)`).media!==`not all`;var i,a;if(!r||e.selectedTheme!==`system`)return(i=(a=e.context).cleanupSystemTheme)==null||i.call(a),void(e.context.mainElement.dataset.vcTheme=r?e.selectedTheme:`light`);let o=e.themeAttrDetect.length?document.querySelector(e.themeAttrDetect):null,s=e.themeAttrDetect.replace(/^.*\[(.+)\]/g,(e,t)=>t),c=Xx.get(e);if(c?.element===o&&c.attr===s)return void c.update();(t=(n=e.context).cleanupSystemTheme)==null||t.call(n);let l,u=window.matchMedia(`(prefers-color-scheme: dark)`),d=()=>{let t=o?.getAttribute(s),n=!t||t===`system`;e.context.mainElement.dataset.vcTheme=n?u.matches?`dark`:`light`:t,n&&!l?u.addEventListener?(u.addEventListener(`change`,d),l=()=>u.removeEventListener(`change`,d)):(u.addListener(d),l=()=>u.removeListener(d)):!n&&l&&(l(),l=void 0)},f=o?((e,t,n)=>{let r=new MutationObserver(e=>{for(let r=0;r<e.length;r++)if(e[r].attributeName===t){n();break}});return r.observe(e,{attributes:!0,attributeFilter:[t]}),()=>r.disconnect()})(o,s,d):void 0;Xx.set(e,{element:o,attr:s,update:d}),X(e,`cleanupSystemTheme`,()=>{f?.(),l?.(),Xx.delete(e),X(e,`cleanupSystemTheme`,void 0)}),d()};function Qx(e){return Qx=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Qx(e)}function Q(e,t,n){return(t=function(e){var t=function(e){if(Qx(e)!=`object`||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,`string`);if(Qx(n)!=`object`)return n;throw TypeError(`@@toPrimitive must return a primitive value.`)}return String(e)}(e);return Qx(t)==`symbol`?t:t+``}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eS(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?$x(Object(n),!0).forEach(function(t){Q(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$x(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var tS=new Map,nS=(e,t,n)=>{let r=new Intl.DateTimeFormat(e,{[t]:n,timeZone:`UTC`});return Array.from({length:t===`weekday`?7:12},(e,n)=>{return(i=r.format(new Date(Date.UTC(1978,t===`month`?n:0,t===`weekday`?n+1:1)))).charAt(0).toUpperCase()+i.slice(1).replace(/\./,``);var i})},rS=e=>{if(e.context.locale.weekdays.short[6]&&e.context.locale.weekdays.long[6]&&e.context.locale.months.short[11]&&e.context.locale.months.long[11])return;if(typeof e.locale!=`string`){var t,n,r,i;if(!((t=e.locale)!=null&&(t=t.weekdays)!=null&&t.short[6]&&(n=e.locale)!=null&&(n=n.weekdays)!=null&&n.long[6]&&(r=e.locale)!=null&&(r=r.months)!=null&&r.short[11]&&(i=e.locale)!=null&&(i=i.months)!=null&&i.long[11]))throw Error(lx);X(e,`locale`,eS({},e.locale));return}if(typeof e.locale==`string`&&!e.locale.length)throw Error(lx);let a=tS.get(e.locale);a||(a={weekdays:{short:nS(e.locale,`weekday`,`short`),long:nS(e.locale,`weekday`,`long`)},months:{short:nS(e.locale,`month`,`short`),long:nS(e.locale,`month`,`long`)}},tS.size>=8&&tS.delete(tS.keys().next().value),tS.set(e.locale,a));for(let t of[`weekdays`,`months`])for(let n of[`short`,`long`])e.context.locale[t][n].push(...a[t][n])},iS=(e,t=!0)=>{var n;hx(e),Zx(e),rS(e),Bx(e),Ux(e),Hx(e),(n=Y(e).time)==null||n.render(e),{default:()=>{Jx(e),Nx(e,void 0,!1)},multiple:()=>{Jx(e),Nx(e,void 0,!1)},week:()=>{var t;(t=Y(e).weeks)==null||t.init(e),Jx(e),Nx(e,void 0,!1)},month:()=>qx(e),year:()=>Yx(e)}[e.context.currentType](),t&&xx(e,!0)},aS=(e,t=!1)=>{Ab(e),e.context.mainElement.querySelectorAll(`[data-vc-date]`).forEach(n=>{let r=n.querySelector(`[data-vc-date-btn]`),i=n.dataset.vcDate,a=J(i),o=a.getDay();t&&Ex(e,i,o);let s=t?n.dataset.vcDateMonth:`current`;s===`prev`&&a.setMonth(a.getMonth()+1,1),s===`next`&&a.setMonth(a.getMonth()-1,1),Cx(e,t?a.getFullYear():e.context.selectedYear,n,r,o,i,s)}),Mx(e)},oS=e=>{let t=[{container:`[data-vc="dates"]`,row:`[data-vc-dates="row"]`,item:`[data-vc-date-btn]`},{container:`[data-vc="months"]`,row:`[data-vc-months="row"]`,item:`[data-vc-months-month]`},{container:`[data-vc="years"]`,row:`[data-vc-years="row"]`,item:`[data-vc-years-year]`}],n=e=>!e.disabled&&e.getAttribute(`aria-disabled`)!==`true`,r=e=>{let r=e.target.closest(`button`);if(!r||![`ArrowUp`,`ArrowDown`,`ArrowLeft`,`ArrowRight`].includes(e.key))return;let i,a=t.find(e=>r.matches(e.item)),o=a?r.closest(a.container):null;if(a&&o&&!o.closest(`[data-vc-ghost]`)&&n(r)){if(e.key===`ArrowUp`||e.key===`ArrowDown`)i=((e,t,r,i)=>{var a;let o=r.closest(t.row);if(!o)return r;let s=Array.from(e.querySelectorAll(t.row)),c=s.indexOf(o),l=Array.from(o.children).indexOf(r.parentElement),u=s[c+i],d=u==null||(a=u.children[l])==null?void 0:a.querySelector(t.item);return d&&n(d)?d:r})(o,a,r,e.key===`ArrowUp`?-1:1);else{let t=Array.from(o.querySelectorAll(a.item)).filter(n),s=t.indexOf(r);if(s===-1)return;i=e.key===`ArrowLeft`?t[Math.max(0,s-1)]:t[Math.min(t.length-1,s+1)]}e.preventDefault(),i?.focus()}};return e.context.mainElement.addEventListener(`keydown`,r),e.context.mainElement.addEventListener(`focusin`,jx),()=>{e.context.mainElement.removeEventListener(`keydown`,r),e.context.mainElement.removeEventListener(`focusin`,jx)}},sS=`[data-vc="dates"]`,cS=(e,t)=>e===`next`?t:-t,lS=e=>{let t={selector:sS,shift:t=>((e,t)=>{let n=J(Eb(new Date(e.context.selectedYear,e.context.selectedMonth,1)));n.setMonth(n.getMonth()+cS(t,e.monthsToSwitch)),X(e,`selectedMonth`,n.getMonth()),X(e,`selectedYear`,n.getFullYear())})(e,t),render:(t,n)=>Nx(e,n)};return{default:t,multiple:t,week:{selector:sS,shift:t=>Y(e).weeks?.shift(e,t),render:()=>Nx(e)},year:{selector:`[data-vc="years"]`,shift:t=>X(e,`displayYear`,e.context.displayYear+cS(t,15)),render:t=>Yx(e,t)},month:null}[e.context.currentType]},uS=(e,t,n)=>{let r=lS(e);if(!r)return;let{mainElement:i}=e.context,a=i.contains(Kb(i).activeElement),o=e.context.currentType===`multiple`?bx(e,!0):void 0;hx(e),r.shift(t);let s=o?Y(e).months?.rotate(e,o):void 0;s||(o=void 0),Ux(e,s),Hx(e);let c=Y(e).motion;c&&e.animation?c.navigate(e,r.selector,t,()=>r.render(n,o)):r.render(n,o),((e,t,n)=>{var r;let{mainElement:i}=e.context;if(!n||i.contains(Kb(i).activeElement))return;let a=i.querySelector(`[data-vc-arrow="${t}"]`);if(a&&a.style.visibility!==`hidden`)return a.focus();(r=Array.from(i.querySelectorAll(`[tabindex="0"]`)).find(e=>!e.closest(`[data-vc-ghost]`)))==null||r.focus()})(e,t,a)},dS=(e,t,n)=>{let r=t.dataset.vcDate,i=t.closest(`[data-vc-date][data-vc-date-selected]`),a=Hb(e);(!i||a)&&X(e,`selectedDates`,i?e.context.selectedDates.filter(e=>e!==r):n?[...e.context.selectedDates,r]:[r])},fS=[`month`,`year`],pS=`[data-vc="column"]`,mS=(e,t,n)=>{let r=Y(e).motion;r&&e.animation?r.changeView(e,t,n):n()},hS=(e,t)=>{var n;let{columnID:r}=Kx(e,e.context.currentType);X(e,`currentType`,e.type),mS(e,r,()=>iS(e)),(n=e.context.mainElement.querySelector(`[data-vc="${t}"]`))==null||n.focus()},gS=e=>{let t=t=>{var n,r;((e,t)=>{let n=t.target,r=n.closest(`[data-vc-arrow]`);r&&(uS(e,r.dataset.vcArrow,n),e.onClickArrow&&e.onClickArrow(e,t))})(e,t),(n=Y(e).weeks)==null||n.click(e,t),((e,t)=>{let n=t.target,r=n.closest(`[data-vc-date-btn]`);if(!e.selectionDatesMode||![`single`,`multiple`,`multiple-ranged`].includes(e.selectionDatesMode)||!r)return;let i=r.closest(`[data-vc-date]`);({single:()=>dS(e,i,!1),multiple:()=>dS(e,i,!0),"multiple-ranged":()=>Gb(e,i)})[e.selectionDatesMode](),e.context.selectedDates&&Ub(e.context.selectedDates),e.onClickDate&&e.onClickDate(e,t),e.inputMode&&e.context.inputElement&&e.context.mainElement&&e.onChangeToInput&&e.onChangeToInput(e,t);let a=n.closest(`[data-vc-date-month="prev"]`),o=n.closest(`[data-vc-date-month="next"]`);({prev:()=>e.enableMonthChangeOnDayClick?uS(e,`prev`):aS(e),next:()=>e.enableMonthChangeOnDayClick?uS(e,`next`):aS(e),current:()=>aS(e)})[a?`prev`:o?`next`:`current`]()})(e,t),((e,t)=>{let n={month:e.selectionMonthsMode,year:e.selectionYearsMode};fS.forEach(r=>{n[r]&&t.target&&((e,t,n)=>{let r=t.target,i=r.closest(`[data-vc="${n}"]`),a=((e,t)=>{let n=t.closest(pS);return n?Array.from(e.context.mainElement.querySelectorAll(pS)).indexOf(n):0})(e,r),o={year:()=>mS(e,a,()=>Yx(e,r)),month:()=>mS(e,a,()=>qx(e,r))};if(i&&e.onClickTitle&&e.onClickTitle(e,t),i&&e.context.currentType!==n){let t=r.closest(pS);return o[n](),((e,t,n)=>(n??e.context.mainElement).querySelector(`[data-vc-${t}s-${t}][tabindex="0"]`)?.focus())(e,n,t)}let s=r.closest(`[data-vc-${n}s-${n}]`);if(s)return((e,t,n,r)=>{({year:()=>{if(e.type===`multiple`)return Y(e).months?.select(e,`year`,r);X(e,`selectedYear`,Number(r.dataset.vcYearsYear))},month:()=>{if(e.type===`multiple`)return Y(e).months?.select(e,`month`,r);X(e,`selectedMonth`,Number(r.dataset.vcMonthsMonth))}})[n](),{year:()=>e.onClickYear?.call(e,e,t),month:()=>e.onClickMonth?.call(e,e,t)}[n](),e.context.currentType===e.type?Wx(e,r,n,!0,!0):hS(e,n)})(e,t,n,s);let c=r.closest(`[data-vc="grid"]`),l=r.closest(`[data-vc="column"]`);(e.context.currentType===n&&i||e.type===`multiple`&&e.context.currentType===n&&c&&!l)&&hS(e,n)})(e,t,r)})})(e,t),(r=Y(e).weeks)==null||r.collapseClick(e,t)};return e.context.mainElement.addEventListener(`click`,t),()=>e.context.mainElement.removeEventListener(`click`,t)},_S=new WeakMap,vS=(e,t)=>{let n=e[t].map(e=>e instanceof Date?e.getTime():e),r=_S.get(e),i=r?.[t];if(i&&n.length===i.values.length){let e=0;for(;e<n.length&&n[e]===i.values[e];)e++;if(e===n.length&&i.timezone===new Intl.DateTimeFormat().resolvedOptions().timeZone)return i.dates.slice()}let a=Db(e[t]);if(a.length>1&&Ub(a),a.length>128&&a.length<=1e4&&n.length<=1e4){let i=r??{};i[t]={values:n,dates:a.slice(),timezone:new Intl.DateTimeFormat().resolvedOptions().timeZone},_S.set(e,i)}else r&&delete r[t];return a},yS=(e,t)=>e===`today`?(()=>{let e=new Date;return new Date(e.getTime()-6e4*e.getTimezoneOffset()).toISOString().substring(0,10)})():e instanceof Date||typeof e==`number`||typeof e==`string`?Db([e])[0]:t,bS=(e,t,n)=>{X(e,`selectedMonth`,t),X(e,`selectedYear`,n),X(e,`displayYear`,n)},xS=e=>{var t,n;if(e.enableCollapse&&![`default`,`week`].includes(e.type))throw Error(`The «enableCollapse» parameter is only supported by the «default» and «week» calendar types.`);X(e,`currentType`,e.type),(e=>{if(e.type===`multiple`&&(e.displayMonthsCount<=1||e.displayMonthsCount>12)||e.type!==`multiple`&&e.displayMonthsCount>1)throw Error(`For the «multiple» calendar type, the «displayMonthsCount» parameter can have a value from 2 to 12, and for all others it cannot be greater than 1.`);X(e,`displayMonthsCount`,e.displayMonthsCount?e.displayMonthsCount:e.type===`multiple`?2:1)})(e),(e=>{var t,n,r;let i=yS(e.dateMin,e.dateMin),a=yS(e.dateMax,e.dateMax),o=yS(e.displayDateMin,i),s=yS(e.displayDateMax,a);if(X(e,`dateToday`,yS(e.dateToday,e.dateToday)),X(e,`displayDateMin`,o?J(i)>=J(o)?i:o:i),X(e,`displayDateMax`,s?J(a)<=J(s)?a:s:a),X(e,`displayDateMin`,e.disableDatesPast&&!e.disableAllDates&&J(o)<J(e.context.dateToday)||e.disableAllDates?e.context.dateToday:o),X(e,`displayDateMax`,e.disableAllDates?e.context.dateToday:s),X(e,`disableDates`,e.disableDates[0]&&!e.disableAllDates?vS(e,`disableDates`):e.disableAllDates?[e.context.displayDateMin]:[]),X(e,`enableDates`,e.enableDates[0]?vS(e,`enableDates`):[]),(t=e.context.enableDates)!=null&&t[0]&&(n=e.context.disableDates)!=null&&n[0]){let t=new Set(e.context.enableDates);X(e,`disableDates`,e.context.disableDates.filter(e=>!t.has(e)))}(r=e.context.enableDates)!=null&&r[0]&&e.disableAllDates&&(X(e,`displayDateMin`,e.context.enableDates[0]),X(e,`displayDateMax`,e.context.enableDates[e.context.enableDates.length-1])),X(e,`dateMin`,e.displayDisabledDates?i:e.context.displayDateMin),X(e,`dateMax`,e.displayDisabledDates?a:e.context.displayDateMax)})(e),(e=>{var t;if(e.enableJumpToSelectedDate&&(t=e.selectedDates)!=null&&t[0]&&e.selectedMonth===void 0&&e.selectedYear===void 0){let t=J(Db(e.selectedDates)[0]);bS(e,t.getMonth(),t.getFullYear());return}if((e=>{let t=t=>{let n=new Date(t);bS(e,n.getMonth(),n.getFullYear())};return e.displayDateMin&&e.displayDateMin!==`today`&&(n=e.displayDateMin,r=new Date,new Date(n).getTime()>r.getTime())?(t(J(yS(e.selectedDates.length&&e.selectedDates[0]?Db(e.selectedDates)[0]:e.displayDateMin,e.displayDateMin))),!0):!(!e.displayDateMax||e.displayDateMax===`today`||!((e,t)=>new Date(e).getTime()<t.getTime())(e.displayDateMax,new Date)||(t(J(yS(e.selectedDates.length&&e.selectedDates[0]?Db(e.selectedDates)[0]:e.displayDateMax,e.displayDateMax))),0));var n,r})(e))return;let n=e.selectedMonth!==void 0&&Number(e.selectedMonth)>=0&&Number(e.selectedMonth)<12,r=e.selectedYear!==void 0&&Number(e.selectedYear)>=0&&Number(e.selectedYear)<=9999;bS(e,n?Number(e.selectedMonth):J(e.context.dateToday).getMonth(),r?Number(e.selectedYear):J(e.context.dateToday).getFullYear())})(e),(e=>{var t;X(e,`selectedDates`,(t=e.selectedDates)!=null&&t[0]?Db(e.selectedDates):[])})(e),(t=Y(e).weeks)==null||t.init(e),(n=Y(e).time)==null||n.init(e)},SS=(e,{year:t,month:n,dates:r,time:i,locale:a},o=!0,s)=>{var c,l,u,d;hx(e);let f=Y(e);(c=f.motion)==null||c.reset(e),(l=f.time)==null||l.destroy(e),(u=f.annotations)==null||u.destroy(e),Wb(e);let p={year:e.selectedYear,month:e.selectedMonth,dates:e.selectedDates,time:e.selectedTime};var m;e.selectedYear=t?p.year:e.context.selectedYear,e.selectedMonth=n?p.month:e.context.selectedMonth,e.selectedTime=i?p.time:e.context.selectedTime,e.selectedDates=r===`only-first`&&(d=e.context.selectedDates)!=null&&d[0]?[e.context.selectedDates[0]]:!0===r?p.dates:e.context.selectedDates,a&&X(e,`locale`,{months:{short:[],long:[]},weekdays:{short:[],long:[]}}),xS(e),o&&(s&&rS(e),s&&s.structure===vx(e)?(Zx(e),(m=f.time)==null||m.render(e),aS(e,!0)):iS(e,!1)),e.selectedYear=p.year,e.selectedMonth=p.month,e.selectedDates=p.dates,e.selectedTime=p.time,e.selectionDatesMode===`multiple-ranged`&&Gb(e,null,!!r),o&&xx(e,!0)},CS=(e,t,n)=>{if(!e.context.isInit)throw Error(cx);Ib(e),SS(e,eS(eS({},{year:!0,month:!0,dates:!0,time:!0,locale:!0}),t),!(e.inputMode&&!e.context.inputModeInit),n),e.onUpdate&&e.onUpdate(e)},wS=[`extensions`,`context`,`init`,`update`,`destroy`,`show`,`hide`,`set`,`queryAndMemoize`],TS=(e,t,n=!0)=>{let r=Object.keys(t);for(let i=0;i<r.length;i++){let a=r[i];a!==`__proto__`&&a!==`constructor`&&a!==`prototype`&&(n&&wS.includes(String(a))||(typeof e[a]!=`object`||e[a]===null||typeof t[a]!=`object`||t[a]===null||t[a]instanceof Date||Array.isArray(t[a])?t[a]!==void 0&&(e[a]=t[a]):TS(e[a],t[a],!1)))}},ES={application:`Calendar`,navigation:`Calendar Navigation`,arrowNext:{month:`Next month`,year:`Next list of years`,week:`Next week`},arrowPrev:{month:`Previous month`,year:`Previous list of years`,week:`Previous week`},month:`Select month, current selected month:`,months:`List of months`,year:`Select year, current selected year:`,years:`List of years`,week:`Days of the week`,weekNumber:`Numbers of weeks in a year`,collapse:`Collapse to a single week`,expand:`Expand to the whole month`,dates:`Dates in the current month`,selectingTime:`Selecting a time `,inputHour:`Hours`,inputMinute:`Minutes`,rangeHour:`Slider for selecting hours`,rangeMinute:`Slider for selecting minutes`,btnKeeping:`Switch AM/PM, current position:`},DS={calendar:`vc`,controls:`vc-controls`,grid:`vc-grid`,column:`vc-column`,header:`vc-header`,headerContent:`vc-header__content`,month:`vc-month`,year:`vc-year`,arrowPrev:`vc-arrow vc-arrow_prev`,arrowNext:`vc-arrow vc-arrow_next`,wrapper:`vc-wrapper`,content:`vc-content`,months:`vc-months`,monthsRow:`vc-months__row`,monthsCell:`vc-months__cell`,monthsMonth:`vc-months__month`,years:`vc-years`,yearsRow:`vc-years__row`,yearsCell:`vc-years__cell`,yearsYear:`vc-years__year`,week:`vc-week`,weekDay:`vc-week__day`,weekDayBtn:`vc-week__day-btn`,weekNumbers:`vc-week-numbers`,weekNumbersTitle:`vc-week-numbers__title`,weekNumbersContent:`vc-week-numbers__content`,weekNumber:`vc-week-number`,collapse:`vc-collapse`,dates:`vc-dates`,datesRow:`vc-dates__row`,date:`vc-date`,dateBtn:`vc-date__btn`,datePopup:`vc-date__popup`,dateRangeTooltip:`vc-date-range-tooltip`,time:`vc-time`,timeContent:`vc-time__content`,timeHour:`vc-time__hour`,timeMinute:`vc-time__minute`,timeKeeping:`vc-time__keeping`,timeRanges:`vc-time__ranges`,timeRange:`vc-time__range`},OS=class{constructor(){Q(this,`type`,`default`),Q(this,`inputMode`,!1),Q(this,`openOnFocus`,!0),Q(this,`positionToInput`,`left`),Q(this,`animation`,!1),Q(this,`firstWeekday`,1),Q(this,`monthsToSwitch`,1),Q(this,`themeAttrDetect`,`html[data-theme]`),Q(this,`locale`,`en`),Q(this,`dateToday`,`today`),Q(this,`dateMin`,`1970-01-01`),Q(this,`dateMax`,`2470-12-31`),Q(this,`displayDateMin`,void 0),Q(this,`displayDateMax`,void 0),Q(this,`displayDatesOutside`,!0),Q(this,`displayDisabledDates`,!1),Q(this,`displayMonthsCount`,void 0),Q(this,`disableDates`,[]),Q(this,`disableAllDates`,!1),Q(this,`disableDatesPast`,!1),Q(this,`disableDatesGaps`,!1),Q(this,`disableWeekdays`,[]),Q(this,`disableToday`,!1),Q(this,`enableDates`,[]),Q(this,`enableEdgeDatesOnly`,!0),Q(this,`enableDateToggle`,!0),Q(this,`enableWeekNumbers`,!1),Q(this,`enableMonthChangeOnDayClick`,!0),Q(this,`enableJumpToSelectedDate`,!1),Q(this,`enableCollapse`,!1),Q(this,`enableSwipe`,!1),Q(this,`selectionDatesMode`,`single`),Q(this,`selectionMonthsMode`,!0),Q(this,`selectionYearsMode`,!0),Q(this,`selectionTimeMode`,!1),Q(this,`selectedDates`,[]),Q(this,`selectedMonth`,void 0),Q(this,`selectedYear`,void 0),Q(this,`selectedHolidays`,[]),Q(this,`selectedWeekends`,[0,6]),Q(this,`selectedTime`,void 0),Q(this,`selectedTheme`,`system`),Q(this,`timeMinHour`,0),Q(this,`timeMaxHour`,23),Q(this,`timeMinMinute`,0),Q(this,`timeMaxMinute`,59),Q(this,`timeControls`,`all`),Q(this,`timeStepHour`,1),Q(this,`timeStepMinute`,1),Q(this,`sanitizerHTML`,fx),Q(this,`onClickDate`,void 0),Q(this,`onClickWeekDay`,void 0),Q(this,`onClickWeekNumber`,void 0),Q(this,`onClickTitle`,void 0),Q(this,`onClickMonth`,void 0),Q(this,`onClickYear`,void 0),Q(this,`onClickArrow`,void 0),Q(this,`onChangeTime`,void 0),Q(this,`onChangeToInput`,void 0),Q(this,`onCreateDateRangeTooltip`,void 0),Q(this,`onCreateDateEls`,void 0),Q(this,`onCreateMonthEls`,void 0),Q(this,`onCreateYearEls`,void 0),Q(this,`onInit`,void 0),Q(this,`onUpdate`,void 0),Q(this,`onDestroy`,void 0),Q(this,`onShow`,void 0),Q(this,`onHide`,void 0),Q(this,`popups`,{}),Q(this,`labels`,eS(eS({},ES),{},{arrowNext:eS({},ES.arrowNext),arrowPrev:eS({},ES.arrowPrev)})),Q(this,`layouts`,{default:``,multiple:``,month:``,year:``,week:``}),Q(this,`styles`,eS({},DS))}},kS=class e extends OS{constructor(t,n){super(),Q(this,`extensions`,void 0),Q(this,`init`,()=>(e=>{var t;if(e.context.isInit)throw Error(`The calendar has already been initialized, calling init() again is not allowed. Create a new Calendar instance instead.`);if(Ib(e),X(e,`originalElement`,e.context.mainElement.cloneNode(!0)),X(e,`isInit`,!0),e.inputMode){let t=(e=>{X(e,`inputElement`,e.context.mainElement);let t=e.context.inputElement;[`input`,`button`,`textarea`].includes(t.localName)&&(t.setAttribute(`aria-haspopup`,`dialog`),(t.localName===`button`||t.getAttribute(`role`)===`combobox`)&&t.setAttribute(`aria-expanded`,`false`));let n=()=>{e.context.inputModeInit?ox(e):(e=>{var t;let n=document.createElement(`div`);n.className=e.styles.calendar,n.dataset.vc=`calendar`,n.dataset.vcInput=``,n.dataset.vcCalendarHidden=``,Object.assign(n.style,{left:`0`,top:`0`}),Qb(n);let r=Kb(e.context.mainElement),i=r===document?document.body:r;X(e,`inputModeInit`,!0),X(e,`isShowInInputMode`,!1),X(e,`mainElement`,n),i.appendChild(e.context.mainElement),SS(e,{year:!0,month:!0,dates:!0,time:!0,locale:!0}),ox(e),e.onInit&&e.onInit(e),e.context.isDestroyed||(oS(e),(t=Y(e).motion)==null||t.bind(e),gS(e))})(e)};e.context.inputElement.addEventListener(`click`,n);let r=typeof e.openOnFocus==`function`||!0===e.openOnFocus,i=()=>{(e=>qb.has(e))(e)?(e=>{qb.delete(e)})(e):(e=>Vb(e,e.openOnFocus))(e)&&n()};r&&e.context.inputElement.addEventListener(`focus`,i);let a=t=>{let n=t.key===`Tab`&&!t.shiftKey,r=[`ArrowUp`,`ArrowDown`,`ArrowLeft`,`ArrowRight`].includes(t.key);(n||r)&&(t=>{if(!e.context.isShowInInputMode||Kb(e.context.mainElement).activeElement!==e.context.inputElement)return!1;let n=e=>e.tabIndex>=0&&!e.hasAttribute(`disabled`)&&e.getAttribute(`aria-disabled`)!==`true`,r=document.createTreeWalker(e.context.mainElement,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>n(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}).nextNode()??(n(e.context.mainElement)?e.context.mainElement:null);!r||r.tabIndex<0||(t.preventDefault(),r.focus())})(t)};return e.context.inputElement.addEventListener(`keydown`,a),()=>{t.removeEventListener(`click`,n),r&&t.removeEventListener(`focus`,i),t.removeEventListener(`keydown`,a)}})(e);return X(e,`cleanupInput`,t),t}if(xS(e),iS(e),e.selectionDatesMode===`multiple-ranged`&&e.context.selectedDates.length===1&&(Gb(e,null),aS(e)),e.onInit&&e.onInit(e),!e.context.isDestroyed)return oS(e),(t=Y(e).motion)==null||t.bind(e),gS(e)})(this)),Q(this,`update`,e=>CS(this,e)),Q(this,`destroy`,()=>{let t=this.inputMode?this.context.inputElement:this.context.mainElement;if((e=>{var t,n,r,i,a,o,s,c;if(!e.context.isInit)throw Error(cx);if(e.context.isDestroyed)throw Error(`The calendar has already been destroyed, calling destroy() again is not allowed.`);mx(e);let l=Y(e);var u,d,f,p,m;(t=l.motion)==null||t.destroy(e),(n=l.time)==null||n.destroy(e),(r=l.annotations)==null||r.destroy(e),Wb(e),(e=>{kb.delete(e)})(e),ax(e),(i=(a=e.context).cleanupInput)==null||i.call(a),X(e,`cleanupInput`,void 0),(o=e.context.cleanupHandlers)==null||o.forEach(e=>e()),X(e,`cleanupHandlers`,[]),X(e,`isShowInInputMode`,!1),(s=(c=e.context).cleanupSystemTheme)==null||s.call(c),e.inputMode?(e.context.mainElement!==e.context.inputElement&&((f=e.context.mainElement.parentElement)==null||f.removeChild(e.context.mainElement)),(u=e.context.inputElement)==null||(d=u.replaceWith)==null||d.call(u,e.context.originalElement),X(e,`inputElement`,void 0)):(p=(m=e.context.mainElement).replaceWith)==null||p.call(m,e.context.originalElement),X(e,`mainElement`,e.context.originalElement),X(e,`isDestroyed`,!0),e.onDestroy&&e.onDestroy(e)})(this),t)for(let[n,r]of e.memoizedElements)r===t&&e.memoizedElements.delete(n)}),Q(this,`show`,()=>sx(this)),Q(this,`hide`,()=>$b(this)),Q(this,`set`,(e,t)=>((e,t,n)=>{Ib(e,t);let r=Object.keys(t);t.extensions&&r.splice(r.indexOf(`extensions`),1);let i=r.length===1&&r[0]===`selectedDates`?bx(e):void 0;TS(e,t),e.context.isInit&&CS(e,n,i)})(this,e,t)),Q(this,`context`,void 0),this.context=eS(eS({},this.context),{},{locale:{months:{short:[],long:[]},weekdays:{short:[],long:[]}}}),X(this,`mainElement`,typeof t==`string`?e.memoizedElements.get(t)??this.queryAndMemoize(t):t);let r=n?.extensions;this.extensions=r!=null&&r.length?Object.freeze(Array.from(new Set(r))):Fb,(e=>{if(!e.extensions.length)return;let t={};for(let n of e.extensions){let e=n,r=e.name;if(!Mb.includes(r))throw Error(`Unknown calendar extension.`);if(t[r]&&t[r]!==e)throw Error(`Conflicting calendar extension: ${r}.`);Object.assign(t,{[r]:e})}Nb.set(e,t)})(this),n&&TS(this,n)}queryAndMemoize(t){let n=document.querySelector(t);if(!n)throw Error((e=>`${e} is not found, check the first argument passed to new Calendar. If the element lives inside a Shadow DOM, a string selector can't reach it - resolve the element yourself (e.g. shadowRoot.querySelector(...)) and pass it directly instead.`)(t));return e.memoizedElements.set(t,n),n}};Q(kS,`memoizedElements`,new Map),window.VanillaCalendar={Calendar:kS};var AS=function(e){return jS(e)&&!MS(e)};function jS(e){return!!e&&typeof e==`object`}function MS(e){var t=Object.prototype.toString.call(e);return t===`[object RegExp]`||t===`[object Date]`||FS(e)||PS(e)}var NS=typeof Symbol==`function`&&Symbol.for?Symbol.for(`react.element`):60103;function PS(e){return e.$$typeof===NS}function FS(e){return e instanceof Node}function IS(e){return Array.isArray(e)?[]:{}}function LS(e,t){return t.clone!==!1&&t.isMergeableObject(e)?GS(IS(e),e,t):e}function RS(e,t,n){return e.concat(t).map(function(e){return LS(e,n)})}function zS(e,t){if(!t.customMerge)return GS;var n=t.customMerge(e);return typeof n==`function`?n:GS}function BS(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return e.propertyIsEnumerable(t)}):[]}function VS(e){return Object.keys(e).concat(BS(e))}function HS(e,t){try{return t in e}catch{return!1}}function US(e,t){return HS(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function WS(e,t,n){var r={};return n.isMergeableObject(e)&&VS(e).forEach(function(t){r[t]=LS(e[t],n)}),VS(t).forEach(function(i){US(e,i)||(r[i]=HS(e,i)&&n.isMergeableObject(t[i])?zS(i,n)(e[i],t[i],n):LS(t[i],n))}),r}var GS=function(e,t,n){n||={},n.arrayMerge=n.arrayMerge||RS,n.isMergeableObject=n.isMergeableObject||AS,n.cloneUnlessOtherwiseSpecified=LS;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):WS(e,t,n):LS(t,n)},KS=function(e){return typeof e==`object`&&e.nodeType!==void 0?e:typeof e==`string`?document.querySelector(e):null},qS=function(e,t,n,r){r===void 0&&(r=!1);var i=document.createElement(e);return n&&(i[r?`innerHTML`:`textContent`]=n),t&&(i.className=t),i},JS=function(e,t){return Element.prototype.querySelector.call(e,t)},YS=function(e){e.parentNode.removeChild(e)},XS=function(e){return/\.(jpg|gif|png)$/.test(e)},ZS=function(e){return e.replace(/[\w]([A-Z])/g,function(e){return e[0]+`-`+e[1]}).toLowerCase()},QS=function(e,t,n){return n===void 0&&(n=!1),n?GS(e,t):Object.assign(e,t)},$S=function(e,t){return e.toLowerCase()+`:to:`+t.toLowerCase()},eC=function(e,t){Object.assign(e.prototype,t)},tC={},nC=1,$={on:function(e,t,n,r){r===void 0&&(r={});var i=`jvm:`+t+`::`+nC++;tC[i]={selector:e,handler:n},n._uid=i,e.addEventListener(t,n,r)},delegate:function(e,t,n,r){t=t.split(` `),t.forEach(function(t){$.on(e,t,function(e){var t=e.target;t.matches(n)&&r.call(t,e)})})},off:function(e,t,n){var r=t.split(`:`)[1];e.removeEventListener(r,n),delete tC[n._uid]},flush:function(){Object.keys(tC).forEach(function(e){$.off(tC[e].selector,e,tC[e].handler)})},getEventRegistry:function(){return tC}};function rC(){var e=this,t=this,n=!1,r,i;this.params.draggable&&($.on(this.container,`mousemove`,function(e){if(!n)return!1;t.transX-=(r-e.pageX)/t.scale,t.transY-=(i-e.pageY)/t.scale,t._applyTransform(),r=e.pageX,i=e.pageY}),$.on(this.container,`mousedown`,function(e){return n=!0,r=e.pageX,i=e.pageY,!1}),$.on(document.body,`mouseup`,function(){n=!1})),this.params.zoomOnScroll&&$.on(this.container,`wheel`,function(n){var r=((n.deltaY||-n.wheelDelta||n.detail)>>10||1)*75,i=e.container.getBoundingClientRect(),a=n.pageX-i.left-window.scrollX,o=n.pageY-i.top-window.scrollY,s=(1+t.params.zoomOnScrollSpeed/1e3)**(-1.5*r);t.tooltip&&t._tooltip.hide(),t._setScale(t.scale*s,a,o),n.preventDefault()})}var iC={onLoaded:`map:loaded`,onViewportChange:`viewport:changed`,onRegionClick:`region:clicked`,onMarkerClick:`marker:clicked`,onRegionSelected:`region:selected`,onMarkerSelected:`marker:selected`,onRegionTooltipShow:`region.tooltip:show`,onMarkerTooltipShow:`marker.tooltip:show`,onDestroyed:`map:destroyed`},aC=function(e,t,n){var r=KS(t),i=r.getAttribute(`class`).indexOf(`jvm-region`)===-1?`marker`:`region`,a=i===`region`,o=a?r.getAttribute(`data-code`):r.getAttribute(`data-index`),s=a?iC.onRegionSelected:iC.onMarkerSelected;return n&&(s=a?iC.onRegionTooltipShow:iC.onMarkerTooltipShow),{type:i,code:o,event:s,element:a?e.regions[o].element:e._markers[o].element,tooltipText:a?e._mapData.paths[o].name||``:e._markers[o].config.name||``}};function oC(){var e=this,t=this.container,n,r,i;$.on(t,`mousemove`,function(e){Math.abs(n-e.pageX)+Math.abs(r-e.pageY)>2&&(i=!0)}),$.delegate(t,`mousedown`,`.jvm-element`,function(e){n=e.pageX,r=e.pageY,i=!1}),$.delegate(t,`mouseover mouseout`,`.jvm-element`,function(t){var n=aC(e,this,!0),r=e.params.showTooltip;t.type===`mouseover`?(n.element.hover(!0),r&&(e._tooltip.text(n.tooltipText),e._emit(n.event,[t,e._tooltip,n.code]),t.defaultPrevented||e._tooltip.show())):(n.element.hover(!1),r&&e._tooltip.hide())}),$.delegate(t,`mouseup`,`.jvm-element`,function(t){var n=aC(e,this);if(!i&&(n.type===`region`&&e.params.regionsSelectable||n.type===`marker`&&e.params.markersSelectable)){var r=n.element;e.params[n.type+`sSelectableOne`]&&(n.type===`region`?e.clearSelectedRegions():e.clearSelectedMarkers()),n.element.isSelected?r.select(!1):r.select(!0),e._emit(n.event,[n.code,r.isSelected,n.type===`region`?e.getSelectedRegions():e.getSelectedMarkers()])}}),$.delegate(t,`click`,`.jvm-element`,function(t){var n=aC(e,this),r=n.type,i=n.code;e._emit(r===`region`?iC.onRegionClick:iC.onMarkerClick,[t,i])})}function sC(){var e=this,t=this.params.zoomInButton,n=this.params.zoomOutButton,r=function(e){return typeof e==`string`?document.querySelector(e):e},i=t?r(t):qS(`div`,`jvm-zoom-btn jvm-zoomin`,`+`,!0),a=n?r(n):qS(`div`,`jvm-zoom-btn jvm-zoomout`,`−`,!0);t||this.container.appendChild(i),n||this.container.appendChild(a);var o=function(t){return t===void 0&&(t=!0),function(){return e._setScale(t?e.scale*e.params.zoomStep:e.scale/e.params.zoomStep,e._width/2,e._height/2,!1,e.params.zoomAnimate)}};$.on(i,`click`,o()),$.on(a,`click`,o(!1))}function cC(){var e=this,t,n,r,i,a,o,s,c=function(c){var l=c.touches,u,d,f,p;if(c.type==`touchstart`&&(s=0),l.length==1){if(s==1){var m;f=e.transX,p=e.transY,e.transX-=(r-l[0].pageX)/e.scale,e.transY-=(i-l[0].pageY)/e.scale,(m=e._tooltip)==null||m.hide(),e._applyTransform(),(f!=e.transX||p!=e.transY)&&c.preventDefault()}r=l[0].pageX,i=l[0].pageY}else if(l.length==2){if(s==2){var h;d=Math.sqrt((l[0].pageX-l[1].pageX)**2+(l[0].pageY-l[1].pageY)**2)/n,e._setScale(t*d,a,o),(h=e._tooltip)==null||h.hide(),c.preventDefault()}else{var g=e.container.getBoundingClientRect();u={top:g.top+window.scrollY,left:g.left+window.scrollX},a=l[0].pageX>l[1].pageX?l[1].pageX+(l[0].pageX-l[1].pageX)/2:l[0].pageX+(l[1].pageX-l[0].pageX)/2,o=l[0].pageY>l[1].pageY?l[1].pageY+(l[0].pageY-l[1].pageY)/2:l[0].pageY+(l[1].pageY-l[0].pageY)/2,a-=u.left,o-=u.top,t=e.scale,n=Math.sqrt((l[0].pageX-l[1].pageX)**2+(l[0].pageY-l[1].pageY)**2)}}s=l.length};$.on(e.container,`touchstart`,c),$.on(e.container,`touchmove`,c)}function lC(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function uC(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function dC(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,yC(r.key),r)}}function fC(e,t,n){return t&&dC(e.prototype,t),n&&dC(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function pC(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=bC(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
4
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mC(){return mC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mC.apply(null,arguments)}function hC(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,_C(e,t)}function gC(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function _C(e,t){return _C=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_C(e,t)}function vC(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function yC(e){var t=vC(e,`string`);return typeof t==`symbol`?t:t+``}function bC(e,t){if(e){if(typeof e==`string`)return lC(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?lC(e,t):void 0}}var xC=function(){function e(){}var t=e.prototype;return t.dispose=function(){this._tooltip?YS(this._tooltip):this.shape.remove();for(var e=pC(Object.getOwnPropertyNames(this)),t;!(t=e()).done;){var n=t.value;this[n]=null}},e}(),SC={getLabelText:function(e,t){if(t){if(typeof t.render==`function`){var n=[];return this.constructor.Name===`marker`&&n.push(this.getConfig()),n.push(e),t.render.apply(this,n)}return e}},getLabelOffsets:function(e,t){return typeof t.offsets==`function`?t.offsets(e):Array.isArray(t.offsets)?t.offsets[e]:[0,0]},setStyle:function(e,t){this.shape.setStyle(e,t)},remove:function(){this.shape.remove(),this.label&&this.label.remove()},hover:function(e){this._setStatus(`isHovered`,e)},select:function(e){this._setStatus(`isSelected`,e)},_setStatus:function(e,t){this.shape[e]=t,this.shape.updateStyle(),this[e]=t,this.label&&(this.label[e]=t,this.label.updateStyle())}},CC=function(e){function t(t){var n,r=t.map,i=t.code,a=t.path,o=t.style,s=t.label,c=t.labelStyle,l=t.labelsGroup;n=e.call(this)||this,n._map=r,n.shape=n._createRegion(a,i,o);var u=n.getLabelText(i,s);if(s&&u){var d=n.shape.getBBox(),f=n.getLabelOffsets(i,s);n.labelX=d.x+d.width/2+f[0],n.labelY=d.y+d.height/2+f[1],n.label=n._map.canvas.createText({text:u,textAnchor:`middle`,alignmentBaseline:`central`,dataCode:i,x:n.labelX,y:n.labelY},c,l),n.label.addClass(`jvm-region jvm-element`)}return n}hC(t,e);var n=t.prototype;return n._createRegion=function(e,t,n){return e=this._map.canvas.createPath({d:e,dataCode:t},n),e.addClass(`jvm-region jvm-element`),e},n.updateLabelPosition=function(){this.label&&this.label.set({x:this.labelX*this._map.scale+this._map.transX*this._map.scale,y:this.labelY*this._map.scale+this._map.transY*this._map.scale})},t}(xC);eC(CC,SC);function wC(){for(var e in this._regionLabelsGroup=this._regionLabelsGroup||this.canvas.createGroup(`jvm-regions-labels-group`),this._mapData.paths){var t=new CC({map:this,code:e,path:this._mapData.paths[e].path,style:QS({},this.params.regionStyle),labelStyle:this.params.regionLabelStyle,labelsGroup:this._regionLabelsGroup,label:this.params.labels&&this.params.labels.regions});this.regions[e]={config:this._mapData.paths[e],element:t}}}var TC=`jvm-line`,EC=function(e){function t(t,n){var r=e.call(this)||this;return r._options=t,r._style={initial:n},r._draw(),r}hC(t,e);var n=t.prototype;return n.setStyle=function(e,t){this.shape.setStyle(e,t)},n.getConfig=function(){return this._options.config},n._draw=function(){var e=this._options,t=e.index,n=e.group,r=e.map,i={d:this._getDAttribute(),fill:`none`,dataIndex:t};this.shape=r.canvas.createPath(i,this._style,n),this.shape.addClass(TC)},n._getDAttribute=function(){var e=this._options,t=e.x1,n=e.y1,r=e.x2,i=e.y2,a=e.curvature;return`M`+t+`,`+n+this._getQCommand(t,n,r,i,a)+r+`,`+i},n._getQCommand=function(e,t,n,r,i){if(!i)return` `;var a=(e+n)/2+i*(r-t),o=(t+r)/2-i*(n-e);return` Q`+a+`,`+o+` `},t}(xC),DC=[`curvature`],OC=[`curvature`];function kC(e){var t=!1,n=!1,r=this.params.lineStyle,i=r.curvature,a=gC(r,DC);for(var o in e){for(var s=e[o],c=0,l=Object.values(this._markers);c<l.length;c++){var u=l[c].config;u.name===s.from&&(t=this.getMarkerPosition(u)),u.name===s.to&&(n=this.getMarkerPosition(u))}if(t!==!1&&n!==!1){var d=s.style||{},f=d.curvature,p=gC(d,OC);this._lines[$S(s.from,s.to)]=new EC({index:o,map:this,group:this._linesGroup,config:s,x1:t.x,y1:t.y,x2:n.x,y2:n.y,curvature:f==0?0:f||i},QS(a,p,!0))}}}var AC=`marker`,jC=`jvm-`,MC=jC+`element `+jC+`marker`,NC=jC+`element `+jC+`label`,PC=function(e){function t(t,n){var r=e.call(this)||this;return r._options=t,r._style=n,r._labelX=null,r._labelY=null,r._offsets=null,r._isImage=!!n.initial.image,r._draw(),r._options.label&&r._drawLabel(),r._isImage&&r.updateLabelPosition(),r}hC(t,e);var n=t.prototype;return n.getConfig=function(){return this._options.config},n.updateLabelPosition=function(){var e=this._options.map;this.label&&this.label.set({x:this._labelX*e.scale+this._offsets[0]+e.transX*e.scale+5+(this._isImage?(this.shape.width||0)/2:this.shape.node.r.baseVal.value),y:this._labelY*e.scale+e.transY*this._options.map.scale+this._offsets[1]})},n._draw=function(){var e=this._options,t=e.index,n=e.map,r=e.group,i=e.cx,a=e.cy,o=this._isImage?`createImage`:`createCircle`;this.shape=n.canvas[o]({dataIndex:t,cx:i,cy:a},this._style,r),this.shape.addClass(MC)},n._drawLabel=function(){var e=this._options,t=e.index,n=e.map,r=e.label,i=e.labelsGroup,a=e.cx,o=e.cy,s=e.config,c=e.isRecentlyCreated,l=this.getLabelText(t,r);this._labelX=a/n.scale-n.transX,this._labelY=o/n.scale-n.transY,this._offsets=c&&s.offsets?s.offsets:this.getLabelOffsets(t,r),this.label=n.canvas.createText({text:l,dataIndex:t,x:this._labelX,y:this._labelY,dy:`0.6ex`},n.params.markerLabelStyle,i),this.label.addClass(NC),c&&this.updateLabelPosition()},fC(t,null,[{key:`Name`,get:function(){return AC}}])}(xC);eC(PC,SC);function FC(e,t){var n=this;e===void 0&&(e={}),t===void 0&&(t=!1);var r=function(){var r=e[i],a=n.getMarkerPosition(r),o=r.coords.join(`:`);if(!a)return 0;if(t){if(Object.keys(n._markers).filter(function(e){return n._markers[e]._uid===o}).length)return 0;i=Object.keys(n._markers).length}var s=new PC({index:i,map:n,label:n.params.labels&&n.params.labels.markers,labelsGroup:n._markerLabelsGroup,cx:a.x,cy:a.y,group:n._markersGroup,config:r,isRecentlyCreated:t},QS(n.params.markerStyle,mC({},r.style||{}),!0));n._markers[i]&&n.removeMarkers([i]),n._markers[i]={_uid:o,config:r,element:s}};for(var i in e)r()}var IC=function(){function e(e){e===void 0&&(e={}),this._options=e,this._map=this._options.map,this._series=this._options.series,this._body=qS(`div`,`jvm-legend`),this._options.cssClass&&this._body.setAttribute(`class`,this._options.cssClass),e.vertical?this._map.legendVertical.appendChild(this._body):this._map.legendHorizontal.appendChild(this._body),this.render()}var t=e.prototype;return t.render=function(){var e=this._series.scale.getTicks();if(this._body.innderHTML=``,this._options.title){var t=qS(`div`,`jvm-legend-title`,this._options.title);this._body.appendChild(t)}for(var n=0;n<e.length;n++){var r=qS(`div`,`jvm-legend-tick`),i=qS(`div`,`jvm-legend-tick-sample`);switch(this._series.config.attribute){case`fill`:XS(e[n].value)?i.style.background=`url(`+e[n].value+`)`:i.style.background=e[n].value;break;case`stroke`:i.style.background=e[n].value;break;case`image`:i.style.background=`url(`+(typeof e[n].value==`object`?e[n].value.url:e[n].value)+`) no-repeat center center`,i.style.backgroundSize=`cover`}r.appendChild(i);var a=e[n].label;this._options.labelRender&&(a=this._options.labelRender(a));var o=qS(`div`,`jvm-legend-tick-text`,a);r.appendChild(o),this._body.appendChild(r)}},e}(),LC=function(){function e(e){this._scale=e}var t=e.prototype;return t.getValue=function(e){return this._scale[e]},t.getTicks=function(){var e=[];for(var t in this._scale)e.push({label:t,value:this._scale[t]});return e},e}(),RC=function(){function e(e,t,n){e===void 0&&(e={}),this._map=n,this._elements=t,this._values=e.values||{},this.config=e,this.config.attribute=e.attribute||`fill`,e.attributes&&this.setAttributes(e.attributes),typeof e.scale==`object`&&(this.scale=new LC(e.scale)),this.config.legend&&(this.legend=new IC(QS({map:this._map,series:this},this.config.legend))),this.setValues(this._values)}var t=e.prototype;return t.setValues=function(e){var t={};for(var n in e)e[n]&&(t[n]=this.scale.getValue(e[n]));this.setAttributes(t)},t.setAttributes=function(e){for(var t in e)this._elements[t]&&this._elements[t].element.setStyle(this.config.attribute,e[t])},t.clear=function(){var e,t={};for(e in this._values)this._elements[e]&&(t[e]=this._elements[e].element.shape.style.initial[this.config.attribute]);this.setAttributes(t),this._values={}},e}();function zC(){for(var e in this.series={markers:[],regions:[]},this.params.series)for(var t=0;t<this.params.series[e].length;t++)this.series[e][t]=new RC(this.params.series[e][t],e===`markers`?this._markers:this.regions,this)}function BC(){var e,t,n,r;this._defaultWidth*this.scale<=this._width?(e=(this._width-this._defaultWidth*this.scale)/(2*this.scale),n=(this._width-this._defaultWidth*this.scale)/(2*this.scale)):(e=0,n=(this._width-this._defaultWidth*this.scale)/this.scale),this._defaultHeight*this.scale<=this._height?(t=(this._height-this._defaultHeight*this.scale)/(2*this.scale),r=(this._height-this._defaultHeight*this.scale)/(2*this.scale)):(t=0,r=(this._height-this._defaultHeight*this.scale)/this.scale),this.transY>t?this.transY=t:this.transY<r&&(this.transY=r),this.transX>e?this.transX=e:this.transX<n&&(this.transX=n),this.canvas.applyTransformParams(this.scale,this.transX,this.transY),this._markers&&this._repositionMarkers(),this._lines&&this._repositionLines(),this._repositionLabels()}function VC(){var e=this._baseScale;this._width/this._height>this._defaultWidth/this._defaultHeight?(this._baseScale=this._height/this._defaultHeight,this._baseTransX=Math.abs(this._width-this._defaultWidth*this._baseScale)/(2*this._baseScale)):(this._baseScale=this._width/this._defaultWidth,this._baseTransY=Math.abs(this._height-this._defaultHeight*this._baseScale)/(2*this._baseScale)),this.scale*=this._baseScale/e,this.transX*=this._baseScale/e,this.transY*=this._baseScale/e}function HC(e,t,n,r,i){var a=this,o,s,c=0,l=Math.abs(Math.round((e-this.scale)*60/Math.max(e,this.scale))),u,d,f,p,m,h,g,_;e>this.params.zoomMax*this._baseScale?e=this.params.zoomMax*this._baseScale:e<this.params.zoomMin*this._baseScale&&(e=this.params.zoomMin*this._baseScale),t!==void 0&&n!==void 0&&(o=e/this.scale,r?(g=t+this._defaultWidth*(this._width/(this._defaultWidth*e))/2,_=n+this._defaultHeight*(this._height/(this._defaultHeight*e))/2):(g=this.transX-(o-1)/e*t,_=this.transY-(o-1)/e*n)),i&&l>0?(u=this.scale,d=(e-u)/l,f=this.transX*this.scale,m=this.transY*this.scale,p=(g*e-f)/l,h=(_*e-m)/l,s=setInterval(function(){c+=1,a.scale=u+d*c,a.transX=(f+p*c)/a.scale,a.transY=(m+h*c)/a.scale,a._applyTransform(),c==l&&(clearInterval(s),a._emit(iC.onViewportChange,[a.scale,a.transX,a.transY]))},10)):(this.transX=g,this.transY=_,this.scale=e,this._applyTransform(),this._emit(iC.onViewportChange,[this.scale,this.transX,this.transY]))}function UC(e){var t=this;e===void 0&&(e={});var n,r=[];if(e.region?r.push(e.region):e.regions&&(r=e.regions),r.length)return r.forEach(function(e){if(t.regions[e]){var r=t.regions[e].element.shape.getBBox();r&&(n=n===void 0?r:{x:Math.min(n.x,r.x),y:Math.min(n.y,r.y),width:Math.max(n.x+n.width,r.x+r.width)-Math.min(n.x,r.x),height:Math.max(n.y+n.height,r.y+r.height)-Math.min(n.y,r.y)})}}),this._setScale(Math.min(this._width/n.width,this._height/n.height),-(n.x+n.width/2),-(n.y+n.height/2),!0,e.animate);if(e.coords){var i=this.coordsToPoint(e.coords[0],e.coords[1]),a=this.transX-i.x/this.scale,o=this.transY-i.y/this.scale;return this._setScale(e.scale*this._baseScale,a,o,!0,e.animate)}}function WC(){this._width=this.container.offsetWidth,this._height=this.container.offsetHeight,this._resize(),this.canvas.setSize(this._width,this._height),this._applyTransform()}var GC={mill:function(e,t,n){return{x:this.radius*(t-n)*this.radDeg,y:-this.radius*Math.log(Math.tan((45+.4*e)*this.radDeg))/.8}},merc:function(e,t,n){return{x:this.radius*(t-n)*this.radDeg,y:-this.radius*Math.log(Math.tan(Math.PI/4+e*Math.PI/360))}},aea:function(e,t,n){var r=0,i=n*this.radDeg,a=29.5*this.radDeg,o=45.5*this.radDeg,s=e*this.radDeg,c=t*this.radDeg,l=(Math.sin(a)+Math.sin(o))/2,u=Math.cos(a)*Math.cos(a)+2*l*Math.sin(a),d=l*(c-i),f=Math.sqrt(u-2*l*Math.sin(s))/l,p=Math.sqrt(u-2*l*Math.sin(r))/l;return{x:f*Math.sin(d)*this.radius,y:-(p-f*Math.cos(d))*this.radius}},lcc:function(e,t,n){var r=0,i=n*this.radDeg,a=t*this.radDeg,o=33*this.radDeg,s=45*this.radDeg,c=e*this.radDeg,l=Math.log(1/Math.cos(s)*Math.cos(o))/Math.log(Math.tan(Math.PI/4+s/2)*(1/Math.tan(Math.PI/4+o/2))),u=Math.cos(o)*Math.tan(Math.PI/4+o/2)**+l/l,d=u*(1/Math.tan(Math.PI/4+c/2))**l,f=u*(1/Math.tan(Math.PI/4+r/2))**l;return{x:d*Math.sin(l*(a-i))*this.radius,y:-(f-d*Math.cos(l*(a-i)))*this.radius}}};GC.degRad=180/Math.PI,GC.radDeg=Math.PI/180,GC.radius=6381372;function KC(e,t){var n=hw.maps[this.params.map].projection,r=GC[n.type](e,t,n.centralMeridian),i=r.x,a=r.y,o=this.getInsetForPoint(i,a);if(!o)return!1;var s=o.bbox;return i=(i-s[0].x)/(s[1].x-s[0].x)*o.width*this.scale,a=(a-s[0].y)/(s[1].y-s[0].y)*o.height*this.scale,{x:i+this.transX*this.scale+o.left*this.scale,y:a+this.transY*this.scale+o.top*this.scale}}function qC(e,t){for(var n=hw.maps[this.params.map].insets,r=0;r<n.length;r++){var i=n[r].bbox,a=i[0],o=i[1];if(e>a.x&&e<o.x&&t>a.y&&t<o.y)return n[r]}}function JC(e){var t=e.coords;return hw.maps[this.params.map].projection?this.coordsToPoint.apply(this,t):{x:t[0]*this.scale+this.transX*this.scale,y:t[1]*this.scale+this.transY*this.scale}}function YC(){var e=this,t=this.params.lineStyle.curvature;Object.values(this._lines).forEach(function(n){var r=Object.values(e._markers).find(function(e){return e.config.name===n.getConfig().from}),i=Object.values(e._markers).find(function(e){return e.config.name===n.getConfig().to});if(r&&i){var a=e.getMarkerPosition(r.config),o=a.x,s=a.y,c=e.getMarkerPosition(i.config),l=c.x,u=c.y,d=n._options.curvature==0?0:n._options.curvature||t,f=(o+l)/2,p=(s+u)/2,m=f+d*(u-s),h=p-d*(l-o);n.setStyle({d:`M`+o+`,`+s+` Q`+m+`,`+h+` `+l+`,`+u})}})}function XC(){for(var e in this._markers){var t=this.getMarkerPosition(this._markers[e].config);t!==!1&&this._markers[e].element.setStyle({cx:t.x,cy:t.y})}}function ZC(){var e=this.params.labels;if(e){if(e.regions)for(var t in this.regions)this.regions[t].element.updateLabelPosition();if(e.markers)for(var n in this._markers)this._markers[n].element.updateLabelPosition()}}var QC={_setupContainerEvents:rC,_setupElementEvents:oC,_setupZoomButtons:sC,_setupContainerTouchEvents:cC,_createRegions:wC,_createLines:kC,_createMarkers:FC,_createSeries:zC,_applyTransform:BC,_resize:VC,_setScale:HC,setFocus:UC,updateSize:WC,coordsToPoint:KC,getInsetForPoint:qC,getMarkerPosition:JC,_repositionLines:YC,_repositionMarkers:XC,_repositionLabels:ZC},$C={map:`world`,backgroundColor:`transparent`,draggable:!0,zoomButtons:!0,zoomOnScroll:!0,zoomOnScrollSpeed:3,zoomMax:12,zoomMin:1,zoomAnimate:!0,showTooltip:!0,zoomStep:1.5,bindTouchEvents:!0,lineStyle:{curvature:0,stroke:`#808080`,strokeWidth:1,strokeLinecap:`round`},markersSelectable:!1,markersSelectableOne:!1,markerStyle:{initial:{r:7,fill:`#374151`,fillOpacity:1,stroke:`#FFF`,strokeWidth:5,strokeOpacity:.5},hover:{fill:`#3cc0ff`,cursor:`pointer`},selected:{fill:`blue`},selectedHover:{}},markerLabelStyle:{initial:{fontFamily:`Verdana`,fontSize:12,fontWeight:500,cursor:`default`,fill:`#374151`},hover:{cursor:`pointer`},selected:{},selectedHover:{}},regionsSelectable:!1,regionsSelectableOne:!1,regionStyle:{initial:{fill:`#dee2e8`,fillOpacity:1,stroke:`none`,strokeWidth:0},hover:{fillOpacity:.7,cursor:`pointer`},selected:{fill:`#9ca3af`},selectedHover:{}},regionLabelStyle:{initial:{fontFamily:`Verdana`,fontSize:`12`,fontWeight:`bold`,cursor:`default`,fill:`#35373e`},hover:{cursor:`pointer`}}},ew=function(){function e(e,t){this.node=this._createElement(e),t&&this.set(t)}var t=e.prototype;return t._createElement=function(e){return document.createElementNS(`http://www.w3.org/2000/svg`,e)},t.addClass=function(e){this.node.setAttribute(`class`,e)},t.getBBox=function(){return this.node.getBBox()},t.set=function(e,t){if(typeof e==`object`)for(var n in e)this.applyAttr(n,e[n]);else this.applyAttr(e,t)},t.get=function(e){return this.style.initial[e]},t.applyAttr=function(e,t){this.node.setAttribute(ZS(e),t)},t.remove=function(){YS(this.node)},e}(),tw=function(e){function t(t,n,r){var i;return r===void 0&&(r={}),i=e.call(this,t,n)||this,i.isHovered=!1,i.isSelected=!1,i.style=r,i.style.current={},i.updateStyle(),i}hC(t,e);var n=t.prototype;return n.setStyle=function(e,t){if(typeof e==`object`)QS(this.style.current,e);else{var n;QS(this.style.current,(n={},n[e]=t,n))}this.updateStyle()},n.updateStyle=function(){var e={};QS(e,this.style.initial),QS(e,this.style.current),this.isHovered&&QS(e,this.style.hover),this.isSelected&&(QS(e,this.style.selected),this.isHovered&&QS(e,this.style.selectedHover)),this.set(e)},t}(ew),nw=function(e){function t(t,n){return e.call(this,`text`,t,n)||this}hC(t,e);var n=t.prototype;return n.applyAttr=function(t,n){t===`text`?this.node.textContent=n:e.prototype.applyAttr.call(this,t,n)},t}(tw),rw=function(e){function t(t,n){return e.call(this,`image`,t,n)||this}hC(t,e);var n=t.prototype;return n.applyAttr=function(t,n){var r;t===`image`?(typeof n==`object`?(r=n.url,this.offset=n.offset||[0,0]):(r=n,this.offset=[0,0]),this.node.setAttributeNS(`http://www.w3.org/1999/xlink`,`href`,r),this.width=23,this.height=23,this.applyAttr(`width`,this.width),this.applyAttr(`height`,this.height),this.applyAttr(`x`,this.cx-this.width/2+this.offset[0]),this.applyAttr(`y`,this.cy-this.height/2+this.offset[1])):t==`cx`?(this.cx=n,this.width&&this.applyAttr(`x`,n-this.width/2+this.offset[0])):t==`cy`?(this.cy=n,this.height&&this.applyAttr(`y`,n-this.height/2+this.offset[1])):e.prototype.applyAttr.apply(this,arguments)},t}(tw),iw=function(e){function t(t){var n=e.call(this,`svg`)||this;return n._container=t,n._defsElement=new ew(`defs`),n._rootElement=new ew(`g`,{id:`jvm-regions-group`}),n.node.appendChild(n._defsElement.node),n.node.appendChild(n._rootElement.node),n._container.appendChild(n.node),n}hC(t,e);var n=t.prototype;return n.setSize=function(e,t){this.node.setAttribute(`width`,e),this.node.setAttribute(`height`,t)},n.applyTransformParams=function(e,t,n){this._rootElement.node.setAttribute(`transform`,`scale(`+e+`) translate(`+t+`, `+n+`)`)},n.createPath=function(e,t,n){var r=new tw(`path`,e,t);return r.node.setAttribute(`fill-rule`,`evenodd`),this._add(r,n)},n.createCircle=function(e,t,n){var r=new tw(`circle`,e,t);return this._add(r,n)},n.createLine=function(e,t,n){var r=new tw(`line`,e,t);return this._add(r,n)},n.createText=function(e,t,n){var r=new nw(e,t);return this._add(r,n)},n.createImage=function(e,t,n){var r=new rw(e,t);return this._add(r,n)},n.createGroup=function(e){var t=new ew(`g`);return this.node.appendChild(t.node),e&&(t.node.id=e),t.canvas=this,t},n._add=function(e,t){return t||=this._rootElement,t.node.appendChild(e.node),e},t}(ew),aw=function(e){function t(t){var n=e.call(this)||this,r=qS(`div`,`jvm-tooltip`);return n._map=t,n._tooltip=document.body.appendChild(r),n._bindEventListeners(),n||uC(n)}hC(t,e);var n=t.prototype;return n._bindEventListeners=function(){var e=this;$.on(this._map.container,`mousemove`,function(t){if(e._tooltip.classList.contains(`active`)){var n=JS(e._map.container,`#jvm-regions-group`).getBoundingClientRect(),r=5,i=e._tooltip.getBoundingClientRect(),a=i.height,o=i.width,s=t.clientY<=n.top+a+r,c=t.pageY-a-r,l=t.pageX-o-r;s&&(c+=a+r,l-=r*2),t.clientX<n.left+o+r&&(l=t.pageX+r+2,s&&(l+=r*2)),e.css({top:c+`px`,left:l+`px`})}})},n.getElement=function(){return this._tooltip},n.show=function(){this._tooltip.classList.add(`active`)},n.hide=function(){this._tooltip.classList.remove(`active`)},n.text=function(e,t){t===void 0&&(t=!1);var n=t?`innerHTML`:`textContent`;if(!e)return this._tooltip[n];this._tooltip[n]=e},n.css=function(e){for(var t in e)this._tooltip.style[t]=e[t];return this},t}(xC),ow=function(){function e(e,t){var n=e.scale,r=e.values;this._scale=n,this._values=r,this._fromColor=this.hexToRgb(n[0]),this._toColor=this.hexToRgb(n[1]),this._map=t,this.setMinMaxValues(r),this.visualize()}var t=e.prototype;return t.setMinMaxValues=function(e){for(var t in this.min=Number.MAX_VALUE,this.max=0,e)t=parseFloat(e[t]),t>this.max&&(this.max=t),t<this.min&&(this.min=t)},t.visualize=function(){var e={},t;for(var n in this._values)t=parseFloat(this._values[n]),isNaN(t)||(e[n]=this.getValue(t));this.setAttributes(e)},t.setAttributes=function(e){for(var t in e)this._map.regions[t]&&this._map.regions[t].element.setStyle(`fill`,e[t])},t.getValue=function(e){if(this.min===this.max)return`#`+this._toColor.join(``);for(var t,n=`#`,r=0;r<3;r++)t=Math.round(this._fromColor[r]+(this._toColor[r]-this._fromColor[r])*((e-this.min)/(this.max-this.min))).toString(16),n+=(t.length===1?`0`:``)+t;return n},t.hexToRgb=function(e){var t=0,n=0,r=0;return e.length==4?(t=`0x`+e[1]+e[1],n=`0x`+e[2]+e[2],r=`0x`+e[3]+e[3]):e.length==7&&(t=`0x`+e[1]+e[2],n=`0x`+e[3]+e[4],r=`0x`+e[5]+e[6]),[parseInt(t),parseInt(n),parseInt(r)]},e}(),sw=`jvm-`,cw=sw+`container`,lw=sw+`markers-group`,uw=sw+`markers-labels-group`,dw=sw+`lines-group`,fw=sw+`series-container`,pw=fw+` `+sw+`series-h`,mw=fw+` `+sw+`series-v`,hw=function(){function e(t){var n=this;if(t===void 0&&(t={}),this.params=QS(e.defaults,t,!0),!e.maps[this.params.map])throw Error(`Attempt to use map which was not loaded: `+t.map);this.regions={},this.scale=1,this.transX=0,this.transY=0,this._mapData=e.maps[this.params.map],this._markers={},this._lines={},this._defaultWidth=this._mapData.width,this._defaultHeight=this._mapData.height,this._height=0,this._width=0,this._baseScale=1,this._baseTransX=0,this._baseTransY=0,document.readyState===`loading`?window.addEventListener(`DOMContentLoaded`,function(){return n._init()}):this._init()}var t=e.prototype;return t._init=function(){var e=this.params;this.container=KS(e.selector),this.container.classList.add(cw),this.canvas=new iw(this.container),this.setBackgroundColor(e.backgroundColor),this._createRegions(),this.updateSize(),e.lines&&(this._linesGroup=this.canvas.createGroup(dw)),e.markers&&(this._markersGroup=this.canvas.createGroup(lw),this._markerLabelsGroup=this.canvas.createGroup(uw)),this._createMarkers(e.markers),this._createLines(e.lines||{}),this._repositionLabels(),this._setupContainerEvents(),this._setupElementEvents(),e.zoomButtons&&this._setupZoomButtons(),e.showTooltip&&(this._tooltip=new aw(this)),e.selectedRegions&&this._setSelected(`regions`,e.selectedRegions),e.selectedMarkers&&this._setSelected(`_markers`,e.selectedMarkers),e.focusOn&&this.setFocus(e.focusOn),e.visualizeData&&(this.dataVisualization=new ow(e.visualizeData,this)),e.bindTouchEvents&&(`ontouchstart`in window||window.DocumentTouch&&document instanceof DocumentTouch)&&this._setupContainerTouchEvents(),e.series&&(this.container.appendChild(this.legendHorizontal=qS(`div`,pw)),this.container.appendChild(this.legendVertical=qS(`div`,mw)),this._createSeries()),this._emit(iC.onLoaded,[this])},t.setBackgroundColor=function(e){this.container.style.backgroundColor=e},t.getSelectedRegions=function(){return this._getSelected(`regions`)},t.clearSelectedRegions=function(e){var t=this;e===void 0&&(e=void 0),e=this._normalizeRegions(e)||this._getSelected(`regions`),e.forEach(function(e){t.regions[e].element.select(!1)})},t.setSelectedRegions=function(e){this.clearSelectedRegions(),this._setSelected(`regions`,this._normalizeRegions(e))},t.getSelectedMarkers=function(){return this._getSelected(`_markers`)},t.clearSelectedMarkers=function(){this._clearSelected(`_markers`)},t.setSelectedMarkers=function(e){this._setSelected(`_markers`,e)},t.addMarkers=function(e){e=Array.isArray(e)?e:[e],this._createMarkers(e,!0)},t.removeMarkers=function(e){var t=this;e||=Object.keys(this._markers),e.forEach(function(e){t._markers[e].element.remove(),delete t._markers[e]})},t.addLine=function(e,t,n){n===void 0&&(n={}),console.warn("`addLine` method is deprecated, please use `addLines` instead."),this._createLines([{from:e,to:t,style:n}],this._markers,!0)},t.addLines=function(e){var t=this._getLinesAsUids();Array.isArray(e)||(e=[e]),this._createLines(e.filter(function(e){return!(t.indexOf($S(e.from,e.to))>-1)}),!0)},t.removeLines=function(e){var t=this;e=Array.isArray(e)?e.map(function(e){return $S(e.from,e.to)}):this._getLinesAsUids(),e.forEach(function(e){t._lines[e].dispose(),delete t._lines[e]})},t.removeLine=function(e,t){console.warn("`removeLine` method is deprecated, please use `removeLines` instead.");var n=$S(e,t);this._lines.hasOwnProperty(n)&&(this._lines[n].element.remove(),delete this._lines[n])},t.reset=function(){for(var e in this.series)for(var t=0;t<this.series[e].length;t++)this.series[e][t].clear();this.legendHorizontal&&=(YS(this.legendHorizontal),null),this.legendVertical&&=(YS(this.legendVertical),null),this.scale=this._baseScale,this.transX=this._baseTransX,this.transY=this._baseTransY,this._applyTransform(),this.clearSelectedMarkers(),this.clearSelectedRegions(),this.removeMarkers()},t.destroy=function(e){var t=this;e===void 0&&(e=!0),$.flush(),this._tooltip.dispose(),this._emit(iC.onDestroyed),e&&Object.keys(this).forEach(function(e){try{delete t[e]}catch{}})},t.extend=function(t,n){if(typeof this[t]==`function`)throw Error(`The method [`+t+`] does already exist, please use another name.`);e.prototype[t]=n},t._emit=function(e,t){for(var n in iC)iC[n]===e&&typeof this.params[n]==`function`&&this.params[n].apply(this,t)},t._getSelected=function(e){var t=[];for(var n in this[e])this[e][n].element.isSelected&&t.push(n);return t},t._setSelected=function(e,t){var n=this;t.forEach(function(t){n[e][t]&&n[e][t].element.select(!0)})},t._clearSelected=function(e){var t=this;this._getSelected(e).forEach(function(n){t[e][n].element.select(!1)})},t._getLinesAsUids=function(){return Object.keys(this._lines)},t._normalizeRegions=function(e){return typeof e==`string`?[e]:e},e}();hw.maps={},hw.defaults=$C,Object.assign(hw.prototype,QC),window.jsVectorMap=function(){function e(e){if(e===void 0&&(e={}),!e.selector)throw Error(`Selector is not given.`);return new hw(e)}return e.addMap=function(e,t){hw.maps[e]=t},e}(),jsVectorMap.addMap(`world`,{insets:[{width:900,top:0,left:0,height:440.70631074413296,bbox:[{y:-12671671.123330014,x:-20004297.151525836},{y:6930392.025135122,x:20026572.39474939}]}],paths:{BD:{path:`M651.84,230.21l-0.6,-2.0l-1.36,-1.71l-2.31,-0.11l-0.41,0.48l0.2,0.94l-0.53,0.99l-0.72,-0.36l-0.68,0.35l-1.2,-0.36l-0.37,-2.0l-0.81,-1.86l0.39,-1.46l-0.22,-0.47l-1.14,-0.53l0.29,-0.5l1.48,-0.94l0.03,-0.65l-1.55,-1.22l0.55,-1.14l1.61,0.94l1.04,0.15l0.18,1.54l0.34,0.35l5.64,0.63l-0.84,1.64l-1.22,0.34l-0.77,1.51l0.07,0.47l1.37,1.37l0.67,-0.19l0.42,-1.39l1.21,3.84l-0.03,1.21l-0.33,-0.15l-0.4,0.28Z`,name:`Bangladesh`},BE:{path:`M429.29,144.05l1.91,0.24l2.1,-0.63l2.63,1.99l-0.21,1.66l-0.69,0.4l-0.18,1.2l-1.66,-1.13l-1.39,0.15l-2.73,-2.7l-1.17,-0.18l-0.16,-0.52l1.54,-0.5Z`,name:`Belgium`},BF:{path:`M421.42,247.64l-0.11,0.95l0.34,1.16l1.4,1.71l0.07,1.1l0.32,0.37l2.55,0.51l-0.04,1.28l-0.38,0.53l-1.07,0.21l-0.72,1.18l-0.63,0.21l-3.22,-0.25l-0.94,0.39l-5.4,-0.05l-0.39,0.38l0.16,2.73l-1.23,-0.43l-1.17,0.1l-0.89,0.57l-2.27,-1.72l-0.13,-1.11l0.61,-0.96l0.02,-0.93l1.87,-1.98l0.44,-1.81l0.43,-0.39l1.28,0.26l1.05,-0.52l0.47,-0.73l1.84,-1.09l0.55,-0.83l2.2,-1.0l1.15,-0.3l0.72,0.45l1.13,-0.01Z`,name:`Burkina Faso`},BG:{path:`M491.65,168.18l-0.86,0.88l-0.91,2.17l0.48,1.34l-1.6,-0.24l-2.55,0.95l-0.28,1.51l-1.8,0.22l-2.0,-1.0l-1.92,0.79l-1.42,-0.07l-0.15,-1.63l-1.05,-0.97l0.0,-0.8l1.2,-1.57l0.01,-0.56l-1.14,-1.23l-0.05,-0.94l0.88,0.97l0.88,-0.2l1.91,0.47l3.68,0.16l1.42,-0.81l2.72,-0.66l2.55,1.24Z`,name:`Bulgaria`},BA:{path:`M463.49,163.65l2.1,0.5l1.72,-0.03l1.52,0.68l-0.36,0.78l0.08,0.45l1.04,1.02l-0.25,0.98l-1.81,1.15l-0.38,1.38l-1.67,-0.87l-0.89,-1.2l-2.11,-1.83l-1.63,-2.22l0.23,-0.57l0.48,0.38l0.55,-0.06l0.43,-0.51l0.94,-0.06Z`,name:`Bosnia and Herz.`},BN:{path:`M707.48,273.58l0.68,-0.65l1.41,-0.91l-0.15,1.63l-0.81,-0.05l-0.61,0.58l-0.53,-0.6Z`,name:`Brunei`},BO:{path:`M263.83,340.69l-3.09,-0.23l-0.38,0.23l-0.7,1.52l-1.31,-1.53l-3.28,-0.64l-2.37,2.4l-1.31,0.26l-0.88,-3.26l-1.3,-2.86l0.74,-2.37l-0.13,-0.43l-1.2,-1.01l-0.37,-1.89l-1.08,-1.55l1.45,-2.56l-0.96,-2.33l0.47,-1.06l-0.34,-0.73l0.91,-1.32l0.16,-3.84l0.5,-1.18l-1.81,-3.41l2.46,0.07l0.8,-0.85l3.4,-1.91l2.66,-0.35l-0.19,1.38l0.3,1.07l-0.05,1.97l2.72,2.27l2.88,0.49l0.89,0.86l1.79,0.58l0.98,0.7l1.71,0.05l1.17,0.61l0.6,2.7l-0.7,0.54l0.96,2.99l0.37,0.28l4.3,0.1l-0.25,1.2l0.27,1.02l1.43,0.9l0.5,1.35l-0.41,1.86l-0.65,1.08l0.12,1.35l-2.69,-1.65l-2.4,-0.03l-4.36,0.76l-1.49,2.5l-0.11,1.52l-0.75,2.37Z`,name:`Bolivia`},JP:{path:`M781.12,166.87l1.81,0.68l1.62,-0.97l0.39,2.42l-3.35,0.75l-2.23,2.88l-3.63,-1.9l-0.56,0.2l-1.26,3.05l-2.16,0.03l-0.29,-2.51l1.08,-2.03l2.45,-0.16l0.37,-0.33l1.25,-5.94l2.47,2.71l2.03,1.12ZM773.56,187.34l-0.91,2.22l0.37,1.52l-1.14,1.75l-3.02,1.26l-4.58,0.27l-3.34,3.01l-1.25,-0.8l-0.09,-1.9l-0.46,-0.38l-4.35,0.62l-3.0,1.32l-2.85,0.05l-0.37,0.27l0.13,0.44l2.32,1.89l-1.54,4.34l-1.26,0.9l-0.79,-0.7l0.56,-2.27l-0.21,-0.45l-1.47,-0.75l-0.74,-1.4l2.12,-0.84l1.26,-1.7l2.45,-1.42l1.83,-1.91l4.78,-0.81l2.6,0.57l0.44,-0.21l2.39,-4.66l1.29,1.06l0.5,0.01l5.1,-4.02l1.69,-3.73l-0.38,-3.4l0.9,-1.61l2.14,-0.44l1.23,3.72l-0.07,2.18l-2.23,2.84l-0.04,3.16ZM757.78,196.26l0.19,0.56l-1.01,1.21l-1.16,-0.68l-1.28,0.65l-0.69,1.45l-1.02,-0.5l0.01,-0.93l1.14,-1.38l1.57,0.14l0.85,-0.98l1.4,0.46Z`,name:`Japan`},BI:{path:`M495.45,295.49l-1.08,-2.99l1.14,-0.11l0.64,-1.19l0.76,0.09l0.65,1.83l-2.1,2.36Z`,name:`Burundi`},BJ:{path:`M429.57,255.75l-0.05,0.8l0.5,1.34l-0.42,0.86l0.17,0.79l-1.81,2.12l-0.57,1.76l-0.08,5.42l-1.41,0.2l-0.48,-1.36l0.11,-5.71l-0.52,-0.7l-0.2,-1.35l-1.48,-1.48l0.21,-0.9l0.89,-0.43l0.42,-0.92l1.27,-0.36l1.22,-1.34l0.61,-0.0l1.62,1.24Z`,name:`Benin`},BT:{path:`M650.32,213.86l0.84,0.71l-0.12,1.1l-3.76,-0.11l-1.57,0.4l-1.93,-0.87l1.48,-1.96l1.13,-0.57l1.63,0.57l1.33,0.08l0.99,0.65Z`,name:`Bhutan`},JM:{path:`M228.38,239.28l-0.8,0.4l-2.26,-1.06l0.84,-0.23l2.14,0.3l1.17,0.56l-1.08,0.03Z`,name:`Jamaica`},BW:{path:`M483.92,330.07l2.27,4.01l2.83,2.86l0.96,0.31l0.78,2.43l2.13,0.61l1.02,0.76l-3.0,1.64l-2.32,2.02l-1.54,2.69l-1.52,0.45l-0.64,1.94l-1.34,0.52l-1.85,-0.12l-1.21,-0.74l-1.35,-0.3l-1.22,0.62l-0.75,1.37l-2.31,1.9l-1.4,0.21l-0.35,-0.59l0.16,-1.75l-1.48,-2.54l-0.62,-0.43l-0.0,-7.1l2.08,-0.08l0.39,-0.4l0.07,-8.9l5.19,-0.93l0.8,0.89l0.51,0.07l1.5,-0.95l2.21,-0.49Z`,name:`Botswana`},BR:{path:`M259.98,275.05l3.24,0.7l0.65,-0.53l4.55,-1.32l1.08,-1.06l-0.02,-0.63l0.55,-0.05l0.28,0.28l-0.26,0.87l0.22,0.48l0.73,0.32l0.4,0.81l-0.62,0.86l-0.4,2.13l0.82,2.56l1.69,1.43l1.43,0.2l3.17,-1.68l3.18,0.3l0.65,-0.75l-0.27,-0.92l1.9,-0.09l2.39,0.99l1.06,-0.61l0.84,0.78l1.2,-0.18l1.18,-1.06l0.84,-1.94l1.36,-2.11l0.37,-0.05l1.89,5.45l1.33,0.59l0.05,1.28l-1.77,1.94l0.02,0.56l1.02,0.87l4.07,0.36l0.08,2.16l0.66,0.29l1.74,-1.5l6.97,2.32l1.02,1.22l-0.35,1.18l0.49,0.5l2.81,-0.74l4.77,1.3l3.75,-0.08l3.57,2.0l3.29,2.86l1.93,0.72l2.12,0.12l0.71,0.62l1.21,4.51l-0.95,3.98l-4.72,5.06l-1.64,2.92l-1.72,2.05l-0.8,0.3l-0.72,2.03l0.18,4.75l-0.94,5.53l-0.81,1.13l-0.43,3.36l-2.55,3.5l-0.4,2.51l-1.86,1.04l-0.67,1.53l-2.54,0.01l-3.94,1.01l-1.83,1.2l-2.87,0.82l-3.03,2.19l-2.2,2.83l-0.36,2.0l0.4,1.58l-0.44,2.6l-0.51,1.2l-1.77,1.54l-2.75,4.78l-3.83,3.42l-1.24,2.74l-1.18,1.15l-0.36,-0.83l0.95,-1.14l0.01,-0.5l-1.52,-1.97l-4.56,-3.32l-1.03,-0.0l-2.38,-2.02l-0.81,-0.0l5.34,-5.45l3.77,-2.58l0.22,-2.46l-1.35,-1.81l-0.91,0.07l0.58,-2.33l0.01,-1.54l-1.11,-0.83l-1.75,0.3l-0.44,-3.11l-0.52,-0.95l-1.88,-0.88l-1.24,0.47l-2.17,-0.41l0.15,-3.21l-0.62,-1.34l0.66,-0.73l-0.22,-1.34l0.66,-1.13l0.44,-2.04l-0.61,-1.83l-1.4,-0.86l-0.2,-0.75l0.34,-1.39l-0.38,-0.5l-4.52,-0.1l-0.72,-2.22l0.59,-0.42l-0.03,-1.1l-0.5,-0.87l-0.32,-1.7l-1.45,-0.76l-1.63,-0.02l-1.05,-0.72l-1.6,-0.48l-1.13,-0.99l-2.69,-0.4l-2.47,-2.06l0.13,-4.35l-0.45,-0.45l-3.46,0.5l-3.44,1.94l-0.6,0.74l-2.9,-0.17l-1.47,0.42l-0.72,-0.18l0.15,-3.52l-0.63,-0.34l-1.94,1.41l-1.87,-0.06l-0.83,-1.18l-1.37,-0.26l0.21,-1.01l-1.35,-1.49l-0.88,-1.91l0.56,-0.6l-0.0,-0.81l1.29,-0.62l0.22,-0.43l-0.22,-1.19l0.61,-0.91l0.15,-0.99l2.65,-1.58l1.99,-0.47l0.42,-0.36l2.06,0.11l0.42,-0.33l1.19,-8.0l-0.41,-1.56l-1.1,-1.0l0.01,-1.33l1.91,-0.42l0.08,-0.96l-0.33,-0.43l-1.14,-0.2l-0.02,-0.83l4.47,0.05l0.82,-0.67l0.82,1.81l0.8,0.07l1.15,1.1l2.26,-0.05l0.71,-0.83l2.78,-0.96l0.48,-1.13l1.6,-0.64l0.24,-0.47l-0.48,-0.82l-1.83,-0.19l-0.36,-3.22Z`,name:`Brazil`},BS:{path:`M226.4,223.87l-0.48,-1.15l-0.84,-0.75l0.36,-1.11l0.95,1.95l0.01,1.06ZM225.56,216.43l-1.87,0.29l-0.04,-0.22l0.74,-0.14l1.17,0.06Z`,name:`Bahamas`},BY:{path:`M493.84,128.32l0.29,0.7l0.49,0.23l1.19,-0.38l2.09,0.72l0.19,1.26l-0.45,1.24l1.57,2.26l0.89,0.59l0.17,0.81l1.58,0.56l0.4,0.5l-0.53,0.41l-1.87,-0.11l-0.73,0.38l-0.13,0.52l1.04,2.74l-1.91,0.26l-0.89,0.99l-0.11,1.18l-2.73,-0.04l-0.53,-0.62l-0.52,-0.08l-0.75,0.46l-0.91,-0.42l-1.92,-0.07l-2.75,-0.79l-2.6,-0.28l-2.0,0.07l-1.5,0.92l-0.67,0.07l-0.08,-1.22l-0.59,-1.19l1.36,-0.88l0.01,-1.35l-0.7,-1.41l-0.07,-1.0l2.16,-0.02l2.72,-1.3l0.75,-2.04l1.91,-1.04l0.2,-0.41l-0.19,-1.25l3.8,-1.78l2.3,0.77Z`,name:`Belarus`},BZ:{path:`M198.03,244.38l0.1,-4.49l0.69,-0.06l0.74,-1.3l0.34,0.28l-0.4,1.3l0.17,0.58l-0.34,2.25l-1.3,1.42Z`,name:`Belize`},RU:{path:`M491.55,115.25l2.55,-1.85l-0.01,-0.65l-2.2,-1.5l7.32,-6.76l1.03,-2.11l-0.13,-0.49l-3.46,-2.52l0.86,-2.7l-2.11,-2.81l1.56,-3.67l-2.77,-4.52l2.15,-2.99l-0.08,-0.55l-3.65,-2.73l0.3,-2.54l1.81,-0.37l4.26,-1.77l2.42,-1.45l4.06,2.61l6.79,1.04l9.34,4.85l1.78,1.88l0.14,2.46l-2.55,2.02l-3.9,1.06l-11.07,-3.14l-2.06,0.53l-0.13,0.7l3.94,2.94l0.31,5.86l0.26,0.36l5.14,2.24l0.58,-0.29l0.32,-1.94l-1.35,-1.78l1.13,-1.09l6.13,2.42l2.11,-0.98l0.18,-0.56l-1.51,-2.67l5.41,-3.76l2.07,0.22l2.26,1.41l0.57,-0.16l1.46,-2.87l-0.05,-0.44l-1.92,-2.32l1.12,-2.32l-1.32,-2.27l5.87,1.16l1.04,1.75l-2.59,0.43l-0.33,0.4l0.02,2.36l2.46,1.83l3.87,-0.91l0.86,-2.8l13.69,-5.65l0.99,0.11l-1.92,2.06l0.23,0.67l3.11,0.45l2.0,-1.48l4.56,-0.12l3.64,-1.73l2.65,2.44l0.56,-0.01l2.85,-2.88l-0.01,-0.57l-2.35,-2.29l0.9,-1.01l7.14,1.3l3.41,1.36l9.05,4.97l0.51,-0.11l1.67,-2.27l-0.05,-0.53l-2.43,-2.21l-0.06,-0.78l-0.34,-0.36l-2.52,-0.36l0.64,-1.93l-1.32,-3.46l-0.06,-1.21l4.48,-4.06l1.69,-4.29l1.6,-0.81l6.23,1.18l0.44,2.21l-2.29,3.64l0.06,0.5l1.47,1.39l0.76,3.0l-0.56,6.03l2.69,2.82l-0.96,2.57l-4.86,5.95l0.23,0.64l2.86,0.61l0.42,-0.17l0.93,-1.4l2.64,-1.03l0.87,-2.24l2.09,-1.96l0.07,-0.5l-1.36,-2.28l1.09,-2.69l-0.32,-0.55l-2.47,-0.33l-0.5,-2.06l1.94,-4.38l-0.06,-0.42l-2.96,-3.4l4.12,-2.88l0.16,-0.4l-0.51,-2.93l0.54,-0.05l1.13,2.25l-0.96,4.35l0.27,0.47l2.68,0.84l0.5,-0.51l-1.02,-2.99l3.79,-1.66l5.01,-0.24l4.53,2.61l0.48,-0.06l0.07,-0.48l-2.18,-3.82l-0.23,-4.67l3.98,-0.9l5.97,0.21l5.49,-0.64l0.27,-0.65l-1.83,-2.31l2.56,-2.9l2.87,-0.17l4.8,-2.47l6.54,-0.67l1.03,-1.42l6.25,-0.45l2.32,1.11l5.53,-2.7l4.5,0.08l0.39,-0.28l0.66,-2.15l2.26,-2.12l5.69,-2.11l3.21,1.29l-2.46,0.94l-0.25,0.42l0.34,0.35l5.41,0.77l0.61,2.33l0.58,0.25l2.2,-1.22l7.13,0.07l5.51,2.47l1.79,1.72l-0.53,2.24l-9.16,4.15l-1.97,1.52l0.16,0.71l6.77,1.91l2.16,-0.78l1.13,2.74l0.67,0.11l1.01,-1.15l3.81,-0.73l7.7,0.77l0.54,1.99l0.36,0.29l10.47,0.71l0.43,-0.38l0.13,-3.23l4.87,0.78l3.95,-0.02l3.83,2.4l1.03,2.71l-1.35,1.79l0.02,0.5l3.15,3.64l4.07,1.96l0.53,-0.18l2.23,-4.47l3.95,1.93l4.16,-1.21l4.73,1.39l2.05,-1.26l3.94,0.62l0.43,-0.55l-1.68,-4.02l2.89,-1.8l22.31,3.03l2.16,2.75l6.55,3.51l10.29,-0.81l4.82,0.73l1.85,1.66l-0.29,3.08l0.25,0.41l3.08,1.26l3.56,-0.88l4.35,-0.11l4.8,0.87l4.57,-0.47l4.23,3.79l0.43,0.07l3.1,-1.4l0.16,-0.6l-1.88,-2.62l0.85,-1.52l7.71,1.21l5.22,-0.26l7.09,2.09l9.59,5.22l6.35,4.11l-0.2,2.38l1.88,1.41l0.6,-0.42l-0.48,-2.53l6.15,0.57l4.4,3.51l-1.97,1.43l-4.0,0.41l-0.36,0.39l-0.06,3.79l-0.74,0.62l-2.07,-0.11l-1.91,-1.39l-3.14,-1.11l-0.78,-1.85l-2.72,-0.68l-2.63,0.49l-1.04,-1.1l0.46,-1.31l-0.5,-0.51l-3.0,0.98l-0.22,0.58l0.99,1.7l-1.21,1.48l-3.04,1.68l-3.12,-0.28l-0.4,0.23l0.09,0.46l2.2,2.09l1.46,3.2l1.15,1.1l0.24,1.33l-0.42,0.67l-4.63,-0.77l-6.96,2.9l-2.19,0.44l-7.6,5.06l-0.84,1.45l-3.61,-2.37l-6.24,2.82l-0.94,-1.15l-0.53,-0.08l-2.28,1.52l-3.2,-0.49l-0.44,0.27l-0.78,2.37l-3.05,3.78l0.09,1.47l0.29,0.36l2.54,0.72l-0.29,4.53l-1.97,0.11l-0.35,0.26l-1.07,2.94l0.8,1.45l-3.91,1.58l-1.05,3.95l-3.48,0.77l-0.3,0.3l-0.72,3.29l-3.09,2.65l-0.7,-1.74l-2.44,-12.44l1.16,-4.71l2.04,-2.06l0.22,-1.64l3.8,-0.86l4.46,-4.61l4.28,-3.81l4.48,-3.01l2.17,-5.63l-0.42,-0.54l-3.04,0.33l-1.77,3.31l-5.86,3.86l-1.86,-4.25l-0.45,-0.23l-6.46,1.3l-6.47,6.44l-0.01,0.55l1.58,1.74l-8.24,1.17l0.15,-2.2l-0.34,-0.42l-3.89,-0.56l-3.25,1.81l-7.62,-0.62l-8.45,1.19l-17.71,15.41l0.22,0.7l3.74,0.41l1.36,2.17l2.43,0.76l1.88,-1.68l2.4,0.2l3.4,3.54l0.08,2.6l-1.95,3.42l-0.21,3.9l-1.1,5.06l-3.71,4.54l-0.87,2.21l-8.29,8.89l-3.19,1.7l-1.32,0.03l-1.45,-1.36l-0.49,-0.04l-2.27,1.5l0.41,-3.65l-0.59,-2.47l1.75,-0.89l2.91,0.53l0.42,-0.2l1.68,-3.03l0.87,-3.46l0.97,-1.18l1.32,-2.88l-0.45,-0.56l-4.14,0.95l-2.19,1.25l-3.41,-0.0l-1.06,-2.93l-2.97,-2.3l-4.28,-1.06l-1.75,-5.07l-2.66,-5.01l-2.29,-1.29l-3.75,-1.01l-3.44,0.08l-3.18,0.62l-2.24,1.77l0.05,0.66l1.18,0.69l0.02,1.43l-1.33,1.05l-2.26,3.51l-0.04,1.43l-3.16,1.84l-2.82,-1.16l-3.01,0.23l-1.35,-1.07l-1.5,-0.35l-3.9,2.31l-3.22,0.52l-2.27,0.79l-3.05,-0.51l-2.21,0.03l-1.48,-1.6l-2.6,-1.63l-2.63,-0.43l-5.46,1.01l-3.23,-1.25l-0.72,-2.57l-5.2,-1.24l-2.75,-1.36l-0.5,0.12l-2.59,3.45l0.84,2.1l-2.06,1.93l-3.41,-0.77l-2.42,-0.12l-1.83,-1.54l-2.53,-0.05l-2.42,-0.98l-3.86,1.57l-4.72,2.78l-3.3,0.75l-1.55,-1.92l-3.0,0.41l-1.11,-1.33l-1.62,-0.59l-1.31,-1.94l-1.38,-0.6l-3.7,0.79l-3.31,-1.83l-0.51,0.11l-0.99,1.29l-5.29,-8.05l-2.96,-2.48l0.65,-0.77l0.01,-0.51l-0.5,-0.11l-6.2,3.21l-1.84,0.15l0.15,-1.39l-0.26,-0.42l-3.22,-1.17l-2.46,0.7l-0.69,-3.16l-0.32,-0.31l-4.5,-0.75l-2.47,1.47l-6.19,1.27l-1.29,0.86l-9.51,1.3l-1.15,1.17l-0.03,0.53l1.47,1.9l-1.89,0.69l-0.22,0.56l0.31,0.6l-2.11,1.44l0.03,0.68l3.75,2.12l-0.39,0.98l-3.23,-0.13l-0.86,0.86l-3.09,-1.59l-3.97,0.07l-2.66,1.35l-8.32,-3.56l-4.07,0.06l-5.39,3.68l-0.39,2.0l-2.03,-1.5l-0.59,0.13l-2.0,3.59l0.57,0.93l-1.28,2.16l0.06,0.48l2.13,2.17l1.95,0.04l1.37,1.82l-0.23,1.46l0.25,0.43l0.83,0.33l-0.8,1.31l-2.49,0.62l-2.49,3.2l0.0,0.49l2.17,2.78l-0.15,2.18l2.5,3.24l-1.58,1.59l-0.7,-0.13l-1.63,-1.72l-2.29,-0.84l-0.94,-1.31l-2.34,-0.63l-1.48,0.4l-0.43,-0.47l-3.51,-1.48l-5.76,-1.01l-0.45,0.19l-2.89,-2.34l-2.9,-1.2l-1.53,-1.29l1.29,-0.43l2.08,-2.61l-0.05,-0.55l-0.89,-0.79l3.05,-1.06l0.27,-0.42l-0.07,-0.69l-0.49,-0.35l-1.73,0.39l0.04,-0.68l1.04,-0.72l2.66,-0.48l0.4,-1.32l-0.5,-1.6l0.92,-1.54l0.03,-1.17l-0.29,-0.37l-3.69,-1.06l-1.41,0.02l-1.42,-1.41l-2.19,0.38l-2.77,-1.01l-0.03,-0.59l-0.89,-1.43l-2.0,-0.32l-0.11,-0.54l0.49,-0.53l0.01,-0.53l-1.6,-1.9l-3.58,0.02l-0.88,0.73l-0.46,-0.07l-1.0,-2.79l2.22,-0.02l0.97,-0.74l0.07,-0.57l-0.9,-1.04l-1.35,-0.48l-0.11,-0.7l-0.95,-0.58l-1.38,-1.99l0.46,-0.98l-0.51,-1.96l-2.45,-0.84l-1.21,0.3l-0.46,-0.76l-2.46,-0.83l-0.72,-1.87l-0.21,-1.69l-0.99,-0.85l0.85,-1.17l-0.7,-3.21l1.66,-1.97l-0.16,-0.79ZM749.2,170.72l-0.6,0.4l-0.13,0.16l-0.01,-0.51l0.74,-0.05ZM874.85,67.94l-5.63,0.48l-0.26,-0.84l3.15,-1.89l1.94,0.01l3.19,1.16l-2.39,1.09ZM797.39,48.49l-2.0,1.36l-3.8,-0.42l-4.25,-1.8l0.35,-0.97l9.69,1.83ZM783.67,46.12l-1.63,3.09l-8.98,-0.13l-4.09,1.14l-4.54,-2.97l1.16,-3.01l3.05,-0.89l6.5,0.22l8.54,2.56ZM778.2,134.98l-0.56,-0.9l0.27,-0.12l0.29,1.01ZM778.34,135.48l0.94,3.53l-0.05,3.38l1.05,3.39l2.18,5.0l-2.89,-0.83l-0.49,0.26l-1.54,4.65l2.42,3.5l-0.04,1.13l-1.24,-1.24l-0.61,0.06l-1.09,1.61l-0.28,-1.61l0.27,-3.1l-0.28,-3.4l0.58,-2.47l0.11,-4.39l-1.46,-3.36l0.21,-4.32l2.15,-1.46l0.07,-0.34ZM771.95,56.61l1.76,-1.42l2.89,-0.42l3.28,1.71l0.14,0.6l-3.27,0.03l-4.81,-0.5ZM683.76,31.09l-13.01,1.93l4.03,-6.35l1.82,-0.56l1.73,0.34l5.99,2.98l-0.56,1.66ZM670.85,27.93l-5.08,0.64l-6.86,-1.57l-3.99,-2.05l-2.1,-4.16l-2.6,-0.87l5.72,-3.5l5.2,-1.28l4.69,2.85l5.59,5.4l-0.56,4.53ZM564.15,68.94l-0.64,0.17l-7.85,-0.57l-0.86,-2.04l-4.28,-1.17l-0.28,-1.94l2.27,-0.89l0.25,-0.39l-0.08,-2.38l4.81,-3.97l-0.15,-0.7l-1.47,-0.38l5.3,-3.81l0.15,-0.44l-0.58,-1.94l5.28,-2.51l8.21,-3.27l8.28,-0.96l4.35,-1.94l4.6,-0.64l1.36,1.61l-1.34,1.28l-16.43,4.94l-7.97,4.88l-7.74,9.63l0.66,4.14l4.16,3.27ZM548.81,18.48l-5.5,1.18l-0.58,1.02l-2.59,0.84l-2.13,-1.07l1.12,-1.42l-0.3,-0.65l-2.33,-0.07l1.68,-0.36l3.47,-0.06l0.42,1.29l0.66,0.16l1.38,-1.34l2.15,-0.88l2.94,1.01l-0.39,0.36ZM477.37,133.15l-4.08,0.05l-2.56,-0.32l0.33,-0.87l3.17,-1.03l3.24,0.96l-0.09,1.23Z`,name:`Russia`},RW:{path:`M497.0,288.25l0.71,1.01l-0.11,1.09l-1.63,0.03l-1.04,1.39l-0.83,-0.11l0.51,-1.2l0.08,-1.34l0.42,-0.41l0.7,0.14l1.19,-0.61Z`,name:`Rwanda`},RS:{path:`M469.4,163.99l0.42,-0.5l-0.01,-0.52l-1.15,-1.63l1.43,-0.62l1.33,0.12l1.17,1.06l0.46,1.13l1.34,0.64l0.35,1.35l1.46,0.9l0.76,-0.29l0.2,0.69l-0.48,0.78l0.22,1.12l1.05,1.22l-0.77,0.8l-0.37,1.52l-1.21,0.08l0.24,-0.64l-0.39,-0.54l-2.08,-1.64l-0.9,0.05l-0.48,0.94l-2.12,-1.37l0.53,-1.6l-1.11,-1.37l0.51,-1.1l-0.41,-0.57Z`,name:`Serbia`},LT:{path:`M486.93,129.3l0.17,1.12l-1.81,0.98l-0.72,2.02l-2.47,1.18l-2.1,-0.02l-0.73,-1.05l-1.06,-0.3l-0.09,-1.87l-3.56,-1.13l-0.43,-2.36l2.48,-0.94l4.12,0.22l2.25,-0.31l0.52,0.69l1.24,0.21l2.19,1.56Z`,name:`Lithuania`},LU:{path:`M436.08,149.45l-0.48,-0.07l0.3,-1.28l0.27,0.4l-0.09,0.96Z`,name:`Luxembourg`},LR:{path:`M399.36,265.97l0.18,1.54l-0.48,0.99l0.08,0.47l2.47,1.8l-0.33,2.8l-2.65,-1.13l-5.78,-4.61l0.58,-1.32l2.1,-2.33l0.86,-0.22l0.77,1.14l-0.14,0.85l0.59,0.87l1.0,0.14l0.76,-0.99Z`,name:`Liberia`},RO:{path:`M487.53,154.23l0.6,0.24l2.87,3.98l-0.17,2.69l0.45,1.42l1.32,0.81l1.35,-0.42l0.76,0.36l0.02,0.31l-0.83,0.45l-0.59,-0.22l-0.54,0.3l-0.62,3.3l-1.0,-0.22l-2.07,-1.13l-2.95,0.71l-1.25,0.76l-3.51,-0.15l-1.89,-0.47l-0.87,0.16l-0.82,-1.3l0.29,-0.26l-0.06,-0.64l-1.09,-0.34l-0.56,0.5l-1.05,-0.64l-0.39,-1.39l-1.36,-0.65l-0.35,-1.0l-0.83,-0.75l1.54,-0.54l2.66,-4.21l2.4,-1.24l2.96,0.34l1.48,0.73l0.79,-0.45l1.78,-0.3l0.75,-0.74l0.79,0.0Z`,name:`Romania`},GW:{path:`M386.23,253.6l-0.29,0.84l0.15,0.6l-2.21,0.59l-0.86,0.96l-1.04,-0.83l-1.09,-0.23l-0.54,-1.06l-0.66,-0.49l2.41,-0.48l4.13,0.1Z`,name:`Guinea-Bissau`},GT:{path:`M195.08,249.77l-2.48,-0.37l-1.03,-0.45l-1.14,-0.89l0.3,-0.99l-0.24,-0.68l0.96,-1.66l2.98,-0.01l0.4,-0.37l-0.19,-1.28l-1.67,-1.4l0.51,-0.4l0.0,-1.05l3.85,0.02l-0.21,4.53l0.4,0.43l1.46,0.38l-1.48,0.98l-0.35,0.7l0.12,0.57l-2.2,1.96Z`,name:`Guatemala`},GR:{path:`M487.07,174.59l-0.59,1.43l-0.37,0.21l-2.84,-0.35l-3.03,0.77l-0.18,0.68l1.28,1.23l-0.61,0.23l-1.14,0.0l-1.2,-1.39l-0.63,0.03l-0.53,1.01l0.56,1.76l1.03,1.19l-0.56,0.38l-0.05,0.62l2.52,2.12l0.02,0.87l-1.78,-0.59l-0.48,0.56l0.5,1.0l-1.07,0.2l-0.3,0.53l0.75,2.01l-0.98,0.02l-1.84,-1.12l-1.37,-4.2l-2.21,-2.95l-0.11,-0.56l1.04,-1.28l0.2,-0.95l0.85,-0.66l0.03,-0.46l1.32,-0.21l1.01,-0.64l1.22,0.05l0.65,-0.56l2.26,-0.0l1.82,-0.75l1.85,1.0l2.28,-0.28l0.35,-0.39l0.01,-0.77l0.34,0.22ZM480.49,192.16l0.58,0.4l-0.68,-0.12l0.11,-0.28ZM482.52,192.82l2.51,0.06l0.24,0.32l-1.99,0.13l-0.77,-0.51Z`,name:`Greece`},GQ:{path:`M448.79,279.62l0.02,2.22l-4.09,0.0l0.69,-2.27l3.38,0.05Z`,name:`Eq. Guinea`},GY:{path:`M277.42,270.07l-0.32,1.83l-1.32,0.57l-0.23,0.46l-0.28,2.0l1.11,1.82l0.83,0.19l0.32,1.25l1.13,1.62l-1.21,-0.19l-1.08,0.71l-1.77,0.5l-0.44,0.46l-0.86,-0.09l-1.32,-1.01l-0.77,-2.27l0.36,-1.9l0.68,-1.23l-0.57,-1.17l-0.74,-0.43l0.12,-1.16l-0.9,-0.69l-1.1,0.09l-1.31,-1.48l0.53,-0.72l-0.04,-0.84l1.99,-0.86l0.05,-0.59l-0.71,-0.78l0.14,-0.57l1.66,-1.24l1.36,0.77l1.41,1.49l0.06,1.15l0.37,0.38l0.8,0.05l2.06,1.86Z`,name:`Guyana`},GE:{path:`M521.71,168.93l5.29,0.89l4.07,2.01l1.41,-0.44l2.07,0.56l0.68,1.1l1.07,0.55l-0.12,0.59l0.98,1.29l-1.01,-0.13l-1.81,-0.83l-0.94,0.47l-3.23,0.43l-2.29,-1.39l-2.33,0.05l0.21,-0.97l-0.76,-2.26l-1.45,-1.12l-1.43,-0.39l-0.41,-0.42Z`,name:`Georgia`},GB:{path:`M412.61,118.72l-2.19,3.22l-0.0,0.45l5.13,-0.3l-0.53,2.37l-2.2,3.12l0.29,0.63l2.37,0.21l2.33,4.3l1.76,0.69l2.2,5.12l2.94,0.77l-0.23,1.62l-1.15,0.88l-0.1,0.52l0.82,1.42l-1.86,1.43l-3.3,-0.02l-4.12,0.87l-1.04,-0.58l-0.47,0.06l-1.51,1.41l-2.12,-0.34l-1.86,1.18l-0.6,-0.29l3.19,-3.0l2.16,-0.69l0.28,-0.41l-0.34,-0.36l-3.73,-0.53l-0.4,-0.76l2.2,-0.87l0.17,-0.61l-1.26,-1.67l0.36,-1.7l3.38,0.28l0.43,-0.33l0.37,-1.99l-1.79,-2.49l-3.11,-0.72l-0.38,-0.59l0.79,-1.35l-0.04,-0.46l-0.82,-0.97l-0.61,0.01l-0.68,0.84l-0.1,-2.34l-1.23,-1.88l0.85,-3.47l1.77,-2.68l1.85,0.26l2.17,-0.22ZM406.26,132.86l-1.01,1.77l-1.57,-0.59l-1.16,0.01l0.37,-1.54l-0.39,-1.39l1.45,-0.1l2.3,1.84Z`,name:`United Kingdom`},GA:{path:`M453.24,279.52l-0.08,0.98l0.7,1.29l2.36,0.24l-0.98,2.63l1.18,1.79l0.25,1.78l-0.29,1.52l-0.6,0.93l-1.84,-0.09l-1.23,-1.11l-0.66,0.23l-0.15,0.84l-1.42,0.26l-1.02,0.7l-0.11,0.52l0.77,1.35l-1.34,0.97l-3.94,-4.3l-1.44,-2.45l0.06,-0.6l0.54,-0.81l1.05,-3.46l4.17,-0.07l0.4,-0.4l-0.02,-2.66l2.39,0.21l1.25,-0.27Z`,name:`Gabon`},GN:{path:`M391.8,254.11l0.47,0.8l1.11,-0.32l0.98,0.7l1.07,0.2l2.26,-1.22l0.64,0.44l1.13,1.56l-0.48,1.4l0.8,0.3l-0.08,0.48l0.46,0.68l-0.35,1.36l1.05,2.61l-1.0,0.69l0.03,1.41l-0.72,-0.06l-1.08,1.0l-0.24,-0.27l0.07,-1.11l-1.05,-1.54l-1.79,0.21l-0.35,-2.01l-1.6,-2.18l-2.0,-0.0l-1.31,0.54l-1.95,2.18l-1.86,-2.19l-1.2,-0.78l-0.3,-1.11l-0.8,-0.85l0.65,-0.72l0.81,-0.03l1.64,-0.8l0.23,-1.87l2.67,0.64l0.89,-0.3l1.21,0.15Z`,name:`Guinea`},GM:{path:`M379.31,251.39l0.1,-0.35l2.43,-0.07l0.74,-0.61l0.51,-0.03l0.77,0.49l-1.03,-0.3l-1.87,0.9l-1.65,-0.04ZM384.03,250.91l0.91,0.05l0.75,-0.24l-0.59,0.31l-1.08,-0.13Z`,name:`Gambia`},GL:{path:`M353.02,1.2l14.69,4.67l-3.68,1.89l-22.97,0.86l-0.36,0.27l0.12,0.43l1.55,1.18l8.79,-0.66l7.48,2.07l4.86,-1.77l1.66,1.73l-2.53,3.19l-0.01,0.48l0.46,0.15l6.35,-2.2l12.06,-2.31l7.24,1.13l1.09,1.99l-9.79,4.01l-1.44,1.32l-7.87,0.98l-0.35,0.41l0.38,0.38l5.07,0.24l-2.53,3.58l-2.07,3.81l0.08,6.05l2.57,3.11l-3.22,0.2l-4.12,1.66l-0.05,0.72l4.45,2.65l0.51,3.75l-2.3,0.4l-0.25,0.64l2.79,3.69l-4.82,0.31l-0.36,0.29l0.16,0.44l2.62,1.8l-0.59,1.22l-3.3,0.7l-3.45,0.01l-0.29,0.68l3.03,3.12l0.02,1.34l-4.4,-1.73l-1.72,1.35l0.15,0.66l3.31,1.15l3.13,2.71l0.81,3.16l-3.85,0.75l-4.89,-4.26l-0.47,-0.03l-0.17,0.44l0.79,2.86l-2.71,2.21l-0.13,0.44l0.37,0.27l8.73,0.34l-12.32,6.64l-7.24,1.48l-2.94,0.08l-2.69,1.75l-3.43,4.41l-5.24,2.84l-1.73,0.18l-7.12,2.1l-2.15,2.52l-0.13,2.99l-1.19,2.45l-4.01,3.09l-0.14,0.44l0.97,2.9l-2.28,6.48l-3.1,0.2l-3.83,-3.07l-4.86,-0.02l-2.25,-1.93l-1.7,-3.79l-4.3,-4.84l-1.21,-2.49l-0.44,-3.8l-3.32,-3.63l0.84,-2.86l-1.56,-1.7l2.28,-4.6l3.83,-1.74l1.03,-1.96l0.52,-3.47l-0.59,-0.41l-4.17,2.21l-2.07,0.58l-2.72,-1.28l-0.15,-2.71l0.85,-2.09l2.01,-0.06l5.06,1.2l0.46,-0.23l-0.14,-0.49l-6.54,-4.47l-2.67,0.55l-1.58,-0.86l2.56,-4.01l-0.03,-0.48l-1.5,-1.74l-4.98,-8.5l-3.13,-1.96l0.03,-1.88l-0.24,-0.37l-6.85,-3.02l-5.36,-0.38l-12.7,0.58l-2.78,-1.57l-3.66,-2.77l5.73,-1.45l5.0,-0.28l0.38,-0.38l-0.35,-0.41l-10.67,-1.38l-5.3,-2.06l0.25,-1.54l18.41,-5.26l1.22,-2.27l-0.25,-0.55l-6.14,-1.86l1.68,-1.77l8.55,-4.03l3.59,-0.63l0.3,-0.54l-0.88,-2.27l5.47,-1.47l7.65,-0.95l7.55,-0.05l3.04,1.85l6.48,-3.27l5.81,2.22l3.56,0.5l5.16,1.94l0.5,-0.21l-0.17,-0.52l-5.71,-3.13l0.28,-2.13l8.12,-3.6l8.7,0.28l3.35,-2.34l8.71,-0.6l19.93,0.8Z`,name:`Greenland`},KW:{path:`M540.81,207.91l0.37,0.86l-0.17,0.76l0.6,1.53l-0.95,0.04l-0.82,-1.28l-1.57,-0.18l1.31,-1.88l1.22,0.17Z`,name:`Kuwait`},GH:{path:`M420.53,257.51l-0.01,0.72l0.96,1.2l0.24,3.73l0.59,0.95l-0.51,2.1l0.19,1.41l1.02,2.21l-6.97,2.84l-1.8,-0.57l0.04,-0.89l-1.02,-2.04l0.61,-2.65l1.07,-2.32l-0.96,-6.47l5.01,0.07l0.94,-0.39l0.61,0.11Z`,name:`Ghana`},OM:{path:`M568.09,230.93l-0.91,1.67l-1.22,0.04l-0.6,0.76l-0.41,1.51l0.27,1.58l-1.16,0.05l-1.56,0.97l-0.76,1.74l-1.62,0.05l-0.98,0.65l-0.17,1.15l-0.89,0.52l-1.49,-0.18l-2.4,0.94l-2.47,-5.4l7.35,-2.71l1.67,-5.23l-1.12,-2.09l0.05,-0.83l0.67,-1.0l0.07,-1.05l0.9,-0.42l-0.05,-2.07l0.7,-0.01l1.0,1.62l1.51,1.08l3.3,0.84l1.73,2.29l0.81,0.37l-1.23,2.35l-0.99,0.79Z`,name:`Oman`},_2:{path:`M531.15,258.94l1.51,0.12l5.13,-0.95l5.3,-1.48l-0.01,4.4l-2.67,3.39l-1.85,0.01l-8.04,-2.94l-2.55,-3.17l1.12,-1.71l2.04,2.34Z`,name:`Somaliland`},_1:{path:`M472.77,172.64l-1.08,-1.29l0.96,-0.77l0.29,-0.83l1.98,1.64l-0.36,0.67l-1.79,0.58Z`,name:`Kosovo`},_0:{path:`M504.91,192.87l0.34,0.01l0.27,-0.07l-0.29,0.26l-0.31,-0.2Z`,name:`N. Cyprus`},JO:{path:`M518.64,201.38l-5.14,1.56l-0.19,0.65l2.16,2.39l-0.89,1.14l-1.71,0.34l-1.71,1.8l-2.34,-0.37l1.21,-4.32l0.56,-4.07l2.8,0.94l4.46,-2.71l0.79,2.66Z`,name:`Jordan`},HR:{path:`M455.59,162.84l1.09,0.07l-0.82,0.94l-0.27,-1.01ZM456.96,162.92l0.62,-0.41l1.73,0.45l0.42,-0.4l-0.01,-0.59l0.86,-0.52l0.2,-1.05l1.63,-0.68l2.57,1.68l2.07,0.6l0.87,-0.31l1.05,1.57l-0.52,0.63l-1.05,-0.56l-1.68,0.04l-2.1,-0.5l-1.29,0.06l-0.57,0.49l-0.59,-0.47l-0.62,0.16l-0.46,1.7l1.79,2.42l2.79,2.75l-1.18,-0.87l-2.21,-0.87l-1.67,-1.78l0.13,-0.63l-1.05,-1.19l-0.32,-1.27l-1.42,-0.43Z`,name:`Croatia`},HT:{path:`M237.05,238.38l-1.16,0.43l-0.91,-0.55l0.05,-0.2l2.02,0.31ZM237.53,238.43l1.06,0.12l-0.05,0.01l-1.01,-0.12ZM239.25,238.45l0.79,-0.51l0.06,-0.62l-1.02,-1.0l0.02,-0.82l-0.3,-0.4l-0.93,-0.32l3.16,0.45l0.02,1.84l-0.48,0.34l-0.08,0.58l0.54,0.72l-1.78,-0.26Z`,name:`Haiti`},HU:{path:`M462.08,157.89l0.65,-1.59l-0.09,-0.44l0.64,-0.0l0.39,-0.34l0.1,-0.69l1.75,0.87l2.32,-0.37l0.43,-0.66l3.49,-0.78l0.69,-0.78l0.57,-0.14l2.57,0.93l0.67,-0.23l1.03,0.65l0.08,0.37l-1.42,0.71l-2.59,4.14l-1.8,0.53l-1.68,-0.1l-2.74,1.23l-1.85,-0.54l-2.54,-1.66l-0.66,-1.1Z`,name:`Hungary`},HN:{path:`M199.6,249.52l-1.7,-1.21l0.06,-0.94l3.04,-2.14l2.37,0.28l1.27,-0.09l1.1,-0.52l1.3,0.28l1.14,-0.25l1.38,0.37l2.23,1.37l-2.36,0.93l-1.23,-0.39l-0.88,1.3l-1.28,0.99l-0.98,-0.22l-0.42,0.52l-0.96,0.05l-0.36,0.41l0.04,0.88l-0.52,0.6l-0.3,0.04l-0.3,-0.55l-0.66,-0.31l0.11,-0.67l-0.48,-0.65l-0.87,-0.26l-0.73,0.2Z`,name:`Honduras`},PR:{path:`M256.17,238.73l-0.26,0.27l-2.83,0.05l-0.07,-0.55l1.95,-0.1l1.22,0.33Z`,name:`Puerto Rico`},PS:{path:`M509.21,203.07l0.1,-0.06l-0.02,0.03l-0.09,0.03ZM509.36,202.91l-0.02,-0.63l-0.33,-0.16l0.31,-1.09l0.24,0.1l-0.2,1.78Z`,name:`Palestine`},PT:{path:`M401.84,187.38l-0.64,0.47l-1.13,-0.35l-0.91,0.17l0.28,-1.78l-0.24,-1.78l-1.25,-0.56l-0.45,-0.84l0.17,-1.66l1.01,-1.18l0.69,-2.92l-0.04,-1.39l-0.59,-1.9l1.3,-0.85l0.84,1.35l3.1,-0.3l0.46,0.99l-1.05,0.94l-0.03,2.16l-0.41,0.57l-0.08,1.1l-0.79,0.18l-0.26,0.59l0.91,1.6l-0.63,1.75l0.76,1.09l-1.1,1.52l0.07,1.05Z`,name:`Portugal`},PY:{path:`M274.9,336.12l0.74,1.52l-0.16,3.45l0.32,0.41l2.64,0.5l1.11,-0.47l1.4,0.59l0.36,0.6l0.53,3.42l1.27,0.4l0.98,-0.38l0.51,0.27l-0.0,1.18l-1.21,5.32l-2.09,1.9l-1.8,0.4l-4.71,-0.98l2.2,-3.63l-0.32,-1.5l-2.78,-1.28l-3.03,-1.94l-2.07,-0.44l-4.34,-4.06l0.91,-2.9l0.08,-1.42l1.07,-2.04l4.13,-0.72l2.18,0.03l2.05,1.17l0.03,0.59Z`,name:`Paraguay`},PA:{path:`M213.8,263.68l0.26,-1.52l-0.36,-0.26l-0.01,-0.49l0.44,-0.1l0.93,1.4l1.26,0.03l0.77,0.49l1.38,-0.23l2.51,-1.11l0.86,-0.72l3.45,0.85l1.4,1.18l0.41,1.74l-0.21,0.34l-0.53,-0.12l-0.47,0.29l-0.16,0.6l-0.68,-1.28l0.45,-0.49l-0.19,-0.66l-0.47,-0.13l-0.54,-0.84l-1.5,-0.75l-1.1,0.16l-0.75,0.99l-1.62,0.84l-0.18,0.96l0.85,0.97l-0.58,0.45l-0.69,0.08l-0.34,-1.18l-1.27,0.03l-0.71,-1.05l-2.59,-0.46Z`,name:`Panama`},PG:{path:`M808.58,298.86l2.54,2.56l-0.13,0.26l-0.33,0.12l-0.87,-0.78l-1.22,-2.16ZM801.41,293.04l0.5,0.29l0.26,0.27l-0.49,-0.35l-0.27,-0.21ZM803.17,294.58l0.59,0.5l0.08,1.06l-0.29,-0.91l-0.38,-0.65ZM796.68,298.41l0.52,0.75l1.43,-0.19l2.27,-1.81l-0.01,-1.43l1.12,0.16l-0.04,1.1l-0.7,1.28l-1.12,0.18l-0.62,0.79l-2.46,1.11l-1.17,-0.0l-3.08,-1.25l3.41,0.0l0.45,-0.68ZM789.15,303.55l2.31,1.8l1.59,2.61l1.34,0.13l-0.06,0.66l0.31,0.43l1.06,0.24l0.06,0.65l2.25,1.05l-1.22,0.13l-0.72,-0.63l-4.56,-0.65l-3.22,-2.87l-1.49,-2.34l-3.27,-1.1l-2.38,0.72l-1.59,0.86l-0.2,0.42l0.27,1.55l-1.55,0.68l-1.36,-0.4l-2.21,-0.09l-0.08,-15.41l8.39,2.93l2.95,2.4l0.6,1.64l4.02,1.49l0.31,0.68l-1.76,0.21l-0.33,0.52l0.55,1.68Z`,name:`Papua New Guinea`},PE:{path:`M244.96,295.21l-1.26,-0.07l-0.57,0.42l-1.93,0.45l-2.98,1.75l-0.36,1.36l-0.58,0.8l0.12,1.37l-1.24,0.59l-0.22,1.22l-0.62,0.84l1.04,2.27l1.28,1.44l-0.41,0.84l0.32,0.57l1.48,0.13l1.16,1.37l2.21,0.07l1.63,-1.08l-0.13,3.02l0.3,0.4l1.14,0.29l1.31,-0.34l1.9,3.59l-0.48,0.85l-0.17,3.85l-0.94,1.59l0.35,0.75l-0.47,1.07l0.98,1.97l-2.1,3.82l-0.98,0.5l-2.17,-1.28l-0.39,-1.16l-4.95,-2.58l-4.46,-2.79l-1.84,-1.51l-0.91,-1.84l0.3,-0.96l-2.11,-3.33l-4.82,-9.68l-1.04,-1.2l-0.87,-1.94l-3.4,-2.48l0.58,-1.18l-1.13,-2.23l0.66,-1.49l1.45,-1.15l-0.6,0.98l0.07,0.92l0.47,0.36l1.74,0.03l0.97,1.17l0.54,0.07l1.42,-1.03l0.6,-1.84l1.42,-2.02l3.04,-1.04l2.73,-2.62l0.86,-1.74l-0.1,-1.87l1.44,1.02l0.9,1.25l1.06,0.59l1.7,2.73l1.86,0.31l1.45,-0.61l0.96,0.39l1.36,-0.19l1.45,0.89l-1.4,2.21l0.31,0.61l0.59,0.05l0.47,0.5Z`,name:`Peru`},PK:{path:`M615.09,192.34l-1.83,1.81l-2.6,0.39l-3.73,-0.68l-1.58,1.33l-0.09,0.42l1.77,4.39l1.7,1.23l-1.69,1.27l-0.12,2.14l-2.33,2.64l-1.6,2.8l-2.46,2.67l-3.03,-0.07l-2.76,2.83l0.05,0.6l1.5,1.11l0.26,1.9l1.44,1.5l0.37,1.68l-5.01,-0.01l-1.78,1.7l-1.42,-0.52l-0.76,-1.87l-2.27,-2.15l-11.61,0.86l0.71,-2.34l3.43,-1.32l0.25,-0.44l-0.21,-1.24l-1.2,-0.65l-0.28,-2.46l-2.29,-1.14l-1.28,-1.94l2.82,0.94l2.62,-0.38l1.42,0.33l0.76,-0.56l1.71,0.19l3.25,-1.14l0.27,-0.36l0.08,-2.19l1.18,-1.32l1.68,0.0l0.58,-0.82l1.6,-0.3l1.19,0.16l0.98,-0.78l0.02,-1.88l0.93,-1.47l1.48,-0.66l0.19,-0.55l-0.66,-1.25l2.04,-0.11l0.69,-1.01l-0.02,-1.16l1.11,-1.06l-0.17,-1.78l-0.49,-1.03l1.15,-0.98l5.42,-0.91l2.6,-0.82l1.6,1.16l0.97,2.34l3.45,0.97Z`,name:`Pakistan`},PH:{path:`M737.01,263.84l0.39,2.97l-0.44,1.18l-0.55,-1.53l-0.67,-0.14l-1.17,1.28l0.65,2.09l-0.42,0.69l-2.48,-1.23l-0.57,-1.49l0.65,-1.03l-0.1,-0.54l-1.59,-1.19l-0.56,0.08l-0.65,0.87l-1.23,0.0l-1.58,0.97l0.83,-1.8l2.56,-1.42l0.65,0.84l0.45,0.13l1.9,-0.69l0.56,-1.11l1.5,-0.06l0.38,-0.43l-0.09,-1.19l1.21,0.71l0.36,2.02ZM733.59,256.58l0.05,0.75l0.08,0.26l-0.8,-0.42l-0.18,-0.71l0.85,0.12ZM734.08,256.1l-0.12,-1.12l-1.0,-1.27l1.36,0.03l0.53,0.73l0.51,2.04l-1.27,-0.4ZM733.76,257.68l0.38,0.98l-0.32,0.15l-0.07,-1.13ZM724.65,238.43l1.46,0.7l0.72,-0.31l-0.32,1.17l0.79,1.71l-0.57,1.84l-1.53,1.04l-0.39,2.25l0.56,2.04l1.63,0.57l1.16,-0.27l2.71,1.23l-0.19,1.08l0.76,0.84l-0.08,0.36l-1.4,-0.9l-0.88,-1.27l-0.66,0.0l-0.38,0.55l-1.6,-1.31l-2.15,0.36l-0.87,-0.39l0.07,-0.61l0.66,-0.55l-0.01,-0.62l-0.75,-0.59l-0.72,0.44l-0.74,-0.87l-0.39,-2.49l0.32,0.27l0.66,-0.28l0.26,-3.97l0.7,-2.02l1.14,0.0ZM731.03,258.87l-0.88,0.85l-1.19,1.94l-1.05,-1.19l0.93,-1.1l0.32,-1.47l0.52,-0.06l-0.27,1.15l0.22,0.45l0.49,-0.12l1.0,-1.32l-0.08,0.85ZM726.83,255.78l0.83,0.38l1.17,-0.0l-0.02,0.48l-2.0,1.4l0.03,-2.26ZM724.81,252.09l-0.38,1.27l-1.42,-1.95l1.2,0.05l0.6,0.63ZM716.55,261.82l1.1,-0.95l0.03,-0.03l-0.28,0.36l-0.85,0.61ZM719.22,259.06l0.04,-0.06l0.8,-1.53l0.16,0.75l-1.0,0.84Z`,name:`Philippines`},PL:{path:`M468.44,149.42l-1.11,-1.54l-1.86,-0.33l-0.48,-1.05l-1.72,-0.37l-0.65,0.69l-0.72,-0.36l0.11,-0.61l-0.33,-0.46l-1.75,-0.27l-1.04,-0.93l-0.94,-1.94l0.16,-1.22l-0.62,-1.8l-0.78,-1.07l0.57,-1.04l-0.48,-1.43l1.41,-0.83l6.91,-2.71l2.14,0.5l0.52,0.91l5.51,0.44l4.55,-0.05l1.07,0.31l0.48,0.84l0.15,1.58l0.65,1.2l-0.01,0.99l-1.27,0.58l-0.19,0.54l0.73,1.48l0.08,1.55l1.2,2.76l-0.17,0.58l-1.23,0.44l-2.27,2.72l0.18,0.95l-1.97,-1.03l-1.98,0.4l-1.36,-0.28l-1.24,0.58l-1.07,-0.97l-1.16,0.24Z`,name:`Poland`},ZM:{path:`M481.47,313.3l0.39,0.31l2.52,0.14l0.99,1.17l2.01,0.35l1.4,-0.64l0.69,1.17l1.78,0.33l1.84,2.35l2.23,0.18l0.4,-0.43l-0.21,-2.74l-0.62,-0.3l-0.48,0.32l-1.98,-1.17l0.72,-5.29l-0.51,-1.18l0.57,-1.3l3.68,-0.62l0.26,0.63l1.21,0.63l0.9,-0.22l2.16,0.67l1.33,0.71l1.07,1.02l0.56,1.87l-0.88,2.7l0.43,2.09l-0.73,0.87l-0.76,2.37l0.59,0.68l-6.6,1.83l-0.29,0.44l0.19,1.45l-1.68,0.35l-1.43,1.02l-0.38,0.87l-0.87,0.26l-3.48,3.69l-4.16,-0.53l-1.52,-1.0l-1.77,-0.13l-1.83,0.52l-3.04,-3.4l0.11,-7.59l4.82,0.03l0.39,-0.49l-0.18,-0.76l0.33,-0.83l-0.4,-1.36l0.24,-1.05Z`,name:`Zambia`},EH:{path:`M384.42,230.28l0.25,-0.79l1.06,-1.29l0.8,-3.51l3.38,-2.78l0.7,-1.81l0.06,4.84l-1.98,0.2l-0.94,1.59l0.39,3.56l-3.7,-0.01ZM392.01,218.1l0.7,-1.8l1.77,-0.24l2.09,0.34l0.95,-0.62l1.28,-0.07l-0.0,2.51l-6.79,-0.12Z`,name:`W. Sahara`},EE:{path:`M485.71,115.04l2.64,0.6l2.56,0.11l-1.6,1.91l0.61,3.54l-0.81,0.87l-1.78,-0.01l-3.22,-1.76l-1.8,0.45l0.21,-1.53l-0.58,-0.41l-0.69,0.34l-1.26,-1.03l-0.17,-1.63l2.83,-0.92l3.05,-0.52Z`,name:`Estonia`},EG:{path:`M492.06,205.03l1.46,0.42l2.95,-1.64l2.04,-0.21l1.53,0.3l0.59,1.19l0.69,0.04l0.41,-0.64l1.81,0.58l1.95,0.16l1.04,-0.51l1.42,4.08l-2.03,4.54l-1.66,-1.77l-1.76,-3.85l-0.64,-0.12l-0.36,0.67l1.04,2.88l3.44,6.95l1.78,3.04l2.03,2.65l-0.36,0.53l0.23,2.01l2.7,2.19l-28.41,0.0l0.0,-18.96l-0.73,-2.2l0.59,-1.56l-0.32,-1.26l0.68,-0.99l3.06,-0.04l4.82,1.52Z`,name:`Egypt`},ZA:{path:`M467.14,373.21l-0.13,-1.96l-0.68,-1.56l0.7,-0.68l-0.13,-2.33l-4.56,-8.19l0.77,-0.86l0.6,0.45l0.69,1.31l2.83,0.72l1.5,-0.26l2.24,-1.39l0.19,-9.55l1.35,2.3l-0.21,1.5l0.61,1.2l0.4,0.19l1.79,-0.27l2.6,-2.07l0.69,-1.32l0.96,-0.48l2.19,1.04l2.04,0.13l1.77,-0.65l0.85,-2.12l1.38,-0.33l1.59,-2.76l2.15,-1.89l3.41,-1.87l2.0,0.45l1.02,-0.28l0.99,0.2l1.75,5.29l-0.38,3.25l-0.81,-0.23l-1.0,0.46l-0.87,1.68l-0.05,1.16l1.97,1.84l1.47,-0.29l0.69,-1.18l1.09,0.01l-0.76,3.69l-0.58,1.09l-2.2,1.79l-3.17,4.76l-2.8,2.83l-3.57,2.88l-2.53,1.05l-1.22,0.14l-0.51,0.7l-1.18,-0.32l-1.39,0.5l-2.59,-0.52l-1.61,0.33l-1.18,-0.11l-2.55,1.1l-2.1,0.44l-1.6,1.07l-0.85,0.05l-0.93,-0.89l-0.93,-0.15l-0.97,-1.13l-0.25,0.05ZM491.45,364.19l0.62,-0.93l1.48,-0.59l1.18,-2.19l-0.07,-0.49l-1.99,-1.69l-1.66,0.56l-1.43,1.14l-1.34,1.73l0.02,0.51l1.88,2.11l1.31,-0.16Z`,name:`South Africa`},EC:{path:`M231.86,285.53l0.29,1.59l-0.69,1.45l-2.61,2.51l-3.13,1.11l-1.53,2.18l-0.49,1.68l-1.0,0.73l-1.02,-1.11l-1.78,-0.16l0.67,-1.15l-0.24,-0.86l1.25,-2.13l-0.54,-1.09l-0.67,-0.08l-0.72,0.87l-0.87,-0.64l0.35,-0.69l-0.36,-1.96l0.81,-0.51l0.45,-1.51l0.92,-1.57l-0.07,-0.97l2.65,-1.33l2.75,1.35l0.77,1.05l2.12,0.35l0.76,-0.32l1.96,1.21Z`,name:`Ecuador`},AL:{path:`M470.32,171.8l0.74,0.03l0.92,0.89l-0.17,1.95l0.36,1.28l1.01,0.82l-1.82,2.83l-0.19,-0.61l-1.25,-0.89l-0.18,-1.2l0.53,-2.82l-0.54,-1.47l0.6,-0.83Z`,name:`Albania`},AO:{path:`M461.55,300.03l1.26,3.15l1.94,2.36l2.47,-0.53l1.25,0.32l0.44,-0.18l0.93,-1.92l1.31,-0.08l0.41,-0.44l0.47,-0.0l-0.1,0.41l0.39,0.49l2.65,-0.02l0.03,1.19l0.48,1.01l-0.34,1.52l0.18,1.55l0.83,1.04l-0.13,2.85l0.54,0.39l3.96,-0.41l-0.1,1.79l0.39,1.05l-0.24,1.43l-4.7,-0.03l-0.4,0.39l-0.12,8.13l2.92,3.49l-3.83,0.88l-5.89,-0.36l-1.88,-1.24l-10.47,0.22l-1.3,-1.01l-1.85,-0.16l-2.4,0.77l-0.15,-1.06l0.33,-2.16l1.0,-3.45l1.35,-3.2l2.24,-2.8l0.33,-2.06l-0.13,-1.53l-0.8,-1.08l-1.21,-2.87l0.87,-1.62l-1.27,-4.12l-1.17,-1.53l2.47,-0.63l7.03,0.03ZM451.71,298.87l-0.47,-1.25l1.25,-1.11l0.32,0.3l-0.99,1.03l-0.12,1.03Z`,name:`Angola`},KZ:{path:`M552.8,172.89l0.46,-1.27l-0.48,-1.05l-2.96,-1.19l-1.06,-2.58l-1.37,-0.87l-0.03,-0.3l1.95,0.23l0.45,-0.38l0.08,-1.96l1.75,-0.41l2.1,0.45l0.48,-0.33l0.45,-3.04l-0.45,-2.09l-0.41,-0.31l-2.42,0.15l-2.36,-0.73l-2.87,1.37l-2.17,0.61l-0.85,-0.34l0.13,-1.61l-1.6,-2.12l-2.02,-0.08l-1.78,-1.82l1.29,-2.18l-0.57,-0.95l1.62,-2.91l2.21,1.63l0.63,-0.27l0.29,-2.22l4.92,-3.43l3.71,-0.08l8.4,3.6l2.92,-1.36l3.77,-0.06l3.11,1.66l0.51,-0.11l0.6,-0.81l3.31,0.13l0.39,-0.25l0.63,-1.57l-0.17,-0.5l-3.5,-1.98l1.87,-1.27l-0.13,-1.03l1.98,-0.72l0.18,-0.62l-1.59,-2.06l0.81,-0.82l9.23,-1.18l1.33,-0.88l6.18,-1.26l2.26,-1.42l4.08,0.68l0.73,3.33l0.51,0.3l2.48,-0.8l2.79,1.02l-0.17,1.56l0.43,0.44l2.55,-0.24l4.89,-2.53l0.03,0.32l3.15,2.61l5.56,8.47l0.65,0.02l1.12,-1.46l3.15,1.74l3.76,-0.78l1.15,0.49l1.14,1.8l1.84,0.76l0.99,1.29l3.35,-0.25l1.02,1.52l-1.6,1.81l-1.93,0.28l-0.34,0.38l-0.11,3.05l-1.13,1.16l-4.75,-1.0l-0.46,0.27l-1.76,5.47l-1.1,0.59l-4.91,1.23l-0.27,0.54l2.1,4.97l-1.37,0.63l-0.23,0.41l0.13,1.13l-0.88,-0.25l-1.42,-1.13l-7.89,-0.4l-0.92,0.31l-3.73,-1.22l-1.42,0.63l-0.53,1.66l-3.72,-0.94l-1.85,0.43l-0.76,1.4l-4.65,2.62l-1.13,2.08l-0.44,0.01l-0.92,-1.4l-2.87,-0.09l-0.45,-2.14l-0.38,-0.32l-0.8,-0.01l0.0,-2.96l-3.0,-2.22l-7.31,0.58l-2.35,-2.68l-6.71,-3.69l-6.45,1.83l-0.29,0.39l0.1,10.85l-0.7,0.08l-1.62,-2.17l-1.83,-0.96l-3.11,0.59l-0.64,0.51Z`,name:`Kazakhstan`},ET:{path:`M516.04,247.79l1.1,0.84l1.63,-0.45l0.68,0.47l1.63,0.03l2.01,0.94l1.73,1.66l1.64,2.07l-1.52,2.04l0.16,1.72l0.39,0.38l2.05,0.0l-0.36,1.03l2.86,3.58l8.32,3.08l1.31,0.02l-6.32,6.75l-3.1,0.11l-2.36,1.77l-1.47,0.04l-0.86,0.79l-1.38,-0.0l-1.32,-0.81l-2.29,1.05l-0.76,0.98l-3.29,-0.41l-3.07,-2.07l-1.8,-0.07l-0.62,-0.6l0.0,-1.24l-0.28,-0.38l-1.15,-0.37l-1.4,-2.59l-1.19,-0.68l-0.47,-1.0l-1.27,-1.23l-1.16,-0.22l0.43,-0.72l1.45,-0.28l0.41,-0.95l-0.03,-2.21l0.68,-2.44l1.05,-0.63l1.43,-3.06l1.57,-1.37l1.02,-2.51l0.35,-1.88l2.52,0.46l0.44,-0.24l0.58,-1.43Z`,name:`Ethiopia`},ZW:{path:`M498.91,341.09l-1.11,-0.22l-0.92,0.28l-2.09,-0.44l-1.5,-1.11l-1.89,-0.43l-0.62,-1.4l-0.01,-0.84l-0.3,-0.38l-0.97,-0.25l-2.71,-2.74l-1.92,-3.32l3.83,0.45l3.73,-3.82l1.08,-0.44l0.26,-0.77l1.25,-0.9l1.41,-0.26l0.5,0.89l1.99,-0.05l1.72,1.17l1.11,0.17l1.05,0.66l0.01,2.99l-0.59,3.76l0.38,0.86l-0.23,1.23l-0.39,0.35l-0.63,1.81l-2.43,2.75Z`,name:`Zimbabwe`},ES:{path:`M416.0,169.21l1.07,1.17l4.61,1.38l1.06,-0.57l2.6,1.26l2.71,-0.3l0.09,1.12l-2.14,1.8l-3.11,0.61l-0.31,0.31l-0.2,0.89l-1.54,1.69l-0.97,2.4l0.84,1.74l-1.32,1.27l-0.48,1.68l-1.88,0.65l-1.66,2.07l-5.36,-0.01l-1.79,1.08l-0.89,0.98l-0.88,-0.17l-0.79,-0.82l-0.68,-1.59l-2.37,-0.63l-0.11,-0.5l1.21,-1.82l-0.77,-1.13l0.61,-1.68l-0.76,-1.62l0.87,-0.49l0.09,-1.25l0.42,-0.6l0.03,-2.11l0.99,-0.69l0.13,-0.5l-1.03,-1.73l-1.46,-0.11l-0.61,0.38l-1.06,0.0l-0.52,-1.23l-0.53,-0.21l-1.32,0.67l-0.01,-1.49l-0.75,-0.96l3.03,-1.88l2.99,0.53l3.32,-0.02l2.63,0.51l6.01,-0.06Z`,name:`Spain`},ER:{path:`M520.38,246.23l3.42,2.43l3.5,3.77l0.84,0.54l-0.95,-0.01l-3.51,-3.89l-2.33,-1.15l-1.73,-0.07l-0.91,-0.51l-1.26,0.51l-1.34,-1.02l-0.61,0.17l-0.66,1.61l-2.35,-0.43l-0.17,-0.67l1.29,-5.29l0.61,-0.61l1.95,-0.53l0.87,-1.01l1.17,2.41l0.68,2.33l1.49,1.43Z`,name:`Eritrea`},ME:{path:`M468.91,172.53l-1.22,-1.02l0.47,-1.81l0.89,-0.72l2.26,1.51l-0.5,0.57l-0.75,-0.27l-1.14,1.73Z`,name:`Montenegro`},MD:{path:`M488.41,153.73l1.4,-0.27l1.72,0.93l1.07,0.15l0.85,0.65l-0.14,0.84l0.96,0.85l1.12,2.47l-1.15,-0.07l-0.66,-0.41l-0.52,0.25l-0.09,0.86l-1.08,1.89l-0.27,-0.86l0.25,-1.34l-0.16,-1.6l-3.29,-4.34Z`,name:`Moldova`},MG:{path:`M545.91,319.14l0.4,3.03l0.62,1.21l-0.21,1.02l-0.57,-0.8l-0.69,-0.01l-0.47,0.76l0.41,2.12l-0.18,0.87l-0.73,0.78l-0.15,2.14l-4.71,15.2l-1.06,2.88l-3.92,1.64l-3.12,-1.49l-0.6,-1.21l-0.19,-2.4l-0.86,-2.05l-0.21,-1.77l0.38,-1.62l1.21,-0.75l0.01,-0.76l1.19,-2.04l0.23,-1.66l-1.06,-2.99l-0.19,-2.21l0.81,-1.33l0.32,-1.46l4.63,-1.22l3.44,-3.0l0.85,-1.4l-0.08,-0.7l0.78,-0.04l1.38,-1.77l0.13,-1.64l0.45,-0.61l1.16,1.69l0.59,1.6Z`,name:`Madagascar`},MA:{path:`M378.78,230.02l0.06,-0.59l0.92,-0.73l0.82,-1.37l-0.09,-1.04l0.79,-1.7l1.31,-1.58l0.96,-0.59l0.66,-1.55l0.09,-1.47l0.81,-1.48l1.72,-1.07l1.55,-2.69l1.16,-0.96l2.44,-0.39l1.94,-1.82l1.31,-0.78l2.09,-2.28l-0.51,-3.65l1.24,-3.7l1.5,-1.75l4.46,-2.57l2.37,-4.47l1.44,0.01l1.68,1.21l2.32,-0.19l3.47,0.65l0.8,1.54l0.16,1.71l0.86,2.96l0.56,0.59l-0.26,0.61l-3.05,0.44l-1.26,1.05l-1.33,0.22l-0.33,0.37l-0.09,1.78l-2.68,1.0l-1.07,1.42l-4.47,1.13l-4.04,2.01l-0.54,4.64l-1.15,0.06l-0.92,0.61l-1.96,-0.35l-2.42,0.54l-0.74,1.9l-0.86,0.4l-1.14,3.26l-3.53,3.01l-0.8,3.55l-0.96,1.1l-0.29,0.82l-4.95,0.18Z`,name:`Morocco`},UZ:{path:`M598.64,172.75l-1.63,1.52l0.06,0.64l1.85,1.12l1.97,-0.64l2.21,1.17l-2.52,1.68l-2.59,-0.22l-0.18,-0.41l0.46,-1.23l-0.45,-0.53l-3.35,0.69l-2.1,3.51l-1.87,-0.12l-1.03,1.51l0.22,0.55l1.64,0.62l0.46,1.83l-1.19,2.49l-2.66,-0.53l0.05,-1.36l-0.26,-0.39l-3.3,-1.23l-2.56,-1.4l-4.4,-3.34l-1.34,-3.14l-1.08,-0.6l-2.58,0.13l-0.69,-0.44l-0.47,-2.52l-3.37,-1.6l-0.43,0.05l-2.07,1.72l-2.1,1.01l-0.21,0.47l0.28,1.01l-1.91,0.03l-0.09,-10.5l5.99,-1.7l6.19,3.54l2.71,2.84l7.05,-0.67l2.71,2.01l-0.17,2.81l0.39,0.42l0.9,0.02l0.44,2.14l0.38,0.32l2.94,0.09l0.95,1.42l1.28,-0.24l1.05,-2.04l4.43,-2.5Z`,name:`Uzbekistan`},MM:{path:`M673.9,230.21l-1.97,1.57l-0.57,0.96l-1.4,0.6l-1.36,1.05l-1.99,0.36l-1.08,2.66l-0.91,0.4l-0.19,0.55l1.21,2.27l2.52,3.43l-0.79,1.91l-0.74,0.41l-0.17,0.52l0.65,1.37l1.61,1.95l0.25,2.58l0.9,2.13l-1.92,3.57l0.68,-2.25l-0.81,-1.74l0.19,-2.65l-1.05,-1.53l-1.24,-6.17l-1.12,-2.26l-0.6,-0.13l-4.34,3.02l-2.39,-0.65l0.77,-2.84l-0.52,-2.61l-1.91,-2.96l0.25,-0.75l-0.29,-0.51l-1.33,-0.3l-1.61,-1.93l-0.1,-1.3l0.82,-0.24l0.04,-1.64l1.02,-0.52l0.21,-0.45l-0.23,-0.95l0.54,-0.96l0.08,-2.22l1.46,0.45l0.47,-0.2l1.12,-2.19l0.16,-1.35l1.33,-2.16l-0.0,-1.52l2.89,-1.66l1.63,0.44l0.5,-0.44l-0.17,-1.4l0.64,-0.36l0.08,-1.04l0.77,-0.11l0.71,1.35l1.06,0.69l-0.03,3.86l-2.38,2.37l-0.3,3.15l0.46,0.43l2.28,-0.38l0.51,2.08l1.47,0.67l-0.6,1.8l0.19,0.48l2.97,1.48l1.64,-0.55l0.02,0.32Z`,name:`Myanmar`},ML:{path:`M392.61,254.08l-0.19,-2.37l-0.99,-0.87l-0.44,-1.3l-0.09,-1.28l0.81,-0.58l0.35,-1.24l2.37,0.65l1.31,-0.47l0.86,0.15l0.66,-0.56l9.83,-0.04l0.38,-0.28l0.56,-1.8l-0.44,-0.65l-2.35,-21.95l3.27,-0.04l16.7,11.38l0.74,1.31l2.5,1.09l0.02,1.38l0.44,0.39l2.34,-0.21l0.01,5.38l-1.28,1.61l-0.26,1.49l-5.31,0.57l-1.07,0.92l-2.9,0.1l-0.86,-0.48l-1.38,0.36l-2.4,1.08l-0.6,0.87l-1.85,1.09l-0.43,0.7l-0.79,0.39l-1.44,-0.21l-0.81,0.84l-0.34,1.64l-1.91,2.02l-0.06,1.03l-0.67,1.22l0.13,1.16l-0.97,0.39l-0.23,-0.64l-0.52,-0.24l-1.35,0.4l-0.34,0.55l-2.69,-0.28l-0.37,-0.35l-0.02,-0.9l-0.65,-0.35l0.45,-0.64l-0.03,-0.53l-2.12,-2.44l-0.76,-0.01l-2.0,1.16l-0.78,-0.15l-0.8,-0.67l-1.21,0.23Z`,name:`Mali`},MN:{path:`M676.61,146.48l3.81,1.68l5.67,-1.0l2.37,0.41l2.34,1.5l1.79,1.75l2.29,-0.03l3.12,0.52l2.47,-0.81l3.41,-0.59l3.53,-2.21l1.25,0.29l1.53,1.13l2.27,-0.21l-2.66,5.01l0.64,1.68l0.47,0.21l1.32,-0.38l2.38,0.48l2.02,-1.11l1.76,0.89l2.06,2.02l-0.13,0.53l-1.72,-0.29l-3.77,0.46l-1.88,0.99l-1.76,1.99l-3.71,1.17l-2.45,1.6l-3.83,-0.87l-0.41,0.17l-1.31,1.99l1.04,2.24l-1.52,0.9l-1.74,1.57l-2.79,1.02l-3.78,0.13l-4.05,1.05l-2.77,1.52l-1.16,-0.85l-2.94,0.0l-3.62,-1.79l-2.58,-0.49l-3.4,0.41l-5.12,-0.67l-2.63,0.06l-1.31,-1.6l-1.4,-3.0l-1.48,-0.33l-3.13,-1.94l-6.16,-0.93l-0.71,-1.06l0.86,-3.82l-1.93,-2.71l-3.5,-1.18l-1.95,-1.58l-0.5,-1.72l2.34,-0.52l4.75,-2.8l3.62,-1.47l2.18,0.97l2.46,0.05l1.81,1.53l2.46,0.12l3.95,0.71l2.43,-2.28l0.08,-0.48l-0.9,-1.72l2.24,-2.98l2.62,1.27l4.94,1.17l0.43,2.24Z`,name:`Mongolia`},MK:{path:`M472.8,173.98l0.49,-0.71l3.57,-0.71l1.0,0.77l0.13,1.45l-0.65,0.53l-1.15,-0.05l-1.12,0.67l-1.39,0.22l-0.79,-0.55l-0.29,-1.03l0.19,-0.6Z`,name:`Macedonia`},MW:{path:`M505.5,309.31l0.85,1.95l0.15,2.86l-0.69,1.65l0.71,1.8l0.06,1.28l0.49,0.64l0.07,1.06l0.4,0.55l0.8,-0.23l0.55,0.61l0.69,-0.21l0.34,0.6l0.19,2.94l-1.04,0.62l-0.54,1.25l-1.11,-1.08l-0.16,-1.56l0.51,-1.31l-0.32,-1.3l-0.99,-0.65l-0.82,0.12l-2.36,-1.64l0.63,-1.96l0.82,-1.18l-0.46,-2.01l0.9,-2.86l-0.94,-2.51l0.96,0.18l0.29,0.4Z`,name:`Malawi`},MR:{path:`M407.36,220.66l-2.58,0.03l-0.39,0.44l2.42,22.56l0.36,0.43l-0.39,1.24l-9.75,0.04l-0.56,0.53l-0.91,-0.11l-1.27,0.45l-1.61,-0.66l-0.97,0.03l-0.36,0.29l-0.38,1.35l-0.42,0.23l-2.93,-3.4l-2.96,-1.52l-1.62,-0.03l-1.27,0.54l-1.12,-0.2l-0.65,0.4l-0.08,-0.49l0.68,-1.29l0.31,-2.43l-0.57,-3.91l0.23,-1.21l-0.69,-1.5l-1.15,-1.02l0.25,-0.39l9.58,0.02l0.4,-0.45l-0.46,-3.68l0.47,-1.04l2.12,-0.21l0.36,-0.4l-0.08,-6.4l7.81,0.13l0.41,-0.4l0.01,-3.31l7.76,5.35Z`,name:`Mauritania`},UG:{path:`M498.55,276.32l0.7,-0.46l1.65,0.5l1.96,-0.57l1.7,0.01l1.45,-0.98l0.91,1.33l1.33,3.95l-2.57,4.03l-1.46,-0.4l-2.54,0.91l-1.37,1.61l-0.01,0.81l-2.42,-0.01l-2.26,1.01l-0.17,-1.59l0.58,-1.04l0.14,-1.94l1.37,-2.28l1.78,-1.58l-0.17,-0.65l-0.72,-0.24l0.13,-2.43Z`,name:`Uganda`},MY:{path:`M717.47,273.46l-1.39,0.65l-2.12,-0.41l-2.88,-0.0l-0.38,0.28l-0.84,2.75l-0.99,0.96l-1.21,3.29l-1.73,0.45l-2.45,-0.68l-1.39,0.31l-1.33,1.15l-1.59,-0.14l-1.41,0.44l-1.44,-1.19l-0.18,-0.73l1.34,0.53l1.93,-0.47l0.75,-2.22l4.02,-1.03l2.75,-3.21l0.82,0.94l0.64,-0.05l0.4,-0.65l0.96,0.06l0.42,-0.36l0.24,-2.68l1.81,-1.64l1.21,-1.86l0.63,-0.01l1.07,1.05l0.34,1.28l3.44,1.35l-0.06,0.35l-1.37,0.1l-0.35,0.54l0.32,0.88ZM673.68,269.59l0.17,1.09l0.47,0.33l1.65,-0.3l0.87,-0.94l1.61,1.52l0.98,1.56l-0.12,2.81l0.41,2.29l0.95,0.9l0.88,2.44l-1.27,0.12l-5.1,-3.67l-0.34,-1.29l-1.37,-1.59l-0.33,-1.97l-0.88,-1.4l0.25,-1.68l-0.46,-1.05l1.63,0.84Z`,name:`Malaysia`},MX:{path:`M133.12,200.41l0.2,0.47l9.63,3.33l6.96,-0.02l0.4,-0.4l0.0,-0.74l3.77,0.0l3.55,2.93l1.39,2.83l1.52,1.04l2.08,0.82l0.47,-0.14l1.46,-2.0l1.73,-0.04l1.59,0.98l2.05,3.35l1.47,1.56l1.26,3.14l2.18,1.02l2.26,0.58l-1.18,3.72l-0.42,5.04l1.79,4.89l1.62,1.89l0.61,1.52l1.2,1.42l2.55,0.66l1.37,1.1l7.54,-1.89l1.86,-1.3l1.14,-4.3l4.1,-1.21l3.57,-0.11l0.32,0.3l-0.06,0.94l-1.26,1.45l-0.67,1.71l0.38,0.7l-0.72,2.27l-0.49,-0.3l-1.0,0.08l-1.0,1.39l-0.47,-0.11l-0.53,0.47l-4.26,-0.02l-0.4,0.4l-0.0,1.06l-1.1,0.26l0.1,0.44l1.82,1.44l0.56,0.91l-3.19,0.21l-1.21,2.09l0.24,0.72l-0.2,0.44l-2.24,-2.18l-1.45,-0.93l-2.22,-0.69l-1.52,0.22l-3.07,1.16l-10.55,-3.85l-2.86,-1.96l-3.78,-0.92l-1.08,-1.19l-2.62,-1.43l-1.18,-1.54l-0.38,-0.81l0.66,-0.63l-0.18,-0.53l0.52,-0.76l0.01,-0.91l-2.0,-3.82l-2.21,-2.63l-2.53,-2.09l-1.19,-1.62l-2.2,-1.17l-0.3,-0.43l0.34,-1.48l-0.21,-0.45l-1.23,-0.6l-1.36,-1.2l-0.59,-1.78l-1.54,-0.47l-2.44,-2.55l-0.16,-0.9l-1.33,-2.03l-0.84,-1.99l-0.16,-1.33l-1.81,-1.1l-0.97,0.05l-1.31,-0.7l-0.57,0.22l-0.4,1.12l0.72,3.77l3.51,3.89l0.28,0.78l0.53,0.26l0.41,1.43l1.33,1.73l1.58,1.41l0.8,2.39l1.43,2.41l0.13,1.32l0.37,0.36l1.04,0.08l1.67,2.28l-0.85,0.76l-0.66,-1.51l-1.68,-1.54l-2.91,-1.87l0.06,-1.82l-0.54,-1.68l-2.91,-2.03l-0.55,0.09l-1.95,-1.1l-0.88,-0.94l0.68,-0.08l0.93,-1.01l0.08,-1.78l-1.93,-1.94l-1.46,-0.77l-3.75,-7.56l4.88,-0.42Z`,name:`Mexico`},VU:{path:`M839.04,322.8l0.22,1.14l-0.44,0.03l-0.2,-1.45l0.42,0.27Z`,name:`Vanuatu`},FR:{path:`M444.48,172.62l-0.64,1.78l-0.58,-0.31l-0.49,-1.72l0.4,-0.89l1.0,-0.72l0.3,1.85ZM429.64,147.1l1.78,1.58l1.46,-0.13l2.1,1.42l1.35,0.27l1.23,0.83l3.04,0.5l-1.03,1.85l-0.3,2.12l-0.41,0.32l-0.95,-0.24l-0.5,0.43l0.06,0.61l-1.81,1.92l-0.04,1.42l0.55,0.38l0.88,-0.36l0.61,0.97l-0.03,1.0l0.57,0.91l-0.75,1.09l0.65,2.39l1.27,0.57l-0.18,0.82l-2.01,1.53l-4.77,-0.8l-3.82,1.0l-0.53,1.85l-2.49,0.34l-2.71,-1.31l-1.16,0.57l-4.31,-1.29l-0.72,-0.86l1.19,-1.78l0.39,-6.45l-2.58,-3.3l-1.9,-1.66l-3.72,-1.23l-0.19,-1.72l2.81,-0.61l4.12,0.81l0.47,-0.48l-0.6,-2.77l1.94,0.95l5.83,-2.54l0.92,-2.74l1.6,-0.49l0.24,0.78l1.36,0.33l1.05,1.19ZM289.01,278.39l-0.81,0.8l-0.78,0.12l-0.5,-0.66l-0.56,-0.1l-0.91,0.6l-0.46,-0.22l1.09,-2.96l-0.96,-1.77l-0.17,-1.49l1.07,-1.77l2.32,0.75l2.51,2.01l0.3,0.74l-2.14,3.96Z`,name:`France`},FI:{path:`M492.17,76.39l-0.23,3.5l3.52,2.63l-2.08,2.88l-0.02,0.44l2.8,4.56l-1.59,3.31l2.16,3.24l-0.94,2.39l0.14,0.47l3.44,2.51l-0.77,1.62l-7.52,6.95l-4.5,0.31l-4.38,1.37l-3.8,0.74l-1.44,-1.96l-2.17,-1.11l0.5,-3.66l-1.16,-3.33l1.09,-2.08l2.21,-2.42l5.67,-4.32l1.64,-0.83l0.21,-0.42l-0.46,-2.02l-3.38,-1.89l-0.75,-1.43l-0.22,-6.74l-6.79,-4.8l0.8,-0.62l2.54,2.12l3.46,-0.12l3.0,0.96l2.51,-2.11l1.17,-3.08l3.55,-1.38l2.76,1.53l-0.95,2.79Z`,name:`Finland`},FJ:{path:`M871.53,326.34l-2.8,1.05l-0.08,-0.23l2.97,-1.21l-0.1,0.39ZM867.58,329.25l0.43,0.37l-0.27,0.88l-1.24,0.28l-1.04,-0.24l-0.14,-0.66l0.63,-0.58l0.92,0.26l0.7,-0.31Z`,name:`Fiji`},FK:{path:`M274.36,425.85l1.44,1.08l-0.47,0.73l-3.0,0.89l-0.96,-1.0l-0.52,-0.05l-1.83,1.29l-0.73,-0.88l2.46,-1.64l1.93,0.76l1.67,-1.19Z`,name:`Falkland Is.`},NI:{path:`M202.33,252.67l0.81,-0.18l1.03,-1.02l-0.04,-0.88l0.68,-0.0l0.63,-0.54l0.97,0.22l1.53,-1.26l0.58,-0.99l1.17,0.34l2.41,-0.94l0.13,1.32l-0.81,1.94l0.1,2.74l-0.36,0.37l-0.11,1.75l-0.47,0.81l0.18,1.14l-1.73,-0.85l-0.71,0.27l-1.47,-0.6l-0.52,0.16l-4.01,-3.81Z`,name:`Nicaragua`},NL:{path:`M430.31,143.39l0.6,-0.5l2.13,-4.8l3.2,-1.33l1.74,0.08l0.33,0.8l-0.59,2.92l-0.5,0.99l-1.26,0.0l-0.4,0.45l0.33,2.7l-2.2,-1.78l-2.62,0.58l-0.75,-0.11Z`,name:`Netherlands`},NO:{path:`M491.44,67.41l6.8,2.89l-2.29,0.86l-0.15,0.65l2.33,2.38l-4.98,1.79l0.84,-2.45l-0.18,-0.48l-3.55,-1.8l-3.89,1.52l-1.42,3.38l-2.12,1.72l-2.64,-1.0l-3.11,0.21l-2.66,-2.22l-0.5,-0.01l-1.41,1.1l-1.44,0.17l-0.35,0.35l-0.32,2.47l-4.32,-0.64l-0.44,0.29l-0.58,2.11l-2.45,0.2l-4.15,7.68l-3.88,5.76l0.78,1.62l-0.64,1.16l-2.24,-0.06l-0.38,0.24l-1.66,3.89l0.15,5.17l1.57,2.04l-0.78,4.16l-2.02,2.48l-0.85,1.63l-1.3,-1.75l-0.58,-0.07l-4.87,4.19l-3.1,0.79l-3.16,-1.7l-0.85,-3.77l-0.77,-8.55l2.14,-2.31l6.55,-3.27l5.02,-4.17l10.63,-13.84l10.98,-8.7l5.35,-1.91l4.34,0.12l3.69,-3.64l4.49,0.19l4.37,-0.89ZM484.55,20.04l4.26,1.75l-3.1,2.55l-7.1,0.65l-7.08,-0.9l-0.37,-1.31l-0.37,-0.29l-3.44,-0.1l-2.08,-2.0l6.87,-1.44l3.9,1.31l2.39,-1.64l6.13,1.4ZM481.69,33.93l-4.45,1.74l-3.54,-0.99l1.12,-0.9l0.05,-0.58l-1.06,-1.22l4.22,-0.89l1.09,1.97l2.57,0.87ZM466.44,24.04l7.43,3.77l-5.41,1.86l-1.58,4.08l-2.26,1.2l-1.12,4.11l-2.61,0.18l-4.79,-2.86l1.84,-1.54l-0.1,-0.68l-3.69,-1.53l-4.77,-4.51l-1.73,-3.89l6.11,-1.82l1.54,1.92l3.57,-0.08l1.2,-1.96l3.32,-0.18l3.05,1.92Z`,name:`Norway`},NA:{path:`M474.26,330.66l-0.97,0.04l-0.38,0.4l-0.07,8.9l-2.09,0.08l-0.39,0.4l-0.0,17.42l-1.98,1.23l-1.17,0.17l-2.44,-0.66l-0.48,-1.13l-0.99,-0.74l-0.54,0.05l-0.9,1.01l-1.53,-1.68l-0.93,-1.88l-1.99,-8.56l-0.06,-3.12l-0.33,-1.52l-2.3,-3.34l-1.91,-4.83l-1.96,-2.43l-0.12,-1.57l2.33,-0.79l1.43,0.07l1.81,1.13l10.23,-0.25l1.84,1.23l5.87,0.35ZM474.66,330.64l6.51,-1.6l1.9,0.39l-1.69,0.4l-1.31,0.83l-1.12,-0.94l-4.29,0.92Z`,name:`Namibia`},NC:{path:`M838.78,341.24l-0.33,0.22l-2.9,-1.75l-3.26,-3.37l1.65,0.83l4.85,4.07Z`,name:`New Caledonia`},NE:{path:`M454.75,226.53l1.33,1.37l0.48,0.07l1.27,-0.7l0.53,3.52l0.94,0.83l0.17,0.92l0.81,0.69l-0.44,0.95l-0.96,5.26l-0.13,3.22l-3.04,2.31l-1.22,3.57l1.02,1.24l-0.0,1.46l0.39,0.4l1.13,0.04l-0.9,1.25l-1.47,-2.42l-0.86,-0.29l-2.09,1.37l-1.74,-0.67l-1.45,-0.17l-0.85,0.35l-1.36,-0.07l-1.64,1.09l-1.06,0.05l-2.94,-1.28l-1.44,0.59l-1.01,-0.03l-0.97,-0.94l-2.7,-0.98l-2.69,0.3l-0.87,0.64l-0.47,1.6l-0.75,1.16l-0.12,1.53l-1.57,-1.1l-1.31,0.24l0.03,-0.81l-0.32,-0.41l-2.59,-0.52l-0.15,-1.16l-1.35,-1.6l-0.29,-1.0l0.13,-0.84l1.29,-0.08l1.08,-0.92l3.31,-0.22l2.22,-0.41l0.32,-0.34l0.2,-1.47l1.39,-1.88l-0.01,-5.66l3.36,-1.12l7.24,-5.12l8.42,-4.92l3.69,1.06Z`,name:`Niger`},NG:{path:`M456.32,253.89l0.64,0.65l-0.28,1.04l-2.11,2.01l-2.03,5.18l-1.37,1.16l-1.15,3.18l-1.33,0.66l-1.46,-0.97l-1.21,0.16l-1.38,1.36l-0.91,0.24l-1.79,4.06l-2.33,0.81l-1.11,-0.07l-0.86,0.5l-1.71,-0.05l-1.19,-1.39l-0.89,-1.89l-1.77,-1.66l-3.95,-0.08l0.07,-5.21l0.42,-1.43l1.95,-2.3l-0.14,-0.91l0.43,-1.18l-0.53,-1.41l0.25,-2.92l0.72,-1.07l0.32,-1.34l0.46,-0.39l2.47,-0.28l2.34,0.89l1.15,1.02l1.28,0.04l1.22,-0.58l3.03,1.27l1.49,-0.14l1.36,-1.0l1.33,0.07l0.82,-0.35l3.45,0.8l1.82,-1.32l1.84,2.67l0.66,0.16Z`,name:`Nigeria`},NZ:{path:`M857.8,379.65l1.86,3.12l0.44,0.18l0.3,-0.38l0.03,-1.23l0.38,0.27l0.57,2.31l2.02,0.94l1.81,0.27l1.57,-1.06l0.7,0.18l-1.15,3.59l-1.98,0.11l-0.74,1.2l0.2,1.11l-2.42,3.98l-1.49,0.92l-1.04,-0.85l1.21,-2.05l-0.81,-2.01l-2.63,-1.25l0.04,-0.57l1.82,-1.19l0.43,-2.34l-0.16,-2.03l-0.95,-1.82l-0.06,-0.72l-3.11,-3.64l-0.79,-1.52l1.56,1.45l1.76,0.66l0.65,2.34ZM853.83,393.59l0.57,1.24l0.59,0.16l1.42,-0.97l0.46,0.79l0.0,1.03l-2.47,3.48l-1.26,1.2l-0.06,0.5l0.55,0.87l-1.41,0.07l-2.33,1.38l-2.03,5.02l-3.02,2.16l-2.06,-0.06l-1.71,-1.04l-2.47,-0.2l-0.27,-0.73l1.22,-2.1l3.05,-2.94l1.62,-0.59l4.02,-2.82l1.57,-1.67l1.07,-2.16l0.88,-0.7l0.48,-1.75l1.24,-0.97l0.35,0.79Z`,name:`New Zealand`},NP:{path:`M641.14,213.62l0.01,3.19l-1.74,0.04l-4.8,-0.86l-1.58,-1.39l-3.37,-0.34l-7.65,-3.7l0.8,-2.09l2.33,-1.7l1.77,0.75l2.49,1.76l1.38,0.41l0.99,1.35l1.9,0.52l1.99,1.17l5.49,0.9Z`,name:`Nepal`},CI:{path:`M407.4,259.27l0.86,0.42l0.56,0.9l1.13,0.53l1.19,-0.61l0.97,-0.08l1.42,0.54l0.6,3.24l-1.03,2.08l-0.65,2.84l1.06,2.33l-0.06,0.53l-2.54,-0.47l-1.66,0.03l-3.06,0.46l-4.11,1.6l0.32,-3.06l-1.18,-1.31l-1.32,-0.66l0.42,-0.85l-0.2,-1.4l0.5,-0.67l0.01,-1.59l0.84,-0.32l0.26,-0.5l-1.15,-3.01l0.12,-0.5l0.51,-0.25l0.66,0.31l1.93,0.02l0.67,-0.71l0.71,-0.14l0.25,0.69l0.57,0.22l1.4,-0.61Z`,name:`Côte d'Ivoire`},CH:{path:`M444.62,156.35l-0.29,0.87l0.18,0.53l1.13,0.58l1.0,0.1l-0.1,0.65l-0.79,0.38l-1.72,-0.37l-0.45,0.23l-0.45,1.04l-0.75,0.06l-0.84,-0.4l-1.32,1.0l-0.96,0.12l-0.88,-0.55l-0.81,-1.3l-0.49,-0.16l-0.63,0.26l0.02,-0.65l1.71,-1.66l0.1,-0.56l0.93,0.08l0.58,-0.46l1.99,0.02l0.66,-0.61l2.19,0.79Z`,name:`Switzerland`},CO:{path:`M242.07,254.93l-1.7,0.59l-0.59,1.18l-1.7,1.69l-0.38,1.93l-0.67,1.43l0.31,0.57l1.03,0.13l0.25,0.9l0.57,0.64l-0.04,2.34l1.64,1.42l3.16,-0.24l1.26,0.28l1.67,2.06l0.41,0.13l4.09,-0.39l0.45,0.22l-0.92,1.95l-0.2,1.8l0.52,1.83l0.75,1.05l-1.12,1.1l0.07,0.63l0.84,0.51l0.74,1.29l-0.39,-0.45l-0.59,-0.01l-0.71,0.74l-4.71,-0.05l-0.4,0.41l0.03,1.57l0.33,0.39l1.11,0.2l-1.68,0.4l-0.29,0.38l-0.01,1.82l1.16,1.14l0.34,1.25l-1.05,7.05l-1.04,-0.87l1.26,-1.99l-0.13,-0.56l-2.18,-1.23l-1.38,0.2l-1.14,-0.38l-1.27,0.61l-1.55,-0.26l-1.38,-2.46l-1.23,-0.75l-0.85,-1.2l-1.67,-1.19l-0.86,0.13l-2.11,-1.32l-1.01,0.31l-1.8,-0.29l-0.52,-0.91l-3.09,-1.68l0.77,-0.52l-0.1,-1.12l0.41,-0.64l1.34,-0.32l2.0,-2.88l-0.11,-0.57l-0.66,-0.43l0.39,-1.38l-0.52,-2.1l0.49,-0.83l-0.4,-2.13l-0.97,-1.35l0.17,-0.66l0.86,-0.08l0.47,-0.75l-0.46,-1.63l1.41,-0.07l1.8,-1.69l0.93,-0.24l0.3,-0.38l0.45,-2.76l1.22,-1.0l1.44,-0.04l0.45,-0.5l1.91,0.12l2.93,-1.84l1.15,-1.14l0.91,0.46l-0.25,0.45Z`,name:`Colombia`},CN:{path:`M740.23,148.97l4.57,1.3l2.8,2.17l0.98,2.9l0.38,0.27l3.8,0.0l2.32,-1.28l3.29,-0.75l-0.96,2.09l-1.02,1.28l-0.85,3.4l-1.52,2.73l-2.76,-0.5l-2.4,1.13l-0.21,0.45l0.64,2.57l-0.32,3.2l-0.94,0.06l-0.37,0.89l-0.91,-1.01l-0.64,0.07l-0.92,1.57l-3.73,1.25l-0.26,0.48l0.26,1.06l-1.5,-0.08l-1.09,-0.86l-0.56,0.06l-1.67,2.06l-2.7,1.56l-2.03,1.88l-3.4,0.83l-1.93,1.4l-1.15,0.34l0.33,-0.7l-0.41,-0.89l1.79,-1.79l0.02,-0.54l-1.32,-1.56l-0.48,-0.1l-2.24,1.09l-2.83,2.06l-1.51,1.83l-2.28,0.13l-1.55,1.49l-0.04,0.5l1.32,1.97l2.0,0.58l0.31,1.35l1.98,0.84l3.0,-1.96l2.0,1.02l1.49,0.11l0.22,0.83l-3.37,0.86l-1.12,1.48l-2.5,1.52l-1.29,1.99l0.14,0.56l2.57,1.48l0.97,2.7l3.17,4.63l-0.03,1.66l-1.35,0.65l-0.2,0.51l0.6,1.47l1.4,0.91l-0.89,3.82l-1.43,0.38l-3.85,6.44l-2.27,3.11l-6.78,4.57l-2.73,0.29l-1.45,1.04l-0.62,-0.61l-0.55,-0.01l-1.36,1.25l-3.39,1.27l-2.61,0.4l-1.1,2.79l-0.81,0.09l-0.49,-1.42l0.5,-0.85l-0.25,-0.59l-3.36,-0.84l-1.3,0.4l-2.31,-0.62l-0.94,-0.84l0.33,-1.28l-0.3,-0.49l-2.19,-0.46l-1.13,-0.93l-0.47,-0.02l-2.06,1.36l-4.29,0.28l-2.76,1.05l-0.28,0.43l0.32,2.53l-0.59,-0.03l-0.19,-1.34l-0.55,-0.34l-1.68,0.7l-2.46,-1.23l0.62,-1.87l-0.26,-0.51l-1.37,-0.44l-0.54,-2.22l-0.45,-0.3l-2.13,0.35l0.24,-2.48l2.39,-2.4l0.03,-4.31l-1.19,-0.92l-0.78,-1.49l-0.41,-0.21l-1.41,0.19l-1.98,-0.3l0.46,-1.07l-1.17,-1.7l-0.55,-0.11l-1.63,1.05l-2.25,-0.57l-2.89,1.73l-2.25,1.98l-1.75,0.29l-1.17,-0.71l-3.31,-0.65l-1.48,0.79l-1.04,1.27l-0.12,-1.17l-0.54,-0.34l-1.44,0.54l-5.55,-0.86l-1.98,-1.16l-1.89,-0.54l-0.99,-1.35l-1.34,-0.37l-2.55,-1.79l-2.01,-0.84l-1.21,0.56l-5.57,-3.45l-0.53,-2.31l1.19,0.25l0.48,-0.37l0.08,-1.42l-0.98,-1.56l0.15,-2.44l-2.69,-3.32l-4.12,-1.23l-0.67,-2.0l-1.92,-1.48l-0.38,-0.7l-0.51,-3.01l-1.52,-0.66l-0.7,0.13l-0.48,-2.05l0.55,-0.51l-0.09,-0.82l2.03,-1.19l1.6,-0.54l2.56,0.38l0.42,-0.22l0.85,-1.7l3.0,-0.33l1.1,-1.26l4.05,-1.77l0.39,-0.91l-0.17,-1.44l1.45,-0.67l0.2,-0.52l-2.07,-4.9l4.51,-1.12l1.37,-0.73l1.89,-5.51l4.98,0.86l1.51,-1.7l0.11,-2.87l1.99,-0.38l1.83,-2.06l0.49,-0.13l0.68,2.08l2.23,1.77l3.44,1.16l1.55,2.29l-0.92,3.49l0.96,1.67l6.54,1.13l2.95,1.87l1.47,0.35l1.06,2.62l1.53,1.91l3.05,0.08l5.14,0.67l3.37,-0.41l2.36,0.43l3.65,1.8l3.06,0.04l1.45,0.88l2.87,-1.59l3.95,-1.02l3.83,-0.14l3.06,-1.14l1.77,-1.6l1.72,-1.01l0.17,-0.49l-1.1,-2.05l1.02,-1.54l4.02,0.8l2.45,-1.61l3.76,-1.19l1.96,-2.13l1.63,-0.83l3.51,-0.4l1.92,0.34l0.46,-0.3l0.17,-1.5l-2.27,-2.22l-2.11,-1.09l-2.18,1.11l-2.32,-0.47l-1.29,0.32l-0.4,-0.82l2.73,-5.16l3.02,1.06l3.53,-2.06l0.18,-1.68l2.16,-3.35l1.49,-1.35l-0.03,-1.85l-1.07,-0.85l1.54,-1.26l2.98,-0.59l3.23,-0.09l3.64,0.99l2.04,1.16l3.29,6.71l0.92,3.19ZM696.92,237.31l-1.87,1.08l-1.63,-0.64l-0.06,-1.79l1.03,-0.98l2.58,-0.69l1.16,0.05l0.3,0.54l-0.98,1.06l-0.53,1.37Z`,name:`China`},CM:{path:`M457.92,257.49l1.05,1.91l-1.4,0.16l-1.05,-0.23l-0.45,0.22l-0.54,1.19l0.08,0.45l1.48,1.47l1.05,0.45l1.01,2.46l-1.52,2.99l-0.68,0.68l-0.13,3.69l2.38,3.84l1.09,0.8l0.24,2.48l-3.67,-1.14l-11.27,-0.13l0.23,-1.79l-0.98,-1.66l-1.19,-0.54l-0.44,-0.97l-0.6,-0.42l1.71,-4.27l0.75,-0.13l1.38,-1.36l0.65,-0.03l1.71,0.99l1.93,-1.12l1.14,-3.18l1.38,-1.17l2.0,-5.14l2.17,-2.13l0.3,-1.64l-0.86,-0.88l0.03,-0.33l0.94,1.28l0.07,3.22Z`,name:`Cameroon`},CL:{path:`M246.5,429.18l-3.14,1.83l-0.57,3.16l-0.64,0.05l-2.68,-1.06l-2.82,-2.33l-3.04,-1.89l-0.69,-1.85l0.63,-2.14l-1.21,-2.11l-0.31,-5.37l1.01,-2.91l2.57,-2.38l-0.18,-0.68l-3.16,-0.77l2.05,-2.47l0.77,-4.65l2.32,0.9l0.54,-0.29l1.31,-6.31l-0.22,-0.44l-1.68,-0.8l-0.56,0.28l-0.7,3.36l-0.81,-0.22l1.56,-9.41l1.15,-2.24l-0.71,-2.82l-0.18,-2.84l1.01,-0.33l3.26,-9.14l1.07,-4.22l-0.56,-4.21l0.74,-2.34l-0.29,-3.27l1.46,-3.34l2.04,-16.59l-0.66,-7.76l1.03,-0.53l0.54,-0.9l0.79,1.14l0.32,1.78l1.25,1.16l-0.69,2.55l1.33,2.9l0.97,3.59l0.46,0.29l1.5,-0.3l0.11,0.23l-0.76,2.44l-2.57,1.23l-0.23,0.37l0.08,4.33l-0.46,0.77l0.56,1.21l-1.58,1.51l-1.68,2.62l-0.89,2.47l0.2,2.7l-1.48,2.73l1.12,5.09l0.64,0.61l-0.01,2.29l-1.38,2.68l0.01,2.4l-1.89,2.04l0.02,2.75l0.69,2.57l-1.43,1.13l-1.26,5.68l0.39,3.51l-0.97,0.89l0.58,3.5l1.02,1.14l-0.65,1.02l0.15,0.57l1.0,0.53l0.16,0.69l-1.03,0.85l0.26,1.75l-0.89,4.03l-1.31,2.66l0.24,1.75l-0.71,1.83l-1.99,1.7l0.3,3.67l0.88,1.19l1.58,0.01l0.01,2.21l1.04,1.95l5.98,0.63ZM248.69,430.79l0.0,7.33l0.4,0.4l3.52,0.05l-0.44,0.75l-1.94,0.98l-2.49,-0.37l-1.88,-1.06l-2.55,-0.49l-5.59,-3.71l-2.38,-2.63l4.1,2.48l3.32,1.23l0.45,-0.12l1.29,-1.57l0.83,-2.32l2.05,-1.24l1.31,0.29Z`,name:`Chile`},CA:{path:`M280.06,145.6l-1.67,2.88l0.07,0.49l0.5,0.04l1.46,-0.98l1.0,0.42l-0.56,0.72l0.17,0.62l2.22,0.89l1.35,-0.71l1.95,0.78l-0.66,2.01l0.5,0.51l1.32,-0.42l0.98,3.17l-0.91,2.41l-0.8,0.08l-1.23,-0.45l0.47,-2.25l-0.89,-0.83l-0.48,0.06l-2.78,2.63l-0.34,-0.02l1.02,-0.85l-0.14,-0.69l-2.4,-0.77l-7.4,0.08l-0.17,-0.41l1.3,-0.94l0.02,-0.64l-0.73,-0.58l1.85,-1.74l2.57,-5.16l1.47,-1.79l1.99,-1.05l0.46,0.06l-1.53,2.45ZM68.32,74.16l4.13,0.95l4.02,2.14l2.61,0.4l2.47,-1.89l2.88,-1.31l3.85,0.48l3.71,-1.94l3.82,-1.04l1.56,1.68l0.49,0.08l1.87,-1.04l0.65,-1.98l1.24,0.35l4.16,3.94l0.54,0.01l2.75,-2.49l0.26,2.59l0.49,0.35l3.08,-0.73l1.04,-1.27l2.73,0.23l3.83,1.86l5.86,1.61l3.47,0.75l2.44,-0.26l2.73,1.78l-2.98,1.81l-0.19,0.41l0.31,0.32l4.53,0.92l6.87,-0.5l2.0,-0.69l2.49,2.39l0.53,0.02l2.72,-2.16l-0.02,-0.64l-2.16,-1.54l1.15,-1.06l4.83,-0.61l1.84,0.95l2.48,2.31l3.01,-0.23l4.55,1.92l3.85,-0.67l3.61,0.1l0.41,-0.44l-0.25,-2.36l1.79,-0.61l3.49,1.32l-0.01,3.77l0.31,0.39l0.45,-0.22l1.48,-3.16l1.74,0.1l0.41,-0.3l1.13,-4.37l-2.78,-3.11l-2.8,-1.74l0.19,-4.64l2.71,-3.07l2.98,0.67l2.41,1.95l3.19,4.8l-1.99,1.97l0.21,0.68l4.33,0.84l-0.01,4.15l0.25,0.37l0.44,-0.09l3.07,-3.15l2.54,2.39l-0.61,3.33l2.42,2.88l0.61,0.0l2.61,-3.08l1.88,-3.82l0.17,-4.58l6.72,0.94l3.13,2.04l0.13,1.82l-1.76,2.19l-0.01,0.49l1.66,2.16l-0.26,1.71l-4.68,2.8l-3.28,0.61l-2.47,-1.2l-0.55,0.23l-0.73,2.04l-2.38,3.43l-0.74,1.77l-2.74,2.57l-3.44,0.25l-2.21,1.78l-0.28,2.53l-2.82,0.55l-3.12,3.22l-2.72,4.31l-1.03,3.17l-0.14,4.31l0.33,0.41l3.44,0.57l2.24,5.95l0.45,0.23l3.4,-0.69l4.52,1.51l2.43,1.31l1.91,1.73l3.1,0.96l2.62,1.46l6.6,0.54l-0.35,2.74l0.81,3.53l1.81,3.78l3.83,3.3l0.45,0.04l2.1,-1.28l1.37,-3.69l-1.31,-5.38l-1.45,-1.58l3.57,-1.47l2.84,-2.46l1.52,-2.8l-0.25,-2.55l-1.7,-3.07l-2.85,-2.61l2.8,-3.95l-1.08,-3.37l-0.79,-5.67l1.36,-0.7l6.76,1.41l2.12,-0.96l5.12,3.36l1.05,1.61l4.08,0.26l-0.06,2.87l0.83,4.7l0.3,0.32l2.16,0.54l1.73,2.06l0.5,0.09l3.63,-2.03l2.52,-4.19l1.26,-1.32l7.6,11.72l-0.92,2.04l0.16,0.51l3.3,1.97l2.22,1.98l4.1,0.98l1.43,0.99l0.95,2.79l2.1,0.68l0.84,1.08l0.17,3.45l-3.37,2.26l-4.22,1.24l-3.06,2.63l-4.06,0.51l-5.35,-0.69l-6.39,0.2l-2.3,2.41l-3.26,1.51l-6.47,7.15l-0.06,0.48l0.44,0.19l2.13,-0.52l4.17,-4.24l5.12,-2.62l3.52,-0.3l1.69,1.21l-2.12,2.21l0.81,3.47l1.02,2.61l3.47,1.6l4.14,-0.45l2.15,-2.8l0.26,1.48l1.14,0.8l-2.56,1.69l-5.5,1.82l-2.54,1.27l-2.74,2.15l-1.4,-0.16l-0.07,-2.01l4.14,-2.44l0.18,-0.45l-0.39,-0.29l-6.63,0.45l-1.39,-1.49l-0.14,-4.43l-1.11,-0.91l-1.82,0.39l-0.66,-0.66l-0.6,0.03l-1.91,2.39l-0.82,2.52l-0.8,1.27l-1.67,0.56l-0.46,0.76l-8.31,0.07l-1.21,0.62l-2.35,1.97l-0.71,-0.14l-1.37,0.96l-1.12,-0.48l-4.74,1.26l-0.9,1.17l0.21,0.62l1.73,0.3l-1.81,0.31l-1.85,0.81l-2.11,-0.13l-2.95,1.78l-0.69,-0.09l1.39,-2.1l1.73,-1.21l0.1,-2.29l1.16,-1.99l0.49,0.53l2.03,0.42l1.2,-1.16l0.02,-0.47l-2.66,-3.51l-2.28,-0.61l-5.64,-0.71l-0.4,-0.57l-0.79,0.13l0.2,-0.41l-0.22,-0.55l-0.68,-0.26l0.19,-1.26l-0.78,-0.73l0.31,-0.64l-0.29,-0.57l-2.6,-0.44l-0.75,-1.63l-0.94,-0.66l-4.31,-0.65l-1.13,1.19l-1.48,0.59l-0.85,1.06l-2.83,-0.76l-2.09,0.39l-2.39,-0.97l-4.24,-0.7l-0.57,-0.4l-0.41,-1.63l-0.4,-0.3l-0.85,0.02l-0.39,0.4l-0.01,0.85l-69.13,-0.01l-6.51,-4.52l-4.5,-1.38l-1.26,-2.66l0.33,-1.93l-0.23,-0.43l-3.01,-1.35l-0.55,-2.77l-2.89,-2.38l-0.04,-1.45l1.39,-1.83l-0.28,-2.55l-4.16,-2.2l-4.07,-6.6l-4.02,-3.22l-1.3,-1.88l-0.5,-0.13l-2.51,1.21l-2.23,1.87l-3.85,-3.88l-2.44,-1.04l-2.22,-0.13l0.03,-37.49ZM260.37,148.65l3.04,0.76l2.26,1.2l-3.78,-0.95l-1.53,-1.01ZM249.4,3.81l6.68,0.49l5.32,0.79l4.26,1.57l-0.07,1.1l-5.85,2.53l-6.02,1.21l-2.39,1.39l-0.18,0.45l0.39,0.29l4.01,-0.02l-4.65,2.82l-4.2,1.74l-4.19,4.59l-5.03,0.92l-1.67,1.15l-7.47,0.59l-0.37,0.37l0.32,0.42l2.41,0.49l-0.81,0.47l-0.12,0.59l1.83,2.41l-2.02,1.59l-3.81,1.51l-1.32,2.16l-3.38,1.53l-0.22,0.48l0.35,1.19l0.4,0.29l3.88,-0.18l0.03,0.61l-6.33,2.95l-6.41,-1.4l-7.43,0.79l-3.72,-0.62l-4.4,-0.25l-0.23,-1.83l4.29,-1.11l0.28,-0.51l-1.1,-3.45l1.0,-0.25l6.58,2.28l0.47,-0.16l-0.05,-0.49l-3.41,-3.45l-3.58,-0.98l1.48,-1.55l4.34,-1.29l0.97,-2.19l-0.16,-0.48l-3.42,-2.13l-0.81,-2.26l6.2,0.22l2.24,0.58l3.91,-2.1l0.2,-0.43l-0.35,-0.32l-5.64,-0.67l-8.73,0.36l-4.26,-1.9l-2.12,-2.4l-2.78,-1.66l-0.41,-1.52l3.31,-1.03l2.93,-0.2l4.91,-0.99l3.7,-2.27l2.87,0.3l2.62,1.67l0.56,-0.14l1.82,-3.2l3.13,-0.94l4.44,-0.69l7.53,-0.26l1.48,0.67l7.19,-1.06l10.8,0.79ZM203.85,57.54l0.01,0.42l1.97,2.97l0.68,-0.02l2.24,-3.72l5.95,-1.86l4.01,4.64l-0.35,2.91l0.5,0.43l4.95,-1.36l2.32,-1.8l5.31,2.28l3.27,2.11l0.3,1.84l0.48,0.33l4.42,-0.99l2.64,2.87l5.97,1.77l2.06,1.72l2.11,3.71l-4.19,1.86l-0.01,0.73l5.9,2.83l3.94,0.94l3.78,3.95l3.46,0.25l-0.63,2.37l-4.11,4.47l-2.76,-1.56l-3.9,-3.94l-3.59,0.41l-0.33,0.34l-0.19,2.72l2.63,2.38l3.42,1.89l0.94,0.97l1.55,3.75l-0.7,2.29l-2.74,-0.92l-6.25,-3.15l-0.51,0.13l0.05,0.52l6.07,5.69l0.18,0.59l-6.09,-1.39l-5.31,-2.24l-2.63,-1.66l0.6,-0.77l-0.12,-0.6l-7.39,-4.01l-0.59,0.37l0.03,0.79l-6.73,0.6l-1.69,-1.1l1.36,-2.46l4.51,-0.07l5.15,-0.52l0.31,-0.6l-0.74,-1.3l0.78,-1.84l3.21,-4.05l-0.67,-2.35l-1.11,-1.6l-3.84,-2.1l-4.35,-1.28l0.91,-0.63l0.06,-0.61l-2.65,-2.75l-2.34,-0.36l-1.89,-1.46l-0.53,0.03l-1.24,1.23l-4.36,0.55l-9.04,-0.99l-9.26,-1.98l-1.6,-1.22l2.22,-1.77l0.13,-0.44l-0.38,-0.27l-3.22,-0.02l-0.72,-4.25l1.83,-4.04l2.42,-1.85l5.5,-1.1l-1.39,2.35ZM261.19,159.33l2.07,0.61l1.44,-0.04l-1.15,0.63l-2.94,-1.23l-0.4,-0.68l0.36,-0.37l0.61,1.07ZM230.83,84.39l-2.37,0.18l-0.49,-1.63l0.93,-2.09l1.94,-0.51l1.62,0.99l0.02,1.52l-1.66,1.54ZM229.43,58.25l0.11,0.65l-4.87,-0.21l-2.72,0.62l-3.1,-2.57l0.08,-1.26l0.86,-0.23l5.57,0.51l4.08,2.5ZM222.0,105.02l-0.72,1.49l-0.63,-0.19l-0.48,-0.84l0.81,-0.99l0.65,0.05l0.37,0.46ZM183.74,38.32l2.9,1.7l4.79,-0.01l1.84,1.46l-0.49,1.68l0.23,0.48l2.82,1.14l1.76,1.26l7.01,0.65l4.1,-1.1l5.03,-0.43l3.93,0.35l2.48,1.77l0.46,1.7l-1.3,1.1l-3.56,1.01l-3.23,-0.59l-7.17,0.76l-5.09,0.09l-3.99,-0.6l-6.42,-1.54l-0.79,-2.51l-0.3,-2.49l-2.64,-2.5l-5.32,-0.72l-2.52,-1.4l0.68,-1.57l4.78,0.31ZM207.38,91.35l0.4,1.56l0.56,0.26l1.06,-0.52l1.32,0.96l5.42,2.57l0.2,1.68l0.46,0.35l1.68,-0.28l1.15,0.85l-1.55,0.87l-3.61,-0.88l-1.32,-1.69l-0.57,-0.06l-2.45,2.1l-3.12,1.79l-0.7,-1.87l-0.42,-0.26l-2.16,0.24l1.39,-1.39l0.32,-3.14l0.76,-3.35l1.18,0.22ZM215.49,102.6l-2.67,1.95l-1.4,-0.07l-0.3,-0.58l1.53,-1.48l2.84,0.18ZM202.7,24.12l2.53,1.59l-2.87,1.4l-4.53,4.05l-4.25,0.38l-5.03,-0.68l-2.45,-2.04l0.03,-1.62l1.82,-1.37l0.14,-0.45l-0.38,-0.27l-4.45,0.04l-2.59,-1.76l-1.41,-2.29l1.57,-2.32l1.62,-1.66l2.44,-0.39l0.25,-0.65l-0.6,-0.74l4.86,-0.25l3.24,3.11l8.16,2.3l1.9,3.61ZM187.47,59.2l-2.76,3.49l-2.38,-0.15l-1.44,-3.84l0.04,-2.2l1.19,-1.88l2.3,-1.23l5.07,0.17l4.11,1.02l-3.24,3.72l-2.88,0.89ZM186.07,48.79l-1.08,1.53l-3.34,-0.34l-2.56,-1.1l1.03,-1.75l3.25,-1.23l1.95,1.58l0.75,1.3ZM185.71,35.32l-5.3,-0.2l-0.32,-0.71l4.31,0.07l1.3,0.84ZM180.68,32.48l-3.34,1.0l-1.79,-1.1l-0.98,-1.87l-0.15,-1.73l4.1,0.53l2.67,1.7l-0.51,1.47ZM180.9,76.31l-1.1,1.08l-3.13,-1.23l-2.12,0.43l-2.71,-1.57l1.72,-1.09l1.55,-1.72l3.81,1.9l1.98,2.2ZM169.74,54.87l2.96,0.97l4.17,-0.57l0.41,0.88l-2.14,2.11l0.09,0.64l3.55,1.92l-0.4,3.72l-3.79,1.65l-2.17,-0.35l-1.72,-1.74l-6.02,-3.5l0.03,-0.85l4.68,0.54l0.4,-0.21l-0.05,-0.45l-2.48,-2.81l2.46,-1.95ZM174.45,40.74l1.37,1.73l0.07,2.44l-1.05,3.45l-3.79,0.47l-2.32,-0.69l0.05,-2.64l-0.44,-0.41l-3.68,0.35l-0.12,-3.1l2.45,0.1l3.67,-1.73l3.41,0.29l0.37,-0.26ZM170.05,31.55l0.67,1.56l-3.33,-0.49l-4.22,-1.77l-4.35,-0.16l1.4,-0.94l-0.06,-0.7l-2.81,-1.23l-0.12,-1.39l4.39,0.68l6.62,1.98l1.81,2.47ZM134.5,58.13l-1.02,1.82l0.45,0.58l5.4,-1.39l3.33,2.29l0.49,-0.03l2.6,-2.23l1.94,1.32l2.0,4.5l0.7,0.06l1.3,-2.29l-1.63,-4.46l1.69,-0.54l2.31,0.71l2.65,1.81l2.49,7.92l8.48,4.27l-0.19,1.35l-3.79,0.33l-0.26,0.67l1.4,1.49l-0.58,1.1l-4.23,-0.64l-4.43,-1.19l-3.0,0.28l-4.66,1.47l-10.52,1.04l-1.43,-2.02l-3.42,-1.2l-2.21,0.43l-2.51,-2.86l4.84,-1.05l3.6,0.19l3.27,-0.78l0.31,-0.39l-0.31,-0.39l-4.84,-1.06l-8.79,0.27l-0.85,-1.07l5.26,-1.66l0.27,-0.45l-0.4,-0.34l-3.8,0.06l-3.81,-1.06l1.81,-3.01l1.66,-1.79l6.48,-2.81l1.97,0.71ZM158.7,56.61l-1.7,2.44l-3.2,-2.75l0.37,-0.3l3.11,-0.18l1.42,0.79ZM149.61,42.73l1.01,1.89l0.5,0.18l2.14,-0.82l2.23,0.19l0.36,2.04l-1.33,2.09l-8.28,0.76l-6.35,2.15l-3.41,0.1l-0.19,-0.96l4.9,-2.08l0.23,-0.46l-0.41,-0.31l-11.25,0.59l-2.89,-0.74l3.04,-4.44l2.14,-1.32l6.81,1.69l4.58,3.06l4.37,0.39l0.36,-0.63l-3.36,-4.6l1.85,-1.53l2.18,0.51l0.77,2.26ZM144.76,34.41l-4.36,1.44l-3.0,-1.4l1.46,-1.24l3.47,-0.52l2.96,0.71l-0.52,1.01ZM145.13,29.83l-1.9,0.66l-3.67,-0.0l2.27,-1.61l3.3,0.95ZM118.92,65.79l-6.03,2.02l-1.33,-1.9l-5.38,-2.28l2.59,-5.05l2.16,-3.14l-0.02,-0.48l-1.97,-2.41l7.64,-0.7l3.6,1.02l6.3,0.27l4.42,2.95l-2.53,0.98l-6.24,3.43l-3.1,3.28l-0.11,2.01ZM129.54,35.53l-0.28,3.37l-1.72,1.62l-2.33,0.28l-4.61,2.19l-3.86,0.76l-2.64,-0.87l3.72,-3.4l5.01,-3.34l3.72,0.07l3.0,-0.67ZM111.09,152.69l-0.67,0.24l-3.85,-1.37l-0.83,-1.17l-2.12,-1.07l-0.66,-1.02l-2.4,-0.55l-0.74,-1.71l6.02,1.45l2.0,2.55l2.52,1.39l0.73,1.27ZM87.8,134.64l0.89,0.29l1.86,-0.21l-0.65,3.34l1.69,2.33l-1.31,-1.33l-0.99,-1.62l-1.17,-0.98l-0.33,-1.82Z`,name:`Canada`},CG:{path:`M466.72,276.48l-0.1,1.03l-1.25,2.97l-0.19,3.62l-0.46,1.78l-0.23,0.63l-1.61,1.19l-1.21,1.39l-1.09,2.43l0.04,2.09l-3.25,3.24l-0.5,-0.24l-0.5,-0.83l-1.36,-0.02l-0.98,0.89l-1.68,-0.99l-1.54,1.24l-1.52,-1.96l1.57,-1.14l0.11,-0.52l-0.77,-1.35l2.1,-0.66l0.39,-0.73l1.05,0.82l2.21,0.11l1.12,-1.37l0.37,-1.81l-0.27,-2.09l-1.13,-1.5l1.0,-2.69l-0.13,-0.45l-0.92,-0.58l-1.6,0.17l-0.51,-0.94l0.1,-0.61l2.75,0.09l3.97,1.24l0.51,-0.33l0.17,-1.28l1.24,-2.21l1.28,-1.14l2.76,0.49Z`,name:`Congo`},CF:{path:`M461.16,278.2l-0.26,-1.19l-1.09,-0.77l-0.84,-1.17l-0.29,-1.0l-1.04,-1.15l0.08,-3.43l0.58,-0.49l1.16,-2.35l1.85,-0.17l0.61,-0.62l0.97,0.58l3.15,-0.96l2.48,-1.92l0.02,-0.96l2.81,0.02l2.36,-1.17l1.93,-2.85l1.16,-0.93l1.11,-0.3l0.27,0.86l1.34,1.47l-0.39,2.01l0.3,1.01l4.01,2.75l0.17,0.93l2.63,2.31l0.6,1.44l2.08,1.4l-3.84,-0.21l-1.94,0.88l-1.23,-0.49l-2.67,1.2l-1.29,-0.18l-0.51,0.36l-0.6,1.22l-3.35,-0.65l-1.57,-0.91l-2.42,-0.83l-1.45,0.91l-0.97,1.27l-0.26,1.56l-3.22,-0.43l-1.49,1.33l-0.94,1.62Z`,name:`Central African Rep.`},CD:{path:`M487.01,272.38l2.34,-0.14l1.35,1.84l1.34,0.45l0.86,-0.39l1.21,0.12l1.07,-0.41l0.54,0.89l2.04,1.54l-0.14,2.72l0.7,0.54l-1.38,1.13l-1.53,2.54l-0.17,2.05l-0.59,1.08l-0.02,1.72l-0.72,0.84l-0.66,3.01l0.63,1.32l-0.44,4.26l0.64,1.47l-0.37,1.22l0.86,1.8l1.53,1.41l0.3,1.26l0.44,0.5l-4.08,0.75l-0.92,1.81l0.51,1.34l-0.74,5.43l0.17,0.38l2.45,1.46l0.54,-0.1l0.12,1.62l-1.28,-0.01l-1.85,-2.35l-1.94,-0.45l-0.48,-1.13l-0.55,-0.2l-1.41,0.74l-1.71,-0.3l-1.01,-1.18l-2.49,-0.19l-0.44,-0.77l-1.98,-0.21l-2.88,0.36l0.11,-2.41l-0.85,-1.13l-0.16,-1.36l0.32,-1.73l-0.46,-0.89l-0.04,-1.49l-0.4,-0.39l-2.53,0.02l0.1,-0.41l-0.39,-0.49l-1.28,0.01l-0.43,0.45l-1.62,0.32l-0.83,1.79l-1.09,-0.28l-2.4,0.52l-1.37,-1.91l-1.3,-3.3l-0.38,-0.27l-7.39,-0.03l-2.46,0.42l0.5,-0.45l0.37,-1.47l0.66,-0.38l0.92,0.08l0.73,-0.82l0.87,0.02l0.31,0.68l1.4,0.36l3.59,-3.63l0.01,-2.23l1.02,-2.29l2.69,-2.39l0.43,-0.99l0.49,-1.96l0.17,-3.51l1.25,-2.95l0.36,-3.14l0.86,-1.13l1.1,-0.66l3.57,1.73l3.65,0.73l0.46,-0.21l0.8,-1.46l1.24,0.19l2.61,-1.17l0.81,0.44l1.04,-0.03l0.59,-0.66l0.7,-0.16l1.81,0.25Z`,name:`Dem. Rep. Congo`},CZ:{path:`M458.46,144.88l1.22,1.01l1.47,0.23l0.13,0.93l1.36,0.68l0.54,-0.2l0.24,-0.55l1.15,0.25l0.53,1.09l1.68,0.18l0.6,0.84l-1.04,0.73l-0.96,1.28l-1.6,0.17l-0.55,0.56l-1.04,-0.46l-1.05,0.15l-2.12,-0.96l-1.05,0.34l-1.2,1.12l-1.56,-0.87l-2.57,-2.1l-0.53,-1.88l4.7,-2.52l0.71,0.26l0.9,-0.28Z`,name:`Czech Rep.`},CY:{path:`M504.36,193.47l0.43,0.28l-1.28,0.57l-0.92,-0.28l-0.24,-0.46l2.01,-0.13Z`,name:`Cyprus`},CR:{path:`M211.34,258.05l0.48,0.99l1.6,1.6l-0.54,0.45l0.29,1.42l-0.25,1.19l-1.09,-0.59l-0.05,-1.25l-2.46,-1.42l-0.28,-0.77l-0.66,-0.45l-0.45,-0.0l-0.11,1.04l-1.32,-0.95l0.31,-1.3l-0.36,-0.6l0.31,-0.27l1.42,0.58l1.29,-0.14l0.56,0.56l0.74,0.17l0.55,-0.27Z`,name:`Costa Rica`},CU:{path:`M221.21,227.25l1.27,1.02l2.19,-0.28l4.43,3.33l2.08,0.43l-0.1,0.38l0.36,0.5l1.75,0.1l1.48,0.84l-3.11,0.51l-4.15,-0.03l0.77,-0.67l-0.04,-0.64l-1.2,-0.74l-1.49,-0.16l-0.7,-0.61l-0.56,-1.4l-0.4,-0.25l-1.34,0.1l-2.2,-0.66l-0.88,-0.58l-3.18,-0.4l-0.27,-0.16l0.58,-0.74l-0.36,-0.29l-2.72,-0.05l-1.7,1.29l-0.91,0.03l-0.61,0.69l-1.01,0.22l1.11,-1.29l1.01,-0.52l3.69,-1.01l3.98,0.21l2.21,0.84Z`,name:`Cuba`},SZ:{path:`M500.35,351.36l0.5,2.04l-0.38,0.89l-1.05,0.21l-1.23,-1.2l-0.02,-0.64l0.83,-1.57l1.34,0.27Z`,name:`Swaziland`},SY:{path:`M511.0,199.79l0.05,-1.33l0.54,-1.36l1.28,-0.99l0.13,-0.45l-0.41,-1.11l-1.14,-0.36l-0.19,-1.74l0.52,-1.0l1.29,-1.21l0.2,-1.18l0.59,0.23l2.62,-0.76l1.36,0.52l2.06,-0.01l2.95,-1.08l3.25,-0.26l-0.67,0.94l-1.28,0.66l-0.21,0.4l0.23,2.01l-0.88,3.19l-10.15,5.73l-2.15,-0.85Z`,name:`Syria`},KG:{path:`M621.35,172.32l-3.87,1.69l-0.96,1.18l-3.04,0.34l-1.13,1.86l-2.36,-0.35l-1.99,0.63l-2.39,1.4l0.06,0.95l-0.4,0.37l-4.52,0.43l-3.02,-0.93l-2.37,0.17l0.11,-0.79l2.32,0.42l1.13,-0.88l1.99,0.2l3.21,-2.14l-0.03,-0.69l-2.97,-1.57l-1.94,0.65l-1.22,-0.74l1.71,-1.58l-0.12,-0.67l-0.36,-0.15l0.32,-0.77l1.36,-0.35l4.02,1.02l0.49,-0.3l0.35,-1.59l1.09,-0.48l3.42,1.22l1.11,-0.31l7.64,0.39l1.16,1.0l1.23,0.39Z`,name:`Kyrgyzstan`},KE:{path:`M506.26,284.69l1.87,-2.56l0.93,-2.15l-1.38,-4.08l-1.06,-1.6l2.82,-2.75l0.79,0.26l0.12,1.41l0.86,0.83l1.9,0.11l3.28,2.13l3.57,0.44l1.05,-1.12l1.96,-0.9l0.82,0.68l1.16,0.09l-1.78,2.45l0.03,9.12l1.3,1.94l-1.37,0.78l-0.67,1.03l-1.08,0.46l-0.34,1.67l-0.81,1.07l-0.45,1.55l-0.68,0.56l-3.2,-2.23l-0.35,-1.58l-8.86,-4.98l0.14,-1.6l-0.57,-1.04Z`,name:`Kenya`},SS:{path:`M481.71,263.34l1.07,-0.72l1.2,-3.18l1.36,-0.26l1.61,1.99l0.87,0.34l1.1,-0.41l1.5,0.07l0.57,0.53l2.49,0.0l0.44,-0.63l1.07,-0.4l0.45,-0.84l0.59,-0.33l1.9,1.33l1.6,-0.2l2.83,-3.33l-0.32,-2.21l1.59,-0.52l-0.24,1.6l0.3,1.83l1.35,1.18l0.2,1.87l0.35,0.41l0.02,1.53l-0.23,0.47l-1.42,0.25l-0.85,1.44l0.3,0.6l1.4,0.16l1.11,1.08l0.59,1.13l1.03,0.53l1.28,2.36l-4.41,3.98l-1.74,0.01l-1.89,0.55l-1.47,-0.52l-1.15,0.57l-2.96,-2.62l-1.3,0.49l-1.06,-0.15l-0.79,0.39l-0.82,-0.22l-1.8,-2.7l-1.91,-1.1l-0.66,-1.5l-2.62,-2.32l-0.18,-0.94l-2.37,-1.6Z`,name:`S. Sudan`},SR:{path:`M283.12,270.19l2.1,0.53l-1.08,1.95l0.2,1.72l0.93,1.49l-0.59,2.03l-0.43,0.71l-1.12,-0.42l-1.32,0.22l-0.93,-0.2l-0.46,0.26l-0.25,0.73l0.33,0.7l-0.89,-0.13l-1.39,-1.97l-0.31,-1.34l-0.97,-0.31l-0.89,-1.47l0.35,-1.61l1.45,-0.82l0.33,-1.87l2.61,0.44l0.57,-0.47l1.75,-0.16Z`,name:`Suriname`},KH:{path:`M689.52,249.39l0.49,1.45l-0.28,2.74l-4.0,1.86l-0.16,0.6l0.68,0.95l-2.06,0.17l-2.05,0.97l-1.82,-0.32l-2.12,-3.7l-0.55,-2.85l1.4,-1.85l3.02,-0.45l2.23,0.35l2.01,0.98l0.51,-0.14l0.95,-1.48l1.74,0.74Z`,name:`Cambodia`},SV:{path:`M195.8,250.13l1.4,-1.19l2.24,1.45l0.98,-0.27l0.44,0.2l-0.27,1.05l-1.14,-0.03l-3.64,-1.21Z`,name:`El Salvador`},SK:{path:`M476.82,151.17l-1.14,1.9l-2.73,-0.92l-0.82,0.2l-0.74,0.8l-3.46,0.73l-0.47,0.69l-1.76,0.33l-1.88,-1.0l-0.18,-0.81l0.38,-0.75l1.87,-0.32l1.74,-1.89l0.83,0.16l0.79,-0.34l1.51,1.04l1.34,-0.63l1.25,0.3l1.65,-0.42l1.81,0.95Z`,name:`Slovakia`},KR:{path:`M737.51,185.84l0.98,-0.1l0.87,-1.17l2.69,-0.32l0.33,-0.29l1.76,2.79l0.58,1.76l0.02,3.12l-0.8,1.32l-2.21,0.55l-1.93,1.13l-1.8,0.19l-0.2,-1.1l0.43,-2.28l-0.95,-2.56l1.43,-0.37l0.23,-0.62l-1.43,-2.06Z`,name:`Korea`},SI:{path:`M456.18,162.07l-0.51,-1.32l0.18,-1.05l1.69,0.2l1.42,-0.71l2.09,-0.07l0.62,-0.51l0.21,0.47l-1.61,0.67l-0.44,1.34l-0.66,0.24l-0.26,0.82l-1.22,-0.49l-0.84,0.46l-0.69,-0.04Z`,name:`Slovenia`},KP:{path:`M736.77,185.16l-0.92,-0.42l-0.88,0.62l-1.21,-0.88l0.96,-1.15l0.59,-2.59l-0.46,-0.74l-2.09,-0.77l1.64,-1.52l2.72,-1.58l1.58,-1.91l1.11,0.78l2.17,0.11l0.41,-0.5l-0.3,-1.22l3.52,-1.18l0.94,-1.4l0.98,1.08l-2.19,2.18l0.01,2.14l-1.06,0.54l-1.41,1.4l-1.7,0.52l-1.25,1.09l-0.14,1.98l0.94,0.45l1.15,1.04l-0.13,0.26l-2.6,0.29l-1.13,1.29l-1.22,0.08Z`,name:`Dem. Rep. Korea`},SO:{path:`M525.13,288.48l-1.13,-1.57l-0.03,-8.86l2.66,-3.38l1.67,-0.13l2.13,-1.69l3.41,-0.23l7.08,-7.55l2.91,-3.69l0.08,-4.82l2.98,-0.67l1.24,-0.86l0.45,-0.0l-0.2,3.0l-1.21,3.62l-2.73,5.97l-2.13,3.65l-5.03,6.16l-8.56,6.4l-2.78,3.08l-0.8,1.56Z`,name:`Somalia`},SN:{path:`M390.09,248.21l0.12,1.55l0.49,1.46l0.96,0.82l0.05,1.28l-1.26,-0.19l-0.75,0.33l-1.84,-0.61l-5.84,-0.13l-2.54,0.51l-0.22,-1.03l1.77,0.04l2.01,-0.91l1.03,0.48l1.09,0.04l1.29,-0.62l0.14,-0.58l-0.51,-0.74l-1.81,0.25l-1.13,-0.63l-0.79,0.04l-0.72,0.61l-2.31,0.06l-0.92,-1.77l-0.81,-0.64l0.64,-0.35l2.46,-3.74l1.04,0.19l1.38,-0.56l1.19,-0.02l2.72,1.37l3.03,3.48Z`,name:`Senegal`},SL:{path:`M394.46,264.11l-1.73,1.98l-0.58,1.33l-2.07,-1.06l-1.22,-1.26l-0.65,-2.39l1.16,-0.96l0.67,-1.17l1.21,-0.52l1.66,0.0l1.03,1.64l0.52,2.41Z`,name:`Sierra Leone`},SB:{path:`M826.69,311.6l-0.61,0.09l-0.2,-0.33l0.37,0.15l0.44,0.09ZM824.18,307.38l-0.26,-0.3l-0.31,-0.91l0.03,0.0l0.54,1.21ZM823.04,309.33l-1.66,-0.22l-0.2,-0.52l1.16,0.28l0.69,0.46ZM819.28,304.68l1.14,0.65l0.02,0.03l-0.81,-0.44l-0.35,-0.23Z`,name:`Solomon Is.`},SA:{path:`M537.53,210.34l2.0,0.24l0.9,1.32l1.49,-0.06l0.87,2.08l1.29,0.76l0.51,0.99l1.56,1.03l-0.1,1.9l0.32,0.9l1.58,2.47l0.76,0.53l0.7,-0.04l1.68,4.23l7.53,1.33l0.51,-0.29l0.77,1.25l-1.55,4.87l-7.29,2.52l-7.3,1.03l-2.34,1.17l-1.88,2.74l-0.76,0.28l-0.82,-0.78l-0.91,0.12l-2.88,-0.51l-3.51,0.25l-0.86,-0.56l-0.57,0.15l-0.66,1.27l0.16,1.11l-0.43,0.32l-0.93,-1.4l-0.33,-1.16l-1.23,-0.88l-1.27,-2.06l-0.78,-2.22l-1.73,-1.79l-1.14,-0.48l-1.54,-2.31l-0.21,-3.41l-1.44,-2.93l-1.27,-1.16l-1.33,-0.57l-1.31,-3.37l-0.77,-0.67l-0.97,-1.97l-2.8,-4.03l-1.06,-0.17l0.37,-1.96l0.2,-0.72l2.74,0.3l1.08,-0.84l0.6,-0.94l1.74,-0.35l0.65,-1.03l0.71,-0.4l0.1,-0.62l-2.06,-2.28l4.39,-1.22l0.48,-0.37l2.77,0.69l3.66,1.9l7.03,5.5l4.87,0.3Z`,name:`Saudi Arabia`},SE:{path:`M480.22,89.3l-4.03,1.17l-2.43,2.86l0.26,2.57l-8.77,6.64l-1.78,5.79l1.78,2.68l2.22,1.96l-2.07,3.77l-2.72,1.13l-0.95,6.04l-1.29,3.01l-2.74,-0.31l-0.4,0.22l-1.31,2.59l-2.34,0.13l-0.75,-3.09l-2.08,-4.03l-1.83,-4.96l1.0,-1.93l2.14,-2.7l0.83,-4.45l-1.6,-2.17l-0.15,-4.94l1.48,-3.39l2.58,-0.15l0.87,-1.59l-0.78,-1.57l3.76,-5.59l4.04,-7.48l2.17,0.01l0.39,-0.29l0.57,-2.07l4.37,0.64l0.46,-0.34l0.33,-2.56l1.1,-0.13l6.94,4.87l0.06,6.32l0.66,1.36Z`,name:`Sweden`},SD:{path:`M505.98,259.4l-0.34,-0.77l-1.17,-0.9l-0.26,-1.61l0.29,-1.81l-0.34,-0.46l-1.16,-0.17l-0.54,0.59l-1.23,0.11l-0.28,0.65l0.53,0.65l0.17,1.22l-2.44,3.0l-0.96,0.19l-2.39,-1.4l-0.95,0.52l-0.38,0.78l-1.11,0.41l-0.29,0.5l-1.94,0.0l-0.54,-0.52l-1.81,-0.09l-0.95,0.4l-2.45,-2.35l-2.07,0.54l-0.73,1.26l-0.6,2.1l-1.25,0.58l-0.75,-0.62l0.27,-2.65l-1.48,-1.78l-0.22,-1.48l-0.92,-0.96l-0.02,-1.29l-0.57,-1.16l-0.68,-0.16l0.69,-1.29l-0.18,-1.14l0.65,-0.62l0.03,-0.55l-0.36,-0.41l1.55,-2.97l1.91,0.16l0.43,-0.4l-0.1,-10.94l2.49,-0.01l0.4,-0.4l-0.0,-4.82l29.02,0.0l0.64,2.04l-0.49,0.66l0.36,2.69l0.93,3.16l2.12,1.55l-0.89,1.04l-1.72,0.39l-0.98,0.9l-1.43,5.65l0.24,1.15l-0.38,2.06l-0.96,2.38l-1.53,1.31l-1.32,2.91l-1.22,0.86l-0.37,1.34Z`,name:`Sudan`},DO:{path:`M241.8,239.2l0.05,-0.65l-0.46,-0.73l0.42,-0.44l0.19,-1.0l-0.09,-1.53l1.66,0.01l1.99,0.63l0.33,0.67l1.28,0.19l0.33,0.76l1.0,0.08l0.8,0.62l-0.45,0.51l-1.13,-0.47l-1.88,-0.01l-1.27,0.59l-0.75,-0.55l-1.01,0.54l-0.79,1.4l-0.23,-0.61Z`,name:`Dominican Rep.`},DJ:{path:`M528.43,256.18l-0.45,0.66l-0.58,-0.25l-1.51,0.13l-0.18,-1.01l1.45,-1.95l0.83,0.17l0.77,-0.44l0.2,1.0l-1.2,0.51l-0.06,0.7l0.73,0.47Z`,name:`Djibouti`},DK:{path:`M452.28,129.07l-1.19,2.24l-2.13,-1.6l-0.23,-0.95l2.98,-0.95l0.57,1.26ZM447.74,126.31l-0.26,0.57l-0.88,-0.07l-1.8,2.53l0.48,1.69l-1.09,0.36l-1.61,-0.39l-0.89,-1.69l-0.07,-3.43l0.96,-1.73l2.02,-0.2l1.09,-1.07l1.33,-0.67l-0.05,1.06l-0.73,1.41l0.3,1.0l1.2,0.64Z`,name:`Denmark`},DE:{path:`M453.14,155.55l-0.55,-0.36l-1.2,-0.1l-1.87,0.57l-2.13,-0.13l-0.56,0.63l-0.86,-0.6l-0.96,0.09l-2.57,-0.93l-0.85,0.67l-1.47,-0.02l0.24,-1.75l1.23,-2.14l-0.28,-0.59l-3.52,-0.58l-0.92,-0.66l0.12,-1.2l-0.48,-0.88l0.27,-2.17l-0.37,-3.03l1.41,-0.22l0.63,-1.26l0.66,-3.19l-0.41,-1.18l0.26,-0.39l1.66,-0.15l0.33,0.54l0.62,0.07l1.7,-1.69l-0.54,-3.02l1.37,0.33l1.31,-0.37l0.31,1.18l2.25,0.71l-0.02,0.92l0.5,0.4l2.55,-0.65l1.34,-0.87l2.57,1.24l1.06,0.98l0.48,1.44l-0.57,0.74l-0.0,0.48l0.87,1.15l0.57,1.64l-0.14,1.29l0.82,1.7l-1.5,-0.07l-0.56,0.57l-4.47,2.15l-0.22,0.54l0.68,2.26l2.58,2.16l-0.66,1.11l-0.79,0.36l-0.23,0.43l0.32,1.87Z`,name:`Germany`},YE:{path:`M528.27,246.72l0.26,-0.42l-0.22,-1.01l0.19,-1.5l0.92,-0.69l-0.07,-1.35l0.39,-0.75l1.01,0.47l3.34,-0.27l3.76,0.41l0.95,0.81l1.36,-0.58l1.74,-2.62l2.18,-1.09l6.86,-0.94l2.48,5.41l-1.64,0.76l-0.56,1.9l-6.23,2.16l-2.29,1.8l-1.93,0.05l-1.41,1.02l-4.24,0.74l-1.72,1.49l-3.28,0.19l-0.52,-1.18l0.02,-1.51l-1.34,-3.29Z`,name:`Yemen`},AT:{path:`M462.89,152.8l0.04,2.25l-1.07,0.0l-0.33,0.63l0.36,0.51l-1.04,2.13l-2.02,0.07l-1.33,0.7l-5.29,-0.99l-0.47,-0.93l-0.44,-0.21l-2.47,0.55l-0.42,0.51l-3.18,-0.81l0.43,-0.91l1.12,0.78l0.6,-0.17l0.25,-0.58l1.93,0.12l1.86,-0.56l1.0,0.08l0.68,0.57l0.62,-0.15l0.26,-0.77l-0.3,-1.78l0.8,-0.44l0.68,-1.15l1.52,0.85l0.47,-0.06l1.34,-1.25l0.64,-0.17l1.81,0.92l1.28,-0.11l0.7,0.37Z`,name:`Austria`},DZ:{path:`M441.46,188.44l-0.32,1.07l0.39,2.64l-0.54,2.16l-1.58,1.82l0.37,2.39l1.91,1.55l0.18,0.8l1.42,1.03l1.84,7.23l0.12,1.16l-0.57,5.0l0.2,1.51l-0.87,0.99l-0.02,0.51l1.41,1.86l0.14,1.2l0.89,1.48l0.5,0.16l0.98,-0.41l1.73,1.08l0.82,1.23l-8.22,4.81l-7.23,5.11l-3.43,1.13l-2.3,0.21l-0.28,-1.59l-2.56,-1.09l-0.67,-1.25l-26.12,-17.86l0.01,-3.47l3.77,-1.88l2.44,-0.41l2.12,-0.75l1.08,-1.42l2.81,-1.05l0.35,-2.08l1.33,-0.29l1.04,-0.94l3.47,-0.69l0.46,-1.08l-0.1,-0.45l-0.58,-0.52l-0.82,-2.81l-0.19,-1.83l-0.78,-1.49l2.03,-1.31l2.63,-0.48l1.7,-1.22l2.31,-0.84l8.24,-0.73l1.49,0.38l2.28,-1.1l2.46,-0.02l0.92,0.6l1.35,-0.05Z`,name:`Algeria`},US:{path:`M892.72,99.2l1.31,0.53l1.41,-0.37l1.89,0.98l1.89,0.42l-1.32,0.58l-2.9,-1.53l-2.08,0.22l-0.26,-0.15l0.07,-0.67ZM183.22,150.47l0.37,1.47l1.12,0.85l4.23,0.7l2.39,0.98l2.17,-0.38l1.85,0.5l-1.55,0.65l-3.49,2.61l-0.16,0.77l0.5,0.39l2.33,-0.61l1.77,1.02l5.15,-2.4l-0.31,0.65l0.25,0.56l1.36,0.38l1.71,1.16l4.7,-0.88l0.67,0.85l1.31,0.21l0.58,0.58l-1.34,0.17l-2.18,-0.32l-3.6,0.89l-2.71,3.25l0.35,0.9l0.59,-0.0l0.55,-0.6l-1.36,4.65l0.29,3.09l0.67,1.58l0.61,0.45l1.77,-0.44l1.6,-1.96l0.14,-2.21l-0.82,-1.96l0.11,-1.13l1.19,-2.37l0.44,-0.33l0.48,0.75l0.4,-0.29l0.4,-1.37l0.6,-0.47l0.24,-0.8l1.69,0.49l1.65,1.08l-0.03,2.37l-1.27,1.13l-0.0,1.13l0.87,0.36l1.66,-1.29l0.5,0.17l0.5,2.6l-2.49,3.75l0.17,0.61l1.54,0.62l1.48,0.17l1.92,-0.44l4.72,-2.15l2.16,-1.8l-0.05,-1.24l0.75,-0.22l3.92,0.36l2.12,-1.05l0.21,-0.4l-0.28,-1.48l3.27,-2.4l8.32,-0.02l0.56,-0.82l1.9,-0.77l0.93,-1.51l0.74,-2.37l1.58,-1.98l0.92,0.62l1.47,-0.47l0.8,0.66l-0.0,4.09l1.96,2.6l-2.34,1.31l-5.37,2.09l-1.83,2.72l0.02,1.79l0.83,1.59l0.54,0.23l-6.19,0.94l-2.2,0.89l-0.23,0.48l0.45,0.29l2.99,-0.46l-2.19,0.56l-1.13,0.0l-0.15,-0.32l-0.48,0.08l-0.76,0.82l0.22,0.67l0.32,0.06l-0.41,1.62l-1.27,1.58l-1.48,-1.07l-0.49,-0.04l-0.16,0.46l0.52,1.58l0.61,0.59l0.03,0.79l-0.95,1.38l-1.21,-1.22l-0.27,-2.27l-0.35,-0.35l-0.42,0.25l-0.48,1.27l0.33,1.41l-0.97,-0.27l-0.48,0.24l0.18,0.5l1.52,0.83l0.1,2.52l0.79,0.51l0.52,3.42l-1.42,1.88l-2.47,0.8l-1.71,1.66l-1.31,0.25l-1.27,1.03l-0.43,0.99l-2.69,1.78l-2.64,3.03l-0.45,2.12l0.45,2.08l0.85,2.38l1.09,1.9l0.04,1.2l1.16,3.06l-0.18,2.69l-0.55,1.43l-0.47,0.21l-0.89,-0.23l-0.49,-1.18l-0.87,-0.56l-2.75,-5.16l0.48,-1.68l-0.72,-1.78l-2.01,-2.38l-1.12,-0.53l-2.72,1.18l-1.47,-1.35l-1.57,-0.68l-2.99,0.31l-2.17,-0.3l-2.0,0.19l-1.15,0.46l-0.19,0.58l0.39,0.63l0.14,1.34l-0.84,-0.2l-0.84,0.46l-1.58,-0.07l-2.08,-1.44l-2.09,0.33l-1.91,-0.62l-3.73,0.84l-2.39,2.07l-2.54,1.22l-1.45,1.41l-0.61,1.38l0.34,3.71l-0.29,0.02l-3.5,-1.33l-1.25,-3.11l-1.44,-1.5l-2.24,-3.56l-1.76,-1.09l-2.27,-0.01l-1.71,2.07l-1.76,-0.69l-1.16,-0.74l-1.52,-2.98l-3.93,-3.16l-4.34,-0.0l-0.4,0.4l-0.0,0.74l-6.5,0.02l-9.02,-3.14l-0.34,-0.71l-5.7,0.49l-0.43,-1.29l-1.62,-1.61l-1.14,-0.38l-0.55,-0.88l-1.28,-0.13l-1.01,-0.77l-2.22,-0.27l-0.43,-0.3l-0.36,-1.58l-2.4,-2.83l-2.01,-3.85l-0.06,-0.9l-2.92,-3.26l-0.33,-2.29l-1.3,-1.66l0.52,-2.37l-0.09,-2.57l-0.78,-2.3l0.95,-2.82l0.61,-5.68l-0.47,-4.27l-1.46,-4.08l3.19,0.79l1.26,2.83l0.69,0.08l0.69,-1.14l-1.1,-4.79l68.76,-0.0l0.4,-0.4l0.14,-0.86ZM32.44,67.52l1.73,1.97l0.55,0.05l0.99,-0.79l3.65,0.24l-0.09,0.62l0.32,0.45l3.83,0.77l2.61,-0.43l5.19,1.4l4.84,0.43l1.89,0.57l3.42,-0.7l6.14,1.87l-0.03,38.06l0.38,0.4l2.39,0.11l2.31,0.98l3.9,3.99l0.55,0.04l2.4,-2.03l2.16,-1.04l1.2,1.71l3.95,3.14l4.09,6.63l4.2,2.29l0.06,1.83l-1.02,1.23l-1.16,-1.08l-2.04,-1.03l-0.67,-2.89l-3.28,-3.03l-1.65,-3.57l-6.35,-0.32l-2.82,-1.01l-5.26,-3.85l-6.77,-2.04l-3.53,0.3l-4.81,-1.69l-3.25,-1.63l-2.78,0.8l-0.28,0.46l0.44,2.21l-3.91,0.96l-2.26,1.27l-2.3,0.65l-0.27,-1.65l1.05,-3.42l2.49,-1.09l0.16,-0.6l-0.69,-0.96l-0.55,-0.1l-3.19,2.12l-1.78,2.56l-3.55,2.61l-0.04,0.61l1.56,1.52l-2.07,2.29l-5.11,2.57l-0.77,1.66l-3.76,1.77l-0.92,1.73l-2.69,1.38l-1.81,-0.22l-6.95,3.32l-3.97,0.91l4.85,-2.5l2.59,-1.86l3.26,-0.52l1.19,-1.4l3.42,-2.1l2.59,-2.27l0.42,-2.68l1.23,-2.1l-0.04,-0.46l-0.45,-0.11l-2.68,1.03l-0.63,-0.49l-0.53,0.03l-1.05,1.04l-1.36,-1.54l-0.66,0.08l-0.32,0.62l-0.58,-1.14l-0.56,-0.16l-2.41,1.42l-1.07,-0.0l-0.17,-1.75l0.3,-1.71l-1.61,-1.33l-3.41,0.59l-1.96,-1.63l-1.57,-0.84l-0.15,-2.21l-1.7,-1.43l0.82,-1.88l1.99,-2.12l0.88,-1.92l1.71,-0.24l2.04,0.51l1.87,-1.77l1.91,0.25l1.91,-1.23l0.17,-0.43l-0.47,-1.82l-1.07,-0.7l1.39,-1.17l0.12,-0.45l-0.39,-0.26l-1.65,0.07l-2.66,0.88l-0.75,0.78l-1.92,-0.8l-3.46,0.44l-3.44,-0.91l-1.06,-1.61l-2.65,-1.99l2.91,-1.43l5.5,-2.0l1.52,0.0l-0.26,1.62l0.41,0.46l5.29,-0.16l0.3,-0.65l-2.03,-2.59l-3.14,-1.68l-1.79,-2.12l-2.4,-1.83l-3.09,-1.24l1.04,-1.69l4.23,-0.14l3.36,-2.07l0.73,-2.27l2.39,-1.99l2.42,-0.52l4.65,-1.97l2.46,0.23l3.71,-2.35l3.5,0.89ZM37.6,123.41l-2.25,1.23l-0.95,-0.69l-0.29,-1.24l3.21,-1.63l1.42,0.21l0.67,0.7l-1.8,1.42ZM31.06,234.03l0.98,0.47l0.74,0.87l-1.77,1.07l-0.44,-1.53l0.49,-0.89ZM29.34,232.07l0.18,0.05l0.08,0.05l-0.16,0.03l-0.11,-0.14ZM25.16,230.17l0.05,-0.03l0.18,0.22l-0.13,-0.01l-0.1,-0.18ZM5.89,113.26l-1.08,0.41l-2.21,-1.12l1.53,-0.4l1.62,0.28l0.14,0.83Z`,name:`United States`},LV:{path:`M489.16,122.85l0.96,0.66l0.22,1.65l0.68,1.76l-3.65,1.7l-2.23,-1.58l-1.29,-0.26l-0.68,-0.77l-2.42,0.34l-4.16,-0.23l-2.47,0.9l0.06,-1.98l1.13,-2.06l1.95,-1.02l2.12,2.58l2.01,-0.07l0.38,-0.33l0.44,-2.52l1.76,-0.53l3.06,1.7l2.15,0.07Z`,name:`Latvia`},UY:{path:`M286.85,372.74l-0.92,1.5l-2.59,1.44l-1.69,-0.52l-1.42,0.26l-2.39,-1.19l-1.52,0.08l-1.27,-1.3l0.16,-1.5l0.56,-0.79l-0.02,-2.73l1.21,-4.74l1.19,-0.21l2.37,2.0l1.08,0.03l4.36,3.17l1.22,1.6l-0.96,1.5l0.61,1.4Z`,name:`Uruguay`},LB:{path:`M510.37,198.01l-0.88,0.51l1.82,-3.54l0.62,0.08l0.22,0.61l-1.13,0.88l-0.65,1.47Z`,name:`Lebanon`},LA:{path:`M689.54,248.53l-1.76,-0.74l-0.49,0.15l-0.94,1.46l-1.32,-0.64l0.62,-0.98l0.11,-2.17l-2.04,-2.42l-0.25,-2.65l-1.9,-2.1l-2.15,-0.31l-0.78,0.91l-1.12,0.06l-1.05,-0.4l-2.06,1.2l-0.04,-1.59l0.61,-2.68l-0.36,-0.49l-1.35,-0.1l-0.11,-1.23l-0.96,-0.88l1.96,-1.89l0.39,0.36l1.33,0.07l0.42,-0.45l-0.34,-2.66l0.7,-0.21l1.28,1.81l1.11,2.35l0.36,0.23l2.82,0.02l0.71,1.67l-1.39,0.65l-0.72,0.93l0.13,0.6l2.91,1.51l3.6,5.25l1.88,1.78l0.56,1.62l-0.35,1.96Z`,name:`Lao PDR`},TW:{path:`M724.01,226.68l-0.74,1.48l-0.9,-1.52l-0.25,-1.74l1.38,-2.44l1.73,-1.74l0.64,0.44l-1.85,5.52Z`,name:`Taiwan`},TT:{path:`M266.64,259.32l0.28,-1.16l1.13,-0.22l-0.06,1.2l-1.35,0.18Z`,name:`Trinidad and Tobago`},TR:{path:`M513.21,175.47l3.64,1.17l3.05,-0.44l2.1,0.26l3.11,-1.56l2.46,-0.13l2.19,1.33l0.33,0.82l-0.22,1.33l0.25,0.44l2.28,1.13l-1.17,0.57l-0.21,0.45l0.75,3.2l-0.41,1.16l1.13,1.92l-0.55,0.22l-0.9,-0.67l-2.91,-0.37l-1.24,0.46l-4.23,0.41l-2.81,1.05l-1.91,0.01l-1.52,-0.53l-2.58,0.75l-0.66,-0.45l-0.62,0.3l-0.12,1.45l-0.89,0.84l-0.47,-0.67l0.79,-1.3l-0.41,-0.2l-1.43,0.23l-2.0,-0.63l-2.02,1.65l-3.51,0.3l-2.13,-1.53l-2.7,-0.1l-0.86,1.24l-1.38,0.27l-2.29,-1.44l-2.71,-0.01l-1.37,-2.65l-1.68,-1.52l1.07,-1.99l-0.09,-0.49l-1.27,-1.12l2.37,-2.41l3.7,-0.11l1.28,-2.24l4.49,0.37l3.21,-1.97l2.81,-0.82l3.99,-0.06l4.29,2.07ZM488.79,176.72l-1.72,1.31l-0.5,-0.88l1.37,-2.57l-0.7,-0.85l1.7,-0.63l1.8,0.34l0.46,1.17l1.76,0.78l-2.87,0.32l-1.3,1.01Z`,name:`Turkey`},LK:{path:`M624.16,268.99l-1.82,0.48l-0.99,-1.67l-0.42,-3.46l0.95,-3.43l1.21,0.98l2.26,4.19l-0.34,2.33l-0.85,0.58Z`,name:`Sri Lanka`},TN:{path:`M448.1,188.24l-1.0,1.27l-0.02,1.32l0.84,0.88l-0.28,2.09l-1.53,1.32l-0.12,0.42l0.48,1.54l1.42,0.32l0.53,1.11l0.9,0.52l-0.11,1.67l-3.54,2.64l-0.1,2.38l-0.58,0.3l-0.96,-4.45l-1.54,-1.25l-0.16,-0.78l-1.92,-1.56l-0.18,-1.76l1.51,-1.62l0.59,-2.34l-0.38,-2.78l0.42,-1.21l2.45,-1.05l1.29,0.26l-0.06,1.11l0.58,0.38l1.47,-0.73Z`,name:`Tunisia`},TL:{path:`M734.55,307.93l-0.1,-0.97l4.5,-0.86l-2.82,1.28l-1.59,0.55Z`,name:`Timor-Leste`},TM:{path:`M553.03,173.76l-0.04,0.34l-0.09,-0.22l0.13,-0.12ZM555.87,172.66l0.45,-0.1l1.48,0.74l2.06,2.43l4.07,-0.18l0.38,-0.51l-0.32,-1.19l1.92,-0.94l1.91,-1.59l2.94,1.39l0.43,2.47l1.19,0.67l2.58,-0.13l0.62,0.4l1.32,3.12l4.54,3.44l2.67,1.45l3.06,1.14l-0.04,1.05l-1.33,-0.75l-0.59,0.19l-0.32,0.84l-2.2,0.81l-0.46,2.13l-1.21,0.74l-1.91,0.42l-0.73,1.33l-1.56,0.31l-2.22,-0.94l-0.2,-2.17l-0.38,-0.36l-1.73,-0.09l-2.76,-2.46l-2.14,-0.4l-2.84,-1.48l-1.78,-0.27l-1.24,0.53l-1.57,-0.08l-2.0,1.69l-1.7,0.43l-0.36,-1.58l0.36,-2.98l-0.22,-0.4l-1.65,-0.84l0.54,-1.69l-0.34,-0.52l-1.22,-0.13l0.36,-1.64l2.22,0.59l2.2,-0.95l0.12,-0.65l-1.77,-1.74l-0.66,-1.57Z`,name:`Turkmenistan`},TJ:{path:`M597.75,178.82l-2.54,-0.44l-0.47,0.34l-0.24,1.7l0.43,0.45l2.64,-0.22l3.18,0.95l4.39,-0.41l0.56,2.37l0.52,0.29l0.67,-0.24l1.11,0.49l0.21,2.13l-3.76,-0.21l-1.8,1.32l-1.76,0.74l-0.61,-0.58l0.21,-2.23l-0.64,-0.49l-0.07,-0.93l-1.36,-0.66l-0.45,0.07l-1.08,1.01l-0.55,1.48l-1.31,-0.05l-0.95,1.16l-0.9,-0.35l-1.86,0.74l1.26,-2.83l-0.54,-2.17l-1.67,-0.82l0.33,-0.66l2.18,-0.04l1.19,-1.63l0.76,-1.79l2.43,-0.5l-0.26,1.0l0.73,1.05Z`,name:`Tajikistan`},LS:{path:`M491.06,363.48l-0.49,0.15l-1.49,-1.67l1.1,-1.43l2.19,-1.44l1.51,1.27l-0.98,1.82l-1.23,0.38l-0.62,0.93Z`,name:`Lesotho`},TH:{path:`M670.27,255.86l-1.41,3.87l0.15,2.0l0.38,0.36l1.38,0.07l0.9,2.04l0.55,2.34l1.4,1.44l1.61,0.38l0.96,0.97l-0.5,0.64l-1.1,0.2l-0.34,-1.18l-2.04,-1.1l-0.63,0.23l-0.63,-0.62l-0.48,-1.3l-2.56,-2.63l-0.73,0.41l0.95,-3.89l2.16,-4.22ZM670.67,254.77l-0.92,-2.18l-0.26,-2.61l-2.14,-3.06l0.71,-0.49l0.89,-2.59l-3.61,-5.45l0.87,-0.51l1.05,-2.58l1.74,-0.18l2.6,-1.59l0.76,0.56l0.13,1.39l0.37,0.36l1.23,0.09l-0.51,2.28l0.05,2.42l0.6,0.34l2.43,-1.42l0.77,0.39l1.47,-0.07l0.71,-0.88l1.48,0.14l1.71,1.88l0.25,2.65l1.92,2.11l-0.1,1.89l-0.61,0.86l-2.22,-0.33l-3.5,0.64l-1.6,2.12l0.36,2.58l-1.51,-0.79l-1.84,-0.01l0.28,-1.52l-0.4,-0.47l-2.21,0.01l-0.4,0.37l-0.19,2.74l-0.34,0.93Z`,name:`Thailand`},TF:{path:`M596.68,420.38l-3.2,0.18l-0.05,-1.26l0.39,-1.41l1.3,0.78l2.08,0.35l-0.52,1.36Z`,name:`Fr. S. Antarctic Lands`},TG:{path:`M422.7,257.63l-0.09,1.23l1.53,1.52l0.08,1.09l0.5,0.65l-0.11,5.62l0.49,1.47l-1.31,0.35l-1.02,-2.13l-0.18,-1.12l0.53,-2.19l-0.63,-1.16l-0.22,-3.68l-1.01,-1.4l0.07,-0.28l1.37,0.03Z`,name:`Togo`},TD:{path:`M480.25,235.49l0.12,9.57l-2.1,0.05l-1.14,1.89l-0.69,1.63l0.34,0.73l-0.66,0.91l0.24,0.89l-0.86,1.95l0.45,0.5l0.6,-0.1l0.34,0.64l0.03,1.38l0.9,1.04l-1.45,0.43l-1.27,1.03l-1.83,2.76l-2.16,1.07l-2.31,-0.15l-0.86,0.25l-0.26,0.49l0.17,0.61l-2.11,1.68l-2.85,0.87l-1.09,-0.57l-0.73,0.66l-1.12,0.1l-1.1,-3.12l-1.25,-0.64l-1.22,-1.22l0.29,-0.64l3.01,0.04l0.35,-0.6l-1.3,-2.2l-0.08,-3.31l-0.97,-1.66l0.22,-1.04l-0.38,-0.48l-1.22,-0.04l0.0,-1.25l-0.98,-1.07l0.96,-3.01l3.25,-2.65l0.13,-3.33l0.95,-5.18l0.52,-1.07l-0.1,-0.48l-0.91,-0.78l-0.2,-0.96l-0.8,-0.58l-0.55,-3.65l2.1,-1.2l19.57,9.83Z`,name:`Chad`},LY:{path:`M483.48,203.15l-0.75,1.1l0.29,1.39l-0.6,1.83l0.73,2.14l0.0,24.12l-2.48,0.01l-0.41,0.85l-19.41,-9.76l-4.41,2.28l-1.37,-1.33l-3.82,-1.1l-1.14,-1.65l-1.98,-1.23l-1.22,0.32l-0.66,-1.11l-0.17,-1.26l-1.28,-1.69l0.87,-1.19l-0.07,-4.34l0.43,-2.27l-0.86,-3.45l1.13,-0.76l0.22,-1.16l-0.2,-1.03l3.48,-2.61l0.29,-1.94l2.45,0.8l1.18,-0.21l1.98,0.44l3.15,1.18l1.37,2.54l5.72,1.67l2.64,1.35l1.61,-0.72l1.29,-1.34l-0.44,-2.34l0.66,-1.13l1.67,-1.21l1.57,-0.35l3.14,0.53l1.08,1.28l3.99,0.78l0.36,0.54Z`,name:`Libya`},AE:{path:`M550.76,223.97l1.88,-0.4l3.84,0.02l4.78,-4.75l0.19,0.36l0.26,1.58l-0.81,0.01l-0.39,0.35l-0.08,2.04l-0.81,0.63l-0.01,0.96l-0.66,0.99l-0.39,1.41l-7.08,-1.25l-0.7,-1.96Z`,name:`United Arab Emirates`},VE:{path:`M240.68,256.69l0.53,0.75l-0.02,1.06l-1.07,1.78l0.95,2.0l0.42,0.22l1.4,-0.44l0.56,-1.83l-0.77,-1.17l-0.1,-1.47l2.82,-0.93l0.26,-0.49l-0.28,-0.96l0.3,-0.28l0.66,1.31l1.96,0.26l1.4,1.22l0.08,0.68l0.39,0.35l4.81,-0.22l1.49,1.11l1.92,0.31l1.67,-0.84l0.22,-0.6l3.44,-0.14l-0.17,0.55l0.86,1.19l2.19,0.35l1.67,1.1l0.37,1.86l0.41,0.32l1.55,0.17l-1.66,1.35l-0.22,0.92l0.65,0.97l-1.67,0.54l-0.3,0.4l0.04,0.99l-0.56,0.57l-0.01,0.55l1.85,2.27l-0.66,0.69l-4.47,1.29l-0.72,0.54l-3.69,-0.9l-0.71,0.27l-0.02,0.7l0.91,0.53l-0.08,1.54l0.35,1.58l0.35,0.31l1.66,0.17l-1.3,0.52l-0.48,1.13l-2.68,0.91l-0.6,0.77l-1.57,0.13l-1.17,-1.13l-0.8,-2.52l-1.25,-1.26l1.02,-1.23l-1.29,-2.95l0.18,-1.62l1.0,-2.21l-0.2,-0.49l-1.14,-0.46l-4.02,0.36l-1.82,-2.1l-1.57,-0.33l-2.99,0.22l-1.06,-0.97l0.25,-1.23l-0.2,-1.01l-0.59,-0.69l-0.29,-1.06l-1.08,-0.39l0.78,-2.79l1.9,-2.11Z`,name:`Venezuela`},AF:{path:`M600.7,188.88l-1.57,1.3l-0.1,0.48l0.8,2.31l-1.09,1.04l-0.03,1.27l-0.48,0.71l-2.16,-0.08l-0.37,0.59l0.78,1.48l-1.38,0.69l-1.06,1.69l0.06,1.7l-0.65,0.52l-0.91,-0.21l-1.91,0.36l-0.48,0.77l-1.88,0.13l-1.4,1.56l-0.18,2.32l-2.91,1.02l-1.65,-0.23l-0.71,0.55l-1.41,-0.3l-2.41,0.39l-3.52,-1.17l1.96,-2.35l-0.21,-1.78l-0.3,-0.34l-1.63,-0.4l-0.19,-1.58l-0.75,-2.03l0.95,-1.36l-0.19,-0.6l-0.73,-0.28l1.47,-4.8l2.14,0.9l2.12,-0.36l0.74,-1.34l1.77,-0.39l1.54,-0.92l0.63,-2.31l1.87,-0.5l0.49,-0.81l0.94,0.56l2.13,0.11l2.55,0.92l1.95,-0.83l0.65,0.43l0.56,-0.13l0.69,-1.12l1.57,-0.08l0.72,-1.66l0.79,-0.74l0.8,0.39l-0.17,0.56l0.71,0.58l-0.08,2.39l1.11,0.95ZM601.37,188.71l1.73,-0.71l1.43,-1.18l4.03,0.35l-2.23,0.74l-4.95,0.8Z`,name:`Afghanistan`},IQ:{path:`M530.82,187.47l0.79,0.66l1.26,-0.28l1.46,3.08l1.63,0.94l0.14,1.23l-1.22,1.05l-0.53,2.52l1.73,2.67l3.12,1.62l1.15,1.88l-0.38,1.85l0.39,0.48l0.41,-0.0l0.02,1.07l0.76,0.94l-2.47,-0.1l-1.71,2.44l-4.31,-0.2l-7.02,-5.48l-3.73,-1.94l-2.88,-0.73l-0.85,-2.87l5.45,-3.02l0.95,-3.43l-0.19,-1.96l1.27,-0.7l1.22,-1.7l0.87,-0.36l2.69,0.34Z`,name:`Iraq`},IS:{path:`M384.14,88.06l-0.37,2.61l2.54,2.51l-2.9,2.75l-9.19,3.4l-9.25,-1.66l1.7,-1.22l-0.1,-0.7l-4.05,-1.47l2.96,-0.53l0.33,-0.43l-0.11,-1.2l-0.33,-0.36l-4.67,-0.85l1.28,-2.04l3.45,-0.56l3.77,2.72l0.44,0.02l3.64,-2.16l3.3,1.08l3.98,-2.16l3.58,0.26Z`,name:`Iceland`},IR:{path:`M533.43,187.16l-1.27,-2.15l0.42,-0.98l-0.71,-3.04l1.03,-0.5l0.33,0.83l1.26,1.35l2.05,0.51l1.11,-0.16l2.89,-2.11l0.62,-0.14l0.39,0.46l-0.72,1.2l0.06,0.49l1.56,1.53l0.65,0.04l0.67,1.81l2.56,0.83l1.87,1.48l3.69,0.49l3.91,-0.76l0.47,-0.73l2.17,-0.6l1.66,-1.54l1.51,0.08l1.18,-0.53l1.59,0.24l2.83,1.48l1.88,0.3l2.77,2.47l1.77,0.18l0.18,1.99l-1.68,5.49l0.24,0.5l0.61,0.23l-0.82,1.48l0.8,2.18l0.19,1.71l0.3,0.34l1.63,0.4l0.15,1.32l-2.15,2.35l-0.01,0.53l2.21,3.03l2.34,1.24l0.06,2.14l1.24,0.72l0.11,0.69l-3.31,1.27l-1.08,3.03l-9.68,-1.68l-0.99,-3.05l-1.43,-0.73l-2.17,0.46l-2.47,1.26l-2.83,-0.82l-2.46,-2.02l-2.41,-0.8l-3.42,-6.06l-0.48,-0.2l-1.18,0.39l-1.44,-0.82l-0.5,0.08l-0.65,0.74l-0.97,-1.01l-0.02,-1.31l-0.71,-0.39l0.26,-1.81l-1.29,-2.11l-3.13,-1.63l-1.58,-2.43l0.5,-1.9l1.31,-1.26l-0.19,-1.66l-1.74,-1.1l-1.57,-3.3Z`,name:`Iran`},AM:{path:`M536.99,182.33l-0.28,0.03l-1.23,-2.13l-0.93,0.01l-0.62,-0.66l-0.69,-0.07l-0.96,-0.81l-1.56,-0.62l0.19,-1.12l-0.26,-0.79l2.72,-0.36l1.09,1.01l-0.17,0.92l1.02,0.78l-0.47,0.62l0.08,0.56l2.04,1.23l0.04,1.4Z`,name:`Armenia`},IT:{path:`M451.59,158.63l3.48,0.94l-0.21,1.17l0.3,0.83l-1.49,-0.24l-2.04,1.1l-0.21,0.39l0.13,1.45l-0.25,1.12l0.82,1.57l2.39,1.63l1.31,2.54l2.79,2.43l2.05,0.08l0.21,0.23l-0.39,0.33l0.09,0.67l4.05,1.97l2.17,1.76l-0.16,0.36l-1.17,-1.08l-2.18,-0.49l-0.44,0.2l-1.05,1.91l0.14,0.54l1.57,0.95l-0.19,0.98l-1.06,0.33l-1.25,2.34l-0.37,0.08l0.0,-0.33l1.0,-2.45l-1.73,-3.17l-1.12,-0.51l-0.88,-1.33l-1.51,-0.51l-1.27,-1.25l-1.75,-0.18l-4.12,-3.21l-1.62,-1.65l-1.03,-3.19l-3.53,-1.36l-1.3,0.51l-1.69,1.41l0.16,-0.72l-0.28,-0.47l-1.14,-0.33l-0.53,-1.96l0.72,-0.78l0.04,-0.48l-0.65,-1.17l0.8,0.39l1.4,-0.23l1.11,-0.84l0.52,0.35l1.19,-0.1l0.75,-1.2l1.53,0.33l1.36,-0.56l0.35,-1.14l1.08,0.32l0.68,-0.64l1.98,-0.44l0.42,0.82ZM459.19,184.75l-0.65,1.65l0.32,1.05l-0.31,0.89l-1.5,-0.85l-4.5,-1.67l0.19,-0.82l2.67,0.23l3.78,-0.48ZM443.93,176.05l1.18,1.66l-0.3,3.32l-1.06,-0.01l-0.77,0.73l-0.53,-0.44l-0.1,-3.37l-0.39,-1.22l1.04,0.01l0.92,-0.68Z`,name:`Italy`},VN:{path:`M690.56,230.25l-2.7,1.82l-2.09,2.46l-0.63,1.95l4.31,6.45l2.32,1.65l1.43,1.94l1.11,4.59l-0.32,4.24l-1.93,1.54l-2.84,1.61l-2.11,2.15l-2.73,2.06l-0.59,-1.05l0.63,-1.53l-0.13,-0.47l-1.34,-1.04l1.51,-0.71l2.55,-0.18l0.3,-0.63l-0.82,-1.14l4.0,-2.07l0.31,-3.05l-0.57,-1.77l0.42,-2.66l-0.73,-1.97l-1.86,-1.76l-3.63,-5.29l-2.72,-1.46l0.36,-0.47l1.5,-0.64l0.21,-0.52l-0.97,-2.27l-0.37,-0.24l-2.83,-0.02l-2.24,-3.9l0.83,-0.4l4.39,-0.29l2.06,-1.31l1.15,0.89l1.88,0.4l-0.17,1.51l1.35,1.16l1.67,0.45Z`,name:`Vietnam`},AR:{path:`M249.29,428.93l-2.33,-0.52l-5.83,-0.43l-0.89,-1.66l0.05,-2.37l-0.45,-0.4l-1.43,0.18l-0.67,-0.91l-0.2,-3.13l1.88,-1.47l0.79,-2.04l-0.25,-1.7l1.3,-2.68l0.91,-4.15l-0.22,-1.69l0.85,-0.45l0.2,-0.44l-0.27,-1.16l-0.98,-0.68l0.59,-0.92l-0.05,-0.5l-1.04,-1.07l-0.52,-3.1l0.97,-0.86l-0.42,-3.58l1.2,-5.43l1.38,-0.98l0.16,-0.43l-0.75,-2.79l-0.01,-2.43l1.78,-1.75l0.06,-2.57l1.43,-2.85l0.01,-2.58l-0.69,-0.74l-1.09,-4.52l1.47,-2.7l-0.18,-2.79l0.85,-2.35l1.59,-2.46l1.73,-1.64l0.05,-0.52l-0.6,-0.84l0.44,-0.85l-0.07,-4.19l2.7,-1.44l0.86,-2.75l-0.21,-0.71l1.76,-2.01l2.9,0.57l1.38,1.78l0.68,-0.08l0.87,-1.87l2.39,0.09l4.95,4.77l2.17,0.49l3.0,1.92l2.47,1.0l0.25,0.82l-2.37,3.93l0.23,0.59l5.39,1.16l2.12,-0.44l2.45,-2.16l0.5,-2.38l0.76,-0.31l0.98,1.2l-0.04,1.8l-3.67,2.51l-2.85,2.66l-3.43,3.88l-1.3,5.07l0.01,2.72l-0.54,0.73l-0.36,3.28l3.14,2.64l-0.16,2.11l1.4,1.11l-0.1,1.09l-2.29,3.52l-3.55,1.49l-4.92,0.6l-2.71,-0.29l-0.43,0.51l0.5,1.65l-0.49,2.1l0.38,1.42l-1.19,0.83l-2.36,0.38l-2.3,-1.04l-1.38,0.83l0.41,3.64l1.69,0.91l1.4,-0.71l0.36,0.76l-2.04,0.86l-2.01,1.89l-0.97,4.63l-2.34,0.1l-2.09,1.78l-0.61,2.75l2.46,2.31l2.17,0.63l-0.7,2.32l-2.83,1.73l-1.73,3.86l-2.17,1.22l-1.16,1.67l0.75,3.76l1.04,1.28ZM256.71,438.88l-2.0,0.15l-1.4,-1.22l-3.82,-0.1l-0.0,-5.83l1.6,3.05l3.26,2.07l3.08,0.78l-0.71,1.1Z`,name:`Argentina`},AU:{path:`M705.8,353.26l0.26,0.04l0.17,-0.47l-0.48,-1.42l0.92,1.11l0.45,0.15l0.27,-0.39l-0.1,-1.56l-1.98,-3.63l1.09,-3.31l-0.24,-1.57l0.34,-0.62l0.38,1.06l0.43,-0.19l0.99,-1.7l1.91,-0.83l1.29,-1.15l1.81,-0.91l0.96,-0.17l0.92,0.26l1.92,-0.95l1.47,-0.28l1.03,-0.8l1.43,0.04l2.78,-0.84l1.36,-1.15l0.71,-1.45l1.41,-1.26l0.3,-2.58l1.27,-1.59l0.78,1.65l0.54,0.19l1.07,-0.51l0.15,-0.6l-0.73,-1.0l0.45,-0.71l0.78,0.39l0.58,-0.3l0.28,-1.82l1.87,-2.14l1.12,-0.39l0.28,-0.58l0.62,0.17l0.53,-0.73l1.87,-0.57l1.65,1.05l1.35,1.48l3.39,0.38l0.43,-0.54l-0.46,-1.23l1.05,-1.79l1.04,-0.61l0.14,-0.55l-0.25,-0.41l0.88,-1.17l1.31,-0.77l1.3,0.27l2.1,-0.48l0.31,-0.4l-0.05,-1.3l-0.92,-0.77l1.48,0.56l1.41,1.07l2.11,0.65l0.81,-0.2l1.4,0.7l1.69,-0.66l0.8,0.19l0.64,-0.33l0.71,0.77l-1.33,1.94l-0.71,0.07l-0.35,0.51l0.24,0.86l-1.52,2.35l0.12,1.05l2.15,1.65l1.97,0.85l3.04,2.36l1.97,0.65l0.55,0.88l2.72,0.85l1.84,-1.1l2.07,-5.97l-0.42,-3.59l0.3,-1.73l0.47,-0.87l-0.31,-0.68l1.09,-3.28l0.46,-0.47l0.4,0.71l0.16,1.51l0.65,0.52l0.16,1.04l0.85,1.21l0.12,2.38l0.9,2.0l0.57,0.18l1.3,-0.78l1.69,1.7l-0.2,1.08l0.53,2.2l0.39,1.3l0.68,0.48l0.6,1.95l-0.19,1.48l0.81,1.76l6.01,3.69l-0.11,0.76l1.38,1.58l0.95,2.77l0.58,0.22l0.72,-0.41l0.8,0.9l0.61,0.01l0.46,2.41l4.81,4.71l0.66,2.02l-0.07,3.31l1.14,2.2l-0.13,2.24l-1.1,3.68l0.03,1.64l-0.47,1.89l-1.05,2.4l-1.9,1.47l-1.72,3.51l-2.38,6.09l-0.24,2.82l-1.14,0.8l-2.85,0.15l-2.31,1.19l-2.51,2.25l-3.09,-1.57l0.3,-1.15l-0.54,-0.47l-1.5,0.63l-2.01,1.94l-7.12,-2.18l-1.48,-1.63l-1.14,-3.74l-1.45,-1.26l-1.81,-0.26l0.56,-1.18l-0.61,-2.1l-0.72,-0.1l-1.14,1.82l-0.9,0.21l0.63,-0.82l0.36,-1.55l0.92,-1.31l-0.13,-2.34l-0.7,-0.22l-2.0,2.34l-1.51,0.93l-0.94,2.01l-1.35,-0.81l-0.02,-1.52l-1.57,-2.04l-1.09,-0.88l0.24,-0.33l-0.14,-0.59l-3.21,-1.69l-1.83,-0.12l-2.54,-1.35l-4.58,0.28l-6.02,1.9l-2.53,-0.13l-2.62,1.41l-2.13,0.63l-1.49,2.6l-3.49,0.31l-2.29,-0.5l-3.48,0.43l-1.6,1.47l-0.81,-0.04l-2.37,1.63l-3.26,-0.1l-3.72,-2.21l0.04,-1.05l1.19,-0.46l0.49,-0.89l0.21,-2.97l-0.28,-1.64l-1.34,-2.86l-0.38,-1.47l0.05,-1.72l-0.95,-1.7l-0.18,-0.97l-1.01,-0.99l-0.29,-1.98l-1.13,-1.75ZM784.92,393.44l2.65,1.02l3.23,-0.96l1.09,0.14l0.15,3.06l-0.85,1.13l-0.17,1.63l-0.87,-0.24l-1.57,1.91l-1.68,-0.18l-1.4,-2.36l-0.37,-2.04l-1.39,-2.51l0.04,-0.8l1.15,0.18Z`,name:`Australia`},IL:{path:`M507.76,203.05l0.4,-0.78l0.18,0.4l-0.33,1.03l0.52,0.44l0.68,-0.22l-0.86,3.6l-1.16,-3.32l0.59,-0.74l-0.03,-0.41ZM508.73,200.34l0.37,-1.02l0.64,0.0l0.52,-0.51l-0.49,1.53l-0.56,-0.24l-0.48,0.23Z`,name:`Israel`},IN:{path:`M623.34,207.03l-1.24,1.04l-0.97,2.55l0.22,0.51l8.04,3.87l3.42,0.37l1.57,1.38l4.92,0.88l2.18,-0.04l0.38,-0.3l0.29,-1.24l-0.32,-1.64l0.14,-0.87l0.82,-0.31l0.45,2.48l2.28,1.02l1.77,-0.38l4.14,0.1l0.38,-0.36l0.18,-1.66l-0.5,-0.65l1.37,-0.29l2.25,-1.99l2.7,-1.62l1.93,0.62l1.8,-0.98l0.79,1.14l-0.68,0.91l0.26,0.63l2.42,0.36l0.09,0.47l-0.83,0.75l0.13,1.07l-1.52,-0.29l-3.24,1.86l-0.13,1.78l-1.32,2.14l-0.18,1.39l-0.93,1.82l-1.64,-0.5l-0.52,0.37l-0.09,2.63l-0.56,1.11l0.19,0.81l-0.53,0.27l-1.18,-3.73l-1.08,-0.27l-0.38,0.31l-0.24,1.0l-0.66,-0.66l0.54,-1.06l1.22,-0.34l1.15,-2.25l-0.24,-0.56l-1.57,-0.47l-4.34,-0.28l-0.18,-1.56l-0.35,-0.35l-1.11,-0.12l-1.91,-1.12l-0.56,0.17l-0.88,1.82l0.11,0.49l1.36,1.07l-1.09,0.69l-0.69,1.11l0.18,0.56l1.24,0.57l-0.32,1.54l0.85,1.94l0.36,2.01l-0.22,0.59l-4.58,0.52l-0.33,0.42l0.13,1.8l-1.17,1.36l-3.65,1.81l-2.79,3.03l-4.32,3.28l-0.18,1.27l-4.65,1.79l-0.77,2.16l0.64,5.3l-1.06,2.49l-0.01,3.94l-1.24,0.28l-1.14,1.93l0.39,0.84l-1.68,0.53l-1.04,1.83l-0.65,0.47l-2.06,-2.05l-2.1,-6.02l-2.2,-3.64l-1.05,-4.75l-2.29,-3.57l-1.76,-8.2l0.01,-3.11l-0.49,-2.53l-0.55,-0.29l-3.53,1.52l-1.53,-0.27l-2.86,-2.77l0.85,-0.67l0.08,-0.55l-0.74,-1.03l-2.67,-2.06l1.24,-1.32l5.34,0.01l0.39,-0.49l-0.5,-2.29l-1.42,-1.46l-0.27,-1.93l-1.43,-1.2l2.31,-2.37l3.05,0.06l2.62,-2.85l1.6,-2.81l2.4,-2.73l0.07,-2.04l1.97,-1.48l-0.02,-0.65l-1.93,-1.31l-0.82,-1.78l-0.8,-2.21l0.9,-0.89l3.59,0.65l2.92,-0.42l2.33,-2.19l2.31,2.85l-0.24,2.13l0.99,1.59l-0.05,0.82l-1.34,-0.28l-0.47,0.48l0.7,3.06l2.62,1.99l2.99,1.65Z`,name:`India`},TZ:{path:`M495.56,296.42l2.8,-3.12l-0.02,-0.81l-0.64,-1.3l0.68,-0.52l0.14,-1.47l-0.76,-1.25l0.31,-0.11l2.26,0.03l-0.51,2.76l0.76,1.3l0.5,0.12l1.05,-0.53l1.19,-0.12l0.61,0.24l1.43,-0.62l0.1,-0.67l-0.71,-0.62l1.57,-1.7l8.65,4.86l0.32,1.53l3.34,2.33l-1.05,2.8l0.13,1.61l1.63,1.12l-0.6,1.76l-0.01,2.33l1.89,4.03l0.57,0.43l-1.46,1.08l-2.61,0.94l-1.43,-0.04l-1.06,0.77l-2.29,0.36l-2.87,-0.68l-0.83,0.07l-0.63,-0.75l-0.31,-2.78l-1.32,-1.35l-3.25,-0.77l-3.96,-1.58l-1.18,-2.41l-0.32,-1.75l-1.76,-1.49l0.42,-1.05l-0.44,-0.89l0.08,-0.96l-0.46,-0.58l0.06,-0.56Z`,name:`Tanzania`},AZ:{path:`M539.29,175.73l1.33,0.32l1.94,-1.8l2.3,3.34l1.43,0.43l-1.26,0.15l-0.35,0.32l-0.8,3.14l-0.99,0.96l0.05,1.11l-1.26,-1.13l0.7,-1.18l-0.04,-0.47l-0.74,-0.86l-1.48,0.15l-2.34,1.71l-0.03,-1.27l-2.03,-1.35l0.47,-0.62l-0.08,-0.56l-1.03,-0.79l0.29,-0.43l-0.14,-0.58l-1.13,-0.86l1.89,0.68l1.69,0.06l0.37,-0.87l-0.81,-1.37l0.42,0.06l1.63,1.72ZM533.78,180.57l0.61,0.46l0.69,-0.0l0.59,1.15l-0.68,-0.15l-1.21,-1.45Z`,name:`Azerbaijan`},IE:{path:`M405.08,135.42l0.35,2.06l-1.75,2.78l-4.22,1.88l-2.84,-0.4l1.73,-3.0l-1.18,-3.53l4.6,-3.74l0.32,1.15l-0.49,1.74l0.4,0.51l1.47,-0.04l1.6,0.6Z`,name:`Ireland`},ID:{path:`M756.47,287.89l0.69,4.01l2.79,1.78l0.51,-0.1l2.04,-2.59l2.71,-1.43l2.05,-0.0l3.9,1.73l2.46,0.45l0.08,15.12l-1.75,-1.54l-2.54,-0.51l-0.88,0.71l-2.32,0.06l0.69,-1.33l1.45,-0.64l0.23,-0.46l-0.65,-2.74l-1.24,-2.21l-5.04,-2.29l-2.09,-0.23l-3.68,-2.27l-0.55,0.13l-0.65,1.07l-0.52,0.12l-0.55,-1.89l-1.21,-0.78l1.84,-0.62l1.72,0.05l0.39,-0.52l-0.21,-0.66l-0.38,-0.28l-3.45,-0.0l-1.13,-1.48l-2.1,-0.43l-0.52,-0.6l2.69,-0.48l1.28,-0.78l3.66,0.94l0.3,0.71ZM757.91,300.34l-0.62,0.82l-0.1,-0.8l0.59,-1.12l0.13,1.1ZM747.38,292.98l0.34,0.72l-1.22,-0.57l-4.68,-0.1l0.27,-0.62l2.78,-0.09l2.52,0.67ZM741.05,285.25l-0.67,-2.88l0.64,-2.01l0.41,0.86l1.21,0.18l0.16,0.7l-0.1,1.68l-0.84,-0.16l-0.46,0.3l-0.34,1.34ZM739.05,293.5l-0.5,0.44l-1.34,-0.36l-0.17,-0.37l1.73,-0.08l0.27,0.36ZM721.45,284.51l-0.19,1.97l2.24,2.23l0.54,0.02l1.27,-1.07l2.75,-0.5l-0.9,1.21l-2.11,0.93l-0.16,0.6l2.22,3.01l-0.3,1.07l1.36,1.74l-2.26,0.85l-0.28,-0.31l0.12,-1.19l-1.64,-1.34l0.17,-2.23l-0.56,-0.39l-1.67,0.76l-0.23,0.39l0.3,6.17l-1.1,0.25l-0.69,-0.47l0.64,-2.21l-0.39,-2.42l-0.39,-0.34l-0.8,-0.01l-0.58,-1.29l0.98,-1.6l0.35,-1.96l1.32,-3.87ZM728.59,296.27l0.38,0.49l-0.02,1.28l-0.88,0.49l-0.53,-0.47l1.04,-1.79ZM729.04,286.98l0.27,-0.05l-0.02,0.13l-0.24,-0.08ZM721.68,284.05l0.16,-0.32l1.89,-1.65l1.83,0.68l3.16,0.35l2.94,-0.1l2.39,-1.66l-1.73,2.13l-1.66,0.43l-2.41,-0.48l-4.17,0.13l-2.39,0.51ZM730.55,310.47l1.11,-1.93l2.03,-0.82l0.08,0.62l-1.45,1.67l-1.77,0.46ZM728.12,305.88l-0.1,0.38l-3.46,0.66l-2.91,-0.27l-0.0,-0.25l1.54,-0.41l1.66,0.73l1.67,-0.19l1.61,-0.65ZM722.9,310.24l-0.64,0.03l-2.26,-1.2l1.11,-0.24l1.78,1.41ZM716.26,305.77l0.88,0.51l1.28,-0.17l0.2,0.35l-4.65,0.73l0.39,-0.67l1.15,-0.02l0.75,-0.73ZM711.66,293.84l-0.38,-0.16l-2.54,1.01l-1.12,-1.44l-1.69,-0.13l-1.16,-0.75l-3.04,0.77l-1.1,-1.15l-3.31,-0.11l-0.35,-3.05l-1.35,-0.95l-1.11,-1.98l-0.33,-2.06l0.27,-2.14l0.9,-1.01l0.37,1.15l2.09,1.49l1.53,-0.48l1.82,0.08l1.38,-1.19l1.0,-0.18l2.28,0.67l2.26,-0.53l1.52,-3.64l1.01,-0.99l0.78,-2.57l4.1,0.3l-1.11,1.77l0.02,0.46l1.7,2.2l-0.23,1.39l2.07,1.71l-2.33,0.42l-0.88,1.9l0.1,2.05l-2.4,1.9l-0.06,2.45l-0.7,2.79ZM692.58,302.03l0.35,0.26l4.8,0.25l0.78,-0.97l4.17,1.09l1.13,1.68l3.69,0.45l2.13,1.04l-1.8,0.6l-2.77,-0.99l-4.8,-0.12l-5.24,-1.41l-1.84,-0.25l-1.11,0.3l-4.26,-0.97l-0.7,-1.14l-1.59,-0.13l1.18,-1.65l2.74,0.13l2.87,1.13l0.26,0.68ZM685.53,299.17l-2.22,0.04l-2.06,-2.03l-3.15,-2.01l-2.93,-3.51l-3.11,-5.33l-2.2,-2.12l-1.64,-4.06l-2.32,-1.69l-1.27,-2.07l-1.96,-1.5l-2.51,-2.65l-0.11,-0.66l4.81,0.53l2.15,2.38l3.31,2.74l2.35,2.66l2.7,0.17l1.95,1.59l1.54,2.17l1.59,0.95l-0.84,1.71l0.15,0.52l1.44,0.87l0.79,0.1l0.4,1.58l0.87,1.4l1.96,0.39l1.0,1.31l-0.6,3.01l-0.09,3.5Z`,name:`Indonesia`},UA:{path:`M492.5,162.44l1.28,-2.49l1.82,0.19l0.66,-0.23l0.09,-0.71l-0.25,-0.75l-0.79,-0.72l-0.33,-1.21l-0.86,-0.62l-0.02,-1.19l-1.13,-0.86l-1.15,-0.19l-2.04,-1.0l-1.66,0.32l-0.66,0.47l-0.92,-0.0l-0.84,0.78l-2.48,0.7l-1.18,-0.71l-3.07,-0.36l-0.89,0.43l-0.24,-0.55l-1.11,-0.7l0.35,-0.93l1.26,-1.02l-0.54,-1.23l2.04,-2.43l1.4,-0.62l0.25,-1.19l-1.04,-2.39l0.83,-0.13l1.28,-0.84l1.8,-0.07l2.47,0.26l2.86,0.81l1.88,0.06l0.86,0.44l1.04,-0.41l0.77,0.66l2.18,-0.15l0.92,0.3l0.52,-0.34l0.15,-1.53l0.56,-0.54l2.85,-0.05l0.84,-0.72l3.04,-0.18l1.23,1.46l-0.48,0.77l0.21,1.03l0.36,0.32l1.8,0.14l0.93,2.08l3.18,1.15l1.94,-0.45l1.67,1.49l1.4,-0.03l3.35,0.96l0.02,0.54l-0.96,1.59l0.47,1.97l-0.26,0.7l-2.36,0.28l-1.29,0.89l-0.23,1.38l-1.83,0.27l-1.58,0.97l-2.41,0.21l-2.16,1.17l-0.21,0.38l0.34,2.26l1.23,0.75l2.13,-0.08l-0.14,0.31l-2.65,0.53l-3.23,1.69l-0.87,-0.39l0.42,-1.1l-0.25,-0.52l-2.21,-0.73l2.35,-1.06l0.12,-0.65l-0.93,-0.82l-3.62,-0.74l-0.13,-0.89l-0.46,-0.34l-2.61,0.59l-0.91,1.69l-1.71,2.04l-0.86,-0.4l-1.62,0.27Z`,name:`Ukraine`},QA:{path:`M549.33,221.64l-0.76,-0.23l-0.14,-1.64l0.84,-1.29l0.47,0.52l0.04,1.34l-0.45,1.3Z`,name:`Qatar`},MZ:{path:`M508.58,318.75l-0.34,-2.57l0.51,-2.05l3.55,0.63l2.5,-0.38l1.02,-0.76l1.49,0.01l2.74,-0.98l1.66,-1.2l0.5,9.24l0.41,1.23l-0.68,1.67l-0.93,1.71l-1.5,1.5l-5.16,2.28l-2.78,2.73l-1.02,0.53l-1.71,1.8l-0.98,0.57l-0.35,2.41l1.16,1.94l0.49,2.17l0.43,0.31l-0.06,2.06l-0.39,1.17l0.5,0.72l-0.25,0.73l-0.92,0.83l-5.12,2.39l-1.22,1.36l0.21,1.13l0.58,0.39l-0.11,0.72l-1.22,-0.01l-0.73,-2.97l0.42,-3.09l-1.78,-5.37l2.49,-2.81l0.69,-1.89l0.44,-0.43l0.28,-1.53l-0.39,-0.93l0.59,-3.65l-0.01,-3.26l-1.49,-1.16l-1.2,-0.22l-1.74,-1.17l-1.92,0.01l-0.29,-2.08l7.06,-1.96l1.28,1.09l0.89,-0.1l0.67,0.44l0.1,0.73l-0.51,1.29l0.19,1.81l1.75,1.83l0.65,-0.13l0.71,-1.65l1.17,-0.86l-0.26,-3.47l-1.05,-1.85l-1.04,-0.94Z`,name:`Mozambique`}},height:440.70631074413296,width:900,projection:{type:`mill`,centralMeridian:11.5}});var gw=new Set,_w=e=>{let t=e(window.theme),n=new window.jsVectorMap(t);return gw.add({map:n,config:e}),Wl(typeof t.selector==`string`?document.querySelector(t.selector):t.selector),n};document.addEventListener(`adminkit:themechange`,({detail:e})=>{for(let{map:t,config:n}of gw){let{regionStyle:r,markerStyle:i}=n(e);if(r?.initial)for(let{element:e}of Object.values(t.regions))e.setStyle(r.initial);if(i?.initial)for(let{element:e}of Object.values(t._markers))e.setStyle(i.initial)}}),window.adminkit={...window.adminkit,vectorMap:_w}})();
|