/*! For license information please see 2.a8e70e99.chunk.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[2],[function(t,e,n){"use strict";t.exports=n(247)},function(t,e,n){t.exports=n(222)()},function(t,e,n){"use strict";t.exports=n(219)},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(10);function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e1?e-1:0),r=1;r0&&(r=k(n.width)/a||1),o>0&&(i=k(n.height)/o||1)}return{width:n.width/r,height:n.height/i,top:n.top/i,right:n.right/r,bottom:n.bottom/i,left:n.left/r,x:n.left/r,y:n.top/i}}function E(t){var e=g(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function M(t){return t?(t.nodeName||"").toLowerCase():null}function S(t){return((y(t)?t.ownerDocument:t.document)||window.document).documentElement}function C(t){return O(S(t)).left+E(t).scrollLeft}function T(t){return g(t).getComputedStyle(t)}function P(t){var e=T(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function j(t,e,n){void 0===n&&(n=!1);var r=b(e),i=b(e)&&function(t){var e=t.getBoundingClientRect(),n=k(e.width)/t.offsetWidth||1,r=k(e.height)/t.offsetHeight||1;return 1!==n||1!==r}(e),o=S(e),a=O(t,i),s={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&(("body"!==M(e)||P(o))&&(s=function(t){return t!==g(t)&&b(t)?{scrollLeft:(e=t).scrollLeft,scrollTop:e.scrollTop}:E(t);var e}(e)),b(e)?((u=O(e,!0)).x+=e.clientLeft,u.y+=e.clientTop):o&&(u.x=C(o))),{x:a.left+s.scrollLeft-u.x,y:a.top+s.scrollTop-u.y,width:a.width,height:a.height}}function N(t){var e=O(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function D(t){return"html"===M(t)?t:t.assignedSlot||t.parentNode||(_(t)?t.host:null)||S(t)}function L(t){return["html","body","#document"].indexOf(M(t))>=0?t.ownerDocument.body:b(t)&&P(t)?t:L(D(t))}function A(t,e){var n;void 0===e&&(e=[]);var r=L(t),i=r===(null==(n=t.ownerDocument)?void 0:n.body),o=g(r),a=i?[o].concat(o.visualViewport||[],P(r)?r:[]):r,s=e.concat(a);return i?s:s.concat(A(D(a)))}function R(t){return["table","td","th"].indexOf(M(t))>=0}function I(t){return b(t)&&"fixed"!==T(t).position?t.offsetParent:null}function z(t){for(var e=g(t),n=I(t);n&&R(n)&&"static"===T(n).position;)n=I(n);return n&&("html"===M(n)||"body"===M(n)&&"static"===T(n).position)?e:n||function(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&b(t)&&"fixed"===T(t).position)return null;for(var n=D(t);b(n)&&["html","body"].indexOf(M(n))<0;){var r=T(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||e&&"filter"===r.willChange||e&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(t)||e}var B="top",F="bottom",H="right",U="left",W="auto",V=[B,F,H,U],Y="start",q="end",Z="viewport",K="popper",Q=V.reduce((function(t,e){return t.concat([e+"-"+Y,e+"-"+q])}),[]),X=[].concat(V,[W]).reduce((function(t,e){return t.concat([e,e+"-"+Y,e+"-"+q])}),[]),G=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function $(t){var e=new Map,n=new Set,r=[];function i(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!n.has(t)){var r=e.get(t);r&&i(r)}})),r.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||i(t)})),r}function J(t){var e;return function(){return e||(e=new Promise((function(n){Promise.resolve().then((function(){e=void 0,n(t())}))}))),e}}var tt={placement:"bottom",modifiers:[],strategy:"absolute"};function et(){for(var t=arguments.length,e=new Array(t),n=0;n=0?"x":"y"}function st(t){var e,n=t.reference,r=t.element,i=t.placement,o=i?it(i):null,a=i?ot(i):null,s=n.x+n.width/2-r.width/2,u=n.y+n.height/2-r.height/2;switch(o){case B:e={x:s,y:n.y-r.height};break;case F:e={x:s,y:n.y+n.height};break;case H:e={x:n.x+n.width,y:u};break;case U:e={x:n.x-r.width,y:u};break;default:e={x:n.x,y:n.y}}var l=o?at(o):null;if(null!=l){var c="y"===l?"height":"width";switch(a){case Y:e[l]=e[l]-(n[c]/2-r[c]/2);break;case q:e[l]=e[l]+(n[c]/2-r[c]/2)}}return e}var ut={top:"auto",right:"auto",bottom:"auto",left:"auto"};function lt(t){var e,n=t.popper,r=t.popperRect,i=t.placement,o=t.variation,a=t.offsets,s=t.position,u=t.gpuAcceleration,l=t.adaptive,c=t.roundOffsets,f=t.isFixed,d=a.x,h=void 0===d?0:d,p=a.y,m=void 0===p?0:p,v="function"===typeof c?c({x:h,y:m}):{x:h,y:m};h=v.x,m=v.y;var y=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),_=U,w=B,x=window;if(l){var O=z(n),E="clientHeight",M="clientWidth";if(O===g(n)&&"static"!==T(O=S(n)).position&&"absolute"===s&&(E="scrollHeight",M="scrollWidth"),O=O,i===B||(i===U||i===H)&&o===q)w=F,m-=(f&&x.visualViewport?x.visualViewport.height:O[E])-r.height,m*=u?1:-1;if(i===U||(i===B||i===F)&&o===q)_=H,h-=(f&&x.visualViewport?x.visualViewport.width:O[M])-r.width,h*=u?1:-1}var C,P=Object.assign({position:s},l&&ut),j=!0===c?function(t){var e=t.x,n=t.y,r=window.devicePixelRatio||1;return{x:k(e*r)/r||0,y:k(n*r)/r||0}}({x:h,y:m}):{x:h,y:m};return h=j.x,m=j.y,u?Object.assign({},P,((C={})[w]=b?"0":"",C[_]=y?"0":"",C.transform=(x.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",C)):Object.assign({},P,((e={})[w]=b?m+"px":"",e[_]=y?h+"px":"",e.transform="",e))}var ct={left:"right",right:"left",bottom:"top",top:"bottom"};function ft(t){return t.replace(/left|right|bottom|top/g,(function(t){return ct[t]}))}var dt={start:"end",end:"start"};function ht(t){return t.replace(/start|end/g,(function(t){return dt[t]}))}function pt(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&_(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function mt(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function vt(t,e){return e===Z?mt(function(t){var e=g(t),n=S(t),r=e.visualViewport,i=n.clientWidth,o=n.clientHeight,a=0,s=0;return r&&(i=r.width,o=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:i,height:o,x:a+C(t),y:s}}(t)):y(e)?function(t){var e=O(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(e):mt(function(t){var e,n=S(t),r=E(t),i=null==(e=t.ownerDocument)?void 0:e.body,o=w(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=w(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+C(t),u=-r.scrollTop;return"rtl"===T(i||n).direction&&(s+=w(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:u}}(S(t)))}function gt(t,e,n){var r="clippingParents"===e?function(t){var e=A(D(t)),n=["absolute","fixed"].indexOf(T(t).position)>=0&&b(t)?z(t):t;return y(n)?e.filter((function(t){return y(t)&&pt(t,n)&&"body"!==M(t)})):[]}(t):[].concat(e),i=[].concat(r,[n]),o=i[0],a=i.reduce((function(e,n){var r=vt(t,n);return e.top=w(r.top,e.top),e.right=x(r.right,e.right),e.bottom=x(r.bottom,e.bottom),e.left=w(r.left,e.left),e}),vt(t,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function yt(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function bt(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function _t(t,e){void 0===e&&(e={});var n=e,r=n.placement,i=void 0===r?t.placement:r,o=n.boundary,a=void 0===o?"clippingParents":o,s=n.rootBoundary,u=void 0===s?Z:s,l=n.elementContext,c=void 0===l?K:l,f=n.altBoundary,d=void 0!==f&&f,h=n.padding,p=void 0===h?0:h,m=yt("number"!==typeof p?p:bt(p,V)),v=c===K?"reference":K,g=t.rects.popper,b=t.elements[d?v:c],_=gt(y(b)?b:b.contextElement||S(t.elements.popper),a,u),w=O(t.elements.reference),x=st({reference:w,element:g,strategy:"absolute",placement:i}),k=mt(Object.assign({},g,x)),E=c===K?k:w,M={top:_.top-E.top+m.top,bottom:E.bottom-_.bottom+m.bottom,left:_.left-E.left+m.left,right:E.right-_.right+m.right},C=t.modifiersData.offset;if(c===K&&C){var T=C[i];Object.keys(M).forEach((function(t){var e=[H,F].indexOf(t)>=0?1:-1,n=[B,F].indexOf(t)>=0?"y":"x";M[t]+=T[n]*e}))}return M}function wt(t,e,n){return w(t,x(e,n))}function xt(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function kt(t){return[B,H,F,U].some((function(e){return t[e]>=0}))}var Ot=nt({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,r=t.options,i=r.scroll,o=void 0===i||i,a=r.resize,s=void 0===a||a,u=g(e.elements.popper),l=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&l.forEach((function(t){t.addEventListener("scroll",n.update,rt)})),s&&u.addEventListener("resize",n.update,rt),function(){o&&l.forEach((function(t){t.removeEventListener("scroll",n.update,rt)})),s&&u.removeEventListener("resize",n.update,rt)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=st({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,u=void 0===s||s,l={placement:it(e.placement),variation:ot(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,lt(Object.assign({},l,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:u})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,lt(Object.assign({},l,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},r=e.attributes[t]||{},i=e.elements[t];b(i)&&M(i)&&(Object.assign(i.style,n),Object.keys(r).forEach((function(t){var e=r[t];!1===e?i.removeAttribute(t):i.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var r=e.elements[t],i=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});b(r)&&M(r)&&(Object.assign(r.style,o),Object.keys(i).forEach((function(t){r.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,r=t.name,i=n.offset,o=void 0===i?[0,0]:i,a=X.reduce((function(t,n){return t[n]=function(t,e,n){var r=it(t),i=[U,B].indexOf(r)>=0?-1:1,o="function"===typeof n?n(Object.assign({},e,{placement:t})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[U,H].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,e.rects,o),t}),{}),s=a[e.placement],u=s.x,l=s.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=u,e.modifiersData.popperOffsets.y+=l),e.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0===a||a,u=n.fallbackPlacements,l=n.padding,c=n.boundary,f=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,p=void 0===h||h,m=n.allowedAutoPlacements,v=e.options.placement,g=it(v),y=u||(g===v||!p?[ft(v)]:function(t){if(it(t)===W)return[];var e=ft(t);return[ht(t),e,ht(e)]}(v)),b=[v].concat(y).reduce((function(t,n){return t.concat(it(n)===W?function(t,e){void 0===e&&(e={});var n=e,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,u=n.allowedAutoPlacements,l=void 0===u?X:u,c=ot(r),f=c?s?Q:Q.filter((function(t){return ot(t)===c})):V,d=f.filter((function(t){return l.indexOf(t)>=0}));0===d.length&&(d=f);var h=d.reduce((function(e,n){return e[n]=_t(t,{placement:n,boundary:i,rootBoundary:o,padding:a})[it(n)],e}),{});return Object.keys(h).sort((function(t,e){return h[t]-h[e]}))}(e,{placement:n,boundary:c,rootBoundary:f,padding:l,flipVariations:p,allowedAutoPlacements:m}):n)}),[]),_=e.rects.reference,w=e.rects.popper,x=new Map,k=!0,O=b[0],E=0;E=0,P=T?"width":"height",j=_t(e,{placement:M,boundary:c,rootBoundary:f,altBoundary:d,padding:l}),N=T?C?H:U:C?F:B;_[P]>w[P]&&(N=ft(N));var D=ft(N),L=[];if(o&&L.push(j[S]<=0),s&&L.push(j[N]<=0,j[D]<=0),L.every((function(t){return t}))){O=M,k=!1;break}x.set(M,L)}if(k)for(var A=function(t){var e=b.find((function(e){var n=x.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return O=e,"break"},R=p?3:1;R>0;R--){if("break"===A(R))break}e.placement!==O&&(e.modifiersData[r]._skip=!0,e.placement=O,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,r=t.name,i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0!==a&&a,u=n.boundary,l=n.rootBoundary,c=n.altBoundary,f=n.padding,d=n.tether,h=void 0===d||d,p=n.tetherOffset,m=void 0===p?0:p,v=_t(e,{boundary:u,rootBoundary:l,padding:f,altBoundary:c}),g=it(e.placement),y=ot(e.placement),b=!y,_=at(g),k="x"===_?"y":"x",O=e.modifiersData.popperOffsets,E=e.rects.reference,M=e.rects.popper,S="function"===typeof m?m(Object.assign({},e.rects,{placement:e.placement})):m,C="number"===typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),T=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,P={x:0,y:0};if(O){if(o){var j,D="y"===_?B:U,L="y"===_?F:H,A="y"===_?"height":"width",R=O[_],I=R+v[D],W=R-v[L],V=h?-M[A]/2:0,q=y===Y?E[A]:M[A],Z=y===Y?-M[A]:-E[A],K=e.elements.arrow,Q=h&&K?N(K):{width:0,height:0},X=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},G=X[D],$=X[L],J=wt(0,E[A],Q[A]),tt=b?E[A]/2-V-J-G-C.mainAxis:q-J-G-C.mainAxis,et=b?-E[A]/2+V+J+$+C.mainAxis:Z+J+$+C.mainAxis,nt=e.elements.arrow&&z(e.elements.arrow),rt=nt?"y"===_?nt.clientTop||0:nt.clientLeft||0:0,st=null!=(j=null==T?void 0:T[_])?j:0,ut=R+et-st,lt=wt(h?x(I,R+tt-st-rt):I,R,h?w(W,ut):W);O[_]=lt,P[_]=lt-R}if(s){var ct,ft="x"===_?B:U,dt="x"===_?F:H,ht=O[k],pt="y"===k?"height":"width",mt=ht+v[ft],vt=ht-v[dt],gt=-1!==[B,U].indexOf(g),yt=null!=(ct=null==T?void 0:T[k])?ct:0,bt=gt?mt:ht-E[pt]-M[pt]-yt+C.altAxis,xt=gt?ht+E[pt]+M[pt]-yt-C.altAxis:vt,kt=h&>?function(t,e,n){var r=wt(t,e,n);return r>n?n:r}(bt,ht,xt):wt(h?bt:mt,ht,h?xt:vt);O[k]=kt,P[k]=kt-ht}e.modifiersData[r]=P}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,r=t.name,i=t.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=it(n.placement),u=at(s),l=[U,H].indexOf(s)>=0?"height":"width";if(o&&a){var c=function(t,e){return yt("number"!==typeof(t="function"===typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:bt(t,V))}(i.padding,n),f=N(o),d="y"===u?B:U,h="y"===u?F:H,p=n.rects.reference[l]+n.rects.reference[u]-a[u]-n.rects.popper[l],m=a[u]-n.rects.reference[u],v=z(o),g=v?"y"===u?v.clientHeight||0:v.clientWidth||0:0,y=p/2-m/2,b=c[d],_=g-f[l]-c[h],w=g/2-f[l]/2+y,x=wt(b,w,_),k=u;n.modifiersData[r]=((e={})[k]=x,e.centerOffset=x-w,e)}},effect:function(t){var e=t.state,n=t.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=e.elements.popper.querySelector(r)))&&pt(e.elements.popper,r)&&(e.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,r=e.rects.reference,i=e.rects.popper,o=e.modifiersData.preventOverflow,a=_t(e,{elementContext:"reference"}),s=_t(e,{altBoundary:!0}),u=xt(a,r),l=xt(s,i,o),c=kt(u),f=kt(l);e.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:l,isReferenceHidden:c,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}}]}),Et=n(183),Mt=n.n(Et),St=[],Ct=function(){},Tt=function(){return Promise.resolve(null)},Pt=[];function jt(t){var e=t.placement,n=void 0===e?"bottom":e,i=t.strategy,o=void 0===i?"absolute":i,a=t.modifiers,s=void 0===a?Pt:a,u=t.referenceElement,c=t.onFirstUpdate,f=t.innerRef,h=t.children,g=r.useContext(l),y=r.useState(null),b=y[0],_=y[1],w=r.useState(null),x=w[0],k=w[1];r.useEffect((function(){p(f,b)}),[f,b]);var O=r.useMemo((function(){return{placement:n,strategy:o,onFirstUpdate:c,modifiers:[].concat(s,[{name:"arrow",enabled:null!=x,options:{element:x}}])}}),[n,o,c,s,x]),E=function(t,e,n){void 0===n&&(n={});var i=r.useRef(null),o={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||St},a=r.useState({styles:{popper:{position:o.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=a[0],u=a[1],l=r.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(t){var e=t.state,n=Object.keys(e.elements);u({styles:m(n.map((function(t){return[t,e.styles[t]||{}]}))),attributes:m(n.map((function(t){return[t,e.attributes[t]]})))})},requires:["computeStyles"]}}),[]),c=r.useMemo((function(){var t={onFirstUpdate:o.onFirstUpdate,placement:o.placement,strategy:o.strategy,modifiers:[].concat(o.modifiers,[l,{name:"applyStyles",enabled:!1}])};return Mt()(i.current,t)?i.current||t:(i.current=t,t)}),[o.onFirstUpdate,o.placement,o.strategy,o.modifiers,l]),f=r.useRef();return v((function(){f.current&&f.current.setOptions(c)}),[c]),v((function(){if(null!=t&&null!=e){var r=(n.createPopper||Ot)(t,e,c);return f.current=r,function(){r.destroy(),f.current=null}}}),[t,e,n.createPopper]),{state:f.current?f.current.state:null,styles:s.styles,attributes:s.attributes,update:f.current?f.current.update:null,forceUpdate:f.current?f.current.forceUpdate:null}}(u||g,b,O),M=E.state,S=E.styles,C=E.forceUpdate,T=E.update,P=r.useMemo((function(){return{ref:_,style:S.popper,placement:M?M.placement:n,hasPopperEscaped:M&&M.modifiersData.hide?M.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:M&&M.modifiersData.hide?M.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:S.arrow,ref:k},forceUpdate:C||Ct,update:T||Tt}}),[_,k,n,M,S,T,C]);return d(h)(P)}var Nt=n(98),Dt=n.n(Nt);function Lt(t){var e=t.children,n=t.innerRef,i=r.useContext(c),o=r.useCallback((function(t){p(n,t),h(i,t)}),[n,i]);return r.useEffect((function(){return function(){return p(n,null)}})),r.useEffect((function(){Dt()(Boolean(i),"`Reference` should not be used outside of a `Manager` component.")}),[i]),d(e)({ref:o})}var At=n(42),Rt=n.n(At),It=n(62);function zt(t,e){return(zt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var Bt=!1,Ft=i.a.createContext(null),Ht="unmounted",Ut="exited",Wt="entering",Vt="entered",Yt="exiting",qt=function(t){var e,n;function r(e,n){var r;r=t.call(this,e,n)||this;var i,o=n&&!n.isMounting?e.enter:e.appear;return r.appearStatus=null,e.in?o?(i=Ut,r.appearStatus=Wt):i=Vt:i=e.unmountOnExit||e.mountOnEnter?Ht:Ut,r.state={status:i},r.nextCallback=null,r}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,zt(e,n),r.getDerivedStateFromProps=function(t,e){return t.in&&e.status===Ht?{status:Ut}:null};var o=r.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(t){var e=null;if(t!==this.props){var n=this.state.status;this.props.in?n!==Wt&&n!==Vt&&(e=Wt):n!==Wt&&n!==Vt||(e=Yt)}this.updateStatus(!1,e)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var t,e,n,r=this.props.timeout;return t=e=n=r,null!=r&&"number"!==typeof r&&(t=r.exit,e=r.enter,n=void 0!==r.appear?r.appear:e),{exit:t,enter:e,appear:n}},o.updateStatus=function(t,e){void 0===t&&(t=!1),null!==e?(this.cancelNextCallback(),e===Wt?this.performEnter(t):this.performExit()):this.props.unmountOnExit&&this.state.status===Ut&&this.setState({status:Ht})},o.performEnter=function(t){var e=this,n=this.props.enter,r=this.context?this.context.isMounting:t,i=this.props.nodeRef?[r]:[Rt.a.findDOMNode(this),r],o=i[0],a=i[1],s=this.getTimeouts(),u=r?s.appear:s.enter;!t&&!n||Bt?this.safeSetState({status:Vt},(function(){e.props.onEntered(o)})):(this.props.onEnter(o,a),this.safeSetState({status:Wt},(function(){e.props.onEntering(o,a),e.onTransitionEnd(u,(function(){e.safeSetState({status:Vt},(function(){e.props.onEntered(o,a)}))}))})))},o.performExit=function(){var t=this,e=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:Rt.a.findDOMNode(this);e&&!Bt?(this.props.onExit(r),this.safeSetState({status:Yt},(function(){t.props.onExiting(r),t.onTransitionEnd(n.exit,(function(){t.safeSetState({status:Ut},(function(){t.props.onExited(r)}))}))}))):this.safeSetState({status:Ut},(function(){t.props.onExited(r)}))},o.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},o.setNextCallback=function(t){var e=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,e.nextCallback=null,t(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},o.onTransitionEnd=function(t,e){this.setNextCallback(e);var n=this.props.nodeRef?this.props.nodeRef.current:Rt.a.findDOMNode(this),r=null==t&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],a=i[1];this.props.addEndListener(o,a)}null!=t&&setTimeout(this.nextCallback,t)}else setTimeout(this.nextCallback,0)},o.render=function(){var t=this.state.status;if(t===Ht)return null;var e=this.props,n=e.children,r=(e.in,e.mountOnEnter,e.unmountOnExit,e.appear,e.enter,e.exit,e.timeout,e.addEndListener,e.onEnter,e.onEntering,e.onEntered,e.onExit,e.onExiting,e.onExited,e.nodeRef,Object(It.a)(e,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return i.a.createElement(Ft.Provider,{value:null},"function"===typeof n?n(t,r):i.a.cloneElement(i.a.Children.only(n),r))},r}(i.a.Component);function Zt(){}qt.contextType=Ft,qt.propTypes={},qt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Zt,onEntering:Zt,onEntered:Zt,onExit:Zt,onExiting:Zt,onExited:Zt},qt.UNMOUNTED=Ht,qt.EXITED=Ut,qt.ENTERING=Wt,qt.ENTERED=Vt,qt.EXITING=Yt;var Kt,Qt=qt;function Xt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Gt(t){for(var e=1;e=0||(i[n]=t[n]);return i}function re(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ie(){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e}function oe(t){document.body.style.paddingRight=t>0?t+"px":null}function ae(){return document.body.clientWidth0;)o[n=r[i-=1]]=t[n];return o}var de={};function he(t){de[t]||("undefined"!==typeof console&&console.error(t),de[t]=!0)}function pe(t,e){return function(n,r,i){return null!==n[r]&&"undefined"!==typeof n[r]&&he('"'+r+'" property of "'+i+'" has been deprecated.\n'+e),t.apply(void 0,[n,r,i].concat([].slice.call(arguments,3)))}}var me="object"===typeof window&&window.Element||function(){};function ve(t,e,n){if(!(t[e]instanceof me))return new Error("Invalid prop `"+e+"` supplied to `"+n+"`. Expected prop to be an instance of Element. Validation failed.")}var ge=a.a.oneOfType([a.a.string,a.a.func,ve,a.a.shape({current:a.a.any})]),ye=a.a.oneOfType([a.a.func,a.a.string,a.a.shape({$$typeof:a.a.symbol,render:a.a.func}),a.a.arrayOf(a.a.oneOfType([a.a.func,a.a.string,a.a.shape({$$typeof:a.a.symbol,render:a.a.func})]))]),be={Fade:150,Collapse:350,Modal:300,Carousel:600,Offcanvas:300},_e=["in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],we={ENTERING:"entering",ENTERED:"entered",EXITING:"exiting",EXITED:"exited"},xe={esc:27,space:32,enter:13,tab:9,up:38,down:40,home:36,end:35,n:78,p:80},ke=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Oe=!("undefined"===typeof window||!window.document||!window.document.createElement);function Ee(t){return!(!t||"object"!==typeof t)&&"current"in t}function Me(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}function Se(t){var e=typeof t;if("number"===e)return t;if("symbol"===e||"object"===e&&"[object Symbol]"===Me(t))return NaN;if(Ce(t)){var n="function"===typeof t.valueOf?t.valueOf():t;t=Ce(n)?""+n:n}if("string"!==e)return 0===t?t:+t;t=t.replace(/^\s+|\s+$/g,"");var r=/^0b[01]+$/i.test(t);return r||/^0o[0-7]+$/i.test(t)?parseInt(t.slice(2),r?2:8):/^[-+]0x[0-9a-f]+$/i.test(t)?NaN:+t}function Ce(t){var e=typeof t;return null!=t&&("object"===e||"function"===e)}function Te(t){if(!Ce(t))return!1;var e=Me(t);return"[object Function]"===e||"[object AsyncFunction]"===e||"[object GeneratorFunction]"===e||"[object Proxy]"===e}function Pe(t){if(Ee(t))return t.current;if(Te(t))return t();if("string"===typeof t&&Oe){var e=document.querySelectorAll(t);if(e.length||(e=document.querySelectorAll("#"+t)),!e.length)throw new Error("The target '"+t+"' could not be identified in the dom, tip: check spelling");return e}return t}function je(t){return null!==t&&(Array.isArray(t)||Oe&&"number"===typeof t.length)}function Ne(t,e){var n=Pe(t);return e?je(n)?n:null===n?[]:[n]:je(n)?n[0]:n}var De=["touchstart","click"];function Le(t,e,n,r){var i=t;je(i)||(i=[i]);var o=n;if("string"===typeof o&&(o=o.split(/\s+/)),!je(i)||"function"!==typeof e||!Array.isArray(o))throw new Error("\n The first argument of this function must be DOM node or an array on DOM nodes or NodeList.\n The second must be a function.\n The third is a string or an array of strings that represents DOM events\n ");return Array.prototype.forEach.call(o,(function(t){Array.prototype.forEach.call(i,(function(n){n.addEventListener(t,e,r)}))})),function(){Array.prototype.forEach.call(o,(function(t){Array.prototype.forEach.call(i,(function(n){n.removeEventListener(t,e,r)}))}))}}var Ae=["a[href]","area[href]","input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","object","embed","[tabindex]:not(.modal)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'],Re=["className","cssModule","fluid","tag"],Ie={tag:ye,fluid:a.a.oneOfType([a.a.bool,a.a.string]),className:a.a.string,cssModule:a.a.object},ze=function(t){var e=t.className,n=t.cssModule,r=t.fluid,o=t.tag,a=ne(t,Re),s="container";!0===r?s="container-fluid":r&&(s="container-"+r);var l=le(u()(e,s),n);return i.a.createElement(o,Jt({},a,{className:l}))};ze.propTypes=Ie,ze.defaultProps={tag:"div"};var Be=["className","cssModule","noGutters","tag","form","widths"],Fe=a.a.oneOfType([a.a.number,a.a.string]),He={tag:ye,noGutters:pe(a.a.bool,"Please use Bootstrap 5 gutter utility classes. https://getbootstrap.com/docs/5.0/layout/gutters/"),className:a.a.string,cssModule:a.a.object,form:a.a.bool,xs:Fe,sm:Fe,md:Fe,lg:Fe,xl:Fe,xxl:Fe},Ue={tag:"div",widths:["xs","sm","md","lg","xl","xxl"]},We=function(t){var e=t.className,n=t.cssModule,r=t.noGutters,o=t.tag,a=t.form,s=t.widths,l=ne(t,Be),c=[];s.forEach((function(e,n){var r=t[e];if(delete l[e],r){var i=!n;c.push(i?"row-cols-"+r:"row-cols-"+e+"-"+r)}}));var f=le(u()(e,r?"gx-0":null,a?"form-row":"row",c),n);return i.a.createElement(o,Jt({},l,{className:f}))};We.propTypes=He,We.defaultProps=Ue;var Ve=We,Ye=["className","cssModule","widths","tag"],qe=["xs","sm","md","lg","xl","xxl"],Ze=a.a.oneOfType([a.a.number,a.a.string]),Ke=a.a.oneOfType([a.a.bool,a.a.number,a.a.string,a.a.shape({size:a.a.oneOfType([a.a.bool,a.a.number,a.a.string]),order:Ze,offset:Ze})]),Qe={tag:ye,xs:Ke,sm:Ke,md:Ke,lg:Ke,xl:Ke,xxl:Ke,className:a.a.string,cssModule:a.a.object,widths:a.a.array},Xe={tag:"div",widths:qe},Ge=function(t,e,n){return!0===n||""===n?t?"col":"col-"+e:"auto"===n?t?"col-auto":"col-"+e+"-auto":t?"col-"+n:"col-"+e+"-"+n},$e=function(t,e,n){void 0===n&&(n=qe);var r=[];return n.forEach((function(n,i){var o=t[n];if(delete t[n],o||""===o){var a=!i;if(Ce(o)){var s,l=a?"-":"-"+n+"-",c=Ge(a,n,o.size);r.push(le(u()(((s={})[c]=o.size||""===o.size,s["order"+l+o.order]=o.order||0===o.order,s["offset"+l+o.offset]=o.offset||0===o.offset,s)),e))}else{var f=Ge(a,n,o);r.push(f)}}})),{colClasses:r,attributes:t}},Je=function(t){var e=t.className,n=t.cssModule,r=t.widths,o=t.tag,a=ne(t,Ye),s=$e(a,n,r),l=s.attributes,c=s.colClasses;c.length||c.push("col");var f=le(u()(e,c),n);return i.a.createElement(o,Jt({},l,{className:f}))};Je.propTypes=Qe,Je.defaultProps=Xe;var tn=Je,en=["expand","className","cssModule","light","dark","fixed","sticky","color","container","tag","children"],nn={light:a.a.bool,dark:a.a.bool,full:a.a.bool,fixed:a.a.string,sticky:a.a.string,color:a.a.string,role:a.a.string,tag:ye,container:a.a.oneOfType([a.a.bool,a.a.string]),className:a.a.string,cssModule:a.a.object,expand:a.a.oneOfType([a.a.bool,a.a.string]),children:a.a.node},rn=function(t){var e,n=t.expand,r=t.className,o=t.cssModule,a=t.light,s=t.dark,l=t.fixed,c=t.sticky,f=t.color,d=t.container,h=t.tag,p=t.children,m=ne(t,en),v=le(u()(r,"navbar",function(t){return!1!==t&&(!0===t||"xs"===t?"navbar-expand":"navbar-expand-"+t)}(n),((e={"navbar-light":a,"navbar-dark":s})["bg-"+f]=f,e["fixed-"+l]=l,e["sticky-"+c]=c,e)),o),g=d&&!0===d?"container":"container-"+d;return i.a.createElement(h,Jt({},m,{className:v}),d?i.a.createElement("div",{className:g},p):p)};rn.propTypes=nn,rn.defaultProps={tag:"nav",expand:!1,container:"fluid"};var on=rn,an=["className","cssModule","tag"],sn={tag:ye,className:a.a.string,cssModule:a.a.object},un=function(t){var e=t.className,n=t.cssModule,r=t.tag,o=ne(t,an),a=le(u()(e,"navbar-brand"),n);return i.a.createElement(r,Jt({},o,{className:a}))};un.propTypes=sn,un.defaultProps={tag:"a"};var ln=un,cn=["className","cssModule","active","tag"],fn={tag:ye,className:a.a.string,cssModule:a.a.object},dn=function(t){var e=t.className,n=t.cssModule,r=t.tag,o=ne(t,cn),a=le(u()(e,"navbar-text"),n);return i.a.createElement(r,Jt({},o,{className:a}))};dn.propTypes=fn,dn.defaultProps={tag:"span"};var hn=["className","cssModule","children","tag"],pn={tag:ye,type:a.a.string,className:a.a.string,cssModule:a.a.object,children:a.a.node},mn=function(t){var e=t.className,n=t.cssModule,r=t.children,o=t.tag,a=ne(t,hn),s=le(u()(e,"navbar-toggler"),n);return i.a.createElement(o,Jt({"aria-label":"Toggle navigation"},a,{className:s}),r||i.a.createElement("span",{className:le("navbar-toggler-icon",n)}))};mn.propTypes=pn,mn.defaultProps={tag:"button",type:"button"};var vn=mn,gn=["className","cssModule","tabs","pills","vertical","horizontal","justified","fill","navbar","card","tag"],yn={tabs:a.a.bool,pills:a.a.bool,vertical:a.a.oneOfType([a.a.bool,a.a.string]),horizontal:a.a.string,justified:a.a.bool,fill:a.a.bool,navbar:a.a.bool,card:a.a.bool,tag:ye,className:a.a.string,cssModule:a.a.object},bn=function(t){var e=t.className,n=t.cssModule,r=t.tabs,o=t.pills,a=t.vertical,s=t.horizontal,l=t.justified,c=t.fill,f=t.navbar,d=t.card,h=t.tag,p=ne(t,gn),m=le(u()(e,f?"navbar-nav":"nav",!!s&&"justify-content-"+s,function(t){return!1!==t&&(!0===t||"xs"===t?"flex-column":"flex-"+t+"-column")}(a),{"nav-tabs":r,"card-header-tabs":d&&r,"nav-pills":o,"card-header-pills":d&&o,"nav-justified":l,"nav-fill":c}),n);return i.a.createElement(h,Jt({},p,{className:m}))};bn.propTypes=yn,bn.defaultProps={tag:"ul",vertical:!1};var _n=bn,wn=["className","cssModule","active","tag"],xn={tag:ye,active:a.a.bool,className:a.a.string,cssModule:a.a.object},kn=function(t){var e=t.className,n=t.cssModule,r=t.active,o=t.tag,a=ne(t,wn),s=le(u()(e,"nav-item",!!r&&"active"),n);return i.a.createElement(o,Jt({},a,{className:s}))};kn.propTypes=xn,kn.defaultProps={tag:"li"};var On=kn,En=["className","cssModule","active","tag","innerRef"],Mn={tag:ye,innerRef:a.a.oneOfType([a.a.object,a.a.func,a.a.string]),disabled:a.a.bool,active:a.a.bool,className:a.a.string,cssModule:a.a.object,onClick:a.a.func,href:a.a.any},Sn=function(t){function e(e){var n;return(n=t.call(this,e)||this).onClick=n.onClick.bind(re(n)),n}te(e,t);var n=e.prototype;return n.onClick=function(t){this.props.disabled?t.preventDefault():("#"===this.props.href&&t.preventDefault(),this.props.onClick&&this.props.onClick(t))},n.render=function(){var t=this.props,e=t.className,n=t.cssModule,r=t.active,o=t.tag,a=t.innerRef,s=ne(t,En),l=le(u()(e,"nav-link",{disabled:s.disabled,active:r}),n);return i.a.createElement(o,Jt({},s,{ref:a,onClick:this.onClick,className:l}))},e}(i.a.Component);Sn.propTypes=Mn,Sn.defaultProps={tag:"a"};var Cn=Sn,Tn=["className","listClassName","cssModule","children","tag","listTag","aria-label"],Pn={tag:ye,listTag:ye,className:a.a.string,listClassName:a.a.string,cssModule:a.a.object,children:a.a.node,"aria-label":a.a.string},jn=function(t){var e=t.className,n=t.listClassName,r=t.cssModule,o=t.children,a=t.tag,s=t.listTag,l=t["aria-label"],c=ne(t,Tn),f=le(u()(e),r),d=le(u()("breadcrumb",n),r);return i.a.createElement(a,Jt({},c,{className:f,"aria-label":l}),i.a.createElement(s,{className:d},o))};jn.propTypes=Pn,jn.defaultProps={tag:"nav",listTag:"ol","aria-label":"breadcrumb"};var Nn=["className","cssModule","active","tag"],Dn={tag:ye,active:a.a.bool,className:a.a.string,cssModule:a.a.object},Ln=function(t){var e=t.className,n=t.cssModule,r=t.active,o=t.tag,a=ne(t,Nn),s=le(u()(e,!!r&&"active","breadcrumb-item"),n);return i.a.createElement(o,Jt({},a,{className:s,"aria-current":r?"page":void 0}))};Ln.propTypes=Dn,Ln.defaultProps={tag:"li"};var An=["active","aria-label","block","className","close","cssModule","color","outline","size","tag","innerRef"],Rn={active:a.a.bool,"aria-label":a.a.string,block:a.a.bool,color:a.a.string,disabled:a.a.bool,outline:a.a.bool,tag:ye,innerRef:a.a.oneOfType([a.a.object,a.a.func,a.a.string]),onClick:a.a.func,size:a.a.string,children:a.a.node,className:a.a.string,cssModule:a.a.object,close:a.a.bool},In=function(t){function e(e){var n;return(n=t.call(this,e)||this).onClick=n.onClick.bind(re(n)),n}te(e,t);var n=e.prototype;return n.onClick=function(t){if(!this.props.disabled)return this.props.onClick?this.props.onClick(t):void 0;t.preventDefault()},n.render=function(){var t=this.props,e=t.active,n=t["aria-label"],r=t.block,o=t.className,a=t.close,s=t.cssModule,l=t.color,c=t.outline,f=t.size,d=t.tag,h=t.innerRef,p=ne(t,An),m="btn"+(c?"-outline":"")+"-"+l,v=le(u()(o,a&&"btn-close",a||"btn",a||m,!!f&&"btn-"+f,!!r&&"d-block w-100",{active:e,disabled:this.props.disabled}),s);p.href&&"button"===d&&(d="a");var g=a?"Close":null;return i.a.createElement(d,Jt({type:"button"===d&&p.onClick?"button":void 0},p,{className:v,ref:h,onClick:this.onClick,"aria-label":n||g}))},e}(i.a.Component);In.propTypes=Rn,In.defaultProps={color:"secondary",tag:"button"};var zn=In,Bn=["className"],Fn={onClick:a.a.func,onBlur:a.a.func,onFocus:a.a.func,defaultValue:a.a.bool},Hn=function(t){function e(e){var n;return(n=t.call(this,e)||this).state={toggled:e.defaultValue,focus:!1},n.onBlur=n.onBlur.bind(re(n)),n.onFocus=n.onFocus.bind(re(n)),n.onClick=n.onClick.bind(re(n)),n}te(e,t);var n=e.prototype;return n.onBlur=function(t){this.props.onBlur&&this.props.onBlur(t),this.setState({focus:!1})},n.onFocus=function(t){this.props.onFocus&&this.props.onFocus(t),this.setState({focus:!0})},n.onClick=function(t){this.props.onClick&&this.props.onClick(t),this.setState((function(t){return{toggled:!t.toggled}}))},n.render=function(){var t=this.props,e=t.className,n=ne(t,Bn),r=le(u()(e,{focus:this.state.focus}),this.props.cssModule);return i.a.createElement(zn,Jt({active:this.state.toggled,onBlur:this.onBlur,onFocus:this.onFocus,onClick:this.onClick,className:r},n))},e}(i.a.Component);Hn.propTypes=Fn,Hn.defaultProps={defaultValue:!1};var Un=i.a.createContext({}),Wn=["className","cssModule","direction","isOpen","group","size","nav","setActiveFromChild","active","tag","menuRole"],Vn={a11y:a.a.bool,disabled:a.a.bool,direction:a.a.oneOf(["up","down","start","end","left","right"]),group:a.a.bool,isOpen:a.a.bool,nav:a.a.bool,active:a.a.bool,size:a.a.string,tag:ye,toggle:a.a.func,children:a.a.node,className:a.a.string,cssModule:a.a.object,inNavbar:a.a.bool,setActiveFromChild:a.a.bool,menuRole:a.a.oneOf(["listbox","menu"])},Yn=[xe.space,xe.enter,xe.up,xe.down,xe.end,xe.home],qn=function(t){function e(e){var n;return(n=t.call(this,e)||this).addEvents=n.addEvents.bind(re(n)),n.handleDocumentClick=n.handleDocumentClick.bind(re(n)),n.handleKeyDown=n.handleKeyDown.bind(re(n)),n.removeEvents=n.removeEvents.bind(re(n)),n.toggle=n.toggle.bind(re(n)),n.handleMenuRef=n.handleMenuRef.bind(re(n)),n.containerRef=i.a.createRef(),n.menuRef=i.a.createRef(),n}te(e,t);var n=e.prototype;return n.handleMenuRef=function(t){this.menuRef.current=t},n.getContextValue=function(){return{toggle:this.toggle,isOpen:this.props.isOpen,direction:"down"===this.props.direction&&this.props.dropup?"up":this.props.direction,inNavbar:this.props.inNavbar,disabled:this.props.disabled,onMenuRef:this.handleMenuRef,menuRole:this.props.menuRole}},n.componentDidMount=function(){this.handleProps()},n.componentDidUpdate=function(t){this.props.isOpen!==t.isOpen&&this.handleProps()},n.componentWillUnmount=function(){this.removeEvents()},n.getContainer=function(){return this.containerRef.current},n.getMenu=function(){return this.menuRef.current},n.getMenuCtrl=function(){return this._$menuCtrl||(this._$menuCtrl=this.getContainer().querySelector("[aria-expanded]")),this._$menuCtrl},n.getItemType=function(){return"listbox"===this.context.menuRole?"option":"menuitem"},n.getMenuItems=function(){var t=this.getMenu()||this.getContainer();return[].slice.call(t.querySelectorAll('[role="'+this.getItemType()+'"]'))},n.addEvents=function(){var t=this;["click","touchstart","keyup"].forEach((function(e){return document.addEventListener(e,t.handleDocumentClick,!0)}))},n.removeEvents=function(){var t=this;["click","touchstart","keyup"].forEach((function(e){return document.removeEventListener(e,t.handleDocumentClick,!0)}))},n.handleDocumentClick=function(t){if(!t||3!==t.which&&("keyup"!==t.type||t.which===xe.tab)){var e=this.getContainer(),n=this.getMenu(),r=e.contains(t.target)&&e!==t.target,i=e.classList.contains("input-group")&&e.classList.contains("dropdown")&&"INPUT"===t.target.tagName,o=n&&n.contains(t.target)&&n!==t.target;(!(r&&!i||o)||"keyup"===t.type&&t.which!==xe.tab)&&this.toggle(t)}},n.handleKeyDown=function(t){var e=this,n="menuitem"===t.target.getAttribute("role")||"option"===t.target.getAttribute("role"),r=this.getMenuCtrl()===t.target,i=xe.tab===t.which;if(!(/input|textarea/i.test(t.target.tagName)||i&&!this.props.a11y||i&&!n&&!r)&&((-1!==Yn.indexOf(t.which)||t.which>=48&&t.which<=90)&&t.preventDefault(),!this.props.disabled&&(r&&([xe.space,xe.enter,xe.up,xe.down].indexOf(t.which)>-1?(this.props.isOpen||this.toggle(t),setTimeout((function(){return e.getMenuItems()[0].focus()}))):this.props.isOpen&&i?(t.preventDefault(),this.getMenuItems()[0].focus()):this.props.isOpen&&t.which===xe.esc&&this.toggle(t)),this.props.isOpen&&n)))if([xe.tab,xe.esc].indexOf(t.which)>-1)this.toggle(t),this.getMenuCtrl().focus();else if([xe.space,xe.enter].indexOf(t.which)>-1)t.target.click(),this.getMenuCtrl().focus();else if([xe.down,xe.up].indexOf(t.which)>-1||[xe.n,xe.p].indexOf(t.which)>-1&&t.ctrlKey){var o=this.getMenuItems(),a=o.indexOf(t.target);xe.up===t.which||xe.p===t.which&&t.ctrlKey?a=0!==a?a-1:o.length-1:(xe.down===t.which||xe.n===t.which&&t.ctrlKey)&&(a=a===o.length-1?0:a+1),o[a].focus()}else if(xe.end===t.which){var s=this.getMenuItems();s[s.length-1].focus()}else if(xe.home===t.which){this.getMenuItems()[0].focus()}else if(t.which>=48&&t.which<=90)for(var u=this.getMenuItems(),l=String.fromCharCode(t.which).toLowerCase(),c=0;c-1?this.getRole():void 0,n=ce(this.props,["toggle"]),r=n.className,o=n.cssModule,a=n.divider,s=n.tag,l=n.header,c=n.active,f=n.text,d=ne(n,rr),h=le(u()(r,{disabled:d.disabled,"dropdown-item":!a&&!l&&!f,active:c,"dropdown-header":l,"dropdown-divider":a,"dropdown-item-text":f}),o);return"button"===s&&(l?s="h6":a?s="div":d.href?s="a":f&&(s="span")),i.a.createElement(s,Jt({type:"button"===s&&(d.onClick||this.props.toggle)?"button":void 0},d,{tabIndex:t,role:e,className:h,onClick:this.onClick}))},e}(i.a.Component);or.propTypes=ir,or.defaultProps={tag:"button",toggle:!0},or.contextType=Un;var ar=or,sr=["className","cssModule","dark","end","right","tag","flip","modifiers","persist","strategy","container"],ur={tag:ye,children:a.a.node.isRequired,dark:a.a.bool,end:a.a.bool,flip:a.a.bool,modifiers:a.a.array,className:a.a.string,cssModule:a.a.object,persist:a.a.bool,strategy:a.a.string,container:ge,right:pe(a.a.bool,'Please use "end" instead.')},lr={up:"top",left:"left",right:"right",start:"left",end:"right",down:"bottom"},cr=function(t){function e(){return t.apply(this,arguments)||this}te(e,t);var n=e.prototype;return n.getRole=function(){return"listbox"===this.context.menuRole?"listbox":"menu"},n.render=function(){var t=this,e=this.props,n=e.className,r=e.cssModule,o=e.dark,a=e.end,s=e.right,l=e.tag,c=e.flip,f=e.modifiers,d=e.persist,h=e.strategy,p=e.container,m=ne(e,sr),v=le(u()(n,"dropdown-menu",{"dropdown-menu-dark":o,"dropdown-menu-end":a||s,show:this.context.isOpen}),r),g=l;if(d||this.context.isOpen&&!this.context.inNavbar){var y=(lr[this.context.direction]||"bottom")+"-"+(a||s?"end":"start"),b=[].concat(f,[{name:"flip",enabled:!!c}]),_=i.a.createElement(jt,{placement:y,modifiers:b,strategy:h},(function(e){var n=e.ref,r=e.style,o=e.placement,a=Gt(Gt({},t.props.style),r);return i.a.createElement(g,Jt({tabIndex:"-1",role:t.getRole(),ref:function(e){n(e);var r=t.context.onMenuRef;r&&r(e)}},m,{style:a,"aria-hidden":!t.context.isOpen,className:v,"data-popper-placement":o}))}));return p?Rt.a.createPortal(_,Ne(p)):_}return i.a.createElement(g,Jt({tabIndex:"-1",role:this.getRole()},m,{"aria-hidden":!this.context.isOpen,className:v,"data-popper-placement":m.placement}))},e}(i.a.Component);cr.propTypes=ur,cr.defaultProps={tag:"div",flip:!0,modifiers:[]},cr.contextType=Un;var fr=cr,dr=["className","color","cssModule","caret","split","nav","tag","innerRef"],hr={caret:a.a.bool,color:a.a.string,children:a.a.node,className:a.a.string,cssModule:a.a.object,disabled:a.a.bool,onClick:a.a.func,"aria-haspopup":a.a.bool,split:a.a.bool,tag:ye,nav:a.a.bool},pr=function(t){function e(e){var n;return(n=t.call(this,e)||this).onClick=n.onClick.bind(re(n)),n}te(e,t);var n=e.prototype;return n.onClick=function(t){this.props.disabled||this.context.disabled?t.preventDefault():(this.props.nav&&!this.props.tag&&t.preventDefault(),this.props.onClick&&this.props.onClick(t),this.context.toggle(t))},n.getRole=function(){return this.context.menuRole||this.props["aria-haspopup"]},n.render=function(){var t,e=this,n=this.props,r=n.className,o=n.color,a=n.cssModule,s=n.caret,l=n.split,c=n.nav,f=n.tag,d=n.innerRef,h=ne(n,dr),p=h["aria-label"]||"Toggle Dropdown",m=le(u()(r,{"dropdown-toggle":s||l,"dropdown-toggle-split":l,"nav-link":c}),a),v="undefined"!==typeof h.children?h.children:i.a.createElement("span",{className:"visually-hidden"},p);return c&&!f?(t="a",h.href="#"):f?t=f:(t=zn,h.color=o,h.cssModule=a),this.context.inNavbar?i.a.createElement(t,Jt({},h,{className:m,onClick:this.onClick,"aria-expanded":this.context.isOpen,"aria-haspopup":this.getRole(),children:v})):i.a.createElement(Lt,{innerRef:d},(function(n){var r,o=n.ref;return i.a.createElement(t,Jt({},h,((r={})["string"===typeof t?"ref":"innerRef"]=o,r),{className:m,onClick:e.onClick,"aria-expanded":e.context.isOpen,"aria-haspopup":e.getRole(),children:v}))}))},e}(i.a.Component);pr.propTypes=hr,pr.defaultProps={color:"secondary","aria-haspopup":!0},pr.contextType=Un;var mr=pr,vr=["tag","baseClass","baseClassActive","className","cssModule","children","innerRef"],gr=Gt(Gt({},Qt.propTypes),{},{children:a.a.oneOfType([a.a.arrayOf(a.a.node),a.a.node]),tag:ye,baseClass:a.a.string,baseClassActive:a.a.string,className:a.a.string,cssModule:a.a.object,innerRef:a.a.oneOfType([a.a.object,a.a.string,a.a.func])}),yr=Gt(Gt({},Qt.defaultProps),{},{tag:"div",baseClass:"fade",baseClassActive:"show",timeout:be.Fade,appear:!0,enter:!0,exit:!0,in:!0});function br(t){var e=t.tag,n=t.baseClass,r=t.baseClassActive,o=t.className,a=t.cssModule,s=t.children,l=t.innerRef,c=ne(t,vr),f=fe(c,_e),d=ce(c,_e);return i.a.createElement(Qt,f,(function(t){var c="entered"===t,f=le(u()(o,n,c&&r),a);return i.a.createElement(e,Jt({className:f},d,{ref:l}),s)}))}br.propTypes=gr,br.defaultProps=yr;var _r=i.a.createContext({}),wr=["flush","open","toggle","className","cssModule","tag","innerRef"],xr={tag:ye,className:a.a.string,cssModule:a.a.object,innerRef:a.a.oneOfType([a.a.object,a.a.string,a.a.func]),children:a.a.node,flush:a.a.bool,open:a.a.oneOfType([a.a.array,a.a.string]).isRequired,toggle:a.a.func.isRequired},kr=function(t){var e=t.flush,n=t.open,o=t.toggle,a=t.className,s=t.cssModule,l=t.tag,c=t.innerRef,f=ne(t,wr),d=le(u()(a,"accordion",{"accordion-flush":e}),s),h=Object(r.useMemo)((function(){return{open:n,toggle:o}}));return i.a.createElement(_r.Provider,{value:h},i.a.createElement(l,Jt({},f,{className:d,ref:c})))};kr.propTypes=xr,kr.defaultProps={tag:"div"};var Or=kr,Er={tag:ye,className:a.a.string,cssModule:a.a.object,innerRef:a.a.oneOfType([a.a.object,a.a.string,a.a.func]),children:a.a.node,defaultOpen:a.a.oneOfType([a.a.array,a.a.string]),stayOpen:a.a.bool};Or.propTypes=Er,Or.defaultProps={tag:"div"};var Mr=["className","cssModule","tag","innerRef","children","targetId"],Sr={tag:ye,className:a.a.string,cssModule:a.a.object,innerRef:a.a.oneOfType([a.a.object,a.a.string,a.a.func]),children:a.a.node,targetId:a.a.string.isRequired},Cr=function(t){var e=t.className,n=t.cssModule,o=t.tag,a=t.innerRef,s=t.children,l=t.targetId,c=ne(t,Mr),f=Object(r.useContext)(_r),d=f.open,h=f.toggle,p=le(u()(e,"accordion-header"),n),m=le(u()("accordion-button",{collapsed:!(Array.isArray(d)?d.includes(l):d===l)}),n);return i.a.createElement(o,Jt({},c,{className:p,ref:a}),i.a.createElement("button",{type:"button",className:m,onClick:function(){return h(l)}},s))};Cr.propTypes=Sr,Cr.defaultProps={tag:"h2"};var Tr=["className","cssModule","tag","innerRef"],Pr={tag:ye,className:a.a.string,cssModule:a.a.object,innerRef:a.a.oneOfType([a.a.object,a.a.string,a.a.func]),children:a.a.node},jr=function(t){var e=t.className,n=t.cssModule,r=t.tag,o=t.innerRef,a=ne(t,Tr),s=le(u()(e,"accordion-item"),n);return i.a.createElement(r,Jt({},a,{className:s,ref:o}))};jr.propTypes=Pr,jr.defaultProps={tag:"div"};var Nr,Dr=["tag","horizontal","isOpen","className","navbar","cssModule","children","innerRef"],Lr=Gt(Gt({},Qt.propTypes),{},{horizontal:a.a.bool,isOpen:a.a.bool,children:a.a.oneOfType([a.a.arrayOf(a.a.node),a.a.node]),tag:ye,className:a.a.node,navbar:a.a.bool,cssModule:a.a.object,innerRef:a.a.oneOfType([a.a.func,a.a.string,a.a.object])}),Ar=Gt(Gt({},Qt.defaultProps),{},{horizontal:!1,isOpen:!1,appear:!1,enter:!0,exit:!0,tag:"div",timeout:be.Collapse}),Rr=((Nr={})[we.ENTERING]="collapsing",Nr[we.ENTERED]="collapse show",Nr[we.EXITING]="collapsing",Nr[we.EXITED]="collapse",Nr);var Ir=function(t){function e(e){var n;return(n=t.call(this,e)||this).state={dimension:null},["onEntering","onEntered","onExit","onExiting","onExited"].forEach((function(t){n[t]=n[t].bind(re(n))})),n}te(e,t);var n=e.prototype;return n.getDimension=function(t){return this.props.horizontal?t.scrollWidth:t.scrollHeight},n.onEntering=function(t,e){this.setState({dimension:this.getDimension(t)}),this.props.onEntering(t,e)},n.onEntered=function(t,e){this.setState({dimension:null}),this.props.onEntered(t,e)},n.onExit=function(t){this.setState({dimension:this.getDimension(t)}),this.props.onExit(t)},n.onExiting=function(t){this.getDimension(t),this.setState({dimension:0}),this.props.onExiting(t)},n.onExited=function(t){this.setState({dimension:null}),this.props.onExited(t)},n.render=function(){var t=this,e=this.props,n=e.tag,r=e.horizontal,o=e.isOpen,a=e.className,s=e.navbar,l=e.cssModule,c=e.children,f=ne(e,Dr),d=this.state.dimension,h=fe(f,_e),p=ce(f,_e);return i.a.createElement(Qt,Jt({},h,{in:o,onEntering:this.onEntering,onEntered:this.onEntered,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}),(function(e){var o,f=function(t){return Rr[t]||"collapse"}(e),h=le(u()(a,r&&"collapse-horizontal",f,s&&"navbar-collapse"),l),m=null===d?null:((o={})[r?"width":"height"]=d,o);return i.a.createElement(n,Jt({},p,{style:Gt(Gt({},p.style),m),className:h,ref:t.props.innerRef}),c)}))},e}(r.Component);Ir.propTypes=Lr,Ir.defaultProps=Ar;var zr=Ir,Br=["className","cssModule","tag","innerRef","children","accordionId"],Fr={tag:ye,className:a.a.string,cssModule:a.a.object,innerRef:a.a.oneOfType([a.a.object,a.a.string,a.a.func]),children:a.a.node,accordionId:a.a.string.isRequired},Hr=function(t){var e=t.className,n=t.cssModule,o=t.tag,a=t.innerRef,s=t.children,l=t.accordionId,c=ne(t,Br),f=Object(r.useContext)(_r).open,d=le(u()(e,"accordion-collapse"),n);return i.a.createElement(zr,Jt({},c,{className:d,ref:a,isOpen:Array.isArray(f)?f.includes(l):f===l}),i.a.createElement(o,{className:"accordion-body"},s))};Hr.propTypes=Fr,Hr.defaultProps={tag:"div"};var Ur=["className","cssModule","color","innerRef","pill","tag"],Wr={color:a.a.string,pill:a.a.bool,tag:ye,innerRef:a.a.oneOfType([a.a.object,a.a.func,a.a.string]),children:a.a.node,className:a.a.string,cssModule:a.a.object},Vr=function(t){var e=t.className,n=t.cssModule,r=t.color,o=t.innerRef,a=t.pill,s=t.tag,l=ne(t,Ur),c=le(u()(e,"badge","bg-"+r,!!a&&"rounded-pill"),n);return l.href&&"span"===s&&(s="a"),i.a.createElement(s,Jt({},l,{className:c,ref:o}))};Vr.propTypes=Wr,Vr.defaultProps={color:"secondary",pill:!1,tag:"span"};var Yr=["className","cssModule","color","body","inverse","outline","tag","innerRef"],qr={tag:ye,inverse:a.a.bool,color:a.a.string,body:a.a.bool,outline:a.a.bool,className:a.a.string,cssModule:a.a.object,innerRef:a.a.oneOfType([a.a.object,a.a.string,a.a.func])},Zr=function(t){var e=t.className,n=t.cssModule,r=t.color,o=t.body,a=t.inverse,s=t.outline,l=t.tag,c=t.innerRef,f=ne(t,Yr),d=le(u()(e,"card",!!a&&"text-white",!!o&&"card-body",!!r&&(s?"border":"bg")+"-"+r),n);return i.a.createElement(l,Jt({},f,{className:d,ref:c}))};Zr.propTypes=qr,Zr.defaultProps={tag:"div"};var Kr=Zr,Qr=["className","cssModule","tag"],Xr={tag:ye,className:a.a.string,cssModule:a.a.object},Gr=function(t){var e=t.className,n=t.cssModule,r=t.tag,o=ne(t,Qr),a=le(u()(e,"card-group"),n);return i.a.createElement(r,Jt({},o,{className:a}))};Gr.propTypes=Xr,Gr.defaultProps={tag:"div"};var $r=["className","cssModule","tag"],Jr={tag:ye,className:a.a.string,cssModule:a.a.object},ti=function(t){var e=t.className,n=t.cssModule,r=t.tag,o=ne(t,$r),a=le(u()(e,"card-deck"),n);return i.a.createElement(r,Jt({},o,{className:a}))};ti.propTypes=Jr,ti.defaultProps={tag:"div"};var ei=["className","cssModule","tag"],ni={tag:ye,className:a.a.string,cssModule:a.a.object},ri=function(t){var e=t.className,n=t.cssModule,r=t.tag,o=ne(t,ei),a=le(u()(e,"card-columns"),n);return i.a.createElement(r,Jt({},o,{className:a}))};ri.propTypes=ni,ri.defaultProps={tag:"div"};var ii=["className","cssModule","innerRef","tag"],oi={tag:ye,className:a.a.string,cssModule:a.a.object,innerRef:a.a.oneOfType([a.a.object,a.a.string,a.a.func])},ai=function(t){var e=t.className,n=t.cssModule,r=t.innerRef,o=t.tag,a=ne(t,ii),s=le(u()(e,"card-body"),n);return i.a.createElement(o,Jt({},a,{className:s,ref:r}))};ai.propTypes=oi,ai.defaultProps={tag:"div"};var si=ai,ui=["className","cssModule","tag","innerRef"],li={tag:ye,innerRef:a.a.oneOfType([a.a.object,a.a.func,a.a.string]),className:a.a.string,cssModule:a.a.object},ci=function(t){var e=t.className,n=t.cssModule,r=t.tag,o=t.innerRef,a=ne(t,ui),s=le(u()(e,"card-link"),n);return i.a.createElement(r,Jt({},a,{ref:o,className:s}))};ci.propTypes=li,ci.defaultProps={tag:"a"};var fi=["className","cssModule","tag"],di={tag:ye,className:a.a.string,cssModule:a.a.object},hi=function(t){var e=t.className,n=t.cssModule,r=t.tag,o=ne(t,fi),a=le(u()(e,"card-footer"),n);return i.a.createElement(r,Jt({},o,{className:a}))};hi.propTypes=di,hi.defaultProps={tag:"div"};var pi=hi,mi=["className","cssModule","tag"],vi={tag:ye,className:a.a.string,cssModule:a.a.object},gi=function(t){var e=t.className,n=t.cssModule,r=t.tag,o=ne(t,mi),a=le(u()(e,"card-header"),n);return i.a.createElement(r,Jt({},o,{className:a}))};gi.propTypes=vi,gi.defaultProps={tag:"div"};var yi=gi,bi=["className","cssModule","top","bottom","tag"],_i={tag:ye,top:a.a.bool,bottom:a.a.bool,className:a.a.string,cssModule:a.a.object},wi=function(t){var e=t.className,n=t.cssModule,r=t.top,o=t.bottom,a=t.tag,s=ne(t,bi),l="card-img";r&&(l="card-img-top"),o&&(l="card-img-bottom");var c=le(u()(e,l),n);return i.a.createElement(a,Jt({},s,{className:c}))};wi.propTypes=_i,wi.defaultProps={tag:"img"};var xi=["className","cssModule","tag"],ki={tag:ye,className:a.a.string,cssModule:a.a.object},Oi=function(t){var e=t.className,n=t.cssModule,r=t.tag,o=ne(t,xi),a=le(u()(e,"card-img-overlay"),n);return i.a.createElement(r,Jt({},o,{className:a}))};Oi.propTypes=ki,Oi.defaultProps={tag:"div"};var Ei=["in","children","cssModule","slide","tag","className"],Mi=function(t){function e(e){var n;return(n=t.call(this,e)||this).state={startAnimation:!1},n.onEnter=n.onEnter.bind(re(n)),n.onEntering=n.onEntering.bind(re(n)),n.onExit=n.onExit.bind(re(n)),n.onExiting=n.onExiting.bind(re(n)),n.onExited=n.onExited.bind(re(n)),n}te(e,t);var n=e.prototype;return n.onEnter=function(t,e){this.setState({startAnimation:!1}),this.props.onEnter(t,e)},n.onEntering=function(t,e){var n=t.offsetHeight;return this.setState({startAnimation:!0}),this.props.onEntering(t,e),n},n.onExit=function(t){this.setState({startAnimation:!1}),this.props.onExit(t)},n.onExiting=function(t){this.setState({startAnimation:!0}),t.dispatchEvent(new CustomEvent("slide.bs.carousel")),this.props.onExiting(t)},n.onExited=function(t){t.dispatchEvent(new CustomEvent("slid.bs.carousel")),this.props.onExited(t)},n.render=function(){var t=this,e=this.props,n=e.in,r=e.children,o=e.cssModule,a=e.slide,s=e.tag,l=e.className,c=ne(e,Ei);return i.a.createElement(Qt,Jt({},c,{enter:a,exit:a,in:n,onEnter:this.onEnter,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}),(function(e){var n=t.context.direction,a=e===we.ENTERED||e===we.EXITING,c=(e===we.ENTERING||e===we.EXITING)&&t.state.startAnimation&&("end"===n?"carousel-item-start":"carousel-item-end"),f=e===we.ENTERING&&("end"===n?"carousel-item-next":"carousel-item-prev"),d=le(u()(l,"carousel-item",a&&"active",c,f),o);return i.a.createElement(s,{className:d},r)}))},e}(i.a.Component);Mi.propTypes=Gt(Gt({},Qt.propTypes),{},{tag:ye,in:a.a.bool,cssModule:a.a.object,children:a.a.node,slide:a.a.bool,className:a.a.string}),Mi.defaultProps=Gt(Gt({},Qt.defaultProps),{},{tag:"div",timeout:be.Carousel,slide:!0}),Mi.contextTypes={direction:a.a.string};var Si=Mi,Ci=i.a.createContext({}),Ti=function(t){function e(e){var n;return(n=t.call(this,e)||this).handleKeyPress=n.handleKeyPress.bind(re(n)),n.renderItems=n.renderItems.bind(re(n)),n.hoverStart=n.hoverStart.bind(re(n)),n.hoverEnd=n.hoverEnd.bind(re(n)),n.handleTouchStart=n.handleTouchStart.bind(re(n)),n.handleTouchEnd=n.handleTouchEnd.bind(re(n)),n.touchStartX=0,n.touchStartY=0,n.state={activeIndex:n.props.activeIndex,direction:"end",indicatorClicked:!1},n}te(e,t);var n=e.prototype;return n.getContextValue=function(){return{direction:this.state.direction}},n.componentDidMount=function(){"carousel"===this.props.ride&&this.setInterval(),document.addEventListener("keyup",this.handleKeyPress)},e.getDerivedStateFromProps=function(t,e){var n=null,r=e.activeIndex,i=e.direction,o=e.indicatorClicked;return t.activeIndex!==r&&(t.activeIndex===r+1?i="end":t.activeIndex===r-1?i="start":t.activeIndex-1&&!this.props.autohide&&(this._hideTimeout&&this.clearHideTimeout(),this.state.isOpen&&!this.props.isOpen&&this.toggle())},n.onMouseLeaveTooltipContent=function(t){this.props.trigger.indexOf("hover")>-1&&!this.props.autohide&&(this._showTimeout&&this.clearShowTimeout(),t.persist(),this._hideTimeout=setTimeout(this.hide.bind(this,t),this.getDelay("hide")))},n.onEscKeyDown=function(t){"Escape"===t.key&&this.hide(t)},n.getRef=function(t){var e=this.props.innerRef;e&&("function"===typeof e?e(t):"object"===typeof e&&(e.current=t)),this._popover=t},n.getDelay=function(t){var e=this.props.delay;return"object"===typeof e?isNaN(e[t])?io[t]:e[t]:e},n.getCurrentTarget=function(t){if(!t)return null;var e=this._targets.indexOf(t);return e>=0?this._targets[e]:this.getCurrentTarget(t.parentElement)},n.show=function(t){if(!this.props.isOpen){if(this.clearShowTimeout(),this.currentTargetElement=t?t.currentTarget||this.getCurrentTarget(t.target):null,t&&t.composedPath&&"function"===typeof t.composedPath){var e=t.composedPath();this.currentTargetElement=e&&e[0]||this.currentTargetElement}this.toggle(t)}},n.showWithDelay=function(t){this._hideTimeout&&this.clearHideTimeout(),this._showTimeout=setTimeout(this.show.bind(this,t),this.getDelay("show"))},n.hide=function(t){this.props.isOpen&&(this.clearHideTimeout(),this.currentTargetElement=null,this.toggle(t))},n.hideWithDelay=function(t){this._showTimeout&&this.clearShowTimeout(),this._hideTimeout=setTimeout(this.hide.bind(this,t),this.getDelay("hide"))},n.clearShowTimeout=function(){clearTimeout(this._showTimeout),this._showTimeout=void 0},n.clearHideTimeout=function(){clearTimeout(this._hideTimeout),this._hideTimeout=void 0},n.handleDocumentClick=function(t){var e=this.props.trigger.split(" ");e.indexOf("legacy")>-1&&(this.props.isOpen||so(t.target,this._targets))?(this._hideTimeout&&this.clearHideTimeout(),this.props.isOpen&&!ao(t.target,this._popover)?this.hideWithDelay(t):this.props.isOpen||this.showWithDelay(t)):e.indexOf("click")>-1&&so(t.target,this._targets)&&(this._hideTimeout&&this.clearHideTimeout(),this.props.isOpen?this.hideWithDelay(t):this.showWithDelay(t))},n.addEventOnTargets=function(t,e,n){this._targets.forEach((function(r){r.addEventListener(t,e,n)}))},n.removeEventOnTargets=function(t,e,n){this._targets.forEach((function(r){r.removeEventListener(t,e,n)}))},n.addTargetEvents=function(){if(this.props.trigger){var t=this.props.trigger.split(" ");-1===t.indexOf("manual")&&((t.indexOf("click")>-1||t.indexOf("legacy")>-1)&&document.addEventListener("click",this.handleDocumentClick,!0),this._targets&&this._targets.length&&(t.indexOf("hover")>-1&&(this.addEventOnTargets("mouseover",this.showWithDelay,!0),this.addEventOnTargets("mouseout",this.hideWithDelay,!0)),t.indexOf("focus")>-1&&(this.addEventOnTargets("focusin",this.show,!0),this.addEventOnTargets("focusout",this.hide,!0)),this.addEventOnTargets("keydown",this.onEscKeyDown,!0)))}},n.removeTargetEvents=function(){this._targets&&(this.removeEventOnTargets("mouseover",this.showWithDelay,!0),this.removeEventOnTargets("mouseout",this.hideWithDelay,!0),this.removeEventOnTargets("keydown",this.onEscKeyDown,!0),this.removeEventOnTargets("focusin",this.show,!0),this.removeEventOnTargets("focusout",this.hide,!0)),document.removeEventListener("click",this.handleDocumentClick,!0)},n.updateTarget=function(){var t=Ne(this.props.target,!0);t!==this._targets&&(this.removeTargetEvents(),this._targets=t?Array.from(t):[],this.currentTargetElement=this.currentTargetElement||this._targets[0],this.addTargetEvents())},n.toggle=function(t){return this.props.disabled||!this._isMounted?t&&t.preventDefault():this.props.toggle(t)},n.render=function(){var t=this;this.props.isOpen&&this.updateTarget();var e=this.currentTargetElement||this._targets[0];if(!e)return null;var n=this.props,r=n.className,o=n.cssModule,a=n.innerClassName,s=n.isOpen,u=n.hideArrow,l=n.boundariesElement,c=n.placement,f=n.placementPrefix,d=n.arrowClassName,h=n.popperClassName,p=n.container,m=n.modifiers,v=n.strategy,g=n.offset,y=n.fade,b=n.flip,_=n.children,w=ce(this.props,Object.keys(ro)),x=le(h,o),k=le(a,o);return i.a.createElement(eo,{className:r,target:e,isOpen:s,hideArrow:u,boundariesElement:l,placement:c,placementPrefix:f,arrowClassName:d,popperClassName:x,container:p,modifiers:m,strategy:v,offset:g,cssModule:o,fade:y,flip:b},(function(e){var n=e.update;return i.a.createElement("div",Jt({},w,{ref:t.getRef,className:k,role:"tooltip",onMouseOver:t.onMouseOverTooltipContent,onMouseLeave:t.onMouseLeaveTooltipContent,onKeyDown:t.onEscKeyDown}),"function"===typeof _?_({update:n}):_)}))},e}(i.a.Component);uo.propTypes=ro,uo.defaultProps=oo;var lo=uo,co=function(t){var e=u()("popover","show",t.popperClassName),n=u()("popover-inner",t.innerClassName);return i.a.createElement(lo,Jt({},t,{arrowClassName:"popover-arrow",popperClassName:e,innerClassName:n}))};co.propTypes=ro,co.defaultProps={placement:"right",placementPrefix:"bs-popover",trigger:"click",offset:[0,8]};var fo=co,ho=["defaultOpen"];(function(t){function e(e){var n;return(n=t.call(this,e)||this).state={isOpen:e.defaultOpen||!1},n.toggle=n.toggle.bind(re(n)),n}te(e,t);var n=e.prototype;return n.toggle=function(){this.setState({isOpen:!this.state.isOpen})},n.render=function(){return i.a.createElement(fo,Jt({isOpen:this.state.isOpen,toggle:this.toggle},ce(this.props,ho)))},e}(r.Component)).propTypes=Gt({defaultOpen:a.a.bool},fo.propTypes);var po=["className","cssModule","tag"],mo={tag:ye,className:a.a.string,cssModule:a.a.object},vo=function(t){var e=t.className,n=t.cssModule,r=t.tag,o=ne(t,po),a=le(u()(e,"popover-header"),n);return i.a.createElement(r,Jt({},o,{className:a}))};vo.propTypes=mo,vo.defaultProps={tag:"h3"};var go=["className","cssModule","tag"],yo={tag:ye,className:a.a.string,cssModule:a.a.object},bo=function(t){var e=t.className,n=t.cssModule,r=t.tag,o=ne(t,go),a=le(u()(e,"popover-body"),n);return i.a.createElement(r,Jt({},o,{className:a}))};bo.propTypes=yo,bo.defaultProps={tag:"div"};var _o=["children","className","barClassName","cssModule","value","min","max","animated","striped","color","bar","multi","tag","style","barStyle","barAriaValueText","barAriaLabelledBy"],wo={children:a.a.node,bar:a.a.bool,multi:a.a.bool,tag:ye,value:a.a.oneOfType([a.a.string,a.a.number]),min:a.a.oneOfType([a.a.string,a.a.number]),max:a.a.oneOfType([a.a.string,a.a.number]),animated:a.a.bool,striped:a.a.bool,color:a.a.string,className:a.a.string,barClassName:a.a.string,cssModule:a.a.object,style:a.a.object,barStyle:a.a.object,barAriaValueText:a.a.string,barAriaLabelledBy:a.a.string},xo=function(t){var e=t.children,n=t.className,r=t.barClassName,o=t.cssModule,a=t.value,s=t.min,l=t.max,c=t.animated,f=t.striped,d=t.color,h=t.bar,p=t.multi,m=t.tag,v=t.style,g=t.barStyle,y=t.barAriaValueText,b=t.barAriaLabelledBy,_=ne(t,_o),w=Se(a)/Se(l)*100,x=le(u()(n,"progress"),o),k={className:le(u()("progress-bar",h&&n||r,c?"progress-bar-animated":null,d?"bg-"+d:null,f||c?"progress-bar-striped":null),o),style:Gt(Gt(Gt({},h?v:{}),g),{},{width:w+"%"}),role:"progressbar","aria-valuenow":a,"aria-valuemin":s,"aria-valuemax":l,"aria-valuetext":y,"aria-labelledby":b,children:e};return h?i.a.createElement(m,Jt({},_,k)):i.a.createElement(m,Jt({},_,{style:v,className:x}),p?e:i.a.createElement("div",k))};xo.propTypes=wo,xo.defaultProps={tag:"div",value:0,min:0,max:100,style:{},barStyle:{}};var ko=xo,Oo={children:a.a.node.isRequired,node:a.a.any},Eo=function(t){function e(){return t.apply(this,arguments)||this}te(e,t);var n=e.prototype;return n.componentWillUnmount=function(){this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null},n.render=function(){return Oe?(this.props.node||this.defaultNode||(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode)),Rt.a.createPortal(this.props.children,this.props.node||this.defaultNode)):null},e}(i.a.Component);Eo.propTypes=Oo;var Mo=Eo;function So(){}var Co=a.a.shape(br.propTypes),To={isOpen:a.a.bool,autoFocus:a.a.bool,centered:a.a.bool,fullscreen:a.a.oneOfType([a.a.bool,a.a.oneOf(["sm","md","lg","xl"])]),scrollable:a.a.bool,size:a.a.string,toggle:a.a.func,keyboard:a.a.bool,role:a.a.string,labelledBy:a.a.string,backdrop:a.a.oneOfType([a.a.bool,a.a.oneOf(["static"])]),onEnter:a.a.func,onExit:a.a.func,onOpened:a.a.func,onClosed:a.a.func,children:a.a.node,className:a.a.string,wrapClassName:a.a.string,modalClassName:a.a.string,backdropClassName:a.a.string,contentClassName:a.a.string,external:a.a.node,fade:a.a.bool,cssModule:a.a.object,zIndex:a.a.oneOfType([a.a.number,a.a.string]),backdropTransition:Co,modalTransition:Co,innerRef:a.a.oneOfType([a.a.object,a.a.string,a.a.func]),unmountOnClose:a.a.bool,returnFocusAfterClose:a.a.bool,container:ge,trapFocus:a.a.bool},Po=Object.keys(To),jo={isOpen:!1,autoFocus:!0,centered:!1,scrollable:!1,role:"dialog",backdrop:!0,keyboard:!0,zIndex:1050,fade:!0,onOpened:So,onClosed:So,modalTransition:{timeout:be.Modal},backdropTransition:{mountOnEnter:!0,timeout:be.Fade},unmountOnClose:!0,returnFocusAfterClose:!0,container:"body",trapFocus:!1},No=function(t){function e(e){var n;return(n=t.call(this,e)||this)._element=null,n._originalBodyPadding=null,n.getFocusableChildren=n.getFocusableChildren.bind(re(n)),n.handleBackdropClick=n.handleBackdropClick.bind(re(n)),n.handleBackdropMouseDown=n.handleBackdropMouseDown.bind(re(n)),n.handleEscape=n.handleEscape.bind(re(n)),n.handleStaticBackdropAnimation=n.handleStaticBackdropAnimation.bind(re(n)),n.handleTab=n.handleTab.bind(re(n)),n.onOpened=n.onOpened.bind(re(n)),n.onClosed=n.onClosed.bind(re(n)),n.manageFocusAfterClose=n.manageFocusAfterClose.bind(re(n)),n.clearBackdropAnimationTimeout=n.clearBackdropAnimationTimeout.bind(re(n)),n.trapFocus=n.trapFocus.bind(re(n)),n.state={isOpen:!1,showStaticBackdropAnimation:!1},n}te(e,t);var n=e.prototype;return n.componentDidMount=function(){var t=this.props,e=t.isOpen,n=t.autoFocus,r=t.onEnter;e&&(this.init(),this.setState({isOpen:!0}),n&&this.setFocus()),r&&r(),document.addEventListener("focus",this.trapFocus,!0),this._isMounted=!0},n.componentDidUpdate=function(t,e){if(this.props.isOpen&&!t.isOpen)return this.init(),void this.setState({isOpen:!0});this.props.autoFocus&&this.state.isOpen&&!e.isOpen&&this.setFocus(),this._element&&t.zIndex!==this.props.zIndex&&(this._element.style.zIndex=this.props.zIndex)},n.componentWillUnmount=function(){this.clearBackdropAnimationTimeout(),this.props.onExit&&this.props.onExit(),this._element&&(this.destroy(),(this.props.isOpen||this.state.isOpen)&&this.close()),document.removeEventListener("focus",this.trapFocus,!0),this._isMounted=!1},n.trapFocus=function(t){if(this.props.trapFocus&&this._element&&(!this._dialog||this._dialog.parentNode!==t.target)&&!(this.modalIndex0&&(t.preventDefault(),t.stopPropagation(),n[0].focus())}},n.onOpened=function(t,e){this.props.onOpened(),(this.props.modalTransition.onEntered||So)(t,e)},n.onClosed=function(t){var e=this.props.unmountOnClose;this.props.onClosed(),(this.props.modalTransition.onExited||So)(t),e&&this.destroy(),this.close(),this._isMounted&&this.setState({isOpen:!1})},n.setFocus=function(){this._dialog&&this._dialog.parentNode&&"function"===typeof this._dialog.parentNode.focus&&this._dialog.parentNode.focus()},n.getFocusableChildren=function(){return this._element.querySelectorAll(Ae.join(", "))},n.getFocusedChild=function(){var t,e=this.getFocusableChildren();try{t=document.activeElement}catch(n){t=e[0]}return t},n.handleBackdropClick=function(t){if(t.target===this._mouseDownElement){t.stopPropagation();var e=this._dialog?this._dialog.parentNode:null;if(e&&t.target===e&&"static"===this.props.backdrop&&this.handleStaticBackdropAnimation(),!this.props.isOpen||!0!==this.props.backdrop)return;e&&t.target===e&&this.props.toggle&&this.props.toggle(t)}},n.handleTab=function(t){if(9===t.which&&!(this.modalIndex-1,m=new RegExp("\\D","g"),v="select"===r,g=l||(v||"textarea"===r?r:"input"),y="form-control";f?(y+="-plaintext",g=l||"input"):"range"===r?y="form-range":v?y="form-select":p&&(y=c?null:"form-check-input"),h.size&&m.test(h.size)&&(he('Please use the prop "bsSize" instead of the "size" to bootstrap\'s input sizing.'),o=h.size,delete h.size);var b=le(u()(e,s&&"is-invalid",a&&"is-valid",!!o&&(v?"form-select-"+o:"form-control-"+o),y),n);return("input"===g||l&&"function"===typeof l)&&(h.type="switch"===r?"checkbox":r),h.children&&!f&&"select"!==r&&"string"===typeof g&&"select"!==g&&(he('Input with a type of "'+r+'" cannot have children. Please use "value"/"defaultValue" instead.'),delete h.children),i.a.createElement(g,Jt({},h,{ref:d,className:b,"aria-invalid":s}))},e}(i.a.Component);ga.propTypes=va,ga.defaultProps={type:"text"};var ya=ga,ba=["className","cssModule","tag","type","size"],_a={tag:ye,type:a.a.bool,size:a.a.string,className:a.a.string,cssModule:a.a.object},wa=function(t){var e=t.className,n=t.cssModule,r=t.tag,o=t.size,a=ne(t,ba),s=le(u()(e,"input-group",o?"input-group-"+o:null),n);return"dropdown"===t.type?i.a.createElement(Zn,Jt({},a,{className:s})):i.a.createElement(r,Jt({},a,{className:s}))};wa.propTypes=_a,wa.defaultProps={tag:"div"};var xa=wa,ka=["className","cssModule","tag"],Oa={tag:ye,className:a.a.string,cssModule:a.a.object},Ea=function(t){var e=t.className,n=t.cssModule,r=t.tag,o=ne(t,ka),a=le(u()(e,"input-group-text"),n);return i.a.createElement(r,Jt({},o,{className:a}))};Ea.propTypes=Oa,Ea.defaultProps={tag:"span"};var Ma=["className","cssModule","hidden","widths","tag","check","size","for"],Sa=a.a.oneOfType([a.a.number,a.a.string]),Ca=a.a.oneOfType([a.a.bool,a.a.string,a.a.number,a.a.shape({size:Sa,order:Sa,offset:Sa})]),Ta={children:a.a.node,hidden:a.a.bool,check:a.a.bool,size:a.a.string,for:a.a.string,tag:ye,className:a.a.string,cssModule:a.a.object,xs:Ca,sm:Ca,md:Ca,lg:Ca,xl:Ca,xxl:Ca,widths:a.a.array},Pa={tag:"label",widths:["xs","sm","md","lg","xl","xxl"]},ja=function(t,e,n){return!0===n||""===n?t?"col":"col-"+e:"auto"===n?t?"col-auto":"col-"+e+"-auto":t?"col-"+n:"col-"+e+"-"+n},Na=function(t){var e=t.className,n=t.cssModule,r=t.hidden,o=t.widths,a=t.tag,s=t.check,l=t.size,c=t.for,f=ne(t,Ma),d=[];o.forEach((function(e,r){var i=t[e];if(delete f[e],i||""===i){var o,a=!r;if(Ce(i)){var s,l=a?"-":"-"+e+"-";o=ja(a,e,i.size),d.push(le(u()(((s={})[o]=i.size||""===i.size,s["order"+l+i.order]=i.order||0===i.order,s["offset"+l+i.offset]=i.offset||0===i.offset,s))),n)}else o=ja(a,e,i),d.push(o)}}));var h=le(u()(e,!!r&&"visually-hidden",!!s&&"form-check-label",!!l&&"col-form-label-"+l,d,d.length?"col-form-label":"form-label"),n);return i.a.createElement(a,Jt({htmlFor:c},f,{className:h}))};Na.propTypes=Ta,Na.defaultProps=Pa;var Da=["body","bottom","className","cssModule","heading","left","list","middle","object","right","tag","top"],La={body:a.a.bool,bottom:a.a.bool,children:a.a.node,className:a.a.string,cssModule:a.a.object,heading:a.a.bool,left:a.a.bool,list:a.a.bool,middle:a.a.bool,object:a.a.bool,right:a.a.bool,tag:ye,top:a.a.bool},Aa=function(t){var e,n=t.body,r=t.bottom,o=t.className,a=t.cssModule,s=t.heading,l=t.left,c=t.list,f=t.middle,d=t.object,h=t.right,p=t.tag,m=t.top,v=ne(t,Da);e=s?"h4":v.href?"a":v.src||d?"img":c?"ul":"div";var g=p||e,y=le(u()(o,{"media-body":n,"media-heading":s,"media-left":l,"media-right":h,"media-top":m,"media-bottom":r,"media-middle":f,"media-object":d,"media-list":c,media:!n&&!s&&!l&&!h&&!m&&!r&&!f&&!d&&!c}),a);return i.a.createElement(g,Jt({},v,{className:y}))};Aa.propTypes=La;function Ra(){}var Ia=a.a.shape(br.propTypes),za={autoFocus:a.a.bool,backdrop:a.a.bool,backdropClassName:a.a.string,backdropTransition:Ia,children:a.a.node,className:a.a.string,container:ge,cssModule:a.a.object,direction:a.a.oneOf(["start","end","bottom","top","left","right"]),fade:a.a.bool,innerRef:a.a.oneOfType([a.a.object,a.a.string,a.a.func]),isOpen:a.a.bool,keyboard:a.a.bool,labelledBy:a.a.string,offcanvasTransition:Ia,onClosed:a.a.func,onEnter:a.a.func,onExit:a.a.func,onOpened:a.a.func,returnFocusAfterClose:a.a.bool,role:a.a.string,scrollable:a.a.bool,toggle:a.a.func,trapFocus:a.a.bool,unmountOnClose:a.a.bool,zIndex:a.a.oneOfType([a.a.number,a.a.string])},Ba=Object.keys(za),Fa={isOpen:!1,autoFocus:!0,direction:"start",scrollable:!1,role:"dialog",backdrop:!0,keyboard:!0,zIndex:1050,fade:!0,onOpened:Ra,onClosed:Ra,offcanvasTransition:{timeout:be.Offcanvas},backdropTransition:{mountOnEnter:!0,timeout:be.Fade},unmountOnClose:!0,returnFocusAfterClose:!0,container:"body",trapFocus:!1},Ha=function(t){function e(e){var n;return(n=t.call(this,e)||this)._element=null,n._originalBodyPadding=null,n.getFocusableChildren=n.getFocusableChildren.bind(re(n)),n.handleBackdropClick=n.handleBackdropClick.bind(re(n)),n.handleBackdropMouseDown=n.handleBackdropMouseDown.bind(re(n)),n.handleEscape=n.handleEscape.bind(re(n)),n.handleTab=n.handleTab.bind(re(n)),n.onOpened=n.onOpened.bind(re(n)),n.onClosed=n.onClosed.bind(re(n)),n.manageFocusAfterClose=n.manageFocusAfterClose.bind(re(n)),n.clearBackdropAnimationTimeout=n.clearBackdropAnimationTimeout.bind(re(n)),n.trapFocus=n.trapFocus.bind(re(n)),n.state={isOpen:!1},n}te(e,t);var n=e.prototype;return n.componentDidMount=function(){var t=this.props,e=t.isOpen,n=t.autoFocus,r=t.onEnter;e&&(this.init(),this.setState({isOpen:!0}),n&&this.setFocus()),r&&r(),document.addEventListener("focus",this.trapFocus,!0),this._isMounted=!0},n.componentDidUpdate=function(t,e){if(this.props.isOpen&&!t.isOpen)return this.init(),void this.setState({isOpen:!0});this.props.autoFocus&&this.state.isOpen&&!e.isOpen&&this.setFocus(),this._element&&t.zIndex!==this.props.zIndex&&(this._element.style.zIndex=this.props.zIndex)},n.componentWillUnmount=function(){this.clearBackdropAnimationTimeout(),this.props.onExit&&this.props.onExit(),this._element&&(this.destroy(),(this.props.isOpen||this.state.isOpen)&&this.close()),document.removeEventListener("focus",this.trapFocus,!0),this._isMounted=!1},n.trapFocus=function(t){if(this.props.trapFocus&&this._element&&this._dialog!==t.target&&!(this.offcanvasIndex0&&(t.preventDefault(),t.stopPropagation(),n[0].focus())}},n.onOpened=function(t,e){this.props.onOpened(),(this.props.offcanvasTransition.onEntered||Ra)(t,e)},n.onClosed=function(t){var e=this.props.unmountOnClose;this.props.onClosed(),(this.props.offcanvasTransition.onExited||Ra)(t),e&&this.destroy(),this.close(),this._isMounted&&this.setState({isOpen:!1})},n.setFocus=function(){this._dialog&&"function"===typeof this._dialog.focus&&this._dialog.focus()},n.getFocusableChildren=function(){return this._element.querySelectorAll(Ae.join(", "))},n.getFocusedChild=function(){var t,e=this.getFocusableChildren();try{t=document.activeElement}catch(n){t=e[0]}return t},n.handleBackdropClick=function(t){if(t.target===this._mouseDownElement){t.stopPropagation();var e=this._backdrop;if(!this.props.isOpen||!0!==this.props.backdrop)return;e&&t.target===e&&this.props.toggle&&this.props.toggle(t)}},n.handleTab=function(t){if(9===t.which&&!(this.offcanvasIndex1?"s":"")+" required, but only "+e.length+" present")}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(108);var i=n(63),o=n(109);function a(t,e){return Object(r.a)(t)||function(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(t,e)||Object(i.a)(t,e)||Object(o.a)()}},function(t,e,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var t=[],e=0;e=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function h(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e0||!Array.isArray(e)&&e?l({},t,e):{}}function b(t){var e=t.forwardedRef,n=d(t,["forwardedRef"]),i=n.icon,o=n.mask,a=n.symbol,s=n.className,u=n.title,c=n.titleId,p=g(i),m=y("classes",[].concat(h(function(t){var e,n=t.spin,r=t.pulse,i=t.fixedWidth,o=t.inverse,a=t.border,s=t.listItem,u=t.flip,c=t.size,f=t.rotation,d=t.pull,h=(l(e={"fa-spin":n,"fa-pulse":r,"fa-fw":i,"fa-inverse":o,"fa-border":a,"fa-li":s,"fa-flip-horizontal":"horizontal"===u||"both"===u,"fa-flip-vertical":"vertical"===u||"both"===u},"fa-".concat(c),"undefined"!==typeof c&&null!==c),l(e,"fa-rotate-".concat(f),"undefined"!==typeof f&&null!==f&&0!==f),l(e,"fa-pull-".concat(d),"undefined"!==typeof d&&null!==d),l(e,"fa-swap-opacity",t.swapOpacity),e);return Object.keys(h).map((function(t){return h[t]?t:null})).filter((function(t){return t}))}(n)),h(s.split(" ")))),w=y("transform","string"===typeof n.transform?r.b.transform(n.transform):n.transform),x=y("mask",g(o)),k=Object(r.a)(p,f({},m,{},w,{},x,{symbol:a,title:u,titleId:c}));if(!k)return function(){var t;!v&&console&&"function"===typeof console.error&&(t=console).error.apply(t,arguments)}("Could not find icon",p),null;var O=k.abstract,E={ref:e};return Object.keys(n).forEach((function(t){b.defaultProps.hasOwnProperty(t)||(E[t]=n[t])})),_(O[0],E)}b.displayName="FontAwesomeIcon",b.propTypes={border:o.a.bool,className:o.a.string,mask:o.a.oneOfType([o.a.object,o.a.array,o.a.string]),fixedWidth:o.a.bool,inverse:o.a.bool,flip:o.a.oneOf(["horizontal","vertical","both"]),icon:o.a.oneOfType([o.a.object,o.a.array,o.a.string]),listItem:o.a.bool,pull:o.a.oneOf(["right","left"]),pulse:o.a.bool,rotation:o.a.oneOf([0,90,180,270]),size:o.a.oneOf(["lg","xs","sm","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:o.a.bool,symbol:o.a.oneOfType([o.a.bool,o.a.string]),title:o.a.string,transform:o.a.oneOfType([o.a.string,o.a.object]),swapOpacity:o.a.bool},b.defaultProps={border:!1,className:"",mask:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,symbol:!1,title:"",transform:null,swapOpacity:!1};var _=function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"===typeof n)return n;var i=(n.children||[]).map((function(n){return t(e,n)})),o=Object.keys(n.attributes||{}).reduce((function(t,e){var r=n.attributes[e];switch(e){case"class":t.attrs.className=r,delete n.attributes.class;break;case"style":t.attrs.style=m(r);break;default:0===e.indexOf("aria-")||0===e.indexOf("data-")?t.attrs[e.toLowerCase()]=r:t.attrs[p(e)]=r}return t}),{attrs:{}}),a=r.style,s=void 0===a?{}:a,u=d(r,["style"]);return o.attrs.style=f({},o.attrs.style,{},s),e.apply(void 0,[n.tag,f({},o.attrs,{},u)].concat(h(i)))}.bind(null,s.a.createElement)},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return a})),n.d(e,"e",(function(){return s})),n.d(e,"f",(function(){return u})),n.d(e,"g",(function(){return l})),n.d(e,"h",(function(){return c})),n.d(e,"i",(function(){return f})),n.d(e,"j",(function(){return d})),n.d(e,"k",(function(){return h})),n.d(e,"l",(function(){return p})),n.d(e,"m",(function(){return m})),n.d(e,"n",(function(){return v})),n.d(e,"o",(function(){return g})),n.d(e,"p",(function(){return y})),n.d(e,"q",(function(){return b})),n.d(e,"r",(function(){return _})),n.d(e,"s",(function(){return w})),n.d(e,"t",(function(){return x})),n.d(e,"u",(function(){return k})),n.d(e,"v",(function(){return O})),n.d(e,"w",(function(){return E})),n.d(e,"x",(function(){return M})),n.d(e,"y",(function(){return S})),n.d(e,"z",(function(){return C})),n.d(e,"A",(function(){return T})),n.d(e,"B",(function(){return P})),n.d(e,"C",(function(){return j})),n.d(e,"D",(function(){return N})),n.d(e,"E",(function(){return D})),n.d(e,"F",(function(){return L})),n.d(e,"G",(function(){return A})),n.d(e,"H",(function(){return R})),n.d(e,"I",(function(){return I})),n.d(e,"J",(function(){return z})),n.d(e,"K",(function(){return B})),n.d(e,"L",(function(){return F})),n.d(e,"M",(function(){return H})),n.d(e,"N",(function(){return U})),n.d(e,"O",(function(){return W})),n.d(e,"P",(function(){return V})),n.d(e,"Q",(function(){return Y})),n.d(e,"R",(function(){return q})),n.d(e,"S",(function(){return Z}));var r={prefix:"fas",iconName:"arrow-left",icon:[448,512,[],"f060","M257.5 445.1l-22.2 22.2c-9.4 9.4-24.6 9.4-33.9 0L7 273c-9.4-9.4-9.4-24.6 0-33.9L201.4 44.7c9.4-9.4 24.6-9.4 33.9 0l22.2 22.2c9.5 9.5 9.3 25-.4 34.3L136.6 216H424c13.3 0 24 10.7 24 24v32c0 13.3-10.7 24-24 24H136.6l120.5 114.8c9.8 9.3 10 24.8.4 34.3z"]},i={prefix:"fas",iconName:"ban",icon:[512,512,[],"f05e","M256 8C119.034 8 8 119.033 8 256s111.034 248 248 248 248-111.034 248-248S392.967 8 256 8zm130.108 117.892c65.448 65.448 70 165.481 20.677 235.637L150.47 105.216c70.204-49.356 170.226-44.735 235.638 20.676zM125.892 386.108c-65.448-65.448-70-165.481-20.677-235.637L361.53 406.784c-70.203 49.356-170.226 44.736-235.638-20.676z"]},o={prefix:"fas",iconName:"bars",icon:[448,512,[],"f0c9","M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"]},a={prefix:"fas",iconName:"calendar-alt",icon:[448,512,[],"f073","M0 464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V192H0v272zm320-196c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM192 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM64 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zM400 64h-48V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H160V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H48C21.5 64 0 85.5 0 112v48h448v-48c0-26.5-21.5-48-48-48z"]},s={prefix:"fas",iconName:"caret-down",icon:[320,512,[],"f0d7","M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"]},u={prefix:"fas",iconName:"caret-up",icon:[320,512,[],"f0d8","M288.662 352H31.338c-17.818 0-26.741-21.543-14.142-34.142l128.662-128.662c7.81-7.81 20.474-7.81 28.284 0l128.662 128.662c12.6 12.599 3.676 34.142-14.142 34.142z"]},l={prefix:"fas",iconName:"chart-pie",icon:[544,512,[],"f200","M527.79 288H290.5l158.03 158.03c6.04 6.04 15.98 6.53 22.19.68 38.7-36.46 65.32-85.61 73.13-140.86 1.34-9.46-6.51-17.85-16.06-17.85zm-15.83-64.8C503.72 103.74 408.26 8.28 288.8.04 279.68-.59 272 7.1 272 16.24V240h223.77c9.14 0 16.82-7.68 16.19-16.8zM224 288V50.71c0-9.55-8.39-17.4-17.84-16.06C86.99 51.49-4.1 155.6.14 280.37 4.5 408.51 114.83 513.59 243.03 511.98c50.4-.63 96.97-16.87 135.26-44.03 7.9-5.6 8.42-17.23 1.57-24.08L224 288z"]},c={prefix:"fas",iconName:"check",icon:[512,512,[],"f00c","M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"]},f={prefix:"fas",iconName:"chevron-down",icon:[448,512,[],"f078","M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"]},d={prefix:"fas",iconName:"chevron-right",icon:[320,512,[],"f054","M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"]},h={prefix:"fas",iconName:"circle-notch",icon:[512,512,[],"f1ce","M288 39.056v16.659c0 10.804 7.281 20.159 17.686 23.066C383.204 100.434 440 171.518 440 256c0 101.689-82.295 184-184 184-101.689 0-184-82.295-184-184 0-84.47 56.786-155.564 134.312-177.219C216.719 75.874 224 66.517 224 55.712V39.064c0-15.709-14.834-27.153-30.046-23.234C86.603 43.482 7.394 141.206 8.003 257.332c.72 137.052 111.477 246.956 248.531 246.667C393.255 503.711 504 392.788 504 256c0-115.633-79.14-212.779-186.211-240.236C302.678 11.889 288 23.456 288 39.056z"]},p={prefix:"fas",iconName:"cogs",icon:[640,512,[],"f085","M512.1 191l-8.2 14.3c-3 5.3-9.4 7.5-15.1 5.4-11.8-4.4-22.6-10.7-32.1-18.6-4.6-3.8-5.8-10.5-2.8-15.7l8.2-14.3c-6.9-8-12.3-17.3-15.9-27.4h-16.5c-6 0-11.2-4.3-12.2-10.3-2-12-2.1-24.6 0-37.1 1-6 6.2-10.4 12.2-10.4h16.5c3.6-10.1 9-19.4 15.9-27.4l-8.2-14.3c-3-5.2-1.9-11.9 2.8-15.7 9.5-7.9 20.4-14.2 32.1-18.6 5.7-2.1 12.1.1 15.1 5.4l8.2 14.3c10.5-1.9 21.2-1.9 31.7 0L552 6.3c3-5.3 9.4-7.5 15.1-5.4 11.8 4.4 22.6 10.7 32.1 18.6 4.6 3.8 5.8 10.5 2.8 15.7l-8.2 14.3c6.9 8 12.3 17.3 15.9 27.4h16.5c6 0 11.2 4.3 12.2 10.3 2 12 2.1 24.6 0 37.1-1 6-6.2 10.4-12.2 10.4h-16.5c-3.6 10.1-9 19.4-15.9 27.4l8.2 14.3c3 5.2 1.9 11.9-2.8 15.7-9.5 7.9-20.4 14.2-32.1 18.6-5.7 2.1-12.1-.1-15.1-5.4l-8.2-14.3c-10.4 1.9-21.2 1.9-31.7 0zm-10.5-58.8c38.5 29.6 82.4-14.3 52.8-52.8-38.5-29.7-82.4 14.3-52.8 52.8zM386.3 286.1l33.7 16.8c10.1 5.8 14.5 18.1 10.5 29.1-8.9 24.2-26.4 46.4-42.6 65.8-7.4 8.9-20.2 11.1-30.3 5.3l-29.1-16.8c-16 13.7-34.6 24.6-54.9 31.7v33.6c0 11.6-8.3 21.6-19.7 23.6-24.6 4.2-50.4 4.4-75.9 0-11.5-2-20-11.9-20-23.6V418c-20.3-7.2-38.9-18-54.9-31.7L74 403c-10 5.8-22.9 3.6-30.3-5.3-16.2-19.4-33.3-41.6-42.2-65.7-4-10.9.4-23.2 10.5-29.1l33.3-16.8c-3.9-20.9-3.9-42.4 0-63.4L12 205.8c-10.1-5.8-14.6-18.1-10.5-29 8.9-24.2 26-46.4 42.2-65.8 7.4-8.9 20.2-11.1 30.3-5.3l29.1 16.8c16-13.7 34.6-24.6 54.9-31.7V57.1c0-11.5 8.2-21.5 19.6-23.5 24.6-4.2 50.5-4.4 76-.1 11.5 2 20 11.9 20 23.6v33.6c20.3 7.2 38.9 18 54.9 31.7l29.1-16.8c10-5.8 22.9-3.6 30.3 5.3 16.2 19.4 33.2 41.6 42.1 65.8 4 10.9.1 23.2-10 29.1l-33.7 16.8c3.9 21 3.9 42.5 0 63.5zm-117.6 21.1c59.2-77-28.7-164.9-105.7-105.7-59.2 77 28.7 164.9 105.7 105.7zm243.4 182.7l-8.2 14.3c-3 5.3-9.4 7.5-15.1 5.4-11.8-4.4-22.6-10.7-32.1-18.6-4.6-3.8-5.8-10.5-2.8-15.7l8.2-14.3c-6.9-8-12.3-17.3-15.9-27.4h-16.5c-6 0-11.2-4.3-12.2-10.3-2-12-2.1-24.6 0-37.1 1-6 6.2-10.4 12.2-10.4h16.5c3.6-10.1 9-19.4 15.9-27.4l-8.2-14.3c-3-5.2-1.9-11.9 2.8-15.7 9.5-7.9 20.4-14.2 32.1-18.6 5.7-2.1 12.1.1 15.1 5.4l8.2 14.3c10.5-1.9 21.2-1.9 31.7 0l8.2-14.3c3-5.3 9.4-7.5 15.1-5.4 11.8 4.4 22.6 10.7 32.1 18.6 4.6 3.8 5.8 10.5 2.8 15.7l-8.2 14.3c6.9 8 12.3 17.3 15.9 27.4h16.5c6 0 11.2 4.3 12.2 10.3 2 12 2.1 24.6 0 37.1-1 6-6.2 10.4-12.2 10.4h-16.5c-3.6 10.1-9 19.4-15.9 27.4l8.2 14.3c3 5.2 1.9 11.9-2.8 15.7-9.5 7.9-20.4 14.2-32.1 18.6-5.7 2.1-12.1-.1-15.1-5.4l-8.2-14.3c-10.4 1.9-21.2 1.9-31.7 0zM501.6 431c38.5 29.6 82.4-14.3 52.8-52.8-38.5-29.6-82.4 14.3-52.8 52.8z"]},m={prefix:"fas",iconName:"dot-circle",icon:[512,512,[],"f192","M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm80 248c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80z"]},v={prefix:"fas",iconName:"edit",icon:[576,512,[],"f044","M402.6 83.2l90.2 90.2c3.8 3.8 3.8 10 0 13.8L274.4 405.6l-92.8 10.3c-12.4 1.4-22.9-9.1-21.5-21.5l10.3-92.8L388.8 83.2c3.8-3.8 10-3.8 13.8 0zm162-22.9l-48.8-48.8c-15.2-15.2-39.9-15.2-55.2 0l-35.4 35.4c-3.8 3.8-3.8 10 0 13.8l90.2 90.2c3.8 3.8 10 3.8 13.8 0l35.4-35.4c15.2-15.3 15.2-40 0-55.2zM384 346.2V448H64V128h229.8c3.2 0 6.2-1.3 8.5-3.5l40-40c7.6-7.6 2.2-20.5-8.5-20.5H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V306.2c0-10.7-12.9-16-20.5-8.5l-40 40c-2.2 2.3-3.5 5.3-3.5 8.5z"]},g={prefix:"fas",iconName:"ellipsis-v",icon:[192,512,[],"f142","M96 184c39.8 0 72 32.2 72 72s-32.2 72-72 72-72-32.2-72-72 32.2-72 72-72zM24 80c0 39.8 32.2 72 72 72s72-32.2 72-72S135.8 8 96 8 24 40.2 24 80zm0 352c0 39.8 32.2 72 72 72s72-32.2 72-72-32.2-72-72-72-72 32.2-72 72z"]},y={prefix:"fas",iconName:"external-link-alt",icon:[512,512,[],"f35d","M432,320H400a16,16,0,0,0-16,16V448H64V128H208a16,16,0,0,0,16-16V80a16,16,0,0,0-16-16H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V336A16,16,0,0,0,432,320ZM488,0h-128c-21.37,0-32.05,25.91-17,41l35.73,35.73L135,320.37a24,24,0,0,0,0,34L157.67,377a24,24,0,0,0,34,0L435.28,133.32,471,169c15,15,41,4.5,41-17V24A24,24,0,0,0,488,0Z"]},b={prefix:"fas",iconName:"eye",icon:[576,512,[],"f06e","M572.52 241.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400a144 144 0 1 1 144-144 143.93 143.93 0 0 1-144 144zm0-240a95.31 95.31 0 0 0-25.31 3.79 47.85 47.85 0 0 1-66.9 66.9A95.78 95.78 0 1 0 288 160z"]},_={prefix:"fas",iconName:"file-download",icon:[384,512,[],"f56d","M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm76.45 211.36l-96.42 95.7c-6.65 6.61-17.39 6.61-24.04 0l-96.42-95.7C73.42 337.29 80.54 320 94.82 320H160v-80c0-8.84 7.16-16 16-16h32c8.84 0 16 7.16 16 16v80h65.18c14.28 0 21.4 17.29 11.27 27.36zM377 105L279.1 7c-4.5-4.5-10.6-7-17-7H256v128h128v-6.1c0-6.3-2.5-12.4-7-16.9z"]},w={prefix:"fas",iconName:"file-upload",icon:[384,512,[],"f574","M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm65.18 216.01H224v80c0 8.84-7.16 16-16 16h-32c-8.84 0-16-7.16-16-16v-80H94.82c-14.28 0-21.41-17.29-11.27-27.36l96.42-95.7c6.65-6.61 17.39-6.61 24.04 0l96.42 95.7c10.15 10.07 3.03 27.36-11.25 27.36zM377 105L279.1 7c-4.5-4.5-10.6-7-17-7H256v128h128v-6.1c0-6.3-2.5-12.4-7-16.9z"]},x={prefix:"fas",iconName:"globe",icon:[496,512,[],"f0ac","M336.5 160C322 70.7 287.8 8 248 8s-74 62.7-88.5 152h177zM152 256c0 22.2 1.2 43.5 3.3 64h185.3c2.1-20.5 3.3-41.8 3.3-64s-1.2-43.5-3.3-64H155.3c-2.1 20.5-3.3 41.8-3.3 64zm324.7-96c-28.6-67.9-86.5-120.4-158-141.6 24.4 33.8 41.2 84.7 50 141.6h108zM177.2 18.4C105.8 39.6 47.8 92.1 19.3 160h108c8.7-56.9 25.5-107.8 49.9-141.6zM487.4 192H372.7c2.1 21 3.3 42.5 3.3 64s-1.2 43-3.3 64h114.6c5.5-20.5 8.6-41.8 8.6-64s-3.1-43.5-8.5-64zM120 256c0-21.5 1.2-43 3.3-64H8.6C3.2 212.5 0 233.8 0 256s3.2 43.5 8.6 64h114.6c-2-21-3.2-42.5-3.2-64zm39.5 96c14.5 89.3 48.7 152 88.5 152s74-62.7 88.5-152h-177zm159.3 141.6c71.4-21.2 129.4-73.7 158-141.6h-108c-8.8 56.9-25.6 107.8-50 141.6zM19.3 352c28.6 67.9 86.5 120.4 158 141.6-24.4-33.8-41.2-84.7-50-141.6h-108z"]},k={prefix:"fas",iconName:"home",icon:[576,512,[],"f015","M280.37 148.26L96 300.11V464a16 16 0 0 0 16 16l112.06-.29a16 16 0 0 0 15.92-16V368a16 16 0 0 1 16-16h64a16 16 0 0 1 16 16v95.64a16 16 0 0 0 16 16.05L464 480a16 16 0 0 0 16-16V300L295.67 148.26a12.19 12.19 0 0 0-15.3 0zM571.6 251.47L488 182.56V44.05a12 12 0 0 0-12-12h-56a12 12 0 0 0-12 12v72.61L318.47 43a48 48 0 0 0-61 0L4.34 251.47a12 12 0 0 0-1.6 16.9l25.5 31A12 12 0 0 0 45.15 301l235.22-193.74a12.19 12.19 0 0 1 15.3 0L530.9 301a12 12 0 0 0 16.9-1.6l25.5-31a12 12 0 0 0-1.7-16.93z"]},O={prefix:"fas",iconName:"info-circle",icon:[512,512,[],"f05a","M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"]},E={prefix:"fas",iconName:"link",icon:[512,512,[],"f0c1","M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"]},M={prefix:"fas",iconName:"list",icon:[512,512,[],"f03a","M80 368H16a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-64a16 16 0 0 0-16-16zm0-320H16A16 16 0 0 0 0 64v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16V64a16 16 0 0 0-16-16zm0 160H16a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-64a16 16 0 0 0-16-16zm416 176H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-320H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16zm0 160H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z"]},S={prefix:"fas",iconName:"map-marked-alt",icon:[576,512,[],"f5a0","M288 0c-69.59 0-126 56.41-126 126 0 56.26 82.35 158.8 113.9 196.02 6.39 7.54 17.82 7.54 24.2 0C331.65 284.8 414 182.26 414 126 414 56.41 357.59 0 288 0zm0 168c-23.2 0-42-18.8-42-42s18.8-42 42-42 42 18.8 42 42-18.8 42-42 42zM20.12 215.95A32.006 32.006 0 0 0 0 245.66v250.32c0 11.32 11.43 19.06 21.94 14.86L160 448V214.92c-8.84-15.98-16.07-31.54-21.25-46.42L20.12 215.95zM288 359.67c-14.07 0-27.38-6.18-36.51-16.96-19.66-23.2-40.57-49.62-59.49-76.72v182l192 64V266c-18.92 27.09-39.82 53.52-59.49 76.72-9.13 10.77-22.44 16.95-36.51 16.95zm266.06-198.51L416 224v288l139.88-55.95A31.996 31.996 0 0 0 576 426.34V176.02c0-11.32-11.43-19.06-21.94-14.86z"]},C={prefix:"fas",iconName:"minus-circle",icon:[512,512,[],"f056","M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zM124 296c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h264c6.6 0 12 5.4 12 12v56c0 6.6-5.4 12-12 12H124z"]},T={prefix:"fas",iconName:"moon",icon:[512,512,[],"f186","M283.211 512c78.962 0 151.079-35.925 198.857-94.792 7.068-8.708-.639-21.43-11.562-19.35-124.203 23.654-238.262-71.576-238.262-196.954 0-72.222 38.662-138.635 101.498-174.394 9.686-5.512 7.25-20.197-3.756-22.23A258.156 258.156 0 0 0 283.211 0c-141.309 0-256 114.511-256 256 0 141.309 114.511 256 256 256z"]},P={prefix:"fas",iconName:"palette",icon:[512,512,[],"f53f","M204.3 5C104.9 24.4 24.8 104.3 5.2 203.4c-37 187 131.7 326.4 258.8 306.7 41.2-6.4 61.4-54.6 42.5-91.7-23.1-45.4 9.9-98.4 60.9-98.4h79.7c35.8 0 64.8-29.6 64.9-65.3C511.5 97.1 368.1-26.9 204.3 5zM96 320c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm32-128c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128-64c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128 64c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"]},j={prefix:"fas",iconName:"pen",icon:[512,512,[],"f304","M290.74 93.24l128.02 128.02-277.99 277.99-114.14 12.6C11.35 513.54-1.56 500.62.14 485.34l12.7-114.22 277.9-277.88zm207.2-19.06l-60.11-60.11c-18.75-18.75-49.16-18.75-67.91 0l-56.55 56.55 128.02 128.02 56.55-56.55c18.75-18.76 18.75-49.16 0-67.91z"]},N={prefix:"fas",iconName:"pencil-alt",icon:[512,512,[],"f303","M497.9 142.1l-46.1 46.1c-4.7 4.7-12.3 4.7-17 0l-111-111c-4.7-4.7-4.7-12.3 0-17l46.1-46.1c18.7-18.7 49.1-18.7 67.9 0l60.1 60.1c18.8 18.7 18.8 49.1 0 67.9zM284.2 99.8L21.6 362.4.4 483.9c-2.9 16.4 11.4 30.6 27.8 27.8l121.5-21.3 262.6-262.6c4.7-4.7 4.7-12.3 0-17l-111-111c-4.8-4.7-12.4-4.7-17.1 0zM124.1 339.9c-5.5-5.5-5.5-14.3 0-19.8l154-154c5.5-5.5 14.3-5.5 19.8 0s5.5 14.3 0 19.8l-154 154c-5.5 5.5-14.3 5.5-19.8 0zM88 424h48v36.3l-64.5 11.3-31.1-31.1L51.7 376H88v48z"]},D={prefix:"fas",iconName:"plug",icon:[384,512,[],"f1e6","M320,32a32,32,0,0,0-64,0v96h64Zm48,128H16A16,16,0,0,0,0,176v32a16,16,0,0,0,16,16H32v32A160.07,160.07,0,0,0,160,412.8V512h64V412.8A160.07,160.07,0,0,0,352,256V224h16a16,16,0,0,0,16-16V176A16,16,0,0,0,368,160ZM128,32a32,32,0,0,0-64,0v96h64Z"]},L={prefix:"fas",iconName:"plus",icon:[448,512,[],"f067","M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"]},A={prefix:"fas",iconName:"qrcode",icon:[448,512,[],"f029","M0 224h192V32H0v192zM64 96h64v64H64V96zm192-64v192h192V32H256zm128 128h-64V96h64v64zM0 480h192V288H0v192zm64-128h64v64H64v-64zm352-64h32v128h-96v-32h-32v96h-64V288h96v32h64v-32zm0 160h32v32h-32v-32zm-64 0h32v32h-32v-32z"]},R={prefix:"fas",iconName:"robot",icon:[640,512,[],"f544","M32,224H64V416H32A31.96166,31.96166,0,0,1,0,384V256A31.96166,31.96166,0,0,1,32,224Zm512-48V448a64.06328,64.06328,0,0,1-64,64H160a64.06328,64.06328,0,0,1-64-64V176a79.974,79.974,0,0,1,80-80H288V32a32,32,0,0,1,64,0V96H464A79.974,79.974,0,0,1,544,176ZM264,256a40,40,0,1,0-40,40A39.997,39.997,0,0,0,264,256Zm-8,128H192v32h64Zm96,0H288v32h64ZM456,256a40,40,0,1,0-40,40A39.997,39.997,0,0,0,456,256Zm-8,128H384v32h64ZM640,256V384a31.96166,31.96166,0,0,1-32,32H576V224h32A31.96166,31.96166,0,0,1,640,256Z"]},I={prefix:"fas",iconName:"search",icon:[512,512,[],"f002","M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"]},z={prefix:"fas",iconName:"server",icon:[512,512,[],"f233","M480 160H32c-17.673 0-32-14.327-32-32V64c0-17.673 14.327-32 32-32h448c17.673 0 32 14.327 32 32v64c0 17.673-14.327 32-32 32zm-48-88c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm-64 0c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm112 248H32c-17.673 0-32-14.327-32-32v-64c0-17.673 14.327-32 32-32h448c17.673 0 32 14.327 32 32v64c0 17.673-14.327 32-32 32zm-48-88c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm-64 0c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm112 248H32c-17.673 0-32-14.327-32-32v-64c0-17.673 14.327-32 32-32h448c17.673 0 32 14.327 32 32v64c0 17.673-14.327 32-32 32zm-48-88c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm-64 0c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24z"]},B={prefix:"fas",iconName:"sort-amount-down",icon:[512,512,[],"f160","M304 416h-64a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm-128-64h-48V48a16 16 0 0 0-16-16H80a16 16 0 0 0-16 16v304H16c-14.19 0-21.37 17.24-11.29 27.31l80 96a16 16 0 0 0 22.62 0l80-96C197.35 369.26 190.22 352 176 352zm256-192H240a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h192a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm-64 128H240a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zM496 32H240a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h256a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16z"]},F={prefix:"fas",iconName:"sort-amount-up",icon:[512,512,[],"f161","M304 416h-64a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zM16 160h48v304a16 16 0 0 0 16 16h32a16 16 0 0 0 16-16V160h48c14.21 0 21.38-17.24 11.31-27.31l-80-96a16 16 0 0 0-22.62 0l-80 96C-5.35 142.74 1.77 160 16 160zm416 0H240a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h192a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm-64 128H240a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zM496 32H240a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h256a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16z"]},H={prefix:"fas",iconName:"sun",icon:[512,512,[],"f185","M256 160c-52.9 0-96 43.1-96 96s43.1 96 96 96 96-43.1 96-96-43.1-96-96-96zm246.4 80.5l-94.7-47.3 33.5-100.4c4.5-13.6-8.4-26.5-21.9-21.9l-100.4 33.5-47.4-94.8c-6.4-12.8-24.6-12.8-31 0l-47.3 94.7L92.7 70.8c-13.6-4.5-26.5 8.4-21.9 21.9l33.5 100.4-94.7 47.4c-12.8 6.4-12.8 24.6 0 31l94.7 47.3-33.5 100.5c-4.5 13.6 8.4 26.5 21.9 21.9l100.4-33.5 47.3 94.7c6.4 12.8 24.6 12.8 31 0l47.3-94.7 100.4 33.5c13.6 4.5 26.5-8.4 21.9-21.9l-33.5-100.4 94.7-47.3c13-6.5 13-24.7.2-31.1zm-155.9 106c-49.9 49.9-131.1 49.9-181 0-49.9-49.9-49.9-131.1 0-181 49.9-49.9 131.1-49.9 181 0 49.9 49.9 49.9 131.1 0 181z"]},U={prefix:"fas",iconName:"sync-alt",icon:[512,512,[],"f2f1","M370.72 133.28C339.458 104.008 298.888 87.962 255.848 88c-77.458.068-144.328 53.178-162.791 126.85-1.344 5.363-6.122 9.15-11.651 9.15H24.103c-7.498 0-13.194-6.807-11.807-14.176C33.933 94.924 134.813 8 256 8c66.448 0 126.791 26.136 171.315 68.685L463.03 40.97C478.149 25.851 504 36.559 504 57.941V192c0 13.255-10.745 24-24 24H345.941c-21.382 0-32.09-25.851-16.971-40.971l41.75-41.749zM32 296h134.059c21.382 0 32.09 25.851 16.971 40.971l-41.75 41.75c31.262 29.273 71.835 45.319 114.876 45.28 77.418-.07 144.315-53.144 162.787-126.849 1.344-5.363 6.122-9.15 11.651-9.15h57.304c7.498 0 13.194 6.807 11.807 14.176C478.067 417.076 377.187 504 256 504c-66.448 0-126.791-26.136-171.315-68.685L48.97 471.03C33.851 486.149 8 475.441 8 454.059V320c0-13.255 10.745-24 24-24z"]},W={prefix:"fas",iconName:"tags",icon:[640,512,[],"f02c","M497.941 225.941L286.059 14.059A48 48 0 0 0 252.118 0H48C21.49 0 0 21.49 0 48v204.118a48 48 0 0 0 14.059 33.941l211.882 211.882c18.744 18.745 49.136 18.746 67.882 0l204.118-204.118c18.745-18.745 18.745-49.137 0-67.882zM112 160c-26.51 0-48-21.49-48-48s21.49-48 48-48 48 21.49 48 48-21.49 48-48 48zm513.941 133.823L421.823 497.941c-18.745 18.745-49.137 18.745-67.882 0l-.36-.36L527.64 323.522c16.999-16.999 26.36-39.6 26.36-63.64s-9.362-46.641-26.36-63.64L331.397 0h48.721a48 48 0 0 1 33.941 14.059l211.882 211.882c18.745 18.745 18.745 49.137 0 67.882z"]},V={prefix:"fas",iconName:"th-large",icon:[512,512,[],"f009","M296 32h192c13.255 0 24 10.745 24 24v160c0 13.255-10.745 24-24 24H296c-13.255 0-24-10.745-24-24V56c0-13.255 10.745-24 24-24zm-80 0H24C10.745 32 0 42.745 0 56v160c0 13.255 10.745 24 24 24h192c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24zM0 296v160c0 13.255 10.745 24 24 24h192c13.255 0 24-10.745 24-24V296c0-13.255-10.745-24-24-24H24c-13.255 0-24 10.745-24 24zm296 184h192c13.255 0 24-10.745 24-24V296c0-13.255-10.745-24-24-24H296c-13.255 0-24 10.745-24 24v160c0 13.255 10.745 24 24 24z"]},Y={prefix:"fas",iconName:"times",icon:[352,512,[],"f00d","M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"]},q={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.72 23.72 0 0 0-21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16zM53.2 467a48 48 0 0 0 47.9 45h245.8a48 48 0 0 0 47.9-45L416 128H32z"]},Z={prefix:"fas",iconName:"undo",icon:[512,512,[],"f0e2","M212.333 224.333H12c-6.627 0-12-5.373-12-12V12C0 5.373 5.373 0 12 0h48c6.627 0 12 5.373 12 12v78.112C117.773 39.279 184.26 7.47 258.175 8.007c136.906.994 246.448 111.623 246.157 248.532C504.041 393.258 393.12 504 256.333 504c-64.089 0-122.496-24.313-166.51-64.215-5.099-4.622-5.334-12.554-.467-17.42l33.967-33.967c4.474-4.474 11.662-4.717 16.401-.525C170.76 415.336 211.58 432 256.333 432c97.268 0 176-78.716 176-176 0-97.267-78.716-176-176-176-58.496 0-110.28 28.476-142.274 72.333h98.274c6.627 0 12 5.373 12 12v48c0 6.627-5.373 12-12 12z"]}},function(t,e,n){"use strict";function r(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(l){return void n(l)}s.done?e(u):Promise.resolve(u).then(r,i)}function i(t){return function(){var e=this,n=arguments;return new Promise((function(i,o){var a=t.apply(e,n);function s(t){r(a,i,o,s,u,"next",t)}function u(t){r(a,i,o,s,u,"throw",t)}s(void 0)}))}}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";function r(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}n.d(e,"a",(function(){return r}))},,function(t,e,n){"use strict";n.d(e,"a",(function(){return f})),n.d(e,"b",(function(){return d})),n.d(e,"c",(function(){return h}));n(28);var r=n(6),i=n(2),o=n(39),a=n(24);function s(){return(s=Object.assign||function(t){for(var e=1;e=0||(i[n]=t[n]);return i}var l=["onClick","reloadDocument","replace","state","target","to"],c=["aria-current","caseSensitive","className","end","style","to","children"];function f(t){var e=t.basename,n=t.children,s=t.window,u=Object(i.useRef)();null==u.current&&(u.current=Object(o.b)({window:s}));var l=u.current,c=Object(i.useState)({action:l.action,location:l.location}),f=Object(r.a)(c,2),d=f[0],h=f[1];return Object(i.useLayoutEffect)((function(){return l.listen(h)}),[l]),Object(i.createElement)(a.c,{basename:e,children:n,location:d.location,navigationType:d.action,navigator:l})}var d=Object(i.forwardRef)((function(t,e){var n=t.onClick,r=t.reloadDocument,c=t.replace,f=void 0!==c&&c,d=t.state,h=t.target,p=t.to,m=u(t,l),v=Object(a.e)(p),g=function(t,e){var n=void 0===e?{}:e,r=n.target,s=n.replace,u=n.state,l=Object(a.g)(),c=Object(a.f)(),f=Object(a.i)(t);return Object(i.useCallback)((function(e){if(0===e.button&&(!r||"_self"===r)&&!function(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}(e)){e.preventDefault();var n=!!s||Object(o.e)(c)===Object(o.e)(f);l(t,{replace:n,state:u})}}),[c,l,f,s,u,r,t])}(p,{replace:f,state:d,target:h});return Object(i.createElement)("a",s({},m,{href:v,onClick:function(t){n&&n(t),t.defaultPrevented||r||g(t)},ref:e,target:h}))}));var h=Object(i.forwardRef)((function(t,e){var n=t["aria-current"],r=void 0===n?"page":n,o=t.caseSensitive,l=void 0!==o&&o,f=t.className,h=void 0===f?"":f,p=t.end,m=void 0!==p&&p,v=t.style,g=t.to,y=t.children,b=u(t,c),_=Object(a.f)(),w=Object(a.i)(g),x=_.pathname,k=w.pathname;l||(x=x.toLowerCase(),k=k.toLowerCase());var O,E=x===k||!m&&x.startsWith(k)&&"/"===x.charAt(k.length),M=E?r:void 0;O="function"===typeof h?h({isActive:E}):[h,E?"active":null].filter(Boolean).join(" ");var S="function"===typeof v?v({isActive:E}):v;return Object(i.createElement)(d,s({},b,{"aria-current":M,className:O,ref:e,style:S,to:g}),"function"===typeof y?y({isActive:E}):y)}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(20),i=n(33);function o(t){return function e(n,o){switch(arguments.length){case 0:return e;case 1:return Object(i.a)(n)?e:Object(r.a)((function(e){return t(n,e)}));default:return Object(i.a)(n)&&Object(i.a)(o)?e:Object(i.a)(n)?Object(r.a)((function(e){return t(e,o)})):Object(i.a)(o)?Object(r.a)((function(e){return t(n,e)})):t(n,o)}}}},function(t,e,n){"use strict";function r(t,e){for(var n=0;n0&&(!0===t.index&&a(!1),w(t.children,e,u,s)),(null!=t.path||t.index)&&e.push({path:s,score:O(s,t.index),routesMeta:u})})),e}var x=/^:\w+$/,k=function(t){return"*"===t};function O(t,e){var n=t.split("/"),r=n.length;return n.some(k)&&(r+=-2),e&&(r+=2),n.filter((function(t){return!k(t)})).reduce((function(t,e){return t+(x.test(e)?3:""===e?1:10)}),r)}function E(t,e){for(var n=t.routesMeta,r={},i="/",o=[],a=0;a=0?e[s]:"/"}var l=function(t,e){void 0===e&&(e="/");var n="string"===typeof t?Object(o.f)(t):t,r=n.pathname,i=n.search,a=void 0===i?"":i,s=n.hash,u=void 0===s?"":s;return{pathname:r?r.startsWith("/")?r:function(t,e){var n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach((function(t){".."===t?n.length>1&&n.pop():"."!==t&&n.push(t)})),n.length>1?n.join("/"):"/"}(r,e):e,search:N(a),hash:D(u)}}(i,r);return a&&"/"!==a&&a.endsWith("/")&&!l.pathname.endsWith("/")&&(l.pathname+="/"),l}function T(t,e){if("/"===e)return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;var n=t.charAt(e.length);return n&&"/"!==n?null:t.slice(e.length)||"/"}var P=function(t){return t.join("/").replace(/\/\/+/g,"/")},j=function(t){return t.replace(/\/+$/,"").replace(/^\/*/,"/")},N=function(t){return t&&"?"!==t?t.startsWith("?")?t:"?"+t:""},D=function(t){return t&&"#"!==t?t.startsWith("#")?t:"#"+t:""}},function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";function r(t,e){for(var n=t<0?"-":"",r=Math.abs(t).toString();r.length=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return s=t.done,t},e:function(t){u=!0,a=t},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw a}}}}},,,function(t,e,n){"use strict";function r(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}n.d(e,"a",(function(){return r}))},,function(t,e,n){"use strict";function r(t){return null!=t&&"object"===typeof t&&!0===t["@@functional/placeholder"]}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(37);var i=n(185),o=n(74);function a(t,e){return!e||"object"!==Object(i.a)(e)&&"function"!==typeof e?Object(o.a)(t):e}function s(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=Object(r.a)(t);if(e){var o=Object(r.a)(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return a(this,n)}}},function(t,e,n){"use strict";function r(t,e){return(r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function i(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&r(t,e)}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";function r(t,e){return Object.prototype.hasOwnProperty.call(e,t)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return r}))},function(t,e){t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return l})),n.d(e,"d",(function(){return c})),n.d(e,"e",(function(){return m})),n.d(e,"f",(function(){return v}));var r,i=n(45);!function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"}(r||(r={}));var o=function(t){return t};var a="beforeunload",s="popstate";function u(t){void 0===t&&(t={});var e=t.window,n=void 0===e?document.defaultView:e,u=n.history;function l(){var t=n.location,e=t.pathname,r=t.search,i=t.hash,a=u.state||{};return[a.idx,o({pathname:e,search:r,hash:i,state:a.usr||null,key:a.key||"default"})]}var c=null;n.addEventListener(s,(function(){if(c)w.call(c),c=null;else{var t=r.Pop,e=l(),n=e[0],i=e[1];if(w.length){if(null!=n){var o=y-n;o&&(c={action:t,location:i,retry:function(){S(-1*o)}},S(o))}}else M(t)}}));var f=r.Pop,g=l(),y=g[0],b=g[1],_=h(),w=h();function x(t){return"string"===typeof t?t:m(t)}function k(t,e){return void 0===e&&(e=null),o(Object(i.a)({pathname:b.pathname,hash:"",search:""},"string"===typeof t?v(t):t,{state:e,key:p()}))}function O(t,e){return[{usr:t.state,key:t.key,idx:e},x(t)]}function E(t,e,n){return!w.length||(w.call({action:t,location:e,retry:n}),!1)}function M(t){f=t;var e=l();y=e[0],b=e[1],_.call({action:f,location:b})}function S(t){u.go(t)}return null==y&&(y=0,u.replaceState(Object(i.a)({},u.state,{idx:y}),"")),{get action(){return f},get location(){return b},createHref:x,push:function t(e,i){var o=r.Push,a=k(e,i);if(E(o,a,(function(){t(e,i)}))){var s=O(a,y+1),l=s[0],c=s[1];try{u.pushState(l,"",c)}catch(f){n.location.assign(c)}M(o)}},replace:function t(e,n){var i=r.Replace,o=k(e,n);if(E(i,o,(function(){t(e,n)}))){var a=O(o,y),s=a[0],l=a[1];u.replaceState(s,"",l),M(i)}},go:S,back:function(){S(-1)},forward:function(){S(1)},listen:function(t){return _.push(t)},block:function(t){var e=w.push(t);return 1===w.length&&n.addEventListener(a,d),function(){e(),w.length||n.removeEventListener(a,d)}}}}function l(t){void 0===t&&(t={});var e=t.window,n=void 0===e?document.defaultView:e,u=n.history;function l(){var t=v(n.location.hash.substr(1)),e=t.pathname,r=void 0===e?"/":e,i=t.search,a=void 0===i?"":i,s=t.hash,l=void 0===s?"":s,c=u.state||{};return[c.idx,o({pathname:r,search:a,hash:l,state:c.usr||null,key:c.key||"default"})]}var c=null;function f(){if(c)x.call(c),c=null;else{var t=r.Pop,e=l(),n=e[0],i=e[1];if(x.length){if(null!=n){var o=b-n;o&&(c={action:t,location:i,retry:function(){C(-1*o)}},C(o))}}else S(t)}}n.addEventListener(s,f),n.addEventListener("hashchange",(function(){m(l()[1])!==m(_)&&f()}));var g=r.Pop,y=l(),b=y[0],_=y[1],w=h(),x=h();function k(t){return function(){var t=document.querySelector("base"),e="";if(t&&t.getAttribute("href")){var r=n.location.href,i=r.indexOf("#");e=-1===i?r:r.slice(0,i)}return e}()+"#"+("string"===typeof t?t:m(t))}function O(t,e){return void 0===e&&(e=null),o(Object(i.a)({pathname:_.pathname,hash:"",search:""},"string"===typeof t?v(t):t,{state:e,key:p()}))}function E(t,e){return[{usr:t.state,key:t.key,idx:e},k(t)]}function M(t,e,n){return!x.length||(x.call({action:t,location:e,retry:n}),!1)}function S(t){g=t;var e=l();b=e[0],_=e[1],w.call({action:g,location:_})}function C(t){u.go(t)}return null==b&&(b=0,u.replaceState(Object(i.a)({},u.state,{idx:b}),"")),{get action(){return g},get location(){return _},createHref:k,push:function t(e,i){var o=r.Push,a=O(e,i);if(M(o,a,(function(){t(e,i)}))){var s=E(a,b+1),l=s[0],c=s[1];try{u.pushState(l,"",c)}catch(f){n.location.assign(c)}S(o)}},replace:function t(e,n){var i=r.Replace,o=O(e,n);if(M(i,o,(function(){t(e,n)}))){var a=E(o,b),s=a[0],l=a[1];u.replaceState(s,"",l),S(i)}},go:C,back:function(){C(-1)},forward:function(){C(1)},listen:function(t){return w.push(t)},block:function(t){var e=x.push(t);return 1===x.length&&n.addEventListener(a,d),function(){e(),x.length||n.removeEventListener(a,d)}}}}function c(t){void 0===t&&(t={});var e=t,n=e.initialEntries,a=void 0===n?["/"]:n,s=e.initialIndex,u=a.map((function(t){return o(Object(i.a)({pathname:"/",search:"",hash:"",state:null,key:p()},"string"===typeof t?v(t):t))})),l=f(null==s?u.length-1:s,0,u.length-1),c=r.Pop,d=u[l],g=h(),y=h();function b(t,e){return void 0===e&&(e=null),o(Object(i.a)({pathname:d.pathname,search:"",hash:""},"string"===typeof t?v(t):t,{state:e,key:p()}))}function _(t,e,n){return!y.length||(y.call({action:t,location:e,retry:n}),!1)}function w(t,e){c=t,d=e,g.call({action:c,location:d})}function x(t){var e=f(l+t,0,u.length-1),n=r.Pop,i=u[e];_(n,i,(function(){x(t)}))&&(l=e,w(n,i))}return{get index(){return l},get action(){return c},get location(){return d},createHref:function(t){return"string"===typeof t?t:m(t)},push:function t(e,n){var i=r.Push,o=b(e,n);_(i,o,(function(){t(e,n)}))&&(l+=1,u.splice(l,u.length,o),w(i,o))},replace:function t(e,n){var i=r.Replace,o=b(e,n);_(i,o,(function(){t(e,n)}))&&(u[l]=o,w(i,o))},go:x,back:function(){x(-1)},forward:function(){x(1)},listen:function(t){return g.push(t)},block:function(t){return y.push(t)}}}function f(t,e,n){return Math.min(Math.max(t,e),n)}function d(t){t.preventDefault(),t.returnValue=""}function h(){var t=[];return{get length(){return t.length},push:function(e){return t.push(e),function(){t=t.filter((function(t){return t!==e}))}},call:function(e){t.forEach((function(t){return t&&t(e)}))}}}function p(){return Math.random().toString(36).substr(2,8)}function m(t){var e=t.pathname,n=void 0===e?"/":e,r=t.search,i=void 0===r?"":r,o=t.hash,a=void 0===o?"":o;return i&&"?"!==i&&(n+="?"===i.charAt(0)?i:"?"+i),a&&"#"!==a&&(n+="#"===a.charAt(0)?a:"#"+a),n}function v(t){var e={};if(t){var n=t.indexOf("#");n>=0&&(e.hash=t.substr(n),t=t.substr(0,n));var r=t.indexOf("?");r>=0&&(e.search=t.substr(r),t=t.substr(0,r)),t&&(e.pathname=t)}return e}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(2),i=n.n(r),o=function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=0;)e=s[n],Object(i.a)(e,t)&&!l(r,e)&&(r[r.length]=e),n-=1;return r})):Object(r.a)((function(t){return Object(t)!==t?[]:Object.keys(t)}));e.a=c},function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return s}));var r=n(2),i=1,o=Object(r.createContext)(null),a=o.Provider;function s(){var t=Object(r.useContext)(o);if(null==t)throw new Error("No context provided: useLeafletContext() can only be used in a descendant of ");return t}},function(t,e,n){!function(t){"use strict";var e="1.7.1";function n(t){var e,n,r,i;for(n=1,r=arguments.length;n0?Math.floor(t):Math.ceil(t)};function A(t,e,n){return t instanceof N?t:g(t)?new N(t[0],t[1]):void 0===t||null===t?t:"object"===typeof t&&"x"in t&&"y"in t?new N(t.x,t.y):new N(t,e,n)}function R(t,e){if(t)for(var n=e?[t,e]:t,r=0,i=n.length;r=this.min.x&&n.x<=this.max.x&&e.y>=this.min.y&&n.y<=this.max.y},intersects:function(t){t=I(t);var e=this.min,n=this.max,r=t.min,i=t.max,o=i.x>=e.x&&r.x<=n.x,a=i.y>=e.y&&r.y<=n.y;return o&&a},overlaps:function(t){t=I(t);var e=this.min,n=this.max,r=t.min,i=t.max,o=i.x>e.x&&r.xe.y&&r.y=r.lat&&n.lat<=i.lat&&e.lng>=r.lng&&n.lng<=i.lng},intersects:function(t){t=B(t);var e=this._southWest,n=this._northEast,r=t.getSouthWest(),i=t.getNorthEast(),o=i.lat>=e.lat&&r.lat<=n.lat,a=i.lng>=e.lng&&r.lng<=n.lng;return o&&a},overlaps:function(t){t=B(t);var e=this._southWest,n=this._northEast,r=t.getSouthWest(),i=t.getNorthEast(),o=i.lat>e.lat&&r.late.lng&&r.lng1,St=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",l,e),window.removeEventListener("testPassiveEventSupport",l,e)}catch(n){}return t}(),Ct=!!document.createElement("canvas").getContext,Tt=!(!document.createElementNS||!X("svg").createSVGRect),Pt=!Tt&&function(){try{var t=document.createElement("div");t.innerHTML='';var e=t.firstChild;return e.style.behavior="url(#default#VML)",e&&"object"===typeof e.adj}catch(n){return!1}}();function jt(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var Nt={ie:J,ielt9:tt,edge:et,webkit:nt,android:rt,android23:it,androidStock:at,opera:st,chrome:ut,gecko:lt,safari:ct,phantom:ft,opera12:dt,win:ht,ie3d:pt,webkit3d:mt,gecko3d:vt,any3d:gt,mobile:yt,mobileWebkit:bt,mobileWebkit3d:_t,msPointer:wt,pointer:xt,touch:kt,mobileOpera:Ot,mobileGecko:Et,retina:Mt,passiveEvents:St,canvas:Ct,svg:Tt,vml:Pt},Dt=wt?"MSPointerDown":"pointerdown",Lt=wt?"MSPointerMove":"pointermove",At=wt?"MSPointerUp":"pointerup",Rt=wt?"MSPointerCancel":"pointercancel",It={},zt=!1;function Bt(t,e,n,r){return"touchstart"===e?Ht(t,n,r):"touchmove"===e?qt(t,n,r):"touchend"===e&&Zt(t,n,r),this}function Ft(t,e,n){var r=t["_leaflet_"+e+n];return"touchstart"===e?t.removeEventListener(Dt,r,!1):"touchmove"===e?t.removeEventListener(Lt,r,!1):"touchend"===e&&(t.removeEventListener(At,r,!1),t.removeEventListener(Rt,r,!1)),this}function Ht(t,e,n){var r=i((function(t){t.MSPOINTER_TYPE_TOUCH&&t.pointerType===t.MSPOINTER_TYPE_TOUCH&&We(t),Yt(t,e)}));t["_leaflet_touchstart"+n]=r,t.addEventListener(Dt,r,!1),zt||(document.addEventListener(Dt,Ut,!0),document.addEventListener(Lt,Wt,!0),document.addEventListener(At,Vt,!0),document.addEventListener(Rt,Vt,!0),zt=!0)}function Ut(t){It[t.pointerId]=t}function Wt(t){It[t.pointerId]&&(It[t.pointerId]=t)}function Vt(t){delete It[t.pointerId]}function Yt(t,e){for(var n in t.touches=[],It)t.touches.push(It[n]);t.changedTouches=[t],e(t)}function qt(t,e,n){var r=function(t){t.pointerType===(t.MSPOINTER_TYPE_MOUSE||"mouse")&&0===t.buttons||Yt(t,e)};t["_leaflet_touchmove"+n]=r,t.addEventListener(Lt,r,!1)}function Zt(t,e,n){var r=function(t){Yt(t,e)};t["_leaflet_touchend"+n]=r,t.addEventListener(At,r,!1),t.addEventListener(Rt,r,!1)}var Kt=wt?"MSPointerDown":xt?"pointerdown":"touchstart",Qt=wt?"MSPointerUp":xt?"pointerup":"touchend",Xt="_leaflet_";function Gt(t,e,n){var r,i,o=!1,a=250;function s(t){if(xt){if(!t.isPrimary)return;if("mouse"===t.pointerType)return}else if(t.touches.length>1)return;var e=Date.now(),n=e-(r||e);i=t.touches?t.touches[0]:t,o=n>0&&n<=a,r=e}function u(t){if(o&&!i.cancelBubble){if(xt){if("mouse"===t.pointerType)return;var n,a,s={};for(a in i)n=i[a],s[a]=n&&n.bind?n.bind(i):n;i=s}i.type="dblclick",i.button=0,e(i),r=null}}return t[Xt+Kt+n]=s,t[Xt+Qt+n]=u,t[Xt+"dblclick"+n]=e,t.addEventListener(Kt,s,!!St&&{passive:!1}),t.addEventListener(Qt,u,!!St&&{passive:!1}),t.addEventListener("dblclick",e,!1),this}function $t(t,e){var n=t[Xt+Kt+e],r=t[Xt+Qt+e],i=t[Xt+"dblclick"+e];return t.removeEventListener(Kt,n,!!St&&{passive:!1}),t.removeEventListener(Qt,r,!!St&&{passive:!1}),t.removeEventListener("dblclick",i,!1),this}var Jt,te,ee,ne,re,ie=we(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),oe=we(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),ae="webkitTransition"===oe||"OTransition"===oe?oe+"End":"transitionend";function se(t){return"string"===typeof t?document.getElementById(t):t}function ue(t,e){var n=t.style[e]||t.currentStyle&&t.currentStyle[e];if((!n||"auto"===n)&&document.defaultView){var r=document.defaultView.getComputedStyle(t,null);n=r?r[e]:null}return"auto"===n?null:n}function le(t,e,n){var r=document.createElement(t);return r.className=e||"",n&&n.appendChild(r),r}function ce(t){var e=t.parentNode;e&&e.removeChild(t)}function fe(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function de(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function he(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function pe(t,e){if(void 0!==t.classList)return t.classList.contains(e);var n=ye(t);return n.length>0&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(n)}function me(t,e){if(void 0!==t.classList)for(var n=d(e),r=0,i=n.length;rthis.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var n=this.getCenter(),r=this._limitCenter(n,this._zoom,B(t));return n.equals(r)||this.panTo(r,e),this._enforcingBounds=!1,this},panInside:function(t,e){var n=A((e=e||{}).paddingTopLeft||e.padding||[0,0]),r=A(e.paddingBottomRight||e.padding||[0,0]),i=this.getCenter(),o=this.project(i),a=this.project(t),s=this.getPixelBounds(),u=s.getSize().divideBy(2),l=I([s.min.add(n),s.max.subtract(r)]);if(!l.contains(a)){this._enforcingBounds=!0;var c=o.subtract(a),f=A(a.x+c.x,a.y+c.y);(a.xl.max.x)&&(f.x=o.x-c.x,c.x>0?f.x+=u.x-n.x:f.x-=u.x-r.x),(a.yl.max.y)&&(f.y=o.y-c.y,c.y>0?f.y+=u.y-n.y:f.y-=u.y-r.y),this.panTo(this.unproject(f),e),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=n({animate:!1,pan:!0},!0===t?{animate:!0}:t);var e=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var r=this.getSize(),o=e.divideBy(2).round(),a=r.divideBy(2).round(),s=o.subtract(a);return s.x||s.y?(t.animate&&t.pan?this.panBy(s):(t.pan&&this._rawPanBy(s),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(i(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:e,newSize:r})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=n({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var e=i(this._handleGeolocationResponse,this),r=i(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(e,r,t):navigator.geolocation.getCurrentPosition(e,r,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){var e=t.code,n=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+n+"."})},_handleGeolocationResponse:function(t){var e=new F(t.coords.latitude,t.coords.longitude),n=e.toBounds(2*t.coords.accuracy),r=this._locateOptions;if(r.setView){var i=this.getBoundsZoom(n);this.setView(e,r.maxZoom?Math.min(i,r.maxZoom):i)}var o={latlng:e,bounds:n,timestamp:t.timestamp};for(var a in t.coords)"number"===typeof t.coords[a]&&(o[a]=t.coords[a]);this.fire("locationfound",o)},addHandler:function(t,e){if(!e)return this;var n=this[t]=new e(this);return this._handlers.push(n),this.options[t]&&n.enable(),this},remove:function(){if(this._initEvents(!0),this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(e){this._container._leaflet_id=void 0,this._containerId=void 0}var t;for(t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),ce(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(M(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)ce(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){var n=le("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),e||this._mapPane);return t&&(this._panes[t]=n),n},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds();return new z(this.unproject(t.getBottomLeft()),this.unproject(t.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,n){t=B(t),n=A(n||[0,0]);var r=this.getZoom()||0,i=this.getMinZoom(),o=this.getMaxZoom(),a=t.getNorthWest(),s=t.getSouthEast(),u=this.getSize().subtract(n),l=I(this.project(s,r),this.project(a,r)).getSize(),c=gt?this.options.zoomSnap:1,f=u.x/l.x,d=u.y/l.y,h=e?Math.max(f,d):Math.min(f,d);return r=this.getScaleZoom(h,r),c&&(r=Math.round(r/(c/100))*(c/100),r=e?Math.ceil(r/c)*c:Math.floor(r/c)*c),Math.max(i,Math.min(o,r))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new N(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){var n=this._getTopLeftPoint(t,e);return new R(n,n.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"===typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,e){var n=this.options.crs;return e=void 0===e?this._zoom:e,n.scale(t)/n.scale(e)},getScaleZoom:function(t,e){var n=this.options.crs;e=void 0===e?this._zoom:e;var r=n.zoom(t*n.scale(e));return isNaN(r)?1/0:r},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(H(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(A(t),e)},layerPointToLatLng:function(t){var e=A(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){return this.project(H(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(H(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(B(t))},distance:function(t,e){return this.options.crs.distance(H(t),H(e))},containerPointToLayerPoint:function(t){return A(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return A(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(A(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(H(t)))},mouseEventToContainerPoint:function(t){return Ye(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var e=this._container=se(t);if(!e)throw new Error("Map container not found.");if(e._leaflet_id)throw new Error("Map container is already initialized.");De(e,"scroll",this._onScroll,this),this._containerId=a(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&>,me(t,"leaflet-container"+(kt?" leaflet-touch":"")+(Mt?" leaflet-retina":"")+(tt?" leaflet-oldie":"")+(ct?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=ue(t,"position");"absolute"!==e&&"relative"!==e&&"fixed"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),ke(this._mapPane,new N(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(me(t.markerPane,"leaflet-zoom-hide"),me(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e){ke(this._mapPane,new N(0,0));var n=!this._loaded;this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset");var r=this._zoom!==e;this._moveStart(r,!1)._move(t,e)._moveEnd(r),this.fire("viewreset"),n&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this},_move:function(t,e,n){void 0===e&&(e=this._zoom);var r=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),(r||n&&n.pinch)&&this.fire("zoom",n),this.fire("move",n)},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return M(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){ke(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={},this._targets[a(this._container)]=this;var e=t?Ae:De;e(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),gt&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){M(this._resizeRequest),this._resizeRequest=E((function(){this.invalidateSize({debounceMoveend:!0})}),this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){for(var n,r=[],i="mouseout"===e||"mouseover"===e,o=t.target||t.srcElement,s=!1;o;){if((n=this._targets[a(o)])&&("click"===e||"preclick"===e)&&!t._simulated&&this._draggableMoved(n)){s=!0;break}if(n&&n.listens(e,!0)){if(i&&!Ge(o,t))break;if(r.push(n),i)break}if(o===this._container)break;o=o.parentNode}return r.length||s||i||!Ge(o,t)||(r=[this]),r},_handleDOMEvent:function(t){if(this._loaded&&!Xe(t)){var e=t.type;"mousedown"!==e&&"keypress"!==e&&"keyup"!==e&&"keydown"!==e||Ce(t.target||t.srcElement),this._fireDOMEvent(t,e)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,e,r){if("click"===t.type){var i=n({},t);i.type="preclick",this._fireDOMEvent(i,i.type,r)}if(!t._stopped&&(r=(r||[]).concat(this._findEventTargets(t,e))).length){var o=r[0];"contextmenu"===e&&o.listens(e,!0)&&We(t);var a={originalEvent:t};if("keypress"!==t.type&&"keydown"!==t.type&&"keyup"!==t.type){var s=o.getLatLng&&(!o._radius||o._radius<=10);a.containerPoint=s?this.latLngToContainerPoint(o.getLatLng()):this.mouseEventToContainerPoint(t),a.layerPoint=this.containerPointToLayerPoint(a.containerPoint),a.latlng=s?o.getLatLng():this.layerPointToLatLng(a.layerPoint)}for(var u=0;u0?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),n=this.getMaxZoom(),r=gt?this.options.zoomSnap:1;return r&&(t=Math.round(t/r)*r),Math.max(e,Math.min(n,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){ve(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var n=this._getCenterOffset(t)._trunc();return!(!0!==(e&&e.animate)&&!this.getSize().contains(n))&&(this.panBy(n,e),!0)},_createAnimProxy:function(){var t=this._proxy=le("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",(function(t){var e=ie,n=this._proxy.style[e];xe(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),n===this._proxy.style[e]&&this._animatingZoom&&this._onZoomTransitionEnd()}),this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){ce(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),e=this.getZoom();xe(this._proxy,this.project(t,e),this.getZoomScale(e,1))},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,n){if(this._animatingZoom)return!0;if(n=n||{},!this._zoomAnimated||!1===n.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var r=this.getZoomScale(e),i=this._getCenterOffset(t)._divideBy(1-1/r);return!(!0!==n.animate&&!this.getSize().contains(i))&&(E((function(){this._moveStart(!0,!1)._animateZoom(t,e,!0)}),this),!0)},_animateZoom:function(t,e,n,r){this._mapPane&&(n&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,me(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:r}),setTimeout(i(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&ve(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),E((function(){this._moveEnd(!0)}),this))}});function en(t,e){return new tn(t,e)}var nn=C.extend({options:{position:"topright"},initialize:function(t){h(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var e=this._container=this.onAdd(t),n=this.getPosition(),r=t._controlCorners[n];return me(e,"leaflet-control"),-1!==n.indexOf("bottom")?r.insertBefore(e,r.firstChild):r.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(ce(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),rn=function(t){return new nn(t)};tn.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},e="leaflet-",n=this._controlContainer=le("div",e+"control-container",this._container);function r(r,i){var o=e+r+" "+e+i;t[r+i]=le("div",o,n)}r("top","left"),r("top","right"),r("bottom","left"),r("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)ce(this._controlCorners[t]);ce(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var on=nn.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,n,r){return n1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=e&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(a(t.target)),n=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;n&&this._map.fire(n,e)},_createRadioElement:function(t,e){var n='",r=document.createElement("div");return r.innerHTML=n,r.firstChild},_addItem:function(t){var e,n=document.createElement("label"),r=this._map.hasLayer(t.layer);t.overlay?((e=document.createElement("input")).type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=r):e=this._createRadioElement("leaflet-base-layers_"+a(this),r),this._layerControlInputs.push(e),e.layerId=a(t.layer),De(e,"click",this._onInputClick,this);var i=document.createElement("span");i.innerHTML=" "+t.name;var o=document.createElement("div");return n.appendChild(o),o.appendChild(e),o.appendChild(i),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(n),this._checkDisabledLayers(),n},_onInputClick:function(){var t,e,n=this._layerControlInputs,r=[],i=[];this._handlingClick=!0;for(var o=n.length-1;o>=0;o--)t=n[o],e=this._getLayer(t.layerId).layer,t.checked?r.push(e):t.checked||i.push(e);for(o=0;o=0;i--)t=n[i],e=this._getLayer(t.layerId).layer,t.disabled=void 0!==e.options.minZoom&&re.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expand:function(){return this.expand()},_collapse:function(){return this.collapse()}}),an=function(t,e,n){return new on(t,e,n)},sn=nn.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"−",zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",n=le("div",e+" leaflet-bar"),r=this.options;return this._zoomInButton=this._createButton(r.zoomInText,r.zoomInTitle,e+"-in",n,this._zoomIn),this._zoomOutButton=this._createButton(r.zoomOutText,r.zoomOutTitle,e+"-out",n,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),n},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,e,n,r,i){var o=le("a",n,r);return o.innerHTML=t,o.href="#",o.title=e,o.setAttribute("role","button"),o.setAttribute("aria-label",e),Ue(o),De(o,"click",Ve),De(o,"click",i,this),De(o,"click",this._refocusOnMap,this),o},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";ve(this._zoomInButton,e),ve(this._zoomOutButton,e),(this._disabled||t._zoom===t.getMinZoom())&&me(this._zoomOutButton,e),(this._disabled||t._zoom===t.getMaxZoom())&&me(this._zoomInButton,e)}});tn.mergeOptions({zoomControl:!0}),tn.addInitHook((function(){this.options.zoomControl&&(this.zoomControl=new sn,this.addControl(this.zoomControl))}));var un=function(t){return new sn(t)},ln=nn.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e="leaflet-control-scale",n=le("div",e),r=this.options;return this._addScales(r,e+"-line",n),t.on(r.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),n},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,n){t.metric&&(this._mScale=le("div",e,n)),t.imperial&&(this._iScale=le("div",e,n))},_update:function(){var t=this._map,e=t.getSize().y/2,n=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(n)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t),n=e<1e3?e+" m":e/1e3+" km";this._updateScale(this._mScale,n,e/t)},_updateImperial:function(t){var e,n,r,i=3.2808399*t;i>5280?(e=i/5280,n=this._getRoundNum(e),this._updateScale(this._iScale,n+" mi",n/e)):(r=this._getRoundNum(i),this._updateScale(this._iScale,r+" ft",r/i))},_updateScale:function(t,e,n){t.style.width=Math.round(this.options.maxWidth*n)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),n=t/e;return e*(n=n>=10?10:n>=5?5:n>=3?3:n>=2?2:1)}}),cn=function(t){return new ln(t)},fn=nn.extend({options:{position:"bottomright",prefix:'Leaflet'},initialize:function(t){h(this,t),this._attributions={}},onAdd:function(t){for(var e in t.attributionControl=this,this._container=le("div","leaflet-control-attribution"),Ue(this._container),t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),this._container},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t?(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update(),this):this},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):this},_update:function(){if(this._map){var t=[];for(var e in this._attributions)this._attributions[e]&&t.push(e);var n=[];this.options.prefix&&n.push(this.options.prefix),t.length&&n.push(t.join(", ")),this._container.innerHTML=n.join(" | ")}}});tn.mergeOptions({attributionControl:!0}),tn.addInitHook((function(){this.options.attributionControl&&(new fn).addTo(this)}));var dn=function(t){return new fn(t)};nn.Layers=on,nn.Zoom=sn,nn.Scale=ln,nn.Attribution=fn,rn.layers=an,rn.zoom=un,rn.scale=cn,rn.attribution=dn;var hn=C.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});hn.addTo=function(t,e){return t.addHandler(e,this),this};var pn,mn={Events:P},vn=kt?"touchstart mousedown":"mousedown",gn={mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},yn={mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"},bn=j.extend({options:{clickTolerance:3},initialize:function(t,e,n,r){h(this,r),this._element=t,this._dragStartTarget=e||t,this._preventOutline=n},enable:function(){this._enabled||(De(this._dragStartTarget,vn,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(bn._dragging===this&&this.finishDrag(),Ae(this._dragStartTarget,vn,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(!t._simulated&&this._enabled&&(this._moved=!1,!pe(this._element,"leaflet-zoom-anim")&&!(bn._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches)&&(bn._dragging=this,this._preventOutline&&Ce(this._element),Me(),Jt(),!this._moving))){this.fire("down");var e=t.touches?t.touches[0]:t,n=Pe(this._element);this._startPoint=new N(e.clientX,e.clientY),this._parentScale=je(n),De(document,yn[t.type],this._onMove,this),De(document,gn[t.type],this._onUp,this)}},_onMove:function(t){if(!t._simulated&&this._enabled)if(t.touches&&t.touches.length>1)this._moved=!0;else{var e=t.touches&&1===t.touches.length?t.touches[0]:t,n=new N(e.clientX,e.clientY)._subtract(this._startPoint);(n.x||n.y)&&(Math.abs(n.x)+Math.abs(n.y)u&&(o=a,u=s);u>n&&(e[o]=1,On(t,e,n,r,o),On(t,e,n,o,i))}function En(t,e){for(var n=[t[0]],r=1,i=0,o=t.length;re&&(n.push(t[r]),i=r);return ie.max.x&&(n|=2),t.ye.max.y&&(n|=8),n}function Tn(t,e){var n=e.x-t.x,r=e.y-t.y;return n*n+r*r}function Pn(t,e,n,r){var i,o=e.x,a=e.y,s=n.x-o,u=n.y-a,l=s*s+u*u;return l>0&&((i=((t.x-o)*s+(t.y-a)*u)/l)>1?(o=n.x,a=n.y):i>0&&(o+=s*i,a+=u*i)),s=t.x-o,u=t.y-a,r?s*s+u*u:new N(o,a)}function jn(t){return!g(t[0])||"object"!==typeof t[0][0]&&"undefined"!==typeof t[0][0]}function Nn(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),jn(t)}var Dn={simplify:_n,pointToSegmentDistance:wn,closestPointOnSegment:xn,clipSegment:Mn,_getEdgeIntersection:Sn,_getBitCode:Cn,_sqClosestPointOnSegment:Pn,isFlat:jn,_flat:Nn};function Ln(t,e,n){var r,i,o,a,s,u,l,c,f,d=[1,4,2,8];for(i=0,l=t.length;i1e-7;u++)e=o*Math.sin(s),e=Math.pow((1-e)/(1+e),o/2),s+=l=Math.PI/2-2*Math.atan(a*e)-s;return new F(s*n,t.x*n/r)}},zn={LonLat:Rn,Mercator:In,SphericalMercator:Y},Bn=n({},W,{code:"EPSG:3395",projection:In,transformation:function(){var t=.5/(Math.PI*In.R);return Z(t,.5,-t,.5)}()}),Fn=n({},W,{code:"EPSG:4326",projection:Rn,transformation:Z(1/180,1,-1/180,.5)}),Hn=n({},U,{projection:Rn,transformation:Z(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var n=e.lng-t.lng,r=e.lat-t.lat;return Math.sqrt(n*n+r*r)},infinite:!0});U.Earth=W,U.EPSG3395=Bn,U.EPSG3857=K,U.EPSG900913=Q,U.EPSG4326=Fn,U.Simple=Hn;var Un=j.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[a(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[a(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e=t.target;if(e.hasLayer(this)){if(this._map=e,this._zoomAnimated=e._zoomAnimated,this.getEvents){var n=this.getEvents();e.on(n,this),this.once("remove",(function(){e.off(n,this)}),this)}this.onAdd(e),this.getAttribution&&e.attributionControl&&e.attributionControl.addAttribution(this.getAttribution()),this.fire("add"),e.fire("layeradd",{layer:this})}}});tn.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var e=a(t);return this._layers[e]||(this._layers[e]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this},removeLayer:function(t){var e=a(t);return this._layers[e]?(this._loaded&&t.onRemove(this),t.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(t.getAttribution()),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return!!t&&a(t)in this._layers},eachLayer:function(t,e){for(var n in this._layers)t.call(e,this._layers[n]);return this},_addLayers:function(t){for(var e=0,n=(t=t?g(t)?t:[t]:[]).length;ethis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()e)return a=(r-e)/n,this._map.layerPointToLatLng([o.x-a*(o.x-i.x),o.y-a*(o.y-i.y)])},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=H(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new z,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return jn(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],n=jn(t),r=0,i=t.length;r=2&&e[0]instanceof F&&e[0].equals(e[n-1])&&e.pop(),e},_setLatLngs:function(t){ir.prototype._setLatLngs.call(this,t),jn(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return jn(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,n=new N(e,e);if(t=new R(t.min.subtract(n),t.max.add(n)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var r,i=0,o=this._rings.length;it.y!==r.y>t.y&&t.x<(r.x-n.x)*(t.y-n.y)/(r.y-n.y)+n.x&&(l=!l);return l||ir.prototype._containsPoint.call(this,t,!0)}});function sr(t,e){return new ar(t,e)}var ur=Yn.extend({initialize:function(t,e){h(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,n,r,i=g(t)?t:t.features;if(i){for(e=0,n=i.length;e0?r:[e.src]}else{g(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(e.style,"objectFit")&&(e.style.objectFit="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop,e.muted=!!this.options.muted;for(var a=0;ai?(e.height=i+"px",me(t,o)):ve(t,o),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),n=this._getAnchor();ke(this._container,e.add(n))},_adjustPan:function(){if(this.options.autoPan){this._map._panAnim&&this._map._panAnim.stop();var t=this._map,e=parseInt(ue(this._container,"marginBottom"),10)||0,n=this._container.offsetHeight+e,r=this._containerWidth,i=new N(this._containerLeft,-n-this._containerBottom);i._add(Oe(this._container));var o=t.layerPointToContainerPoint(i),a=A(this.options.autoPanPadding),s=A(this.options.autoPanPaddingTopLeft||a),u=A(this.options.autoPanPaddingBottomRight||a),l=t.getSize(),c=0,f=0;o.x+r+u.x>l.x&&(c=o.x+r-l.x+u.x),o.x-c-s.x<0&&(c=o.x-s.x),o.y+n+u.y>l.y&&(f=o.y+n-l.y+u.y),o.y-f-s.y<0&&(f=o.y-s.y),(c||f)&&t.fire("autopanstart").panBy([c,f])}},_onCloseButtonClick:function(t){this._close(),Ve(t)},_getAnchor:function(){return A(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),Cr=function(t,e){return new Sr(t,e)};tn.mergeOptions({closePopupOnClick:!0}),tn.include({openPopup:function(t,e,n){return t instanceof Sr||(t=new Sr(n).setContent(t)),e&&t.setLatLng(e),this.hasLayer(t)?this:(this._popup&&this._popup.options.autoClose&&this.closePopup(),this._popup=t,this.addLayer(t))},closePopup:function(t){return t&&t!==this._popup||(t=this._popup,this._popup=null),t&&this.removeLayer(t),this}}),Un.include({bindPopup:function(t,e){return t instanceof Sr?(h(t,e),this._popup=t,t._source=this):(this._popup&&!e||(this._popup=new Sr(e,this)),this._popup.setContent(t)),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t,e){return this._popup&&this._map&&(e=this._popup._prepareOpen(this,t,e),this._map.openPopup(this._popup,e)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(t){return this._popup&&(this._popup._map?this.closePopup():this.openPopup(t)),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){var e=t.layer||t.target;this._popup&&this._map&&(Ve(t),e instanceof Jn?this.openPopup(t.layer||t.target,t.latlng):this._map.hasLayer(this._popup)&&this._popup._source===e?this.closePopup():this.openPopup(e,t.latlng))},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}});var Tr=Mr.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(t){Mr.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&this._source.fire("tooltipopen",{tooltip:this},!0)},onRemove:function(t){Mr.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var t=Mr.prototype.getEvents.call(this);return kt&&!this.options.permanent&&(t.preclick=this._close),t},_close:function(){this._map&&this._map.closeTooltip(this)},_initLayout:function(){var t="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=le("div",t)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e,n,r=this._map,i=this._container,o=r.latLngToContainerPoint(r.getCenter()),a=r.layerPointToContainerPoint(t),s=this.options.direction,u=i.offsetWidth,l=i.offsetHeight,c=A(this.options.offset),f=this._getAnchor();"top"===s?(e=u/2,n=l):"bottom"===s?(e=u/2,n=0):"center"===s?(e=u/2,n=l/2):"right"===s?(e=0,n=l/2):"left"===s?(e=u,n=l/2):a.xthis.options.maxZoom||nr&&this._retainParent(i,o,a,r))},_retainChildren:function(t,e,n,r){for(var i=2*t;i<2*t+2;i++)for(var o=2*e;o<2*e+2;o++){var a=new N(i,o);a.z=n+1;var s=this._tileCoordsToKey(a),u=this._tiles[s];u&&u.active?u.retain=!0:(u&&u.loaded&&(u.retain=!0),n+1this.options.maxZoom||void 0!==this.options.minZoom&&i1)this._setView(t,n);else{for(var f=i.min.y;f<=i.max.y;f++)for(var d=i.min.x;d<=i.max.x;d++){var h=new N(d,f);if(h.z=this._tileZoom,this._isValidTile(h)){var p=this._tiles[this._tileCoordsToKey(h)];p?p.current=!0:a.push(h)}}if(a.sort((function(t,e){return t.distanceTo(o)-e.distanceTo(o)})),0!==a.length){this._loading||(this._loading=!0,this.fire("loading"));var m=document.createDocumentFragment();for(d=0;dn.max.x)||!e.wrapLat&&(t.yn.max.y))return!1}if(!this.options.bounds)return!0;var r=this._tileCoordsToBounds(t);return B(this.options.bounds).overlaps(r)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,n=this.getTileSize(),r=t.scaleBy(n),i=r.add(n);return[e.unproject(r,t.z),e.unproject(i,t.z)]},_tileCoordsToBounds:function(t){var e=this._tileCoordsToNwSe(t),n=new z(e[0],e[1]);return this.options.noWrap||(n=this._map.wrapLatLngBounds(n)),n},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var e=t.split(":"),n=new N(+e[0],+e[1]);return n.z=+e[2],n},_removeTile:function(t){var e=this._tiles[t];e&&(ce(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){me(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=l,t.onmousemove=l,tt&&this.options.opacity<1&&be(t,this.options.opacity),rt&&!it&&(t.style.WebkitBackfaceVisibility="hidden")},_addTile:function(t,e){var n=this._getTilePos(t),r=this._tileCoordsToKey(t),o=this.createTile(this._wrapCoords(t),i(this._tileReady,this,t));this._initTile(o),this.createTile.length<2&&E(i(this._tileReady,this,t,null,o)),ke(o,n),this._tiles[r]={el:o,coords:t,current:!0},e.appendChild(o),this.fire("tileloadstart",{tile:o,coords:t})},_tileReady:function(t,e,n){e&&this.fire("tileerror",{error:e,tile:n,coords:t});var r=this._tileCoordsToKey(t);(n=this._tiles[r])&&(n.loaded=+new Date,this._map._fadeAnimated?(be(n.el,0),M(this._fadeFrame),this._fadeFrame=E(this._updateOpacity,this)):(n.active=!0,this._pruneTiles()),e||(me(n.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:n.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),tt||!this._map._fadeAnimated?E(this._pruneTiles,this):setTimeout(i(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new N(this._wrapX?u(t.x,this._wrapX):t.x,this._wrapY?u(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new R(t.min.unscaleBy(e).floor(),t.max.unscaleBy(e).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}});function Lr(t){return new Dr(t)}var Ar=Dr.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(t,e){this._url=t,(e=h(this,e)).detectRetina&&Mt&&e.maxZoom>0&&(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom++):(e.zoomOffset++,e.maxZoom--),e.minZoom=Math.max(0,e.minZoom)),"string"===typeof e.subdomains&&(e.subdomains=e.subdomains.split("")),rt||this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url===t&&void 0===e&&(e=!0),this._url=t,e||this.redraw(),this},createTile:function(t,e){var n=document.createElement("img");return De(n,"load",i(this._tileOnLoad,this,e,n)),De(n,"error",i(this._tileOnError,this,e,n)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(n.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),n.alt="",n.setAttribute("role","presentation"),n.src=this.getTileUrl(t),n},getTileUrl:function(t){var e={r:Mt?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var r=this._globalTileRange.max.y-t.y;this.options.tms&&(e.y=r),e["-y"]=r}return v(this._url,n(e,this.options))},_tileOnLoad:function(t,e){tt?setTimeout(i(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,n){var r=this.options.errorTileUrl;r&&e.getAttribute("src")!==r&&(e.src=r),t(n,e)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,e=this.options.maxZoom;return this.options.zoomReverse&&(t=e-t),t+this.options.zoomOffset},_getSubdomain:function(t){var e=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[e]},_abortLoading:function(){var t,e;for(t in this._tiles)this._tiles[t].coords.z!==this._tileZoom&&((e=this._tiles[t].el).onload=l,e.onerror=l,e.complete||(e.src=b,ce(e),delete this._tiles[t]))},_removeTile:function(t){var e=this._tiles[t];if(e)return at||e.el.setAttribute("src",b),Dr.prototype._removeTile.call(this,t)},_tileReady:function(t,e,n){if(this._map&&(!n||n.getAttribute("src")!==b))return Dr.prototype._tileReady.call(this,t,e,n)}});function Rr(t,e){return new Ar(t,e)}var Ir=Ar.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,e){this._url=t;var r=n({},this.defaultWmsParams);for(var i in e)i in this.options||(r[i]=e[i]);var o=(e=h(this,e)).detectRetina&&Mt?2:1,a=this.getTileSize();r.width=a.x*o,r.height=a.y*o,this.wmsParams=r},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[e]=this._crs.code,Ar.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),n=this._crs,r=I(n.project(e[0]),n.project(e[1])),i=r.min,o=r.max,a=(this._wmsVersion>=1.3&&this._crs===Fn?[i.y,i.x,o.y,o.x]:[i.x,i.y,o.x,o.y]).join(","),s=Ar.prototype.getTileUrl.call(this,t);return s+p(this.wmsParams,s,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+a},setParams:function(t,e){return n(this.wmsParams,t),e||this.redraw(),this}});function zr(t,e){return new Ir(t,e)}Ar.WMS=Ir,Rr.wms=zr;var Br=Un.extend({options:{padding:.1,tolerance:0},initialize:function(t){h(this,t),a(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&me(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var n=this._map.getZoomScale(e,this._zoom),r=Oe(this._container),i=this._map.getSize().multiplyBy(.5+this.options.padding),o=this._map.project(this._center,e),a=this._map.project(t,e).subtract(o),s=i.multiplyBy(-n).add(r).add(i).subtract(a);gt?xe(this._container,s,n):ke(this._container,s)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,e=this._map.getSize(),n=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();this._bounds=new R(n,n.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Fr=Br.extend({getEvents:function(){var t=Br.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Br.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");De(t,"mousemove",this._onMouseMove,this),De(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),De(t,"mouseout",this._handleMouseOut,this),this._ctx=t.getContext("2d")},_destroyContainer:function(){M(this._redrawRequest),delete this._ctx,ce(this._container),Ae(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var t in this._redrawBounds=null,this._layers)this._layers[t]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){Br.prototype._update.call(this);var t=this._bounds,e=this._container,n=t.getSize(),r=Mt?2:1;ke(e,t.min),e.width=r*n.x,e.height=r*n.y,e.style.width=n.x+"px",e.style.height=n.y+"px",Mt&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){Br.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[a(t)]=t;var e=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=e),this._drawLast=e,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,n=e.next,r=e.prev;n?n.prev=r:this._drawLast=r,r?r.next=n:this._drawFirst=n,delete t._order,delete this._layers[a(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"===typeof t.options.dashArray){var e,n,r=t.options.dashArray.split(/[, ]+/),i=[];for(n=0;n')}}catch(t){return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}}(),Wr={_initContainer:function(){this._container=le("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Br.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=Ur("shape");me(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=Ur("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[a(t)]=t},_addPath:function(t){var e=t._container;this._container.appendChild(e),t.options.interactive&&t.addInteractiveTarget(e)},_removePath:function(t){var e=t._container;ce(e),t.removeInteractiveTarget(e),delete this._layers[a(t)]},_updateStyle:function(t){var e=t._stroke,n=t._fill,r=t.options,i=t._container;i.stroked=!!r.stroke,i.filled=!!r.fill,r.stroke?(e||(e=t._stroke=Ur("stroke")),i.appendChild(e),e.weight=r.weight+"px",e.color=r.color,e.opacity=r.opacity,r.dashArray?e.dashStyle=g(r.dashArray)?r.dashArray.join(" "):r.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=r.lineCap.replace("butt","flat"),e.joinstyle=r.lineJoin):e&&(i.removeChild(e),t._stroke=null),r.fill?(n||(n=t._fill=Ur("fill")),i.appendChild(n),n.color=r.fillColor||r.color,n.opacity=r.fillOpacity):n&&(i.removeChild(n),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),n=Math.round(t._radius),r=Math.round(t._radiusY||n);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+n+","+r+" 0,23592600")},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){de(t._container)},_bringToBack:function(t){he(t._container)}},Vr=Pt?Ur:X,Yr=Br.extend({getEvents:function(){var t=Br.prototype.getEvents.call(this);return t.zoomstart=this._onZoomStart,t},_initContainer:function(){this._container=Vr("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Vr("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){ce(this._container),Ae(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_onZoomStart:function(){this._update()},_update:function(){if(!this._map._animatingZoom||!this._bounds){Br.prototype._update.call(this);var t=this._bounds,e=t.getSize(),n=this._container;this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,n.setAttribute("width",e.x),n.setAttribute("height",e.y)),ke(n,t.min),n.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update")}},_initPath:function(t){var e=t._path=Vr("path");t.options.className&&me(e,t.options.className),t.options.interactive&&me(e,"leaflet-interactive"),this._updateStyle(t),this._layers[a(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){ce(t._path),t.removeInteractiveTarget(t._path),delete this._layers[a(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,n=t.options;e&&(n.stroke?(e.setAttribute("stroke",n.color),e.setAttribute("stroke-opacity",n.opacity),e.setAttribute("stroke-width",n.weight),e.setAttribute("stroke-linecap",n.lineCap),e.setAttribute("stroke-linejoin",n.lineJoin),n.dashArray?e.setAttribute("stroke-dasharray",n.dashArray):e.removeAttribute("stroke-dasharray"),n.dashOffset?e.setAttribute("stroke-dashoffset",n.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),n.fill?(e.setAttribute("fill",n.fillColor||n.color),e.setAttribute("fill-opacity",n.fillOpacity),e.setAttribute("fill-rule",n.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,G(t._parts,e))},_updateCircle:function(t){var e=t._point,n=Math.max(Math.round(t._radius),1),r="a"+n+","+(Math.max(Math.round(t._radiusY),1)||n)+" 0 1,0 ",i=t._empty()?"M0 0":"M"+(e.x-n)+","+e.y+r+2*n+",0 "+r+2*-n+",0 ";this._setPath(t,i)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){de(t._path)},_bringToBack:function(t){he(t._path)}});function qr(t){return Tt||Pt?new Yr(t):null}Pt&&Yr.include(Wr),tn.include({getRenderer:function(t){var e=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return e||(e=this._renderer=this._createRenderer()),this.hasLayer(e)||this.addLayer(e),e},_getPaneRenderer:function(t){if("overlayPane"===t||void 0===t)return!1;var e=this._paneRenderers[t];return void 0===e&&(e=this._createRenderer({pane:t}),this._paneRenderers[t]=e),e},_createRenderer:function(t){return this.options.preferCanvas&&Hr(t)||qr(t)}});var Zr=ar.extend({initialize:function(t,e){ar.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return[(t=B(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});function Kr(t,e){return new Zr(t,e)}Yr.create=Vr,Yr.pointsToPath=G,ur.geometryToLayer=lr,ur.coordsToLatLng=fr,ur.coordsToLatLngs=dr,ur.latLngToCoords=hr,ur.latLngsToCoords=pr,ur.getFeature=mr,ur.asFeature=vr,tn.mergeOptions({boxZoom:!0});var Qr=hn.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){De(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Ae(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){ce(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),Jt(),Me(),this._startPoint=this._map.mouseEventToContainerPoint(t),De(document,{contextmenu:Ve,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=le("div","leaflet-zoom-box",this._container),me(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new R(this._point,this._startPoint),n=e.getSize();ke(this._box,e.min),this._box.style.width=n.x+"px",this._box.style.height=n.y+"px"},_finish:function(){this._moved&&(ce(this._box),ve(this._container,"leaflet-crosshair")),te(),Se(),Ae(document,{contextmenu:Ve,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(i(this._resetState,this),0);var e=new z(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(e).fire("boxzoomend",{boxZoomBounds:e})}},_onKeyDown:function(t){27===t.keyCode&&this._finish()}});tn.addInitHook("addHandler","boxZoom",Qr),tn.mergeOptions({doubleClickZoom:!0});var Xr=hn.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,n=e.getZoom(),r=e.options.zoomDelta,i=t.originalEvent.shiftKey?n-r:n+r;"center"===e.options.doubleClickZoom?e.setZoom(i):e.setZoomAround(t.containerPoint,i)}});tn.addInitHook("addHandler","doubleClickZoom",Xr),tn.mergeOptions({dragging:!0,inertia:!it,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var Gr=hn.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new bn(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}me(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){ve(this._map._container,"leaflet-grab"),ve(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var e=B(this._map.options.maxBounds);this._offsetLimit=I(this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var e=this._lastTime=+new Date,n=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(n),this._times.push(e),this._prunePositions(e)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;this._positions.length>1&&t-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit;t.xe.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),n=this._initialWorldOffset,r=this._draggable._newPos.x,i=(r-e+n)%t+e-n,o=(r+e+n)%t-e-n,a=Math.abs(i+n)0?o:-o))-e;this._delta=0,this._startTime=null,a&&("center"===t.options.scrollWheelZoom?t.setZoom(e+a):t.setZoomAround(this._lastMousePos,e+a))}});tn.addInitHook("addHandler","scrollWheelZoom",Jr),tn.mergeOptions({tap:!0,tapTolerance:15});var ti=hn.extend({addHooks:function(){De(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Ae(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(t.touches){if(We(t),this._fireClick=!0,t.touches.length>1)return this._fireClick=!1,void clearTimeout(this._holdTimeout);var e=t.touches[0],n=e.target;this._startPos=this._newPos=new N(e.clientX,e.clientY),n.tagName&&"a"===n.tagName.toLowerCase()&&me(n,"leaflet-active"),this._holdTimeout=setTimeout(i((function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",e))}),this),1e3),this._simulateEvent("mousedown",e),De(document,{touchmove:this._onMove,touchend:this._onUp},this)}},_onUp:function(t){if(clearTimeout(this._holdTimeout),Ae(document,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&t&&t.changedTouches){var e=t.changedTouches[0],n=e.target;n&&n.tagName&&"a"===n.tagName.toLowerCase()&&ve(n,"leaflet-active"),this._simulateEvent("mouseup",e),this._isTapValid()&&this._simulateEvent("click",e)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(t){var e=t.touches[0];this._newPos=new N(e.clientX,e.clientY),this._simulateEvent("mousemove",e)},_simulateEvent:function(t,e){var n=document.createEvent("MouseEvents");n._simulated=!0,e.target._simulatedClick=!0,n.initMouseEvent(t,!0,!0,window,1,e.screenX,e.screenY,e.clientX,e.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(n)}});!kt||xt&&!ct||tn.addInitHook("addHandler","tap",ti),tn.mergeOptions({touchZoom:kt&&!it,bounceAtZoomLimits:!0});var ei=hn.extend({addHooks:function(){me(this._map._container,"leaflet-touch-zoom"),De(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){ve(this._map._container,"leaflet-touch-zoom"),Ae(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e=this._map;if(t.touches&&2===t.touches.length&&!e._animatingZoom&&!this._zooming){var n=e.mouseEventToContainerPoint(t.touches[0]),r=e.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=e.getSize()._divideBy(2),this._startLatLng=e.containerPointToLatLng(this._centerPoint),"center"!==e.options.touchZoom&&(this._pinchStartLatLng=e.containerPointToLatLng(n.add(r)._divideBy(2))),this._startDist=n.distanceTo(r),this._startZoom=e.getZoom(),this._moved=!1,this._zooming=!0,e._stop(),De(document,"touchmove",this._onTouchMove,this),De(document,"touchend",this._onTouchEnd,this),We(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,n=e.mouseEventToContainerPoint(t.touches[0]),r=e.mouseEventToContainerPoint(t.touches[1]),o=n.distanceTo(r)/this._startDist;if(this._zoom=e.getScaleZoom(o,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoome.getMaxZoom()&&o>1)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1===o)return}else{var a=n._add(r)._divideBy(2)._subtract(this._centerPoint);if(1===o&&0===a.x&&0===a.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(a),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),M(this._animRequest);var s=i(e._move,e,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=E(s,this,!0),We(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,M(this._animRequest),Ae(document,"touchmove",this._onTouchMove,this),Ae(document,"touchend",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});tn.addInitHook("addHandler","touchZoom",ei),tn.BoxZoom=Qr,tn.DoubleClickZoom=Xr,tn.Drag=Gr,tn.Keyboard=$r,tn.ScrollWheelZoom=Jr,tn.Tap=ti,tn.TouchZoom=ei,t.version=e,t.Control=nn,t.control=rn,t.Browser=Nt,t.Evented=j,t.Mixin=mn,t.Util=S,t.Class=C,t.Handler=hn,t.extend=n,t.bind=i,t.stamp=a,t.setOptions=h,t.DomEvent=$e,t.DomUtil=Ne,t.PosAnimation=Je,t.Draggable=bn,t.LineUtil=Dn,t.PolyUtil=An,t.Point=N,t.point=A,t.Bounds=R,t.bounds=I,t.Transformation=q,t.transformation=Z,t.Projection=zn,t.LatLng=F,t.latLng=H,t.LatLngBounds=z,t.latLngBounds=B,t.CRS=U,t.GeoJSON=ur,t.geoJSON=yr,t.geoJson=br,t.Layer=Un,t.LayerGroup=Wn,t.layerGroup=Vn,t.FeatureGroup=Yn,t.featureGroup=qn,t.ImageOverlay=_r,t.imageOverlay=wr,t.VideoOverlay=xr,t.videoOverlay=kr,t.SVGOverlay=Or,t.svgOverlay=Er,t.DivOverlay=Mr,t.Popup=Sr,t.popup=Cr,t.Tooltip=Tr,t.tooltip=Pr,t.Icon=Zn,t.icon=Kn,t.DivIcon=jr,t.divIcon=Nr,t.Marker=Gn,t.marker=$n,t.TileLayer=Ar,t.tileLayer=Rr,t.GridLayer=Dr,t.gridLayer=Lr,t.SVG=Yr,t.svg=qr,t.Renderer=Br,t.Canvas=Fr,t.canvas=Hr,t.Path=Jn,t.CircleMarker=tr,t.circleMarker=er,t.Circle=nr,t.circle=rr,t.Polyline=ir,t.polyline=or,t.Polygon=ar,t.polygon=sr,t.Rectangle=Zr,t.rectangle=Kr,t.Map=tn,t.map=en;var ni=window.L;t.noConflict=function(){return window.L=ni,this},window.L=t}(e)},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(9),i=n(5),o=n(14);function a(t,e){Object(i.a)(1,arguments);var n=e||{},a=n.locale,s=a&&a.options&&a.options.weekStartsOn,u=null==s?0:Object(o.a)(s),l=null==n.weekStartsOn?u:Object(o.a)(n.weekStartsOn);if(!(l>=0&&l<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var c=Object(r.default)(t),f=c.getUTCDay(),d=(f=0&&"[object Array]"===Object.prototype.toString.call(t)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return a}));var r={prefix:"far",iconName:"arrow-alt-circle-right",icon:[512,512,[],"f35a","M504 256C504 119 393 8 256 8S8 119 8 256s111 248 248 248 248-111 248-248zm-448 0c0-110.5 89.5-200 200-200s200 89.5 200 200-89.5 200-200 200S56 366.5 56 256zm72 20v-40c0-6.6 5.4-12 12-12h116v-67c0-10.7 12.9-16 20.5-8.5l99 99c4.7 4.7 4.7 12.3 0 17l-99 99c-7.6 7.6-20.5 2.2-20.5-8.5v-67H140c-6.6 0-12-5.4-12-12z"]},i={prefix:"far",iconName:"calendar-alt",icon:[448,512,[],"f073","M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"]},o={prefix:"far",iconName:"circle",icon:[512,512,[],"f111","M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200z"]},a={prefix:"far",iconName:"copy",icon:[448,512,[],"f0c5","M433.941 65.941l-51.882-51.882A48 48 0 0 0 348.118 0H176c-26.51 0-48 21.49-48 48v48H48c-26.51 0-48 21.49-48 48v320c0 26.51 21.49 48 48 48h224c26.51 0 48-21.49 48-48v-48h80c26.51 0 48-21.49 48-48V99.882a48 48 0 0 0-14.059-33.941zM266 464H54a6 6 0 0 1-6-6V150a6 6 0 0 1 6-6h74v224c0 26.51 21.49 48 48 48h96v42a6 6 0 0 1-6 6zm128-96H182a6 6 0 0 1-6-6V54a6 6 0 0 1 6-6h106v88c0 13.255 10.745 24 24 24h88v202a6 6 0 0 1-6 6zm6-256h-64V48h9.632c1.591 0 3.117.632 4.243 1.757l48.368 48.368a6 6 0 0 1 1.757 4.243V112z"]}},,function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(9),i=n(5);function o(t){Object(i.a)(1,arguments);var e=1,n=Object(r.default)(t),o=n.getUTCDay(),a=(o=0||(i[n]=t[n]);return i}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(99);function i(t,e){if(t){if("string"===typeof t)return Object(r.a)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(t,e):void 0}}},function(t,e,n){"use strict";function r(t){return"[object String]"===Object.prototype.toString.call(t)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";e.a={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}}},function(t,e,n){"use strict";var r=n(106),i=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=f;var o=n(97);o.inherits=n(77);var a=n(171),s=n(140);o.inherits(f,a);for(var u=i(s.prototype),l=0;l=l?u:(n.setFullYear(u.getFullYear(),u.getMonth(),s),n)}},function(t,e,n){"use strict";function r(t){return"[object Object]"===Object.prototype.toString.call(t)}n.d(e,"a",(function(){return r}))},,function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return o}));var r=n(9),i=n(5);function o(t){Object(i.a)(1,arguments);var e=Object(r.default)(t);return e.setHours(0,0,0,0),e}},function(t,e,n){"use strict";var r=n(50),i=n(20),o=n(17),a=n(82),s=Object(o.a)((function(t,e){return 1===t?Object(i.a)(e):Object(r.a)(t,Object(a.a)(t,[],e))}));e.a=s},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(83),i=n(5);function o(t){return Object(i.a)(1,arguments),Object(r.default)(t,{weekStartsOn:1})}},function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return i}));Math.pow(10,8);var r=6e4,i=36e5},function(t,e){function n(){return t.exports=n=Object.assign||function(t){for(var e=1;e=1&&d<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var h=new Date(0);h.setUTCFullYear(s+1,0,d),h.setUTCHours(0,0,0,0);var p=Object(o.a)(h,e),m=new Date(0);m.setUTCFullYear(s,0,d),m.setUTCHours(0,0,0,0);var v=Object(o.a)(m,e);return n.getTime()>=p.getTime()?s+1:n.getTime()>=v.getTime()?s:s-1}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(50),i=n(33);function o(t,e,n){return function(){for(var a=[],s=0,u=t,l=0;l=arguments.length)?c=e[l]:(c=arguments[s],s+=1),a[l]=c,Object(i.a)(c)||(u-=1),l+=1}return u<=0?n.apply(this,a):Object(r.a)(u,o(t,a,n))}}},function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return a}));var r=n(9),i=n(14),o=n(5);function a(t,e){Object(o.a)(1,arguments);var n=e||{},a=n.locale,s=a&&a.options&&a.options.weekStartsOn,u=null==s?0:Object(i.a)(s),l=null==n.weekStartsOn?u:Object(i.a)(n.weekStartsOn);if(!(l>=0&&l<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var c=Object(r.default)(t),f=c.getDay(),d=(f0?"in "+i:i+" ago":i};function o(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.width?String(e.width):t.defaultWidth,r=t.formats[n]||t.formats[t.defaultWidth];return r}}var a={date:o({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:o({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:o({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},s={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function u(t){return function(e,n){var r,i=n||{};if("formatting"===(i.context?String(i.context):"standalone")&&t.formattingValues){var o=t.defaultFormattingWidth||t.defaultWidth,a=i.width?String(i.width):o;r=t.formattingValues[a]||t.formattingValues[o]}else{var s=t.defaultWidth,u=i.width?String(i.width):t.defaultWidth;r=t.values[u]||t.values[s]}return r[t.argumentCallback?t.argumentCallback(e):e]}}function l(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,i=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],o=e.match(i);if(!o)return null;var a,s=o[0],u=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(u)?f(u,(function(t){return t.test(s)})):c(u,(function(t){return t.test(s)}));a=t.valueCallback?t.valueCallback(l):l,a=n.valueCallback?n.valueCallback(a):a;var d=e.slice(s.length);return{value:a,rest:d}}}function c(t,e){for(var n in t)if(t.hasOwnProperty(n)&&e(t[n]))return n}function f(t,e){for(var n=0;n20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:u({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:u({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:u({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:u({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:u({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(d={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.match(d.matchPattern);if(!n)return null;var r=n[0],i=t.match(d.parsePattern);if(!i)return null;var o=d.valueCallback?d.valueCallback(i[0]):i[0];o=e.valueCallback?e.valueCallback(o):o;var a=t.slice(r.length);return{value:o,rest:a}}),era:l({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:l({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:l({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:l({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:l({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};e.a=h},function(t,e,n){"use strict";var r=n(17);function i(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}function o(t,e,n){for(var r=0,i=n.length;r=0;){if(n[o]===t)return r[o]===e;o-=1}switch(i){case"Map":return t.size===e.size&&c(t.entries(),e.entries(),n.concat([t]),r.concat([e]));case"Set":return t.size===e.size&&c(t.values(),e.values(),n.concat([t]),r.concat([e]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var d=Object(u.a)(t);if(d.length!==Object(u.a)(e).length)return!1;var h=n.concat([t]),p=r.concat([e]);for(o=d.length-1;o>=0;){var m=d[o];if(!Object(a.a)(m,e)||!f(e[m],t[m],h,p))return!1;o-=1}return!0}var d=Object(r.a)((function(t,e){return f(t,e,[],[])}));e.a=d},function(t,e,n){"use strict";n.d(e,"a",(function(){return Wa})),n.d(e,"b",(function(){return Va})),n.d(e,"c",(function(){return Ua}));var r=n(22),i=n(3),o=n(74),a=n(37);function s(t,e,n){return(s="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Object(a.a)(t)););return t}(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(n):i.value}})(t,e,n||t)}var u=n(35),l=n(34),c=n(6),f=n(10),d=n(28),h=n(19),p=n(18);var m="undefined"===typeof window?function(t){return t()}:window.requestAnimationFrame;function v(t,e,n){var r=n||function(t){return Array.prototype.slice.call(t)},i=!1,o=[];return function(){for(var n=arguments.length,a=new Array(n),s=0;s=0;i--)e.call(n,t[i],i);else for(i=0;in;)t=t[e.substr(n,r-n)],r=I(e,n=r+1);return t}function B(t){return t.charAt(0).toUpperCase()+t.slice(1)}var F=function(t){return"undefined"!==typeof t},H=function(t){return"function"===typeof t},U=function(t,e){if(t.size!==e.size)return!1;var n,r=Object(d.a)(t);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(!e.has(i))return!1}}catch(o){r.e(o)}finally{r.f()}return!0};var W=Math.PI,V=2*W,Y=V+W,q=Number.POSITIVE_INFINITY,Z=W/180,K=W/2,Q=W/4,X=2*W/3,G=Math.log10,$=Math.sign;function J(t){var e=Math.round(t);t=et(t,e,t/1e3)?e:t;var n=Math.pow(10,Math.floor(G(t))),r=t/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function tt(t){return!isNaN(parseFloat(t))&&isFinite(t)}function et(t,e,n){return Math.abs(t-e)u&&l3&&void 0!==arguments[3]?arguments[3]:1e-6;return t>=Math.min(e,n)-r&&t<=Math.max(e,n)+r}var ht=function(t){return 0===t||1===t},pt=function(t,e,n){return-Math.pow(2,10*(t-=1))*Math.sin((t-e)*V/n)},mt=function(t,e,n){return Math.pow(2,-10*t)*Math.sin((t-e)*V/n)+1},vt={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return(t-=1)*t*t+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-((t-=1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return(t-=1)*t*t*t*t+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return 1-Math.cos(t*K)},easeOutSine:function(t){return Math.sin(t*K)},easeInOutSine:function(t){return-.5*(Math.cos(W*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return ht(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1)))},easeInCirc:function(t){return t>=1?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){return ht(t)?t:pt(t,.075,.3)},easeOutElastic:function(t){return ht(t)?t:mt(t,.075,.3)},easeInOutElastic:function(t){var e=.1125;return ht(t)?t:t<.5?.5*pt(2*t,e,.45):.5+.5*mt(2*t-1,e,.45)},easeInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-vt.easeOutBounce(1-t)},easeOutBounce:function(t){var e=7.5625,n=2.75;return t<1/n?e*t*t:t<2/n?e*(t-=1.5/n)*t+.75:t<2.5/n?e*(t-=2.25/n)*t+.9375:e*(t-=2.625/n)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*vt.easeInBounce(2*t):.5*vt.easeOutBounce(2*t-1)+.5}},gt={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},yt="0123456789ABCDEF",bt=function(t){return yt[15&t]},_t=function(t){return yt[(240&t)>>4]+yt[15&t]},wt=function(t){return(240&t)>>4===(15&t)};function xt(t){var e=function(t){return wt(t.r)&&wt(t.g)&&wt(t.b)&&wt(t.a)}(t)?bt:_t;return t?"#"+e(t.r)+e(t.g)+e(t.b)+(t.a<255?e(t.a):""):t}function kt(t){return t+.5|0}var Ot=function(t,e,n){return Math.max(Math.min(t,n),e)};function Et(t){return Ot(kt(2.55*t),0,255)}function Mt(t){return Ot(kt(255*t),0,255)}function St(t){return Ot(kt(t/2.55)/100,0,1)}function Ct(t){return Ot(kt(100*t),0,100)}var Tt=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;var Pt=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function jt(t,e,n){var r=e*Math.min(n,1-n),i=function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+t/30)%12;return n-r*Math.max(Math.min(i-3,9-i,1),-1)};return[i(0),i(8),i(4)]}function Nt(t,e,n){var r=function(r){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(r+t/60)%6;return n-n*e*Math.max(Math.min(i,4-i,1),0)};return[r(5),r(3),r(1)]}function Dt(t,e,n){var r,i=jt(t,1,.5);for(e+n>1&&(e*=r=1/(e+n),n*=r),r=0;r<3;r++)i[r]*=1-e-n,i[r]+=e;return i}function Lt(t){var e,n,r,i=t.r/255,o=t.g/255,a=t.b/255,s=Math.max(i,o,a),u=Math.min(i,o,a),l=(s+u)/2;return s!==u&&(r=s-u,n=l>.5?r/(2-s-u):r/(s+u),e=60*(e=s===i?(o-a)/r+(o>16&255,n>>8&255,255&n]}return o}()).transparent=[0,0,0,0]);var e=Bt[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}function Wt(t,e,n){if(t){var r=Lt(t);r[e]=Math.max(0,Math.min(r[e]+r[e]*n,0===e?360:1)),r=Rt(r),t.r=r[0],t.g=r[1],t.b=r[2]}}function Vt(t,e){return t?Object.assign(e||{},t):t}function Yt(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=Mt(t[3]))):(e=Vt(t,{r:0,g:0,b:0,a:1})).a=Mt(e.a),e}function qt(t){return"r"===t.charAt(0)?function(t){var e,n,r,i=Tt.exec(t),o=255;if(i){if(i[7]!==e){var a=+i[7];o=255&(i[8]?Et(a):255*a)}return e=+i[1],n=+i[3],r=+i[5],{r:e=255&(i[2]?Et(e):e),g:n=255&(i[4]?Et(n):n),b:r=255&(i[6]?Et(r):r),a:o}}}(t):zt(t)}var Zt=function(){function t(e){if(Object(h.a)(this,t),e instanceof t)return e;var n,r=typeof e;"object"===r?n=Yt(e):"string"===r&&(n=function(t){var e,n=t.length;return"#"===t[0]&&(4===n||5===n?e={r:255&17*gt[t[1]],g:255&17*gt[t[2]],b:255&17*gt[t[3]],a:5===n?17*gt[t[4]]:255}:7!==n&&9!==n||(e={r:gt[t[1]]<<4|gt[t[2]],g:gt[t[3]]<<4|gt[t[4]],b:gt[t[5]]<<4|gt[t[6]],a:9===n?gt[t[7]]<<4|gt[t[8]]:255})),e}(e)||Ut(e)||qt(e)),this._rgb=n,this._valid=!!n}return Object(p.a)(t,[{key:"valid",get:function(){return this._valid}},{key:"rgb",get:function(){var t=Vt(this._rgb);return t&&(t.a=St(t.a)),t},set:function(t){this._rgb=Yt(t)}},{key:"rgbString",value:function(){return this._valid?(t=this._rgb)&&(t.a<255?"rgba(".concat(t.r,", ").concat(t.g,", ").concat(t.b,", ").concat(St(t.a),")"):"rgb(".concat(t.r,", ").concat(t.g,", ").concat(t.b,")")):this._rgb;var t}},{key:"hexString",value:function(){return this._valid?xt(this._rgb):this._rgb}},{key:"hslString",value:function(){return this._valid?function(t){if(t){var e=Lt(t),n=e[0],r=Ct(e[1]),i=Ct(e[2]);return t.a<255?"hsla(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(St(t.a),")"):"hsl(".concat(n,", ").concat(r,"%, ").concat(i,"%)")}}(this._rgb):this._rgb}},{key:"mix",value:function(t,e){var n=this;if(t){var r,i=n.rgb,o=t.rgb,a=e===r?.5:e,s=2*a-1,u=i.a-o.a,l=((s*u===-1?s:(s+u)/(1+s*u))+1)/2;r=1-l,i.r=255&l*i.r+r*o.r+.5,i.g=255&l*i.g+r*o.g+.5,i.b=255&l*i.b+r*o.b+.5,i.a=a*i.a+(1-a)*o.a,n.rgb=i}return n}},{key:"clone",value:function(){return new t(this.rgb)}},{key:"alpha",value:function(t){return this._rgb.a=Mt(t),this}},{key:"clearer",value:function(t){return this._rgb.a*=1-t,this}},{key:"greyscale",value:function(){var t=this._rgb,e=kt(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}},{key:"opaquer",value:function(t){return this._rgb.a*=1+t,this}},{key:"negate",value:function(){var t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}},{key:"lighten",value:function(t){return Wt(this._rgb,2,t),this}},{key:"darken",value:function(t){return Wt(this._rgb,2,-t),this}},{key:"saturate",value:function(t){return Wt(this._rgb,1,t),this}},{key:"desaturate",value:function(t){return Wt(this._rgb,1,-t),this}},{key:"rotate",value:function(t){return function(t,e){var n=Lt(t);n[0]=It(n[0]+e),n=Rt(n),t.r=n[0],t.g=n[1],t.b=n[2]}(this._rgb,t),this}}]),t}();function Kt(t){return new Zt(t)}var Qt=function(t){return t instanceof CanvasGradient||t instanceof CanvasPattern};function Xt(t){return Qt(t)?t:Kt(t)}function Gt(t){return Qt(t)?t:Kt(t).saturate(.5).darken(.1).hexString()}var $t=Object.create(null),Jt=Object.create(null);function te(t,e){if(!e)return t;for(var n=e.split("."),r=0,i=n.length;rr&&(r=o),r}function ie(t,e,n,r){var i=(r=r||{}).data=r.data||{},o=r.garbageCollect=r.garbageCollect||[];r.font!==e&&(i=r.data={},o=r.garbageCollect=[],r.font=e),t.save(),t.font=e;var a,s,u,l,c,f=0,d=n.length;for(a=0;an.length){for(a=0;a0&&t.stroke()}}function ue(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.xe.top-n&&t.y5&&void 0!==arguments[5]?arguments[5]:{},u=x(e)?e:[e],l=s.strokeWidth>0&&""!==s.strokeColor;for(t.save(),t.font=i.string,pe(t,s),o=0;o1;)n(r=o+i>>1)?o=r:i=r;return{lo:o,hi:i}}var Ce=function(t,e,n){return Se(t,n,(function(r){return t[r][e]=n}))};var Pe=["push","pop","shift","splice","unshift"];function je(t,e){var n=t._chartjs;if(n){var r=n.listeners,i=r.indexOf(e);-1!==i&&r.splice(i,1),r.length>0||(Pe.forEach((function(e){delete t[e]})),delete t._chartjs)}}function Ne(t){var e,n,r=new Set;for(e=0,n=t.length;e1&&void 0!==arguments[1]?arguments[1]:[""],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,o=arguments.length>3?arguments[3]:void 0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){return t[0]};F(o)||(o=Ye("_fallback",t));var s=(e={},Object(f.a)(e,Symbol.toStringTag,"Object"),Object(f.a)(e,"_cacheable",!0),Object(f.a)(e,"_scopes",t),Object(f.a)(e,"_rootScopes",i),Object(f.a)(e,"_fallback",o),Object(f.a)(e,"_getTarget",a),Object(f.a)(e,"override",(function(e){return De([e].concat(Object(r.a)(t)),n,i,o)})),e);return new Proxy(s,{deleteProperty:function(e,n){return delete e[n],delete e._keys,delete t[0][n],!0},get:function(e,r){return ze(e,r,(function(){return Ve(r,n,t,e)}))},getOwnPropertyDescriptor:function(t,e){return Reflect.getOwnPropertyDescriptor(t._scopes[0],e)},getPrototypeOf:function(){return Reflect.getPrototypeOf(t[0])},has:function(t,e){return qe(t).includes(e)},ownKeys:function(t){return qe(t)},set:function(t,e,n){var r=t._storage||(t._storage=a());return t[e]=r[e]=n,delete t._keys,!0}})}function Le(t,e,n,r){var i={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:Ae(t,r),setContext:function(e){return Le(t,e,n,r)},override:function(i){return Le(t.override(i),e,n,r)}};return new Proxy(i,{deleteProperty:function(e,n){return delete e[n],delete t[n],!0},get:function(t,e,n){return ze(t,e,(function(){return function(t,e,n){var r=t._proxy,i=t._context,o=t._subProxy,a=t._descriptors,s=r[e];H(s)&&a.isScriptable(e)&&(s=function(t,e,n,r){var i=n._proxy,o=n._context,a=n._subProxy,s=n._stack;if(s.has(t))throw new Error("Recursion detected: "+Array.from(s).join("->")+"->"+t);s.add(t),e=e(o,a||r),s.delete(t),Ie(t,e)&&(e=Ue(i._scopes,i,t,e));return e}(e,s,t,n));x(s)&&s.length&&(s=function(t,e,n,r){var i=n._proxy,o=n._context,a=n._subProxy,s=n._descriptors;if(F(o.index)&&r(t))e=e[o.index%e.length];else if(k(e[0])){var u=e,l=i._scopes.filter((function(t){return t!==u}));e=[];var c,f=Object(d.a)(u);try{for(f.s();!(c=f.n()).done;){var h=Ue(l,i,t,c.value);e.push(Le(h,o,a&&a[t],s))}}catch(p){f.e(p)}finally{f.f()}}return e}(e,s,t,a.isIndexable));Ie(e,s)&&(s=Le(s,i,o&&o[e],a));return s}(t,e,n)}))},getOwnPropertyDescriptor:function(e,n){return e._descriptors.allKeys?Reflect.has(t,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,n)},getPrototypeOf:function(){return Reflect.getPrototypeOf(t)},has:function(e,n){return Reflect.has(t,n)},ownKeys:function(){return Reflect.ownKeys(t)},set:function(e,n,r){return t[n]=r,delete e[n],!0}})}function Ae(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{scriptable:!0,indexable:!0},n=t._scriptable,r=void 0===n?e.scriptable:n,i=t._indexable,o=void 0===i?e.indexable:i,a=t._allKeys,s=void 0===a?e.allKeys:a;return{allKeys:s,scriptable:r,indexable:o,isScriptable:H(r)?r:function(){return r},isIndexable:H(o)?o:function(){return o}}}var Re=function(t,e){return t?t+B(e):e},Ie=function(t,e){return k(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object)};function ze(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];var r=n();return t[e]=r,r}function Be(t,e,n){return H(t)?t(e,n):t}var Fe=function(t,e){return!0===t?e:"string"===typeof t?z(e,t):void 0};function He(t,e,n,r,i){var o,a=Object(d.a)(e);try{for(a.s();!(o=a.n()).done;){var s=o.value,u=Fe(n,s);if(u){t.add(u);var l=Be(u._fallback,n,i);if(F(l)&&l!==n&&l!==r)return l}else if(!1===u&&F(r)&&n!==r)return null}}catch(c){a.e(c)}finally{a.f()}return!1}function Ue(t,e,n,i){var o=e._rootScopes,a=Be(e._fallback,n,i),s=[].concat(Object(r.a)(t),Object(r.a)(o)),u=new Set;u.add(i);var l=We(u,s,n,a||n,i);return null!==l&&((!F(a)||a===n||null!==(l=We(u,s,a,l,i)))&&De(Array.from(u),[""],o,a,(function(){return function(t,e,n){var r=t._getTarget();e in r||(r[e]={});var i=r[e];if(x(i)&&k(n))return n;return i}(e,n,i)})))}function We(t,e,n,r,i){for(;n;)n=He(t,e,n,r,i);return n}function Ve(t,e,n,r){var i,o,a=Object(d.a)(e);try{for(a.s();!(o=a.n()).done;){var s=o.value;if(i=Ye(Re(s,t),n),F(i))return Ie(t,i)?Ue(n,r,t,i):i}}catch(u){a.e(u)}finally{a.f()}}function Ye(t,e){var n,r=Object(d.a)(e);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(i){var o=i[t];if(F(o))return o}}}catch(a){r.e(a)}finally{r.f()}}function qe(t){var e=t._keys;return e||(e=t._keys=function(t){var e,n=new Set,r=Object(d.a)(t);try{for(r.s();!(e=r.n()).done;){var i,o=e.value,a=Object(d.a)(Object.keys(o).filter((function(t){return!t.startsWith("_")})));try{for(a.s();!(i=a.n()).done;){var s=i.value;n.add(s)}}catch(u){a.e(u)}finally{a.f()}}}catch(u){r.e(u)}finally{r.f()}return Array.from(n)}(t._scopes)),e}var Ze=Number.EPSILON||1e-14,Ke=function(t,e){return e2&&void 0!==arguments[2]?arguments[2]:"x",a=Qe(o),s=t.length,u=Ke(t,0),l=0;l1&&void 0!==arguments[1]?arguments[1]:"x",o=Qe(i),a=t.length,s=Array(a).fill(0),u=Array(a),l=Ke(t,0);for(e=0;e0||e>0)&&(!n||!n.shadowRoot)}(s,u,i.target))n=s,r=u;else{var c=e.getBoundingClientRect();n=a.clientX-c.left,r=a.clientY-c.top,l=!0}return{x:n,y:r,box:l}}(t,n),l=u.x,c=u.y,f=u.box,d=a.left+(f&&s.left),h=a.top+(f&&s.top),p=e.width,m=e.height;return o&&(p-=a.width+s.width,m-=a.height+s.height),{x:Math.round((l-d)/p*n.width/r),y:Math.round((c-h)/m*n.height/r)}}var ln=function(t){return Math.round(10*t)/10};function cn(t,e,n,r){var i=on(t),o=sn(i,"margin"),a=rn(i.maxWidth,t,"clientWidth")||q,s=rn(i.maxHeight,t,"clientHeight")||q,u=function(t,e,n){var r,i;if(void 0===e||void 0===n){var o=nn(t);if(o){var a=o.getBoundingClientRect(),s=on(o),u=sn(s,"border","width"),l=sn(s,"padding");e=a.width-l.width-u.width,n=a.height-l.height-u.height,r=rn(s.maxWidth,o,"clientWidth"),i=rn(s.maxHeight,o,"clientHeight")}else e=t.clientWidth,n=t.clientHeight}return{width:e,height:n,maxWidth:r||q,maxHeight:i||q}}(t,e,n),l=u.width,c=u.height;if("content-box"===i.boxSizing){var f=sn(i,"border","width"),d=sn(i,"padding");l-=d.width+f.width,c-=d.height+f.height}return l=Math.max(0,l-o.width),c=Math.max(0,r?Math.floor(l/r):c-o.height),l=ln(Math.min(l,a,u.maxWidth)),c=ln(Math.min(c,s,u.maxHeight)),l&&!c&&(c=ln(l/2)),{width:l,height:c}}function fn(t,e,n){var r=e||1,i=Math.floor(t.height*r),o=Math.floor(t.width*r);t.height=i/r,t.width=o/r;var a=t.canvas;return a.style&&(n||!a.style.height&&!a.style.width)&&(a.style.height="".concat(t.height,"px"),a.style.width="".concat(t.width,"px")),(t.currentDevicePixelRatio!==r||a.height!==i||a.width!==o)&&(t.currentDevicePixelRatio=r,a.height=i,a.width=o,t.ctx.setTransform(r,0,0,r,0,0),!0)}var dn=function(){var t=!1;try{var e={get passive(){return t=!0,!1}};window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(n){}return t}();function hn(t,e){var n=function(t,e){return on(t).getPropertyValue(e)}(t,e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function pn(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function mn(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:"middle"===r?n<.5?t.y:e.y:"after"===r?n<1?t.y:e.y:n>0?e.y:t.y}}function vn(t,e,n,r){var i={x:t.cp2x,y:t.cp2y},o={x:e.cp1x,y:e.cp1y},a=pn(t,i,n),s=pn(i,o,n),u=pn(o,e,n),l=pn(a,s,n),c=pn(s,u,n);return pn(l,c,n)}var gn=new Map;function yn(t,e,n){return function(t,e){e=e||{};var n=t+JSON.stringify(e),r=gn.get(n);return r||(r=new Intl.NumberFormat(t,e),gn.set(n,r)),r}(e,n).format(t)}function bn(t,e,n){return t?function(t,e){return{x:function(n){return t+t+e-n},setWidth:function(t){e=t},textAlign:function(t){return"center"===t?t:"right"===t?"left":"right"},xPlus:function(t,e){return t-e},leftForLtr:function(t,e){return t-e}}}(e,n):{x:function(t){return t},setWidth:function(t){},textAlign:function(t){return t},xPlus:function(t,e){return t+e},leftForLtr:function(t,e){return t}}}function _n(t,e){var n,r;"ltr"!==e&&"rtl"!==e||(r=[(n=t.canvas.style).getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=r)}function wn(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function xn(t){return"angle"===t?{between:ct,compare:ut,normalize:lt}:{between:dt,compare:function(t,e){return t-e},normalize:function(t){return t}}}function kn(t){var e=t.start,n=t.end,r=t.count;return{start:e%r,end:n%r,loop:t.loop&&(n-e+1)%r===0,style:t.style}}function On(t,e,n){if(!n)return[t];for(var r,i,o,a=n.property,s=n.start,u=n.end,l=e.length,c=xn(a),f=c.compare,d=c.between,h=c.normalize,p=function(t,e,n){var r,i,o=n.property,a=n.start,s=n.end,u=xn(o),l=u.between,c=u.normalize,f=e.length,d=t.start,h=t.end,p=t.loop;if(p){for(d+=f,h+=f,r=0,i=f;r0&&void 0!==arguments[0]?arguments[0]:Date.now(),n=0;this._charts.forEach((function(r,i){if(r.running&&r.items.length){for(var o,a=r.items,s=a.length-1,u=!1;s>=0;--s)(o=a[s])._active?(o._total>r.duration&&(r.duration=o._total),o.tick(e),u=!0):(a[s]=a[a.length-1],a.pop());u&&(i.draw(),t._notify(i,r,e,"progress")),a.length||(r.running=!1,t._notify(i,r,e,"complete"),r.initial=!1),n+=a.length}})),this._lastDate=e,0===n&&(this._running=!1)}},{key:"_getAnims",value:function(t){var e=this._charts,n=e.get(t);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,n)),n}},{key:"listen",value:function(t,e,n){this._getAnims(t).listeners[e].push(n)}},{key:"add",value:function(t,e){var n;e&&e.length&&(n=this._getAnims(t).items).push.apply(n,Object(r.a)(e))}},{key:"has",value:function(t){return this._getAnims(t).items.length>0}},{key:"start",value:function(t){var e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce((function(t,e){return Math.max(t,e._duration)}),0),this._refresh())}},{key:"running",value:function(t){if(!this._running)return!1;var e=this._charts.get(t);return!!(e&&e.running&&e.items.length)}},{key:"stop",value:function(t){var e=this._charts.get(t);if(e&&e.items.length){for(var n=e.items,r=n.length-1;r>=0;--r)n[r].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}}},{key:"remove",value:function(t){return this._charts.delete(t)}}]),t}()),Pn="transparent",jn={boolean:function(t,e,n){return n>.5?e:t},color:function(t,e,n){var r=Xt(t||Pn),i=r.valid&&Xt(e||Pn);return i&&i.valid?i.mix(r,n).hexString():e},number:function(t,e,n){return t+(e-t)*n}},Nn=function(){function t(e,n,r,i){Object(h.a)(this,t);var o=n[r];i=Ee([e.to,i,o,e.from]);var a=Ee([e.from,o,i]);this._active=!0,this._fn=e.fn||jn[e.type||typeof a],this._easing=vt[e.easing]||vt.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=n,this._prop=r,this._from=a,this._to=i,this._promises=void 0}return Object(p.a)(t,[{key:"active",value:function(){return this._active}},{key:"update",value:function(t,e,n){if(this._active){this._notify(!1);var r=this._target[this._prop],i=n-this._start,o=this._duration-i;this._start=n,this._duration=Math.floor(Math.max(o,t.duration)),this._total+=i,this._loop=!!t.loop,this._to=Ee([t.to,e,r,t.from]),this._from=Ee([t.from,r,e])}}},{key:"cancel",value:function(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}},{key:"tick",value:function(t){var e,n=t-this._start,r=this._duration,i=this._prop,o=this._from,a=this._loop,s=this._to;if(this._active=o!==s&&(a||n1?2-e:e,e=this._easing(Math.min(1,Math.max(0,e))),this._target[i]=this._fn(o,s,e))}},{key:"wait",value:function(){var t=this._promises||(this._promises=[]);return new Promise((function(e,n){t.push({res:e,rej:n})}))}},{key:"_notify",value:function(t){for(var e=t?"res":"rej",n=this._promises||[],r=0;r=0;--n){var l=s[n];if("$"!==l.charAt(0))if("options"!==l){var c=e[l],f=a[l],d=i.get(l);if(f){if(d&&f.active()){f.update(d,c,u);continue}f.cancel()}d&&d.duration?(a[l]=f=new Nn(d,t,l,c),o.push(f)):t[l]=c}else o.push.apply(o,Object(r.a)(this._animateOptions(t,e)))}return o}},{key:"update",value:function(t,e){if(0!==this._properties.size){var n=this._createAnimations(t,e);return n.length?(Tn.add(this._chart,n),!0):void 0}Object.assign(t,e)}}]),t}();function An(t,e){var n=t&&t.options||{},r=n.reverse,i=void 0===n.min?e:0,o=void 0===n.max?e:0;return{start:r?o:i,end:r?i:o}}function Rn(t,e){var n,r,i=[],o=t._getSortedDatasetMetas(e);for(n=0,r=o.length;n3&&void 0!==arguments[3]?arguments[3]:{},u=t.keys,l="single"===s.mode;if(null!==e){for(r=0,i=u.length;r0||!n&&s<0)return a.index}}catch(u){o.e(u)}finally{o.f()}return null}function Hn(t,e){for(var n,r=t.chart,i=t._cachedMeta,o=r._stacks||(r._stacks={}),a=i.iScale,s=i.vScale,u=i.index,l=a.axis,c=s.axis,f=function(t,e,n){return"".concat(t.id,".").concat(e.id,".").concat(n.stack||n.type)}(a,s,i),d=e.length,h=0;h0&&o._parsed[t-1];if(!1===this._parsing)o._parsed=a,o._sorted=!0,i=a;else{i=x(a[t])?this.parseArrayData(o,a,t,e):k(a[t])?this.parseObjectData(o,a,t,e):this.parsePrimitiveData(o,a,t,e);for(n=0;ne||h=0;--n)if(!p()){this.updateRangeFromParsed(c,t,r,l);break}return c}},{key:"getAllParsedValues",value:function(t){var e,n,r,i=this._cachedMeta._parsed,o=[];for(e=0,n=i.length;e=0&&t1&&void 0!==arguments[1]?arguments[1]:"default",r=arguments.length>2?arguments[2]:void 0,i="active"===n,o=this._cachedDataOpts,a=t+"-"+n,s=o[a],u=this.enableOptionSharing&&F(r);if(s)return Yn(s,u);var l=this.chart.config,c=l.datasetElementScopeKeys(this._type,t),f=i?["".concat(t,"Hover"),"hover",t,""]:[t,""],d=l.getOptionScopes(this.getDataset(),c),h=Object.keys(ne.elements[t]),p=function(){return e.getContext(r,i)},m=l.resolveNamedOptions(d,h,p,f);return m.$shared&&(m.$shared=u,o[a]=Object.freeze(Yn(m,u))),m}},{key:"_resolveAnimations",value:function(t,e,n){var r,i=this.chart,o=this._cachedDataOpts,a="animation-".concat(e),s=o[a];if(s)return s;if(!1!==i.options.animation){var u=this.chart.config,l=u.datasetAnimationScopeKeys(this._type,e),c=u.getOptionScopes(this.getDataset(),l);r=u.createResolver(c,this.getContext(t,n,e))}var f=new Ln(i,r&&r.animations);return r&&r._cacheable&&(o[a]=Object.freeze(f)),f}},{key:"getSharedOptions",value:function(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}},{key:"includeOptions",value:function(t,e){return!e||Vn(t)||this.chart._animationsDisabled}},{key:"updateElement",value:function(t,e,n,r){Vn(r)?Object.assign(t,n):this._resolveAnimations(e,r).update(t,n)}},{key:"updateSharedOptions",value:function(t,e,n){t&&!Vn(e)&&this._resolveAnimations(void 0,e).update(t,n)}},{key:"_setStyle",value:function(t,e,n,r){t.active=r;var i=this.getStyle(e,r);this._resolveAnimations(e,n,r).update(t,{options:!r&&this.getSharedOptions(i)||i})}},{key:"removeHoverStyle",value:function(t,e,n){this._setStyle(t,n,"active",!1)}},{key:"setHoverStyle",value:function(t,e,n){this._setStyle(t,n,"active",!0)}},{key:"_removeDatasetHoverStyle",value:function(){var t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}},{key:"_setDatasetHoverStyle",value:function(){var t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}},{key:"_resyncElements",value:function(t){var e,n=this._data,r=this._cachedMeta.data,i=Object(d.a)(this._syncList);try{for(i.s();!(e=i.n()).done;){var o=Object(c.a)(e.value,3),a=o[0],s=o[1],u=o[2];this[a](s,u)}}catch(p){i.e(p)}finally{i.f()}this._syncList=[];var l=r.length,f=n.length,h=Math.min(f,l);h&&this.parse(0,h),f>l?this._insertElements(l,f-l,t):f2&&void 0!==arguments[2])||arguments[2],i=this._cachedMeta,o=i.data,a=t+e,s=function(t){for(t.length+=e,n=t.length-1;n>=a;n--)t[n]=t[n-e]};for(s(o),n=t;nMath.abs(s)&&(u=s,l=a),e[n.axis]=l,e._custom={barStart:u,barEnd:l,start:i,end:o,min:a,max:s}}(t,e,n,r):e[n.axis]=n.parse(t,r),e}function Qn(t,e,n,r){var i,o,a,s,u=t.iScale,l=t.vScale,c=u.getLabels(),f=u===l,d=[];for(i=n,o=n+r;it.x,n="left",r="right"):(e=t.base=n?1:-1)}(n,i,l)*u,h===l&&(g-=n/2),e=g+n),g===i.getPixelForValue(l)){var y=$(n)*i.getLineWidthForValue(l)/2;g+=y,n-=y}return{size:n,base:g,head:e,center:e+n/2}}},{key:"_calculateBarIndexPixels",value:function(t,e){var n,r,i=e.scale,o=this.options,a=o.skipNull,s=M(o.maxBarThickness,1/0);if(e.grouped){var u=a?this._getStackCount(t):e.stackCount,l="flex"===o.barThickness?function(t,e,n,r){var i=e.pixels,o=i[t],a=t>0?i[t-1]:null,s=t=0;--n)e=Math.max(e,t[n].size(this.resolveDataElementOptions(n))/2);return e>0&&e}},{key:"getLabelAndValue",value:function(t){var e=this._cachedMeta,n=e.xScale,r=e.yScale,i=this.getParsed(t),o=n.getLabelForValue(i.x),a=r.getLabelForValue(i.y),s=i._custom;return{label:e.label,value:"("+o+", "+a+(s?", "+s:"")+")"}}},{key:"update",value:function(t){var e=this._cachedMeta.data;this.updateElements(e,0,e.length,t)}},{key:"updateElements",value:function(t,e,n,r){for(var i="reset"===r,o=this._cachedMeta,a=o.iScale,s=o.vScale,u=this.resolveDataElementOptions(e,r),l=this.getSharedOptions(u),c=this.includeOptions(r,l),f=a.axis,d=s.axis,h=e;h0&&!isNaN(t)?V*(Math.abs(t)/e):0}},{key:"getLabelAndValue",value:function(t){var e=this._cachedMeta,n=this.chart,r=n.data.labels||[],i=yn(e._parsed[t],n.options.locale);return{label:r[t]||"",value:i}}},{key:"getMaxBorderWidth",value:function(t){var e,n,r,i,o,a=0,s=this.chart;if(!t)for(e=0,n=s.data.datasets.length;e0&&this.getParsed(e-1),x=e;x0&&O[h]-_[h]>y,g&&(E.parsed=O,E.raw=l.data[x]),d&&(E.options=f||this.resolveDataElementOptions(x,k.active?"active":r)),b||this.updateElement(k,x,E,r),_=O}this.updateSharedOptions(f,r,c)}},{key:"getMaxOverflow",value:function(){var t=this._cachedMeta,e=t.dataset,n=e.options&&e.options.borderWidth||0,r=t.data||[];if(!r.length)return n;var i=r[0].size(this.resolveDataElementOptions(0)),o=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(n,i,o)/2}},{key:"draw",value:function(){var t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),s(Object(a.a)(n.prototype),"draw",this).call(this)}}]),n}(qn);ir.id="line",ir.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},ir.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};var or=function(t){Object(u.a)(n,t);var e=Object(l.a)(n);function n(t,r){var i;return Object(h.a)(this,n),(i=e.call(this,t,r)).innerRadius=void 0,i.outerRadius=void 0,i}return Object(p.a)(n,[{key:"getLabelAndValue",value:function(t){var e=this._cachedMeta,n=this.chart,r=n.data.labels||[],i=yn(e._parsed[t].r,n.options.locale);return{label:r[t]||"",value:i}}},{key:"update",value:function(t){var e=this._cachedMeta.data;this._updateRadius(),this.updateElements(e,0,e.length,t)}},{key:"_updateRadius",value:function(){var t=this.chart,e=t.chartArea,n=t.options,r=Math.min(e.right-e.left,e.bottom-e.top),i=Math.max(r/2,0),o=(i-Math.max(n.cutoutPercentage?i/100*n.cutoutPercentage:1,0))/t.getVisibleDatasetCount();this.outerRadius=i-o*this.index,this.innerRadius=this.outerRadius-o}},{key:"updateElements",value:function(t,e,n,r){var i,o="reset"===r,a=this.chart,s=this.getDataset(),u=a.options.animation,l=this._cachedMeta.rScale,c=l.xCenter,f=l.yCenter,d=l.getIndexAngle(0)-.5*W,h=d,p=360/this.countVisibleElements();for(i=0;i0){var s=a[0].datasetIndex,u=t.getDatasetMeta(s).data;a=[];for(var l=0;l1){var a=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(a<1e-4||a>1e15)&&(r="scientific"),o=function(t,e){var n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;Math.abs(n)>=1&&t!==Math.floor(t)&&(n=t-Math.floor(t));return n}(t,n)}var s=G(Math.abs(o)),u=Math.max(Math.min(-1*Math.floor(s),20),0),l={notation:r,minimumFractionDigits:u,maximumFractionDigits:u};return Object.assign(l,this.options.ticks.format),yn(t,i,l)},logarithmic:function(t,e,n){if(0===t)return"0";var r=t/Math.pow(10,Math.floor(G(t)));return 1===r||2===r||5===r?ti.numeric.call(this,t,e,n):""}};var ei={formatters:ti};function ni(t,e){var n=t.options.ticks,r=n.maxTicksLimit||function(t){var e=t.options.offset,n=t._tickSize(),r=t._length/n+(e?0:1),i=t._maxLength/n;return Math.floor(Math.min(r,i))}(t),i=n.major.enabled?function(t){var e,n,r=[];for(e=0,n=t.length;er)return function(t,e,n,r){var i,o=0,a=n[0];for(r=Math.ceil(r),i=0;ii)return u}return Math.max(i,1)}(i,e,r);if(o>0){var c,f,d=o>1?Math.round((s-a)/(o-1)):null;for(ri(e,u,l,w(d)?0:a-d,a),c=0,f=o-1;cs+u)))return l}function si(t){return t.drawTicks?t.tickLength:0}function ui(t,e){if(!t.display)return 0;var n=Oe(t.font,e),r=ke(t.padding);return(x(t.text)?t.text.length:1)*n.lineHeight+r.height}function li(t,e,n){var r=g(t);return(n&&"right"!==e||!n&&"right"===e)&&(r=function(t){return"left"===t?"right":"right"===t?"left":t}(r)),r}var ci=function(t){Object(u.a)(n,t);var e=Object(l.a)(n);function n(t){var r;return Object(h.a)(this,n),(r=e.call(this)).id=t.id,r.type=t.type,r.options=void 0,r.ctx=t.ctx,r.chart=t.chart,r.top=void 0,r.bottom=void 0,r.left=void 0,r.right=void 0,r.width=void 0,r.height=void 0,r._margins={left:0,right:0,top:0,bottom:0},r.maxWidth=void 0,r.maxHeight=void 0,r.paddingTop=void 0,r.paddingBottom=void 0,r.paddingLeft=void 0,r.paddingRight=void 0,r.axis=void 0,r.labelRotation=void 0,r.min=void 0,r.max=void 0,r._range=void 0,r.ticks=[],r._gridLineItems=null,r._labelItems=null,r._labelSizes=null,r._length=0,r._maxLength=0,r._longestTextCache={},r._startPixel=void 0,r._endPixel=void 0,r._reversePixels=!1,r._userMax=void 0,r._userMin=void 0,r._suggestedMax=void 0,r._suggestedMin=void 0,r._ticksLength=0,r._borderValue=0,r._cache={},r._dataLimitsCached=!1,r.$context=void 0,r}return Object(p.a)(n,[{key:"init",value:function(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}},{key:"parse",value:function(t,e){return t}},{key:"getUserBounds",value:function(){var t=this._userMin,e=this._userMax,n=this._suggestedMin,r=this._suggestedMax;return t=E(t,Number.POSITIVE_INFINITY),e=E(e,Number.NEGATIVE_INFINITY),n=E(n,Number.POSITIVE_INFINITY),r=E(r,Number.NEGATIVE_INFINITY),{min:E(t,n),max:E(e,r),minDefined:O(t),maxDefined:O(e)}}},{key:"getMinMax",value:function(t){var e,n=this.getUserBounds(),r=n.min,i=n.max,o=n.minDefined,a=n.maxDefined;if(o&&a)return{min:r,max:i};for(var s=this.getMatchingVisibleMetas(),u=0,l=s.length;ui?i:r,E(i=o&&r>i?r:i,r)),max:E(i,E(r,i))}}},{key:"getPadding",value:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}},{key:"getTicks",value:function(){return this.ticks}},{key:"getLabels",value:function(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}},{key:"beforeLayout",value:function(){this._cache={},this._dataLimitsCached=!1}},{key:"beforeUpdate",value:function(){C(this.options.beforeUpdate,[this])}},{key:"update",value:function(t,e,n){var r=this.options,i=r.beginAtZero,o=r.grace,a=r.ticks,s=a.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,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=function(t,e,n){var r=t.min,i=t.max,o=S(e,(i-r)/2),a=function(t,e){return n&&0===t?0:t+e};return{min:a(r,-Math.abs(o)),max:a(i,o)}}(this,o,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();var u=s=s||o<=1||!this.isHorizontal())this.labelRotation=a;else{var l=this._getLabelSizes(),c=l.widest.width,f=l.highest.height,d=ft(this.chart.width-c,0,this.maxWidth);c+6>(t=r.offset?this.maxWidth/o:d/(o-1))&&(t=d/(o-(r.offset?.5:1)),e=this.maxHeight-si(r.grid)-i.padding-ui(r.title,this.chart.options.font),n=Math.sqrt(c*c+f*f),u=it(Math.min(Math.asin(ft((l.highest.height+6)/t,-1,1)),Math.asin(ft(e/n,-1,1))-Math.asin(ft(f/n,-1,1)))),u=Math.max(a,Math.min(s,u))),this.labelRotation=u}}},{key:"afterCalculateLabelRotation",value:function(){C(this.options.afterCalculateLabelRotation,[this])}},{key:"beforeFit",value:function(){C(this.options.beforeFit,[this])}},{key:"fit",value:function(){var t={width:0,height:0},e=this.chart,n=this.options,r=n.ticks,i=n.title,o=n.grid,a=this._isVisible(),s=this.isHorizontal();if(a){var u=ui(i,e.options.font);if(s?(t.width=this.maxWidth,t.height=si(o)+u):(t.height=this.maxHeight,t.width=si(o)+u),r.display&&this.ticks.length){var l=this._getLabelSizes(),c=l.first,f=l.last,d=l.widest,h=l.highest,p=2*r.padding,m=rt(this.labelRotation),v=Math.cos(m),g=Math.sin(m);if(s){var y=r.mirror?0:g*d.width+v*h.height;t.height=Math.min(this.maxHeight,t.height+y+p)}else{var b=r.mirror?0:v*d.width+g*h.height;t.width=Math.min(this.maxWidth,t.width+b+p)}this._calculatePadding(c,f,g,v)}}this._handleMargins(),s?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}},{key:"_calculatePadding",value:function(t,e,n,r){var i=this.options,o=i.ticks,a=o.align,s=o.padding,u=i.position,l=0!==this.labelRotation,c="top"!==u&&"x"===this.axis;if(this.isHorizontal()){var f=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1),h=0,p=0;l?c?(h=r*t.width,p=n*e.height):(h=n*t.height,p=r*e.width):"start"===a?p=e.width:"end"===a?h=t.width:(h=t.width/2,p=e.width/2),this.paddingLeft=Math.max((h-f+s)*this.width/(this.width-f),0),this.paddingRight=Math.max((p-d+s)*this.width/(this.width-d),0)}else{var m=e.height/2,v=t.height/2;"start"===a?(m=0,v=t.height):"end"===a&&(m=e.height,v=0),this.paddingTop=m+s,this.paddingBottom=v+s}}},{key:"_handleMargins",value:function(){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))}},{key:"afterFit",value:function(){C(this.options.afterFit,[this])}},{key:"isHorizontal",value:function(){var t=this.options,e=t.axis,n=t.position;return"top"===n||"bottom"===n||"x"===e}},{key:"isFullSize",value:function(){return this.options.fullSize}},{key:"_convertTicksToLabels",value:function(t){var e,n;for(this.beforeTickToLabelConversion(),this.generateTickLabels(t),e=0,n=t.length;ee){for(n=0;ne.length-1?null:this.getPixelForValue(e[t].value)}},{key:"getPixelForDecimal",value:function(t){this._reversePixels&&(t=1-t);var e=this._startPixel+t*this._length;return ft(this._alignToPixels?oe(this.chart,e,0):e,-32768,32767)}},{key:"getDecimalForPixel",value:function(t){var e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}},{key:"getBasePixel",value:function(){return this.getPixelForValue(this.getBaseValue())}},{key:"getBaseValue",value:function(){var t=this.min,e=this.max;return t<0&&e<0?e:t>0&&e>0?t:0}},{key:"getContext",value:function(t){var e=this.ticks||[];if(t>=0&&ta*r?a/n:s/r:s*r0}},{key:"_computeGridLineItems",value:function(t){var e,n,r,i,o,a,s,u,l,c,f,d,h=this.axis,p=this.chart,m=this.options,v=m.grid,g=m.position,y=v.offset,b=this.isHorizontal(),_=this.ticks.length+(y?1:0),w=si(v),x=[],O=v.setContext(this.getContext()),E=O.drawBorder?O.borderWidth:0,S=E/2,C=function(t){return oe(p,t,E)};if("top"===g)e=C(this.bottom),a=this.bottom-w,u=e-S,c=C(t.top)+S,d=t.bottom;else if("bottom"===g)e=C(this.top),c=t.top,d=C(t.bottom)-S,a=e+S,u=this.top+w;else if("left"===g)e=C(this.right),o=this.right-w,s=e-S,l=C(t.left)+S,f=t.right;else if("right"===g)e=C(this.left),l=t.left,f=C(t.right)-S,o=e+S,s=this.left+w;else if("x"===h){if("center"===g)e=C((t.top+t.bottom)/2+.5);else if(k(g)){var T=Object.keys(g)[0],P=g[T];e=C(this.chart.scales[T].getPixelForValue(P))}c=t.top,d=t.bottom,u=(a=e+S)+w}else if("y"===h){if("center"===g)e=C((t.left+t.right)/2);else if(k(g)){var j=Object.keys(g)[0],N=g[j];e=C(this.chart.scales[j].getPixelForValue(N))}s=(o=e-S)-w,l=t.left,f=t.right}var D=M(m.ticks.maxTicksLimit,_),L=Math.max(1,Math.ceil(_/D));for(n=0;n<_;n+=L){var A=v.setContext(this.getContext(n)),R=A.lineWidth,I=A.color,z=v.borderDash||[],B=A.borderDashOffset,F=A.tickWidth,H=A.tickColor,U=A.tickBorderDash||[],W=A.tickBorderDashOffset;void 0!==(r=ai(this,n,y))&&(i=oe(p,r,R),b?o=s=l=f=i:a=u=c=d=i,x.push({tx1:o,ty1:a,tx2:s,ty2:u,x1:l,y1:c,x2:f,y2:d,width:R,color:I,borderDash:z,borderDashOffset:B,tickWidth:F,tickColor:H,tickBorderDash:U,tickBorderDashOffset:W}))}return this._ticksLength=_,this._borderValue=e,x}},{key:"_computeLabelItems",value:function(t){var e,n,r,i,o,a,s,u,l,c,f,d=this.axis,h=this.options,p=h.position,m=h.ticks,v=this.isHorizontal(),g=this.ticks,y=m.align,b=m.crossAlign,_=m.padding,w=m.mirror,O=si(h.grid),E=O+_,M=w?-_:E,S=-rt(this.labelRotation),C=[],T="middle";if("top"===p)o=this.bottom-M,a=this._getXAxisLabelAlignment();else if("bottom"===p)o=this.top+M,a=this._getXAxisLabelAlignment();else if("left"===p){var P=this._getYAxisLabelAlignment(O);a=P.textAlign,i=P.x}else if("right"===p){var j=this._getYAxisLabelAlignment(O);a=j.textAlign,i=j.x}else if("x"===d){if("center"===p)o=(t.top+t.bottom)/2+E;else if(k(p)){var N=Object.keys(p)[0],D=p[N];o=this.chart.scales[N].getPixelForValue(D)+E}a=this._getXAxisLabelAlignment()}else if("y"===d){if("center"===p)i=(t.left+t.right)/2-E;else if(k(p)){var L=Object.keys(p)[0],A=p[L];i=this.chart.scales[L].getPixelForValue(A)}a=this._getYAxisLabelAlignment(O).textAlign}"y"===d&&("start"===y?T="top":"end"===y&&(T="bottom"));var R=this._getLabelSizes();for(e=0,n=g.length;e=0?e.setContext(this.getContext(n)).lineWidth:0}},{key:"drawGrid",value:function(t){var e,n,r=this.options.grid,i=this.ctx,o=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t)),a=function(t,e,n){n.width&&n.color&&(i.save(),i.lineWidth=n.width,i.strokeStyle=n.color,i.setLineDash(n.borderDash||[]),i.lineDashOffset=n.borderDashOffset,i.beginPath(),i.moveTo(t.x,t.y),i.lineTo(e.x,e.y),i.stroke(),i.restore())};if(r.display)for(e=0,n=o.length;e3&&void 0!==arguments[3]?arguments[3]:[""],i={$shared:!0},o=Ei(this._resolverCache,t,r),a=o.resolver,s=o.subPrefixes,u=a;if(Si(a,e)){i.$shared=!1,n=H(n)?n():n;var l=this.createResolver(t,n,s);u=Le(a,n,l)}var c,f=Object(d.a)(e);try{for(f.s();!(c=f.n()).done;){var h=c.value;i[h]=u[h]}}catch(p){f.e(p)}finally{f.f()}return i}},{key:"createResolver",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[""],r=arguments.length>3?arguments[3]:void 0,i=Ei(this._resolverCache,t,n),o=i.resolver;return k(e)?Le(o,e,void 0,r):o}}]),t}();function Ei(t,e,n){var r=t.get(e);r||(r=new Map,t.set(e,r));var i=n.join(),o=r.get(i);o||(o={resolver:De(e,n),subPrefixes:n.filter((function(t){return!t.toLowerCase().includes("hover")}))},r.set(i,o));return o}var Mi=function(t){return k(t)&&Object.getOwnPropertyNames(t).reduce((function(e,n){return e||H(t[n])}),!1)};function Si(t,e){var n,r=Ae(t),i=r.isScriptable,o=r.isIndexable,a=Object(d.a)(e);try{for(a.s();!(n=a.n()).done;){var s=n.value,u=i(s),l=o(s),c=(l||u)&&t[s];if(u&&(H(c)||Mi(c))||l&&x(c))return!0}}catch(f){a.e(f)}finally{a.f()}return!1}var Ci=["top","bottom","left","right","chartArea"];function Ti(t,e){return"top"===t||"bottom"===t||-1===Ci.indexOf(t)&&"x"===e}function Pi(t,e){return function(n,r){return n[t]===r[t]?n[e]-r[e]:n[t]-r[t]}}function ji(t){var e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),C(n&&n.onComplete,[t],e)}function Ni(t){var e=t.chart,n=e.options.animation;C(n&&n.onProgress,[t],e)}function Di(t){return en()&&"string"===typeof t?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}var Li={},Ai=function(t){var e=Di(t);return Object.values(Li).filter((function(t){return t.canvas===e})).pop()};function Ri(t,e,n){for(var r=0,i=Object.keys(t);r=e){var s=t[o];delete t[o],(n>0||a>e)&&(t[a+n]=s)}}}var Ii=function(){function t(e,n){var r=this;Object(h.a)(this,t);var i=this.config=new Oi(n),o=Di(e),a=Ai(o);if(a)throw new Error("Canvas is already in use. Chart with ID '"+a.id+"' must be destroyed before the canvas can be reused.");var s=i.createResolver(i.chartOptionScopes(),this.getContext());this.platform=new(i.platform||function(t){return!en()||"undefined"!==typeof OffscreenCanvas&&t instanceof OffscreenCanvas?zr:$r}(o)),this.platform.updateConfig(i);var u=this.platform.acquireContext(o,s.aspectRatio),l=u&&u.canvas,c=l&&l.height,f=l&&l.width;this.id=_(),this.ctx=u,this.canvas=l,this.width=f,this.height=c,this._options=s,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 hi,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function(t,e){var n;return function(){for(var r=arguments.length,i=new Array(r),o=0;oe){for(var r=e;rn.length&&delete this._stacks,e.forEach((function(e,r){0===n.filter((function(t){return t===e._dataset})).length&&t._destroyDatasetMeta(r)}))}},{key:"buildOrUpdateControllers",value:function(){var t,e,n=[],r=this.data.datasets;for(this._removeUnreferencedMetasets(),t=0,e=r.length;t=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}}},{key:"_drawDataset",value:function(t){var e=this.ctx,n=t._clip,r=!n.disabled,i=this.chartArea,o={meta:t,index:t.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",o)&&(r&&le(e,{left:!1===n.left?0:i.left-n.left,right:!1===n.right?this.width:i.right+n.right,top:!1===n.top?0:i.top-n.top,bottom:!1===n.bottom?this.height:i.bottom+n.bottom}),t.controller.draw(),r&&ce(e),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}},{key:"getElementsAtEventForMode",value:function(t,e,n,r){var i=_r.modes[e];return"function"===typeof i?i(this,t,n,r):[]}},{key:"getDatasetMeta",value:function(t){var e=this.data.datasets[t],n=this._metasets,r=n.filter((function(t){return t&&t._dataset===e})).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1},n.push(r)),r}},{key:"getContext",value:function(){return this.$context||(this.$context=Me(null,{chart:this,type:"chart"}))}},{key:"getVisibleDatasetCount",value:function(){return this.getSortedVisibleDatasetMetas().length}},{key:"isDatasetVisible",value:function(t){var e=this.data.datasets[t];if(!e)return!1;var n=this.getDatasetMeta(t);return"boolean"===typeof n.hidden?!n.hidden:!e.hidden}},{key:"setDatasetVisibility",value:function(t,e){this.getDatasetMeta(t).hidden=!e}},{key:"toggleDataVisibility",value:function(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}},{key:"getDataVisibility",value:function(t){return!this._hiddenIndices[t]}},{key:"_updateVisibility",value:function(t,e,n){var r=n?"show":"hide",i=this.getDatasetMeta(t),o=i.controller._resolveAnimations(void 0,r);F(e)?(i.data[e].hidden=!n,this.update()):(this.setDatasetVisibility(t,n),o.update(i,{visible:n}),this.update((function(e){return e.datasetIndex===t?r:void 0})))}},{key:"hide",value:function(t,e){this._updateVisibility(t,e,!1)}},{key:"show",value:function(t,e){this._updateVisibility(t,e,!0)}},{key:"_destroyDatasetMeta",value:function(t){var e=this._metasets[t];e&&e.controller&&e.controller._destroy(),delete this._metasets[t]}},{key:"_stop",value:function(){var t,e;for(this.stop(),Tn.remove(this),t=0,e=this.data.datasets.length;ti?(l=i/u,t.arc(o,a,u,n+l,r-l,!0)):t.arc(o,a,i,n+K,r-K),t.closePath(),t.clip()}function Hi(t,e,n,r){var i=_e(t.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]),o=(n-e)/2,a=Math.min(o,r*e/2),s=function(t){var e=(n-Math.min(o,t))*r/2;return ft(t,0,Math.min(o,e))};return{outerStart:s(i.outerStart),outerEnd:s(i.outerEnd),innerStart:ft(i.innerStart,0,a),innerEnd:ft(i.innerEnd,0,a)}}function Ui(t,e,n,r){return{x:n+t*Math.cos(e),y:r+t*Math.sin(e)}}function Wi(t,e,n,r,i){var o=e.x,a=e.y,s=e.startAngle,u=e.pixelMargin,l=e.innerRadius,c=Math.max(e.outerRadius+r+n-u,0),f=l>0?l+r+n+u:0,d=0,h=i-s;if(r){var p=((l>0?l-r:0)+(c>0?c-r:0))/2;d=(h-(0!==p?h*p/(p+r):h))/2}var m=(h-Math.max(.001,h*c-n/W)/c)/2,v=s+m+d,g=i-m-d,y=Hi(e,f,c,g-v),b=y.outerStart,_=y.outerEnd,w=y.innerStart,x=y.innerEnd,k=c-b,O=c-_,E=v+b/k,M=g-_/O,S=f+w,C=f+x,T=v+w/S,P=g-x/C;if(t.beginPath(),t.arc(o,a,c,E,M),_>0){var j=Ui(O,M,o,a);t.arc(j.x,j.y,_,M,g+K)}var N=Ui(C,g,o,a);if(t.lineTo(N.x,N.y),x>0){var D=Ui(C,P,o,a);t.arc(D.x,D.y,x,g+K,P+Math.PI)}if(t.arc(o,a,f,g-x/f,v+w/f,!0),w>0){var L=Ui(S,T,o,a);t.arc(L.x,L.y,w,T+Math.PI,v-K)}var A=Ui(k,v,o,a);if(t.lineTo(A.x,A.y),b>0){var R=Ui(k,E,o,a);t.arc(R.x,R.y,b,v-K,E)}t.closePath()}function Vi(t,e,n,r,i){var o=e.options,a=o.borderWidth,s=o.borderJoinStyle,u="inner"===o.borderAlign;a&&(u?(t.lineWidth=2*a,t.lineJoin=s||"round"):(t.lineWidth=a,t.lineJoin=s||"bevel"),e.fullCircles&&function(t,e,n){var r,i=e.x,o=e.y,a=e.startAngle,s=e.pixelMargin,u=e.fullCircles,l=Math.max(e.outerRadius-s,0),c=e.innerRadius+s;for(n&&Fi(t,e,a+V),t.beginPath(),t.arc(i,o,c,a+V,a,!0),r=0;r=V||ct(i,s,u),p=dt(o,l+d,c+d);return h&&p}},{key:"getCenterPoint",value:function(t){var e=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],t),n=e.x,r=e.y,i=e.startAngle,o=e.endAngle,a=e.innerRadius,s=e.outerRadius,u=this.options,l=u.offset,c=(i+o)/2,f=(a+s+u.spacing+l)/2;return{x:n+Math.cos(c)*f,y:r+Math.sin(c)*f}}},{key:"tooltipPosition",value:function(t){return this.getCenterPoint(t)}},{key:"draw",value:function(t){var e=this.options,n=this.circumference,r=(e.offset||0)/2,i=(e.spacing||0)/2;if(this.pixelMargin="inner"===e.borderAlign?.33:0,this.fullCircles=n>V?Math.floor(n/V):0,!(0===n||this.innerRadius<0||this.outerRadius<0)){t.save();var o=0;if(r){o=r/2;var a=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(a)*o,Math.sin(a)*o),this.circumference>=W&&(o=r)}t.fillStyle=e.backgroundColor,t.strokeStyle=e.borderColor;var s=function(t,e,n,r){var i=e.fullCircles,o=e.startAngle,a=e.circumference,s=e.endAngle;if(i){Wi(t,e,n,r,o+V);for(var u=0;u2&&void 0!==arguments[2]?arguments[2]:e;t.lineCap=M(n.borderCapStyle,e.borderCapStyle),t.setLineDash(M(n.borderDash,e.borderDash)),t.lineDashOffset=M(n.borderDashOffset,e.borderDashOffset),t.lineJoin=M(n.borderJoinStyle,e.borderJoinStyle),t.lineWidth=M(n.borderWidth,e.borderWidth),t.strokeStyle=M(n.borderColor,e.borderColor)}function Zi(t,e,n){t.lineTo(n.x,n.y)}function Ki(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.length,i=n.start,o=void 0===i?0:i,a=n.end,s=void 0===a?r-1:a,u=e.start,l=e.end,c=Math.max(o,u),f=Math.min(s,l),d=ol&&s>l;return{count:r,start:c,loop:e.loop,ilen:fu&&(u=O),b=(_*b+k)/++_):(x(),t.lineTo(k,O),a=E,_=0,s=u=O),l=O}x()}function Gi(t){var e=t.options,n=e.borderDash&&e.borderDash.length;return!t._decimated&&!t._loop&&!e.tension&&"monotone"!==e.cubicInterpolationMode&&!e.stepped&&!n?Xi:Qi}Yi.id="arc",Yi.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0},Yi.defaultRoutes={backgroundColor:"backgroundColor"};var $i="function"===typeof Path2D;function Ji(t,e,n,r){$i&&!e.options.segment?function(t,e,n,r){var i=e._path;i||(i=e._path=new Path2D,e.path(i,n,r)&&i.closePath()),qi(t,e.options),t.stroke(i)}(t,e,n,r):function(t,e,n,r){var i,o=e.segments,a=e.options,s=Gi(e),u=Object(d.a)(o);try{for(u.s();!(i=u.n()).done;){var l=i.value;qi(t,a,l.style),t.beginPath(),s(t,e,l,{start:n,end:n+r-1})&&t.closePath(),t.stroke()}}catch(c){u.e(c)}finally{u.f()}}(t,e,n,r)}var to=function(t){Object(u.a)(n,t);var e=Object(l.a)(n);function n(t){var r;return Object(h.a)(this,n),(r=e.call(this)).animated=!0,r.options=void 0,r._chart=void 0,r._loop=void 0,r._fullLoop=void 0,r._path=void 0,r._points=void 0,r._segments=void 0,r._decimated=!1,r._pointsUpdated=!1,r._datasetIndex=void 0,t&&Object.assign(Object(o.a)(r),t),r}return Object(p.a)(n,[{key:"updateControlPoints",value:function(t,e){var n=this.options;if((n.tension||"monotone"===n.cubicInterpolationMode)&&!n.stepped&&!this._pointsUpdated){var r=n.spanGaps?this._loop:this._fullLoop;tn(this._points,n,t,r,e),this._pointsUpdated=!0}}},{key:"points",get:function(){return this._points},set:function(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}},{key:"segments",get:function(){return this._segments||(this._segments=function(t,e){var n=t.points,r=t.options.spanGaps,i=n.length;if(!i)return[];var o=!!t._loop,a=function(t,e,n,r){var i=0,o=e-1;if(n&&!r)for(;ii&&t[o%e].skip;)o--;return{start:i,end:o%=e}}(n,i,o,r),s=a.start,u=a.end;return Mn(t,!0===r?[{start:s,end:u,loop:o}]:function(t,e,n,r){var i,o=t.length,a=[],s=e,u=t[e];for(i=e+1;i<=n;++i){var l=t[i%o];l.skip||l.stop?u.skip||(r=!1,a.push({start:e%o,end:(i-1)%o,loop:r}),e=s=l.stop?i:null):(s=i,u.skip&&(e=i)),u=l}return null!==s&&a.push({start:e%o,end:s%o,loop:r}),a}(n,s,u2&&void 0!==arguments[2]?arguments[2]:{},r=t.x!==n.x?-e:0,i=t.y!==n.y?-e:0,o=(t.x+t.w!==n.x+n.w?e:0)-r,a=(t.y+t.h!==n.y+n.h?e:0)-i;return{x:t.x+r,y:t.y+i,w:t.w+o,h:t.h+a,radius:t.radius}}no.id="point",no.defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0},no.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};var lo=function(t){Object(u.a)(n,t);var e=Object(l.a)(n);function n(t){var r;return Object(h.a)(this,n),(r=e.call(this)).options=void 0,r.horizontal=void 0,r.base=void 0,r.width=void 0,r.height=void 0,r.inflateAmount=void 0,t&&Object.assign(Object(o.a)(r),t),r}return Object(p.a)(n,[{key:"draw",value:function(t){var e,n=this.inflateAmount,r=this.options,i=r.borderColor,o=r.backgroundColor,a=oo(this),s=a.inner,u=a.outer,l=(e=u.radius).topLeft||e.topRight||e.bottomLeft||e.bottomRight?ve:so;t.save(),u.w===s.w&&u.h===s.h||(t.beginPath(),l(t,uo(u,n,s)),t.clip(),l(t,uo(s,-n,u)),t.fillStyle=i,t.fill("evenodd")),t.beginPath(),l(t,uo(s,n)),t.fillStyle=o,t.fill(),t.restore()}},{key:"inRange",value:function(t,e,n){return ao(this,t,e,n)}},{key:"inXRange",value:function(t,e){return ao(this,t,null,e)}},{key:"inYRange",value:function(t,e){return ao(this,null,t,e)}},{key:"getCenterPoint",value:function(t){var e=this.getProps(["x","y","base","horizontal"],t),n=e.x,r=e.y,i=e.base,o=e.horizontal;return{x:o?(n+i)/2:n,y:o?r:(r+i)/2}}},{key:"getRange",value:function(t){return"x"===t?this.width/2:this.height/2}}]),n}(Jr);lo.id="bar",lo.defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0},lo.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};var co=Object.freeze({__proto__:null,ArcElement:Yi,LineElement:to,PointElement:no,BarElement:lo});function fo(t){if(t._decimated){var e=t._data;delete t._decimated,delete t._data,Object.defineProperty(t,"data",{value:e})}}function ho(t){t.data.datasets.forEach((function(t){fo(t)}))}var po={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:function(t,e,n){if(n.enabled){var r=t.width;t.data.datasets.forEach((function(e,o){var a=e._data,s=e.indexAxis,u=t.getDatasetMeta(o),l=a||e.data;if("y"!==Ee([s,t.options.indexAxis])&&"line"===u.type){var c=t.scales[u.xAxisID];if(("linear"===c.type||"time"===c.type)&&!t.options.parsing){var f=function(t,e){var n=e.length,r=0,i=t.iScale,o=i.getUserBounds(),a=o.min,s=o.max,u=o.minDefined,l=o.maxDefined;return u&&(r=ft(Ce(e,i.axis,a).lo,0,n-1)),{start:r,count:l?ft(Ce(e,i.axis,s).hi+1,r,n)-r:n-r}}(u,l),d=f.start,h=f.count;if(h<=(n.threshold||4*r))fo(e);else{var p;switch(w(a)&&(e._data=l,delete e.data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(t){this._data=t}})),n.algorithm){case"lttb":p=function(t,e,n,r,i){var o=i.samples||r;if(o>=n)return t.slice(e,e+n);var a,s,u,l,c,f=[],d=(n-2)/(o-2),h=0,p=e+n-1,m=e;for(f[h++]=t[m],a=0;au&&(u=l,s=t[y],c=y);f[h++]=s,m=c}return f[h++]=t[p],f}(l,d,h,r,n);break;case"min-max":p=function(t,e,n,r){var o,a,s,u,l,c,f,d,h,p,m=0,v=0,g=[],y=e+n-1,b=t[e].x,_=t[y].x-b;for(o=e;op&&(p=u,f=o),m=(v*m+a.x)/++v;else{var k=o-1;if(!w(c)&&!w(f)){var O=Math.min(c,f),E=Math.max(c,f);O!==d&&O!==k&&g.push(Object(i.a)(Object(i.a)({},t[O]),{},{x:m})),E!==d&&E!==k&&g.push(Object(i.a)(Object(i.a)({},t[E]),{},{x:m}))}o>0&&k!==d&&g.push(t[k]),g.push(a),l=x,v=0,h=p=u,c=f=d=o}}return g}(l,d,h,r);break;default:throw new Error("Unsupported decimation algorithm '".concat(n.algorithm,"'"))}e._decimated=p}}}}))}else ho(t)},destroy:function(t){ho(t)}};function mo(t,e,n){var r=function(t){var e=t.options,n=e.fill,r=M(n&&n.target,n);return void 0===r&&(r=!!e.backgroundColor),!1!==r&&null!==r&&(!0===r?"origin":r)}(t);if(k(r))return!isNaN(r.value)&&r;var i=parseFloat(r);return O(i)&&Math.floor(i)===i?("-"!==r[0]&&"+"!==r[0]||(i=e+i),!(i===e||i<0||i>=n)&&i):["origin","start","end","stack","shape"].indexOf(r)>=0&&r}var vo=function(){function t(e){Object(h.a)(this,t),this.x=e.x,this.y=e.y,this.radius=e.radius}return Object(p.a)(t,[{key:"pathSegment",value:function(t,e,n){var r=this.x,i=this.y,o=this.radius;return e=e||{start:0,end:V},t.arc(r,i,o,e.end,e.start,!0),!n.bounds}},{key:"interpolate",value:function(t){var e=this.x,n=this.y,r=this.radius,i=t.angle;return{x:e+Math.cos(i)*r,y:n+Math.sin(i)*r,angle:i}}}]),t}();function go(t){return(t.scale||{}).getPointPositionForValue?function(t){var e,n,r,i=t.scale,o=t.fill,a=i.options,s=i.getLabels().length,u=[],l=a.reverse?i.max:i.min,c=a.reverse?i.min:i.max;if(r="start"===o?l:"end"===o?c:k(o)?o.value:i.getBaseValue(),a.grid.circular)return n=i.getPointPositionForValue(0,l),new vo({x:n.x,y:n.y,radius:i.getDistanceFromCenterForValue(r)});for(e=0;et;e--){var r=n[e];if(!isNaN(r.x)&&!isNaN(r.y))break}return e}function bo(t,e,n){for(var r=[],i=0;i=0;--a){var s=i[a].$filler;s&&(s.line.updateControlPoints(o,s.axis),r&&Po(t.ctx,s,o))}},beforeDatasetsDraw:function(t,e,n){if("beforeDatasetsDraw"===n.drawTime)for(var r=t.getSortedVisibleDatasetMetas(),i=r.length-1;i>=0;--i){var o=r[i].$filler;o&&Po(t.ctx,o,t.chartArea)}},beforeDatasetDraw:function(t,e,n){var r=e.meta.$filler;r&&!1!==r.fill&&"beforeDatasetDraw"===n.drawTime&&Po(t.ctx,r,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}},No=function(t,e){var n=t.boxHeight,r=void 0===n?e:n,i=t.boxWidth,o=void 0===i?e:i;return t.usePointStyle&&(r=Math.min(r,e),o=Math.min(o,e)),{boxWidth:o,boxHeight:r,itemHeight:Math.max(e,r)}},Do=function(t){Object(u.a)(n,t);var e=Object(l.a)(n);function n(t){var r;return Object(h.a)(this,n),(r=e.call(this))._added=!1,r.legendHitBoxes=[],r._hoveredItem=null,r.doughnutMode=!1,r.chart=t.chart,r.options=t.options,r.ctx=t.ctx,r.legendItems=void 0,r.columnSizes=void 0,r.lineWidths=void 0,r.maxHeight=void 0,r.maxWidth=void 0,r.top=void 0,r.bottom=void 0,r.left=void 0,r.right=void 0,r.height=void 0,r.width=void 0,r._margins=void 0,r.position=void 0,r.weight=void 0,r.fullSize=void 0,r}return Object(p.a)(n,[{key:"update",value:function(t,e,n){this.maxWidth=t,this.maxHeight=e,this._margins=n,this.setDimensions(),this.buildLabels(),this.fit()}},{key:"setDimensions",value:function(){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)}},{key:"buildLabels",value:function(){var t=this,e=this.options.labels||{},n=C(e.generateLabels,[this.chart],this)||[];e.filter&&(n=n.filter((function(n){return e.filter(n,t.chart.data)}))),e.sort&&(n=n.sort((function(n,r){return e.sort(n,r,t.chart.data)}))),this.options.reverse&&n.reverse(),this.legendItems=n}},{key:"fit",value:function(){var t=this.options,e=this.ctx;if(t.display){var n,r,i=t.labels,o=Oe(i.font),a=o.size,s=this._computeTitleHeight(),u=No(i,a),l=u.boxWidth,c=u.itemHeight;e.font=o.string,this.isHorizontal()?(n=this.maxWidth,r=this._fitRows(s,a,l,c)+10):(r=this.maxHeight,n=this._fitCols(s,a,l,c)+10),this.width=Math.min(n,t.maxWidth||this.maxWidth),this.height=Math.min(r,t.maxHeight||this.maxHeight)}else this.width=this.height=0}},{key:"_fitRows",value:function(t,e,n,r){var i=this.ctx,o=this.maxWidth,a=this.options.labels.padding,s=this.legendHitBoxes=[],u=this.lineWidths=[0],l=r+a,c=t;i.textAlign="left",i.textBaseline="middle";var f=-1,d=-l;return this.legendItems.forEach((function(t,h){var p=n+e/2+i.measureText(t.text).width;(0===h||u[u.length-1]+p+2*a>o)&&(c+=l,u[u.length-(h>0?0:1)]=0,d+=l,f++),s[h]={left:0,top:d,row:f,width:p,height:r},u[u.length-1]+=p+a})),c}},{key:"_fitCols",value:function(t,e,n,r){var i=this.ctx,o=this.maxHeight,a=this.options.labels.padding,s=this.legendHitBoxes=[],u=this.columnSizes=[],l=o-t,c=a,f=0,d=0,h=0,p=0;return this.legendItems.forEach((function(t,o){var m=n+e/2+i.measureText(t.text).width;o>0&&d+r+2*a>l&&(c+=f+a,u.push({width:f,height:d}),h+=f+a,p++,f=d=0),s[o]={left:h,top:d,col:p,width:m,height:r},f=Math.max(f,m),d+=r+a})),c+=f,u.push({width:f,height:d}),c}},{key:"adjustHitBoxes",value:function(){if(this.options.display){var t=this._computeTitleHeight(),e=this.legendHitBoxes,n=this.options,r=n.align,i=n.labels.padding,o=bn(n.rtl,this.left,this.width);if(this.isHorizontal()){var a,s=0,u=y(r,this.left+i,this.right-this.lineWidths[s]),l=Object(d.a)(e);try{for(l.s();!(a=l.n()).done;){var c=a.value;s!==c.row&&(s=c.row,u=y(r,this.left+i,this.right-this.lineWidths[s])),c.top+=this.top+t+i,c.left=o.leftForLtr(o.x(u),c.width),u+=c.width+i}}catch(g){l.e(g)}finally{l.f()}}else{var f,h=0,p=y(r,this.top+t+i,this.bottom-this.columnSizes[h].height),m=Object(d.a)(e);try{for(m.s();!(f=m.n()).done;){var v=f.value;v.col!==h&&(h=v.col,p=y(r,this.top+t+i,this.bottom-this.columnSizes[h].height)),v.top=p,v.left+=this.left+i,v.left=o.leftForLtr(o.x(v.left),v.width),p+=v.height+i}}catch(g){m.e(g)}finally{m.f()}}}}},{key:"isHorizontal",value:function(){return"top"===this.options.position||"bottom"===this.options.position}},{key:"draw",value:function(){if(this.options.display){var t=this.ctx;le(t,this),this._draw(),ce(t)}}},{key:"_draw",value:function(){var t,e=this,n=this.options,r=this.columnSizes,i=this.lineWidths,o=this.ctx,a=n.align,s=n.labels,u=ne.color,l=bn(n.rtl,this.left,this.width),c=Oe(s.font),f=s.color,d=s.padding,h=c.size,p=h/2;this.drawTitle(),o.textAlign=l.textAlign("left"),o.textBaseline="middle",o.lineWidth=.5,o.font=c.string;var m=No(s,h),v=m.boxWidth,g=m.boxHeight,b=m.itemHeight,_=this.isHorizontal(),w=this._computeTitleHeight();t=_?{x:y(a,this.left+d,this.right-i[0]),y:this.top+d+w,line:0}:{x:this.left+d,y:y(a,this.top+w+d,this.bottom-r[0].height),line:0},_n(this.ctx,n.textDirection);var x=b+d;this.legendItems.forEach((function(m,k){o.strokeStyle=m.fontColor||f,o.fillStyle=m.fontColor||f;var O=o.measureText(m.text).width,E=l.textAlign(m.textAlign||(m.textAlign=s.textAlign)),S=v+p+O,C=t.x,T=t.y;l.setWidth(e.width),_?k>0&&C+S+d>e.right&&(T=t.y+=x,t.line++,C=t.x=y(a,e.left+d,e.right-i[t.line])):k>0&&T+x>e.bottom&&(C=t.x=C+r[t.line].width+d,t.line++,T=t.y=y(a,e.top+w+d,e.bottom-r[t.line].height)),function(t,e,n){if(!(isNaN(v)||v<=0||isNaN(g)||g<0)){o.save();var r=M(n.lineWidth,1);if(o.fillStyle=M(n.fillStyle,u),o.lineCap=M(n.lineCap,"butt"),o.lineDashOffset=M(n.lineDashOffset,0),o.lineJoin=M(n.lineJoin,"miter"),o.lineWidth=r,o.strokeStyle=M(n.strokeStyle,u),o.setLineDash(M(n.lineDash,[])),s.usePointStyle){var i={radius:v*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:r},a=l.xPlus(t,v/2);se(o,i,a,e+p)}else{var c=e+Math.max((h-g)/2,0),f=l.leftForLtr(t,v),d=xe(n.borderRadius);o.beginPath(),Object.values(d).some((function(t){return 0!==t}))?ve(o,{x:f,y:c,w:v,h:g,radius:d}):o.rect(f,c,v,g),o.fill(),0!==r&&o.stroke()}o.restore()}}(l.x(C),T,m),C=function(t,e,n,r){return t===(r?"left":"right")?n:"center"===t?(e+n)/2:e}(E,C+v+p,_?C+S:e.right,n.rtl),function(t,e,n){he(o,n.text,t,e+b/2,c,{strikethrough:n.hidden,textAlign:l.textAlign(n.textAlign)})}(l.x(C),T,m),_?t.x+=S+d:t.y+=x})),wn(this.ctx,n.textDirection)}},{key:"drawTitle",value:function(){var t=this.options,e=t.title,n=Oe(e.font),i=ke(e.padding);if(e.display){var o,a=bn(t.rtl,this.left,this.width),s=this.ctx,u=e.position,l=n.size/2,c=i.top+l,f=this.left,d=this.width;if(this.isHorizontal())d=Math.max.apply(Math,Object(r.a)(this.lineWidths)),o=this.top+c,f=y(t.align,f,this.right-d);else{var h=this.columnSizes.reduce((function(t,e){return Math.max(t,e.height)}),0);o=c+y(t.align,this.top,this.bottom-h-t.labels.padding-this._computeTitleHeight())}var p=y(u,f,f+d);s.textAlign=a.textAlign(g(u)),s.textBaseline="middle",s.strokeStyle=e.color,s.fillStyle=e.color,s.font=n.string,he(s,e.text,p,o,n)}}},{key:"_computeTitleHeight",value:function(){var t=this.options.title,e=Oe(t.font),n=ke(t.padding);return t.display?e.lineHeight+n.height:0}},{key:"_getLegendItemAt",value:function(t,e){var n,r,i;if(dt(t,this.left,this.right)&&dt(e,this.top,this.bottom))for(i=this.legendHitBoxes,n=0;n-1?t.split("\n"):t}function Uo(t,e){var n=e.element,r=e.datasetIndex,i=e.index,o=t.getDatasetMeta(r).controller,a=o.getLabelAndValue(i),s=a.label,u=a.value;return{chart:t,label:s,parsed:o.getParsed(i),raw:t.data.datasets[r].data[i],formattedValue:u,dataset:o.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function Wo(t,e){var n=t.chart.ctx,r=t.body,i=t.footer,o=t.title,a=e.boxWidth,s=e.boxHeight,u=Oe(e.bodyFont),l=Oe(e.titleFont),c=Oe(e.footerFont),f=o.length,d=i.length,h=r.length,p=ke(e.padding),m=p.height,v=0,g=r.reduce((function(t,e){return t+e.before.length+e.lines.length+e.after.length}),0);(g+=t.beforeBody.length+t.afterBody.length,f&&(m+=f*l.lineHeight+(f-1)*e.titleSpacing+e.titleMarginBottom),g)&&(m+=h*(e.displayColors?Math.max(s,u.lineHeight):u.lineHeight)+(g-h)*u.lineHeight+(g-1)*e.bodySpacing);d&&(m+=e.footerMarginTop+d*c.lineHeight+(d-1)*e.footerSpacing);var y=0,b=function(t){v=Math.max(v,n.measureText(t).width+y)};return n.save(),n.font=l.string,T(t.title,b),n.font=u.string,T(t.beforeBody.concat(t.afterBody),b),y=e.displayColors?a+2+e.boxPadding:0,T(r,(function(t){T(t.before,b),T(t.lines,b),T(t.after,b)})),y=0,n.font=c.string,T(t.footer,b),n.restore(),{width:v+=p.width,height:m}}function Vo(t,e,n,r){var i=n.x,o=n.width,a=t.width,s=t.chartArea,u=s.left,l=s.right,c="center";return"center"===r?c=i<=(u+l)/2?"left":"right":i<=o/2?c="left":i>=a-o/2&&(c="right"),function(t,e,n,r){var i=r.x,o=r.width,a=n.caretSize+n.caretPadding;return"left"===t&&i+o+a>e.width||"right"===t&&i-o-a<0||void 0}(c,t,e,n)&&(c="center"),c}function Yo(t,e,n){var r=n.yAlign||e.yAlign||function(t,e){var n=e.y,r=e.height;return nt.height-r/2?"bottom":"center"}(t,n);return{xAlign:n.xAlign||e.xAlign||Vo(t,e,n,r),yAlign:r}}function qo(t,e,n,r){var i=t.caretSize,o=t.caretPadding,a=t.cornerRadius,s=n.xAlign,u=n.yAlign,l=i+o,c=xe(a),f=c.topLeft,d=c.topRight,h=c.bottomLeft,p=c.bottomRight,m=function(t,e){var n=t.x,r=t.width;return"right"===e?n-=r:"center"===e&&(n-=r/2),n}(e,s),v=function(t,e,n){var r=t.y,i=t.height;return"top"===e?r+=n:r-="bottom"===e?i+n:i/2,r}(e,u,l);return"center"===u?"left"===s?m+=l:"right"===s&&(m-=l):"left"===s?m-=Math.max(f,h)+i:"right"===s&&(m+=Math.max(d,p)+i),{x:ft(m,0,r.width-e.width),y:ft(v,0,r.height-e.height)}}function Zo(t,e,n){var r=ke(n.padding);return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-r.right:t.x+r.left}function Ko(t){return Fo([],Ho(t))}function Qo(t,e){var n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}var Xo=function(t){Object(u.a)(n,t);var e=Object(l.a)(n);function n(t){var r;return Object(h.a)(this,n),(r=e.call(this)).opacity=0,r._active=[],r._eventPosition=void 0,r._size=void 0,r._cachedAnimations=void 0,r._tooltipItems=[],r.$animations=void 0,r.$context=void 0,r.chart=t.chart||t._chart,r._chart=r.chart,r.options=t.options,r.dataPoints=void 0,r.title=void 0,r.beforeBody=void 0,r.body=void 0,r.afterBody=void 0,r.footer=void 0,r.xAlign=void 0,r.yAlign=void 0,r.x=void 0,r.y=void 0,r.height=void 0,r.width=void 0,r.caretX=void 0,r.caretY=void 0,r.labelColors=void 0,r.labelPointStyles=void 0,r.labelTextColors=void 0,r}return Object(p.a)(n,[{key:"initialize",value:function(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}},{key:"_resolveAnimations",value:function(){var t=this._cachedAnimations;if(t)return t;var e=this.chart,n=this.options.setContext(this.getContext()),r=n.enabled&&e.options.animation&&n.animations,i=new Ln(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}},{key:"getContext",value:function(){return this.$context||(this.$context=(t=this.chart.getContext(),e=this,n=this._tooltipItems,Me(t,{tooltip:e,tooltipItems:n,type:"tooltip"})));var t,e,n}},{key:"getTitle",value:function(t,e){var n=e.callbacks,r=n.beforeTitle.apply(this,[t]),i=n.title.apply(this,[t]),o=n.afterTitle.apply(this,[t]),a=[];return a=Fo(a,Ho(r)),a=Fo(a,Ho(i)),a=Fo(a,Ho(o))}},{key:"getBeforeBody",value:function(t,e){return Ko(e.callbacks.beforeBody.apply(this,[t]))}},{key:"getBody",value:function(t,e){var n=this,r=e.callbacks,i=[];return T(t,(function(t){var e={before:[],lines:[],after:[]},o=Qo(r,t);Fo(e.before,Ho(o.beforeLabel.call(n,t))),Fo(e.lines,o.label.call(n,t)),Fo(e.after,Ho(o.afterLabel.call(n,t))),i.push(e)})),i}},{key:"getAfterBody",value:function(t,e){return Ko(e.callbacks.afterBody.apply(this,[t]))}},{key:"getFooter",value:function(t,e){var n=e.callbacks,r=n.beforeFooter.apply(this,[t]),i=n.footer.apply(this,[t]),o=n.afterFooter.apply(this,[t]),a=[];return a=Fo(a,Ho(r)),a=Fo(a,Ho(i)),a=Fo(a,Ho(o))}},{key:"_createItems",value:function(t){var e,n,r=this,i=this._active,o=this.chart.data,a=[],s=[],u=[],l=[];for(e=0,n=i.length;e0&&e.stroke()}},{key:"_updateAnimationTarget",value:function(t){var e=this.chart,n=this.$animations,r=n&&n.x,i=n&&n.y;if(r||i){var o=Bo[t.position].call(this,this._active,this._eventPosition);if(!o)return;var a=this._size=Wo(this,t),s=Object.assign({},o,this._size),u=Yo(e,t,s),l=qo(t,s,u,e);r._to===l.x&&i._to===l.y||(this.xAlign=u.xAlign,this.yAlign=u.yAlign,this.width=a.width,this.height=a.height,this.caretX=o.x,this.caretY=o.y,this._resolveAnimations().update(this,l))}}},{key:"draw",value:function(t){var e=this.options.setContext(this.getContext()),n=this.opacity;if(n){this._updateAnimationTarget(e);var r={width:this.width,height:this.height},i={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;var o=ke(e.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;e.enabled&&a&&(t.save(),t.globalAlpha=n,this.drawBackground(i,t,r,e),_n(t,e.textDirection),i.y+=o.top,this.drawTitle(i,t,e),this.drawBody(i,t,e),this.drawFooter(i,t,e),wn(t,e.textDirection),t.restore())}}},{key:"getActiveElements",value:function(){return this._active||[]}},{key:"setActiveElements",value:function(t,e){var n=this,r=this._active,i=t.map((function(t){var e=t.datasetIndex,r=t.index,i=n.chart.getDatasetMeta(e);if(!i)throw new Error("Cannot find a dataset at index "+e);return{datasetIndex:e,element:i.data[r],index:r}})),o=!P(r,i),a=this._positionChanged(i,e);(o||a)&&(this._active=i,this._eventPosition=e,this._ignoreReplayEvents=!0,this.update(!0))}},{key:"handleEvent",value:function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(e&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;var r=this.options,i=this._active||[],o=this._getActiveElements(t,i,e,n),a=this._positionChanged(o,t),s=e||!P(o,i)||a;return s&&(this._active=o,(r.enabled||r.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),s}},{key:"_getActiveElements",value:function(t,e,n,r){var i=this.options;if("mouseout"===t.type)return[];if(!r)return e;var o=this.chart.getElementsAtEventForMode(t,i.mode,i,n);return i.reverse&&o.reverse(),o}},{key:"_positionChanged",value:function(t,e){var n=this.caretX,r=this.caretY,i=this.options,o=Bo[i.position].call(this,t,e);return!1!==o&&(n!==o.x||r!==o.y)}}]),n}(Jr);Xo.positioners=Bo;var Go={id:"tooltip",_element:Xo,positioners:Bo,afterInit:function(t,e,n){n&&(t.tooltip=new Xo({chart:t,options:n}))},beforeUpdate:function(t,e,n){t.tooltip&&t.tooltip.initialize(n)},reset:function(t,e,n){t.tooltip&&t.tooltip.initialize(n)},afterDraw:function(t){var e=t.tooltip,n={tooltip:e};!1!==t.notifyPlugins("beforeTooltipDraw",n)&&(e&&e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",n))},afterEvent:function(t,e){if(t.tooltip){var n=e.replay;t.tooltip.handleEvent(e.event,n,e.inChartArea)&&(e.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:function(t,e){return e.bodyFont.size},boxWidth:function(t,e){return e.bodyFont.size},multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:b,title:function(t){if(t.length>0){var e=t[0],n=e.chart.data.labels,r=n?n.length:0;if(this&&this.options&&"dataset"===this.options.mode)return e.dataset.label||"";if(e.label)return e.label;if(r>0&&e.dataIndex=0&&te.length-1?null:this.getPixelForValue(e[t].value)}},{key:"getValueForPixel",value:function(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}},{key:"getBasePixel",value:function(){return this.bottom}}]),n}(ci);function ea(t,e){var n,r,i,o,a=[],s=t.bounds,u=t.step,l=t.min,c=t.max,f=t.precision,d=t.count,h=t.maxTicks,p=t.maxDigits,m=t.includeBounds,v=u||1,g=h-1,y=e.min,b=e.max,_=!w(l),x=!w(c),k=!w(d),O=(b-y)/(p+1),E=J((b-y)/g/v)*v;if(E<1e-14&&!_&&!x)return[{value:y},{value:b}];(o=Math.ceil(b/E)-Math.floor(y/E))>g&&(E=J(o*E/g/v)*v),w(f)||(n=Math.pow(10,f),E=Math.ceil(E*n)/n),"ticks"===s?(r=Math.floor(y/E)*E,i=Math.ceil(b/E)*E):(r=y,i=b),_&&x&&u&&function(t,e){var n=Math.round(t);return n-e<=t&&n+e>=t}((c-l)/u,E/1e3)?(E=(c-l)/(o=Math.round(Math.min((c-l)/E,h))),r=l,i=c):k?E=((i=x?c:i)-(r=_?l:r))/(o=d-1):o=et(o=(i-r)/E,Math.round(o),E/1e3)?Math.round(o):Math.ceil(o);var M=Math.max(ot(E),ot(r));n=Math.pow(10,w(f)?M:f),r=Math.round(r*n)/n,i=Math.round(i*n)/n;var S=0;for(_&&(m&&r!==l?(a.push({value:l}),r0&&l>0&&a(0)}if(i===o){var c=1;(o>=Number.MAX_SAFE_INTEGER||i<=Number.MIN_SAFE_INTEGER)&&(c=Math.abs(.05*o)),s(o+c),t||a(i-c)}this.min=i,this.max=o}},{key:"getTickLimit",value:function(){var t,e=this.options.ticks,n=e.maxTicksLimit,r=e.stepSize;return r?(t=Math.ceil(this.max/r)-Math.floor(this.min/r)+1)>1e3&&(console.warn("scales.".concat(this.id,".ticks.stepSize: ").concat(r," would result generating up to ").concat(t," ticks. Limiting to 1000.")),t=1e3):(t=this.computeTickLimit(),n=n||11),n&&(t=Math.min(n,t)),t}},{key:"computeTickLimit",value:function(){return Number.POSITIVE_INFINITY}},{key:"buildTicks",value:function(){var t=this.options,e=t.ticks,n=this.getTickLimit(),r=ea({maxTicks:n=Math.max(2,n),bounds:t.bounds,min:t.min,max:t.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:!1!==e.includeBounds},this._range||this);return"ticks"===t.bounds&&nt(r,this,"value"),t.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}},{key:"configure",value:function(){var t=this.ticks,e=this.min,r=this.max;if(s(Object(a.a)(n.prototype),"configure",this).call(this),this.options.offset&&t.length){var i=(r-e)/Math.max(t.length-1,1)/2;e-=i,r+=i}this._startValue=e,this._endValue=r,this._valueRange=r-e}},{key:"getLabelForValue",value:function(t){return yn(t,this.chart.options.locale,this.options.ticks.format)}}]),n}(ci),ia=function(t){Object(u.a)(n,t);var e=Object(l.a)(n);function n(){return Object(h.a)(this,n),e.apply(this,arguments)}return Object(p.a)(n,[{key:"determineDataLimits",value:function(){var t=this.getMinMax(!0),e=t.min,n=t.max;this.min=O(e)?e:0,this.max=O(n)?n:1,this.handleTickRangeOptions()}},{key:"computeTickLimit",value:function(){var t=this.isHorizontal(),e=t?this.width:this.height,n=rt(this.options.ticks.minRotation),r=(t?Math.sin(n):Math.cos(n))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,i.lineHeight/r))}},{key:"getPixelForValue",value:function(t){return null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}},{key:"getValueForPixel",value:function(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}]),n}(ra);function oa(t){return 1===t/Math.pow(10,Math.floor(G(t)))}ia.id="linear",ia.defaults={ticks:{callback:ei.formatters.numeric}};var aa=function(t){Object(u.a)(n,t);var e=Object(l.a)(n);function n(t){var r;return Object(h.a)(this,n),(r=e.call(this,t)).start=void 0,r.end=void 0,r._startValue=void 0,r._valueRange=0,r}return Object(p.a)(n,[{key:"parse",value:function(t,e){var n=ra.prototype.parse.apply(this,[t,e]);if(0!==n)return O(n)&&n>0?n:null;this._zero=!0}},{key:"determineDataLimits",value:function(){var t=this.getMinMax(!0),e=t.min,n=t.max;this.min=O(e)?Math.max(0,e):null,this.max=O(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}},{key:"handleTickRangeOptions",value:function(){var t=this.getUserBounds(),e=t.minDefined,n=t.maxDefined,r=this.min,i=this.max,o=function(t){return r=e?r:t},a=function(t){return i=n?i:t},s=function(t,e){return Math.pow(10,Math.floor(G(t))+e)};r===i&&(r<=0?(o(1),a(10)):(o(s(r,-1)),a(s(i,1)))),r<=0&&o(s(i,-1)),i<=0&&a(s(r,1)),this._zero&&this.min!==this._suggestedMin&&r===s(this.min,0)&&o(s(r,-1)),this.min=r,this.max=i}},{key:"buildTicks",value:function(){var t=this.options,e=function(t,e){var n=Math.floor(G(e.max)),r=Math.ceil(e.max/Math.pow(10,n)),i=[],o=E(t.min,Math.pow(10,Math.floor(G(e.min)))),a=Math.floor(G(o)),s=Math.floor(o/Math.pow(10,a)),u=a<0?Math.pow(10,Math.abs(a)):1;do{i.push({value:o,major:oa(o)}),10===++s&&(s=1,u=++a>=0?1:u),o=Math.round(s*Math.pow(10,a)*u)/u}while(ai?{start:e-n,end:e}:{start:e,end:e+n}}function la(t){for(var e,n,r,i={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},o=Object.assign({},i),a=[],s=[],u=t._pointLabels.length,l=t.options.pointLabels,c=l.centerPointLabels?W/u:0,f=0;fe.r&&(s=(r.end-e.r)/o,t.r=Math.max(t.r,e.r+s)),i.starte.b&&(u=(i.end-e.b)/a,t.b=Math.max(t.b,e.b+u))}function fa(t){return 0===t||180===t?"center":t<180?"left":"right"}function da(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function ha(t,e,n){return 90===n||270===n?t-=e/2:(n>270||n<90)&&(t-=e),t}function pa(t,e,n,r){var i=t.ctx;if(n)i.arc(t.xCenter,t.yCenter,e,0,V);else{var o=t.getPointPosition(0,e);i.moveTo(o.x,o.y);for(var a=1;a=0&&t2&&void 0!==arguments[2]?arguments[2]:0,r=this.getIndexAngle(t)-K+n;return{x:Math.cos(r)*e+this.xCenter,y:Math.sin(r)*e+this.yCenter,angle:r}}},{key:"getPointPositionForValue",value:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))}},{key:"getBasePosition",value:function(t){return this.getPointPositionForValue(t||0,this.getBaseValue())}},{key:"getPointLabelPosition",value:function(t){var e=this._pointLabelItems[t];return{left:e.left,top:e.top,right:e.right,bottom:e.bottom}}},{key:"drawBackground",value:function(){var t=this.options,e=t.backgroundColor,n=t.grid.circular;if(e){var r=this.ctx;r.save(),r.beginPath(),pa(this,this.getDistanceFromCenterForValue(this._endValue),n,this._pointLabels.length),r.closePath(),r.fillStyle=e,r.fill(),r.restore()}}},{key:"drawGrid",value:function(){var t,e,n,r=this,i=this.ctx,o=this.options,a=o.angleLines,s=o.grid,u=this._pointLabels.length;if(o.pointLabels.display&&function(t,e){for(var n=t.ctx,r=t.options.pointLabels,i=e-1;i>=0;i--){var o=r.setContext(t.getPointLabelContext(i)),a=Oe(o.font),s=t._pointLabelItems[i],u=s.x,l=s.y,c=s.textAlign,f=s.left,d=s.top,h=s.right,p=s.bottom,m=o.backdropColor;if(!w(m)){var v=ke(o.backdropPadding);n.fillStyle=m,n.fillRect(f-v.left,d-v.top,h-f+v.width,p-d+v.height)}he(n,t._pointLabels[i],u,l+a.lineHeight/2,a,{color:o.color,textAlign:c,textBaseline:"middle"})}}(this,u),s.display&&this.ticks.forEach((function(t,n){if(0!==n){e=r.getDistanceFromCenterForValue(t.value);var i=s.setContext(r.getContext(n-1));!function(t,e,n,r){var i=t.ctx,o=e.circular,a=e.color,s=e.lineWidth;!o&&!r||!a||!s||n<0||(i.save(),i.strokeStyle=a,i.lineWidth=s,i.setLineDash(e.borderDash),i.lineDashOffset=e.borderDashOffset,i.beginPath(),pa(t,n,o,r),i.closePath(),i.stroke(),i.restore())}(r,i,e,u)}})),a.display){for(i.save(),t=u-1;t>=0;t--){var l=a.setContext(this.getPointLabelContext(t)),c=l.color,f=l.lineWidth;f&&c&&(i.lineWidth=f,i.strokeStyle=c,i.setLineDash(l.borderDash),i.lineDashOffset=l.borderDashOffset,e=this.getDistanceFromCenterForValue(o.ticks.reverse?this.min:this.max),n=this.getPointPosition(t,e),i.beginPath(),i.moveTo(this.xCenter,this.yCenter),i.lineTo(n.x,n.y),i.stroke())}i.restore()}}},{key:"drawBorder",value:function(){}},{key:"drawLabels",value:function(){var t=this,e=this.ctx,n=this.options,r=n.ticks;if(r.display){var i,o,a=this.getIndexAngle(0);e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(a),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach((function(a,s){if(0!==s||n.reverse){var u=r.setContext(t.getContext(s)),l=Oe(u.font);if(i=t.getDistanceFromCenterForValue(t.ticks[s].value),u.showLabelBackdrop){e.font=l.string,o=e.measureText(a.label).width,e.fillStyle=u.backdropColor;var c=ke(u.backdropPadding);e.fillRect(-o/2-c.left,-i-l.size/2-c.top,o+c.width,l.size+c.height)}he(e,a.label,0,-i,l,{color:u.color})}})),e.restore()}}},{key:"drawTitle",value:function(){}}]),n}(ra);ma.id="radialLinear",ma.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:ei.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:function(t){return t},padding:5,centerPointLabels:!1}},ma.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"},ma.descriptors={angleLines:{_fallback:"grid"}};var va={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}},ga=Object.keys(va);function ya(t,e){return t-e}function ba(t,e){if(w(e))return null;var n=t._adapter,r=t._parseOpts,i=r.parser,o=r.round,a=r.isoWeekday,s=e;return"function"===typeof i&&(s=i(s)),O(s)||(s="string"===typeof i?n.parse(s,i):n.parse(s)),null===s?null:(o&&(s="week"!==o||!tt(a)&&!0!==a?n.startOf(s,o):n.startOf(s,"isoWeek",a)),+s)}function _a(t,e,n,r){for(var i=ga.length,o=ga.indexOf(t);o=e?n[i]:n[o]]=!0}}else t[e]=!0}function xa(t,e,n){var r,i,o=[],a={},s=e.length;for(r=0;r=0&&(e[o].major=!0);return e}(t,o,a,n):o}var ka=function(t){Object(u.a)(n,t);var e=Object(l.a)(n);function n(t){var r;return Object(h.a)(this,n),(r=e.call(this,t))._cache={data:[],labels:[],all:[]},r._unit="day",r._majorUnit=void 0,r._offsets={},r._normalized=!1,r._parseOpts=void 0,r}return Object(p.a)(n,[{key:"init",value:function(t,e){var r=t.time||(t.time={}),i=this._adapter=new dr._date(t.adapters.date);A(r.displayFormats,i.formats()),this._parseOpts={parser:r.parser,round:r.round,isoWeekday:r.isoWeekday},s(Object(a.a)(n.prototype),"init",this).call(this,t),this._normalized=e.normalized}},{key:"parse",value:function(t,e){return void 0===t?null:ba(this,t)}},{key:"beforeLayout",value:function(){s(Object(a.a)(n.prototype),"beforeLayout",this).call(this),this._cache={data:[],labels:[],all:[]}}},{key:"determineDataLimits",value:function(){var t=this.options,e=this._adapter,n=t.time.unit||"day",r=this.getUserBounds(),i=r.min,o=r.max,a=r.minDefined,s=r.maxDefined;function u(t){a||isNaN(t.min)||(i=Math.min(i,t.min)),s||isNaN(t.max)||(o=Math.max(o,t.max))}a&&s||(u(this._getLabelBounds()),"ticks"===t.bounds&&"labels"===t.ticks.source||u(this.getMinMax(!1))),i=O(i)&&!isNaN(i)?i:+e.startOf(Date.now(),n),o=O(o)&&!isNaN(o)?o:+e.endOf(Date.now(),n)+1,this.min=Math.min(i,o-1),this.max=Math.max(i+1,o)}},{key:"_getLabelBounds",value:function(){var t=this.getLabelTimestamps(),e=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;return t.length&&(e=t[0],n=t[t.length-1]),{min:e,max:n}}},{key:"buildTicks",value:function(){var t=this.options,e=t.time,n=t.ticks,r="labels"===n.source?this.getLabelTimestamps():this._generate();"ticks"===t.bounds&&r.length&&(this.min=this._userMin||r[0],this.max=this._userMax||r[r.length-1]);var i=this.min,o=function(t,e,n){for(var r=0,i=t.length;rr&&t[i-1]>n;)i--;return r>0||i=ga.indexOf(n);o--){var a=ga[o];if(va[a].common&&t._adapter.diff(i,r,a)>=e-1)return a}return ga[n?ga.indexOf(n):0]}(this,o.length,e.minUnit,this.min,this.max)),this._majorUnit=n.major.enabled&&"year"!==this._unit?function(t){for(var e=ga.indexOf(t)+1,n=ga.length;e1e5*u)throw new Error(r+" and "+i+" are too far apart with stepSize of "+u+" "+s);var h="data"===o.ticks.source&&this.getDataTimestamps();for(t=d,e=0;t0?a:1}},{key:"getDataTimestamps",value:function(){var t,e,n=this._cache.data||[];if(n.length)return n;var r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(t=0,e=r.length;t=t[s].pos&&e<=t[u].pos){var l=Ce(t,"pos",e);s=l.lo,u=l.hi}var c=t[s];r=c.pos,o=c.time;var f=t[u];i=f.pos,a=f.time}else{if(e>=t[s].time&&e<=t[u].time){var d=Ce(t,"time",e);s=d.lo,u=d.hi}var h=t[s];r=h.time,o=h.pos;var p=t[u];i=p.time,a=p.pos}var m=i-r;return m?o+(a-o)*(e-r)/m:o}ka.id="time",ka.defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",major:{enabled:!1}}};var Ea=function(t){Object(u.a)(n,t);var e=Object(l.a)(n);function n(t){var r;return Object(h.a)(this,n),(r=e.call(this,t))._table=[],r._minPos=void 0,r._tableRange=void 0,r}return Object(p.a)(n,[{key:"initOffsets",value:function(){var t=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(t);this._minPos=Oa(e,this.min),this._tableRange=Oa(e,this.max)-this._minPos,s(Object(a.a)(n.prototype),"initOffsets",this).call(this,t)}},{key:"buildLookupTable",value:function(t){var e,n,r,i,o,a=this.min,s=this.max,u=[],l=[];for(e=0,n=t.length;e=a&&i<=s&&u.push(i);if(u.length<2)return[{time:a,pos:0},{time:s,pos:1}];for(e=0,n=u.length;e=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function Da(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function La(t,e){"function"===typeof t?t(e):t&&(t.current=e)}function Aa(t,e){t.labels=e}function Ra(t,e){t.datasets=e.map((function(e){var n=t.datasets.find((function(t){return t.label===e.label&&t.type===e.type}));return n&&e.data?(Object.assign(n,e),n):ja({},e)}))}function Ia(t){var e={labels:[],datasets:[]};return Aa(e,t.labels),Ra(e,t.datasets),e}var za={datasets:[]};function Ba(t,e){var n=t.height,r=void 0===n?150:n,i=t.width,o=void 0===i?300:i,a=t.redraw,s=void 0!==a&&a,u=t.type,l=t.data,c=t.options,f=t.plugins,d=void 0===f?[]:f,h=t.getDatasetAtEvent,p=t.getElementAtEvent,m=t.getElementsAtEvent,v=t.fallbackContent,g=t.onClick,y=Na(t,["height","width","redraw","type","data","options","plugins","getDatasetAtEvent","getElementAtEvent","getElementsAtEvent","fallbackContent","onClick"]),b=Object(Ca.useRef)(null),_=Object(Ca.useRef)(),w=Da(Object(Ca.useState)()),x=w[0],k=w[1],O=x||("function"===typeof l?za:l),E=function(){b.current&&(_.current=new Sa(b.current,{type:u,data:Ia(O),options:c,plugins:d}),La(e,_.current))},M=function(){La(e,null),_.current&&(_.current.destroy(),_.current=null)};return Object(Ca.useEffect)((function(){"function"===typeof l&&b.current&&k(l(b.current))}),[l]),Object(Ca.useEffect)((function(){var t,e;!s&&_.current&&c&&(t=_.current,e=c,t.options=ja({},e))}),[s,c]),Object(Ca.useEffect)((function(){!s&&_.current&&Aa(_.current.config.data,O.labels)}),[s,O.labels]),Object(Ca.useEffect)((function(){!s&&_.current&&O.datasets&&Ra(_.current.config.data,O.datasets)}),[s,O.datasets]),Object(Ca.useEffect)((function(){_.current&&(s?(M(),setTimeout(E)):_.current.update())}),[s,c,O.labels,O.datasets]),Object(Ca.useEffect)((function(){return E(),function(){return M()}}),[]),Ta.a.createElement("canvas",Object.assign({ref:b,role:"img",height:r,width:o,onClick:function(t){g&&g(t);var e=_.current;e&&(h&&h(e.getElementsAtEventForMode(t.nativeEvent,"dataset",{intersect:!0},!1),t),p&&p(e.getElementsAtEventForMode(t.nativeEvent,"nearest",{intersect:!0},!1),t),m&&m(e.getElementsAtEventForMode(t.nativeEvent,"index",{intersect:!0},!1),t))}},y),v)}var Fa=Object(Ca.forwardRef)(Ba);function Ha(t){return Object(Ca.forwardRef)((function(e,n){return Ta.a.createElement(Fa,Object.assign({},e,{ref:n,type:t}))}))}var Ua=Ha("line"),Wa=Ha("bar"),Va=(Ha("radar"),Ha("doughnut"));Ha("polarArea"),Ha("bubble"),Ha("pie"),Ha("scatter")},function(t,e,n){"use strict";var r=n(17),i=n(91),o=n(92),a=n(51),s=n(65),u=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=s.a.init,t.prototype["@@transducer/result"]=s.a.result,t.prototype["@@transducer/step"]=function(t,e){return this.xf["@@transducer/step"](t,this.f(e))},t}(),l=Object(r.a)((function(t,e){return new u(t,e)})),c=n(72),f=n(53),d=Object(r.a)(Object(i.a)(["fantasy-land/map","map"],l,(function(t,e){switch(Object.prototype.toString.call(e)){case"[object Function]":return Object(c.a)(e.length,(function(){return t.call(this,e.apply(this,arguments))}));case"[object Object]":return Object(a.a)((function(n,r){return n[r]=t(e[r]),n}),{},Object(f.a)(e));default:return Object(o.a)(t,e)}})));e.a=d},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(57);function i(t){return null!=t&&"function"===typeof t["@@transducer/step"]}function o(t,e,n){return function(){if(0===arguments.length)return n();var o=Array.prototype.slice.call(arguments,0),a=o.pop();if(!Object(r.a)(a)){for(var s=0;s0?1:a}},function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e1)for(var n=1;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n-1;i--){var o=n[i],a=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=o)}return v.head.insertBefore(e,r),t}}function J(){for(var t=12,e="";t-- >0;)e+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return e}function tt(t){return"".concat(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function et(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,": ").concat(t[n],";")}),"")}function nt(t){return t.size!==G.size||t.x!==G.x||t.y!==G.y||t.rotate!==G.rotate||t.flipX||t.flipY}function rt(t){var e=t.transform,n=t.containerWidth,r=t.iconWidth,i={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(32*e.x,", ").concat(32*e.y,") "),a="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),s="rotate(".concat(e.rotate," 0 0)");return{outer:i,inner:{transform:"".concat(o," ").concat(a," ").concat(s)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}var it={x:0,y:0,width:"100%",height:"100%"};function ot(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill="black"),t}function at(t){var e=t.icons,n=e.main,r=e.mask,i=t.prefix,o=t.iconName,a=t.transform,u=t.symbol,l=t.title,c=t.maskId,f=t.titleId,d=t.extra,h=t.watchable,p=void 0!==h&&h,m=r.found?r:n,v=m.width,g=m.height,y="fak"===i,b=y?"":"fa-w-".concat(Math.ceil(v/g*16)),w=[M.replacementClass,o?"".concat(M.familyPrefix,"-").concat(o):"",b].filter((function(t){return-1===d.classes.indexOf(t)})).filter((function(t){return""!==t||!!t})).concat(d.classes).join(" "),x={children:[],attributes:s({},d.attributes,{"data-prefix":i,"data-icon":o,class:w,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(v," ").concat(g)})},k=y&&!~d.classes.indexOf("fa-fw")?{width:"".concat(v/g*16*.0625,"em")}:{};p&&(x.attributes[_]=""),l&&x.children.push({tag:"title",attributes:{id:x.attributes["aria-labelledby"]||"title-".concat(f||J())},children:[l]});var O=s({},x,{prefix:i,iconName:o,main:n,mask:r,maskId:c,transform:a,symbol:u,styles:s({},k,d.styles)}),E=r.found&&n.found?function(t){var e,n=t.children,r=t.attributes,i=t.main,o=t.mask,a=t.maskId,u=t.transform,l=i.width,c=i.icon,f=o.width,d=o.icon,h=rt({transform:u,containerWidth:f,iconWidth:l}),p={tag:"rect",attributes:s({},it,{fill:"white"})},m=c.children?{children:c.children.map(ot)}:{},v={tag:"g",attributes:s({},h.inner),children:[ot(s({tag:c.tag,attributes:s({},c.attributes,h.path)},m))]},g={tag:"g",attributes:s({},h.outer),children:[v]},y="mask-".concat(a||J()),b="clip-".concat(a||J()),_={tag:"mask",attributes:s({},it,{id:y,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,g]},w={tag:"defs",children:[{tag:"clipPath",attributes:{id:b},children:(e=d,"g"===e.tag?e.children:[e])},_]};return n.push(w,{tag:"rect",attributes:s({fill:"currentColor","clip-path":"url(#".concat(b,")"),mask:"url(#".concat(y,")")},it)}),{children:n,attributes:r}}(O):function(t){var e=t.children,n=t.attributes,r=t.main,i=t.transform,o=et(t.styles);if(o.length>0&&(n.style=o),nt(i)){var a=rt({transform:i,containerWidth:r.width,iconWidth:r.width});e.push({tag:"g",attributes:s({},a.outer),children:[{tag:"g",attributes:s({},a.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:s({},r.icon.attributes,a.path)}]}]})}else e.push(r.icon);return{children:e,attributes:n}}(O),S=E.children,C=E.attributes;return O.children=S,O.attributes=C,u?function(t){var e=t.prefix,n=t.iconName,r=t.children,i=t.attributes,o=t.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:s({},i,{id:!0===o?"".concat(e,"-").concat(M.familyPrefix,"-").concat(n):o}),children:r}]}]}(O):function(t){var e=t.children,n=t.main,r=t.mask,i=t.attributes,o=t.styles,a=t.transform;if(nt(a)&&n.found&&!r.found){var u={x:n.width/n.height/2,y:.5};i.style=et(s({},o,{"transform-origin":"".concat(u.x+a.x/16,"em ").concat(u.y+a.y/16,"em")}))}return[{tag:"svg",attributes:i,children:e}]}(O)}var st=function(){},ut=(M.measurePerformance&&g&&g.mark&&g.measure,function(t,e,n,r){var i,o,a,s=Object.keys(t),u=s.length,l=void 0!==r?function(t,e){return function(n,r,i,o){return t.call(e,n,r,i,o)}}(e,r):e;for(void 0===n?(i=1,a=t[s[0]]):(i=0,a=n);i2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,i=void 0!==r&&r,o=Object.keys(e).reduce((function(t,n){var r=e[n];return!!r.icon?t[r.iconName]=r.icon:t[n]=r,t}),{});"function"!==typeof C.hooks.addPack||i?C.styles[t]=s({},C.styles[t]||{},o):C.hooks.addPack(t,o),"fas"===t&<("fa",e)}var ct=C.styles,ft=C.shims,dt=function(){var t=function(t){return ut(ct,(function(e,n,r){return e[r]=ut(n,t,{}),e}),{})};t((function(t,e,n){return e[3]&&(t[e[3]]=n),t})),t((function(t,e,n){var r=e[2];return t[n]=n,r.forEach((function(e){t[e]=n})),t}));var e="far"in ct;ut(ft,(function(t,n){var r=n[0],i=n[1],o=n[2];return"far"!==i||e||(i="fas"),t[r]={prefix:i,iconName:o},t}),{})};dt();C.styles;function ht(t,e,n){if(t&&t[e]&&t[e][n])return{prefix:e,iconName:n,icon:t[e][n]}}function pt(t){var e=t.tag,n=t.attributes,r=void 0===n?{}:n,i=t.children,o=void 0===i?[]:i;return"string"===typeof t?tt(t):"<".concat(e," ").concat(function(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,'="').concat(tt(t[n]),'" ')}),"").trim()}(r),">").concat(o.map(pt).join(""),"")}var mt=function(t){var e={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t?t.toLowerCase().split(" ").reduce((function(t,e){var n=e.toLowerCase().split("-"),r=n[0],i=n.slice(1).join("-");if(r&&"h"===i)return t.flipX=!0,t;if(r&&"v"===i)return t.flipY=!0,t;if(i=parseFloat(i),isNaN(i))return t;switch(r){case"grow":t.size=t.size+i;break;case"shrink":t.size=t.size-i;break;case"left":t.x=t.x-i;break;case"right":t.x=t.x+i;break;case"up":t.y=t.y-i;break;case"down":t.y=t.y+i;break;case"rotate":t.rotate=t.rotate+i}return t}),e):e};function vt(t){this.name="MissingIcon",this.message=t||"Icon unavailable",this.stack=(new Error).stack}vt.prototype=Object.create(Error.prototype),vt.prototype.constructor=vt;var gt={fill:"currentColor"},yt={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},bt={tag:"path",attributes:s({},gt,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})},_t=s({},yt,{attributeName:"opacity"});s({},gt,{cx:"256",cy:"364",r:"28"}),s({},yt,{attributeName:"r",values:"28;14;28;28;14;28;"}),s({},_t,{values:"1;0;1;1;0;1;"}),s({},gt,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),s({},_t,{values:"1;0;0;0;0;1;"}),s({},gt,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),s({},_t,{values:"0;0;1;1;0;0;"}),C.styles;function wt(t){var e=t[0],n=t[1],r=u(t.slice(4),1)[0];return{found:!0,width:e,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(M.familyPrefix,"-").concat(k.GROUP)},children:[{tag:"path",attributes:{class:"".concat(M.familyPrefix,"-").concat(k.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(M.familyPrefix,"-").concat(k.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}C.styles;function xt(){var t="fa",e=b,n=M.familyPrefix,r=M.replacementClass,i='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse {\n color: #fff;\n}';if(n!==t||r!==e){var o=new RegExp("\\.".concat(t,"\\-"),"g"),a=new RegExp("\\--".concat(t,"\\-"),"g"),s=new RegExp("\\.".concat(e),"g");i=i.replace(o,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(s,".".concat(r))}return i}function kt(){M.autoAddCss&&!Ct&&($(xt()),Ct=!0)}function Ot(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map((function(t){return pt(t)}))}}),Object.defineProperty(t,"node",{get:function(){if(y){var e=v.createElement("div");return e.innerHTML=t.html,e.children}}}),t}function Et(t){var e=t.prefix,n=void 0===e?"fa":e,r=t.iconName;if(r)return ht(St.definitions,n,r)||ht(C.styles,n,r)}var Mt,St=new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.definitions={}}var e,n,r;return e=t,(n=[{key:"add",value:function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,r=void 0===n?G:n,i=e.symbol,o=void 0!==i&&i,a=e.mask,u=void 0===a?null:a,l=e.maskId,c=void 0===l?null:l,f=e.title,d=void 0===f?null:f,h=e.titleId,p=void 0===h?null:h,m=e.classes,v=void 0===m?[]:m,g=e.attributes,y=void 0===g?{}:g,b=e.styles,_=void 0===b?{}:b;if(t){var w=t.prefix,x=t.iconName,k=t.icon;return Ot(s({type:"icon"},t),(function(){return kt(),M.autoA11y&&(d?y["aria-labelledby"]="".concat(M.replacementClass,"-title-").concat(p||J()):(y["aria-hidden"]="true",y.focusable="false")),at({icons:{main:wt(k),mask:u?wt(u.icon):{found:!1,width:null,height:null,icon:{}}},prefix:w,iconName:x,transform:s({},G,r),symbol:o,title:d,maskId:c,titleId:p,extra:{attributes:y,styles:_,classes:v}})}))}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(t||{}).icon?t:Et(t||{}),r=e.mask;return r&&(r=(r||{}).icon?r:Et(r||{})),Mt(n,s({},e,{mask:r}))})}).call(this,n(49),n(169).setImmediate)},function(t,e,n){"use strict";(function(e){var r=n(47),i=n(235),o=n(163),a={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:function(){var t;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof e&&"[object process]"===Object.prototype.toString.call(e))&&(t=n(164)),t}(),transformRequest:[function(t,e){return i(e,"Accept"),i(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)||e&&"application/json"===e["Content-Type"]?(s(e,"application/json"),function(t,e,n){if(r.isString(t))try{return(e||JSON.parse)(t),r.trim(t)}catch(i){if("SyntaxError"!==i.name)throw i}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional||u.transitional,n=e&&e.silentJSONParsing,i=e&&e.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||i&&r.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(a){if("SyntaxError"===s.name)throw o(s,this,"E_JSON_PARSE");throw s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(t){u.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){u.headers[t]=r.merge(a)})),t.exports=u}).call(this,n(96))},function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},function(t,e,n){"use strict";(function(e){!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?t.exports={nextTick:function(t,n,r,i){if("function"!==typeof t)throw new TypeError('"callback" argument must be a function');var o,a,s=arguments.length;switch(s){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick((function(){t.call(null,n)}));case 3:return e.nextTick((function(){t.call(null,n,r)}));case 4:return e.nextTick((function(){t.call(null,n,r,i)}));default:for(o=new Array(s-1),a=0;a0&&(t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1)))))}));e.a=a},function(t,e,n){"use strict";var r=n(36),i=Object.prototype.toString,o=function(){return"[object Arguments]"===i.call(arguments)?function(t){return"[object Arguments]"===i.call(t)}:function(t){return Object(r.a)("callee",t)}}();e.a=o},function(t,e,n){"use strict";var r=n(17),i=n(64),o=Object(r.a)((function(t,e){var n=t<0?e.length+t:t;return Object(i.a)(e)?e.charAt(n):e[n]}));e.a=o},,,function(t,e,n){"use strict";var r=n(43),i=n(51),o=Object(r.a)(i.a);e.a=o},function(t,e,n){"use strict";var r=n(78),i=n(43),o=Object(i.a)(Object(r.a)("slice",(function(t,e,n){return Array.prototype.slice.call(n,t,e)})));e.a=o},,function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(14),i=n(80),o=n(5);function a(t,e){Object(o.a)(2,arguments);var n=Object(r.a)(e);return Object(i.a)(t,-n)}},function(t,e,n){"use strict";function r(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}}function i(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}}var o={p:i,P:function(t,e){var n,o=t.match(/(P+)(p+)?/)||[],a=o[1],s=o[2];if(!s)return r(t,e);switch(a){case"P":n=e.dateTime({width:"short"});break;case"PP":n=e.dateTime({width:"medium"});break;case"PPP":n=e.dateTime({width:"long"});break;case"PPPP":default:n=e.dateTime({width:"full"})}return n.replace("{{date}}",r(a,e)).replace("{{time}}",i(s,e))}};e.a=o},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(9),i=n(5),o=n(60);function a(t){Object(i.a)(1,arguments);var e=Object(r.default)(t),n=e.getUTCFullYear(),a=new Date(0);a.setUTCFullYear(n+1,0,4),a.setUTCHours(0,0,0,0);var s=Object(o.a)(a),u=new Date(0);u.setUTCFullYear(n,0,4),u.setUTCHours(0,0,0,0);var l=Object(o.a)(u);return e.getTime()>=s.getTime()?n+1:e.getTime()>=l.getTime()?n:n-1}},function(t,e,n){"use strict";function r(t,e){if(null==t)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in e=e||{})Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return o}));var r=n(9),i=n(5);function o(t){Object(i.a)(1,arguments);var e=Object(r.default)(t),n=e.getMonth(),o=n-n%3;return e.setMonth(o,1),e.setHours(0,0,0,0),e}},function(t,e,n){"use strict";function r(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(287).CopyToClipboard;r.CopyToClipboard=r,t.exports=r},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(9),i=n(5);function o(t,e){return Object(i.a)(2,arguments),Object(r.default)(t).getTime()-Object(r.default)(e).getTime()}},function(t,e,n){"use strict";n.d(e,"a",(function(){return f})),n.d(e,"b",(function(){return V}));var r=n(2),i=n.n(r),o=(n(1),i.a.createContext(null));var a=function(t){t()};function s(){var t=a,e=null,n=null;return{clear:function(){e=null,n=null},notify:function(){t((function(){for(var t=e;t;)t.callback(),t=t.next}))},get:function(){for(var t=[],n=e;n;)t.push(n),n=n.next;return t},subscribe:function(t){var r=!0,i=n={callback:t,next:null,prev:n};return i.prev?i.prev.next=i:e=i,function(){r&&null!==e&&(r=!1,i.next?i.next.prev=i.prev:n=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var u={notify:function(){},get:function(){return[]}};function l(t,e){var n,r=u;function i(){a.onStateChange&&a.onStateChange()}function o(){n||(n=e?e.addNestedSub(i):t.subscribe(i),r=s())}var a={addNestedSub:function(t){return o(),r.subscribe(t)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:i,isSubscribed:function(){return Boolean(n)},trySubscribe:o,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=u)},getListeners:function(){return r}};return a}var c="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?r.useLayoutEffect:r.useEffect;var f=function(t){var e=t.store,n=t.context,a=t.children,s=Object(r.useMemo)((function(){var t=l(e);return t.onStateChange=t.notifyNestedSubs,{store:e,subscription:t}}),[e]),u=Object(r.useMemo)((function(){return e.getState()}),[e]);c((function(){var t=s.subscription;return t.trySubscribe(),u!==e.getState()&&t.notifyNestedSubs(),function(){t.tryUnsubscribe(),t.onStateChange=null}}),[s,u]);var f=n||o;return i.a.createElement(f.Provider,{value:s},a)},d=n(45),h=n(62),p=n(154),m=n.n(p),v=n(177),g=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],y=["reactReduxForwardedRef"],b=[],_=[null,null];function w(t,e){var n=t[1];return[e.payload,n+1]}function x(t,e,n){c((function(){return t.apply(void 0,e)}),n)}function k(t,e,n,r,i,o,a){t.current=r,e.current=i,n.current=!1,o.current&&(o.current=null,a())}function O(t,e,n,r,i,o,a,s,u,l){if(t){var c=!1,f=null,d=function(){if(!c){var t,n,d=e.getState();try{t=r(d,i.current)}catch(h){n=h,f=h}n||(f=null),t===o.current?a.current||u():(o.current=t,s.current=t,a.current=!0,l({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=d,n.trySubscribe(),d();return function(){if(c=!0,n.tryUnsubscribe(),n.onStateChange=null,f)throw f}}}var E=function(){return[null,0]};function M(t,e){void 0===e&&(e={});var n=e,a=n.getDisplayName,s=void 0===a?function(t){return"ConnectAdvanced("+t+")"}:a,u=n.methodName,c=void 0===u?"connectAdvanced":u,f=n.renderCountProp,p=void 0===f?void 0:f,M=n.shouldHandleStateChanges,S=void 0===M||M,C=n.storeKey,T=void 0===C?"store":C,P=(n.withRef,n.forwardRef),j=void 0!==P&&P,N=n.context,D=void 0===N?o:N,L=Object(h.a)(n,g),A=D;return function(e){var n=e.displayName||e.name||"Component",o=s(n),a=Object(d.a)({},L,{getDisplayName:s,methodName:c,renderCountProp:p,shouldHandleStateChanges:S,storeKey:T,displayName:o,wrappedComponentName:n,WrappedComponent:e}),u=L.pure;var f=u?r.useMemo:function(t){return t()};function g(n){var o=Object(r.useMemo)((function(){var t=n.reactReduxForwardedRef,e=Object(h.a)(n,y);return[n.context,t,e]}),[n]),s=o[0],u=o[1],c=o[2],p=Object(r.useMemo)((function(){return s&&s.Consumer&&Object(v.isContextConsumer)(i.a.createElement(s.Consumer,null))?s:A}),[s,A]),m=Object(r.useContext)(p),g=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(m)&&Boolean(m.store);var M=g?n.store:m.store,C=Object(r.useMemo)((function(){return function(e){return t(e.dispatch,a)}(M)}),[M]),T=Object(r.useMemo)((function(){if(!S)return _;var t=l(M,g?null:m.subscription),e=t.notifyNestedSubs.bind(t);return[t,e]}),[M,g,m]),P=T[0],j=T[1],N=Object(r.useMemo)((function(){return g?m:Object(d.a)({},m,{subscription:P})}),[g,m,P]),D=Object(r.useReducer)(w,b,E),L=D[0][0],R=D[1];if(L&&L.error)throw L.error;var I=Object(r.useRef)(),z=Object(r.useRef)(c),B=Object(r.useRef)(),F=Object(r.useRef)(!1),H=f((function(){return B.current&&c===z.current?B.current:C(M.getState(),c)}),[M,L,c]);x(k,[z,I,F,c,H,B,j]),x(O,[S,M,P,C,z,I,F,B,j,R],[M,P,C]);var U=Object(r.useMemo)((function(){return i.a.createElement(e,Object(d.a)({},H,{ref:u}))}),[u,e,H]);return Object(r.useMemo)((function(){return S?i.a.createElement(p.Provider,{value:N},U):U}),[p,U,N])}var M=u?i.a.memo(g):g;if(M.WrappedComponent=e,M.displayName=g.displayName=o,j){var C=i.a.forwardRef((function(t,e){return i.a.createElement(M,Object(d.a)({},t,{reactReduxForwardedRef:e}))}));return C.displayName=o,C.WrappedComponent=e,m()(C,e)}return m()(M,e)}}function S(t,e){return t===e?0!==t||0!==e||1/t===1/e:t!==t&&e!==e}function C(t,e){if(S(t,e))return!0;if("object"!==typeof t||null===t||"object"!==typeof e||null===e)return!1;var n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(var i=0;i=0;r--){var i=e[r](t);if(i)return i}return function(e,r){throw new Error("Invalid value of type "+typeof t+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function U(t,e){return t===e}function W(t){var e=void 0===t?{}:t,n=e.connectHOC,r=void 0===n?M:n,i=e.mapStateToPropsFactories,o=void 0===i?D:i,a=e.mapDispatchToPropsFactories,s=void 0===a?N:a,u=e.mergePropsFactories,l=void 0===u?A:u,c=e.selectorFactory,f=void 0===c?B:c;return function(t,e,n,i){void 0===i&&(i={});var a=i,u=a.pure,c=void 0===u||u,p=a.areStatesEqual,m=void 0===p?U:p,v=a.areOwnPropsEqual,g=void 0===v?C:v,y=a.areStatePropsEqual,b=void 0===y?C:y,_=a.areMergedPropsEqual,w=void 0===_?C:_,x=Object(h.a)(a,F),k=H(t,o,"mapStateToProps"),O=H(e,s,"mapDispatchToProps"),E=H(n,l,"mergeProps");return r(f,Object(d.a)({methodName:"connect",getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:Boolean(t),initMapStateToProps:k,initMapDispatchToProps:O,initMergeProps:E,pure:c,areStatesEqual:m,areOwnPropsEqual:g,areStatePropsEqual:b,areMergedPropsEqual:w},x))}}var V=W();var Y,q=n(42);Y=q.unstable_batchedUpdates,a=Y},function(t,e,n){"use strict";var r=n(100);function i(t,e,n,o){var a,s=function(r){for(var a=e.length,s=0;s=~^]+)/),i=n?n[1]:"=";if("^"!==i&&"~"!==i)return o(t,e,i);var a=s(t),u=Object(r.a)(a,3),l=u[0],d=u[1],h=u[2],p=s(e),m=Object(r.a)(p,3),v=m[0],g=m[1],y=m[2];return 0===c(l,v)&&("^"===i?f([d,h],[g,y])>=0:0===c(d,g)&&c(h,y)>=0)};var a=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,s=function(t){if("string"!==typeof t)throw new TypeError("Invalid argument expected string");var e=t.match(a);if(!e)throw new Error("Invalid argument not valid semver ('".concat(t,"' received)"));return e.shift(),e},u=function(t){return"*"===t||"x"===t||"X"===t},l=function(t){var e=parseInt(t,10);return isNaN(e)?t:e},c=function(t,e){if(u(t)||u(e))return 0;var n=function(t,e){return typeof t!==typeof e?[String(t),String(e)]:[t,e]}(l(t),l(e)),i=Object(r.a)(n,2),o=i[0],a=i[1];return o>a?1:o":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},h=Object.keys(d),p=function(t){if("string"!==typeof t)throw new TypeError("Invalid operator type, expected string but got ".concat(typeof t));if(-1===h.indexOf(t))throw new Error("Invalid operator, expected one of ".concat(h.join("|")))}},,function(t,e,n){"use strict";var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function a(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(t){r[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(i){return!1}}()?Object.assign:function(t,e){for(var n,s,u=a(t),l=1;l0&&a.length>i&&!a.warned){a.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=t,u.type=e,u.count=a.length,s=u,console&&console.warn&&console.warn(s)}return t}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},i=d.bind(r);return i.listener=n,r.wrapFn=i,i}function p(t,e,n){var r=t._events;if(void 0===r)return[];var i=r[e];return void 0===i?[]:"function"===typeof i?n?[i.listener||i]:[i]:n?function(t){for(var e=new Array(t.length),n=0;n0&&(a=e[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=i[t];if(void 0===u)return!1;if("function"===typeof u)o(u,this,e);else{var l=u.length,c=v(u,l);for(n=0;n=0;o--)if(n[o]===e||n[o].listener===e){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(t,e){for(;e+1=0;r--)this.removeListener(t,e[r]);return this},s.prototype.listeners=function(t){return p(this,t,!0)},s.prototype.rawListeners=function(t){return p(this,t,!1)},s.listenerCount=function(t,e){return"function"===typeof t.listenerCount?t.listenerCount(e):m.call(t,e)},s.prototype.listenerCount=m,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(t,e,n){(e=t.exports=n(171)).Stream=e,e.Readable=e,e.Writable=n(140),e.Duplex=n(66),e.Transform=n(176),e.PassThrough=n(300)},function(t,e,n){var r=n(139),i=r.Buffer;function o(t,e){for(var n in t)e[n]=t[n]}function a(t,e,n){return i(t,e,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=r:(o(r,e),e.Buffer=a),o(i,a),a.from=function(t,e,n){if("number"===typeof t)throw new TypeError("Argument must not be a number");return i(t,e,n)},a.alloc=function(t,e,n){if("number"!==typeof t)throw new TypeError("Argument must be a number");var r=i(t);return void 0!==e?"string"===typeof n?r.fill(e,n):r.fill(e):r.fill(0),r},a.allocUnsafe=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return i(t)},a.allocUnsafeSlow=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return r.SlowBuffer(t)}},function(t,e,n){"use strict";(function(t){var r=n(293),i=n(294),o=n(172);function a(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function p(t,e){if(u.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return H(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return U(t).length;default:if(r)return H(t).length;e=(""+e).toLowerCase(),r=!0}}function m(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return P(this,e,n);case"utf8":case"utf-8":return M(this,e,n);case"ascii":return C(this,e,n);case"latin1":case"binary":return T(this,e,n);case"base64":return E(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function v(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function g(t,e,n,r,i){if(0===t.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof e&&(e=u.from(e,r)),u.isBuffer(e))return 0===e.length?-1:y(t,e,n,r,i);if("number"===typeof e)return e&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):y(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function y(t,e,n,r,i){var o,a=1,s=t.length,u=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;a=2,s/=2,u/=2,n/=2}function l(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var c=-1;for(o=n;os&&(n=s-u),o=n;o>=0;o--){for(var f=!0,d=0;di&&(r=i):r=i;var o=e.length;if(o%2!==0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a>8,i=n%256,o.push(i),o.push(r);return o}(e,t.length-n),t,n,r)}function E(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function M(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i239?4:l>223?3:l>191?2:1;if(i+f<=n)switch(f){case 1:l<128&&(c=l);break;case 2:128===(192&(o=t[i+1]))&&(u=(31&l)<<6|63&o)>127&&(c=u);break;case 3:o=t[i+1],a=t[i+2],128===(192&o)&&128===(192&a)&&(u=(15&l)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(u=(15&l)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(c=u)}null===c?(c=65533,f=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=f}return function(t){var e=t.length;if(e<=S)return String.fromCharCode.apply(String,t);var n="",r=0;for(;r0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),""},u.prototype.compare=function(t,e,n,r,i){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(e>>>=0),s=Math.min(o,a),l=this.slice(r,i),c=t.slice(e,n),f=0;fi)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return b(this,t,e,n);case"utf8":case"utf-8":return _(this,t,e,n);case"ascii":return w(this,t,e,n);case"latin1":case"binary":return x(this,t,e,n);case"base64":return k(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var S=4096;function C(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;ir)&&(n=r);for(var i="",o=e;on)throw new RangeError("Trying to access beyond buffer length")}function D(t,e,n,r,i,o){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function L(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i>>8*(r?i:1-i)}function A(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i>>8*(r?i:3-i)&255}function R(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function I(t,e,n,r,o){return o||R(t,0,n,4),i.write(t,e,n,r,23,4),n+4}function z(t,e,n,r,o){return o||R(t,0,n,8),i.write(t,e,n,r,52,8),n+8}u.prototype.slice=function(t,e){var n,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e0&&(i*=256);)r+=this[t+--e]*i;return r},u.prototype.readUInt8=function(t,e){return e||N(t,1,this.length),this[t]},u.prototype.readUInt16LE=function(t,e){return e||N(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUInt16BE=function(t,e){return e||N(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUInt32LE=function(t,e){return e||N(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUInt32BE=function(t,e){return e||N(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||N(t,e,this.length);for(var r=this[t],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*e)),r},u.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||N(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},u.prototype.readInt8=function(t,e){return e||N(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){e||N(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(t,e){e||N(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(t,e){return e||N(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return e||N(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,e){return e||N(t,4,this.length),i.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return e||N(t,4,this.length),i.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return e||N(t,8,this.length),i.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return e||N(t,8,this.length),i.read(this,t,!1,52,8)},u.prototype.writeUIntLE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||D(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[e]=255&t;++o=0&&(o*=256);)this[e+i]=t/o&255;return e+n},u.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,1,255,0),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},u.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):L(this,t,e,!0),e+2},u.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):L(this,t,e,!1),e+2},u.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):A(this,t,e,!0),e+4},u.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):A(this,t,e,!1),e+4},u.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);D(this,t,e,n,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o>0)-s&255;return e+n},u.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);D(this,t,e,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},u.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,1,127,-128),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):L(this,t,e,!0),e+2},u.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):L(this,t,e,!1),e+2},u.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):A(this,t,e,!0),e+4},u.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):A(this,t,e,!1),e+4},u.prototype.writeFloatLE=function(t,e,n){return I(this,t,e,!0,n)},u.prototype.writeFloatBE=function(t,e,n){return I(this,t,e,!1,n)},u.prototype.writeDoubleLE=function(t,e,n){return z(this,t,e,!0,n)},u.prototype.writeDoubleBE=function(t,e,n){return z(this,t,e,!1,n)},u.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e=0;--i)t[i+e]=this[i+n];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"===typeof t)for(o=e;o55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function U(t){return r.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(B,"")).length<2)return"";for(;t.length%4!==0;)t+="=";return t}(t))}function W(t,e,n,r){for(var i=0;i=e.length||i>=t.length);++i)e[i+n]=t[i];return i}}).call(this,n(49))},function(t,e,n){"use strict";(function(e,r,i){var o=n(106);function a(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,n){var r=t.entry;t.entry=null;for(;r;){var i=r.callback;e.pendingcb--,i(n),r=r.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}(e,t)}}t.exports=y;var s,u=!e.browser&&["v0.10","v0.9."].indexOf(e.version.slice(0,5))>-1?r:o.nextTick;y.WritableState=g;var l=n(97);l.inherits=n(77);var c={deprecate:n(298)},f=n(173),d=n(138).Buffer,h=i.Uint8Array||function(){};var p,m=n(174);function v(){}function g(t,e){s=s||n(66),t=t||{};var r=e instanceof s;this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var i=t.highWaterMark,l=t.writableHighWaterMark,c=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(l||0===l)?l:c,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var f=!1===t.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var n=t._writableState,r=n.sync,i=n.writecb;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(n),e)!function(t,e,n,r,i){--e.pendingcb,n?(o.nextTick(i,r),o.nextTick(O,t,e),t._writableState.errorEmitted=!0,t.emit("error",r)):(i(r),t._writableState.errorEmitted=!0,t.emit("error",r),O(t,e))}(t,n,r,e,i);else{var a=x(n);a||n.corked||n.bufferProcessing||!n.bufferedRequest||w(t,n),r?u(_,t,n,a,i):_(t,n,a,i)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function y(t){if(s=s||n(66),!p.call(y,this)&&!(this instanceof s))return new y(t);this._writableState=new g(t,this),this.writable=!0,t&&("function"===typeof t.write&&(this._write=t.write),"function"===typeof t.writev&&(this._writev=t.writev),"function"===typeof t.destroy&&(this._destroy=t.destroy),"function"===typeof t.final&&(this._final=t.final)),f.call(this)}function b(t,e,n,r,i,o,a){e.writelen=r,e.writecb=a,e.writing=!0,e.sync=!0,n?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function _(t,e,n,r){n||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,r(),O(t,e)}function w(t,e){e.bufferProcessing=!0;var n=e.bufferedRequest;if(t._writev&&n&&n.next){var r=e.bufferedRequestCount,i=new Array(r),o=e.corkedRequestsFree;o.entry=n;for(var s=0,u=!0;n;)i[s]=n,n.isBuf||(u=!1),n=n.next,s+=1;i.allBuffers=u,b(t,e,!0,e.length,i,"",o.finish),e.pendingcb++,e.lastBufferedRequest=null,o.next?(e.corkedRequestsFree=o.next,o.next=null):e.corkedRequestsFree=new a(e),e.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,c=n.encoding,f=n.callback;if(b(t,e,!1,e.objectMode?1:l.length,l,c,f),n=n.next,e.bufferedRequestCount--,e.writing)break}null===n&&(e.lastBufferedRequest=null)}e.bufferedRequest=n,e.bufferProcessing=!1}function x(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function k(t,e){t._final((function(n){e.pendingcb--,n&&t.emit("error",n),e.prefinished=!0,t.emit("prefinish"),O(t,e)}))}function O(t,e){var n=x(e);return n&&(!function(t,e){e.prefinished||e.finalCalled||("function"===typeof t._final?(e.pendingcb++,e.finalCalled=!0,o.nextTick(k,t,e)):(e.prefinished=!0,t.emit("prefinish")))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"))),n}l.inherits(y,f),g.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(g.prototype,"buffer",{get:c.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(y,Symbol.hasInstance,{value:function(t){return!!p.call(this,t)||this===y&&(t&&t._writableState instanceof g)}})):p=function(t){return t instanceof this},y.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},y.prototype.write=function(t,e,n){var r,i=this._writableState,a=!1,s=!i.objectMode&&(r=t,d.isBuffer(r)||r instanceof h);return s&&!d.isBuffer(t)&&(t=function(t){return d.from(t)}(t)),"function"===typeof e&&(n=e,e=null),s?e="buffer":e||(e=i.defaultEncoding),"function"!==typeof n&&(n=v),i.ended?function(t,e){var n=new Error("write after end");t.emit("error",n),o.nextTick(e,n)}(this,n):(s||function(t,e,n,r){var i=!0,a=!1;return null===n?a=new TypeError("May not write null values to stream"):"string"===typeof n||void 0===n||e.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(t.emit("error",a),o.nextTick(r,a),i=!1),i}(this,i,t,n))&&(i.pendingcb++,a=function(t,e,n,r,i,o){if(!n){var a=function(t,e,n){t.objectMode||!1===t.decodeStrings||"string"!==typeof e||(e=d.from(e,n));return e}(e,r,i);r!==a&&(n=!0,i="buffer",r=a)}var s=e.objectMode?1:r.length;e.length+=s;var u=e.length-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(y.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),y.prototype._write=function(t,e,n){n(new Error("_write() is not implemented"))},y.prototype._writev=null,y.prototype.end=function(t,e,n){var r=this._writableState;"function"===typeof t?(n=t,t=null,e=null):"function"===typeof e&&(n=e,e=null),null!==t&&void 0!==t&&this.write(t,e),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(t,e,n){e.ending=!0,O(t,e),n&&(e.finished?o.nextTick(n):t.once("finish",n));e.ended=!0,t.writable=!1}(this,r,n)},Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),y.prototype.destroy=m.destroy,y.prototype._undestroy=m.undestroy,y.prototype._destroy=function(t,e){this.end(),e(t)}}).call(this,n(96),n(169).setImmediate,n(49))},function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return a}));var r=n(142),i=n(9),o=n(5);function a(t){if(Object(o.a)(1,arguments),!Object(r.default)(t)&&"number"!==typeof t)return!1;var e=Object(i.default)(t);return!isNaN(Number(e))}},function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return i}));var r=n(5);function i(t){return Object(r.a)(1,arguments),t instanceof Date||"object"===typeof t&&"[object Date]"===Object.prototype.toString.call(t)}},function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return o}));var r=n(9),i=n(5);function o(t){Object(i.a)(1,arguments);var e=Object(r.default)(t);return e.setHours(23,59,59,999),e}},function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return a}));var r=n(14),i=n(80),o=n(5);function a(t,e){Object(o.a)(2,arguments);var n=Object(r.a)(e);return Object(i.a)(t,6e4*n)}},function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return s}));var r=n(14),i=n(80),o=n(5),a=36e5;function s(t,e){Object(o.a)(2,arguments);var n=Object(r.a)(e);return Object(i.a)(t,n*a)}},function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return a}));var r=n(14),i=n(67),o=n(5);function a(t,e){Object(o.a)(2,arguments);var n=Object(r.a)(e),a=7*n;return Object(i.default)(t,a)}},function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return a}));var r=n(14),i=n(68),o=n(5);function a(t,e){Object(o.a)(2,arguments);var n=Object(r.a)(e);return Object(i.default)(t,12*n)}},function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return o}));var r=n(9),i=n(5);function o(t){Object(i.a)(1,arguments);var e=Object(r.default)(t),n=e.getTime();return n}},function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return s}));var r=n(48),i=n(71),o=n(5),a=864e5;function s(t,e){Object(o.a)(2,arguments);var n=Object(i.default)(t),s=Object(i.default)(e),u=n.getTime()-Object(r.a)(n),l=s.getTime()-Object(r.a)(s);return Math.round((u-l)/a)}},function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return o}));var r=n(9),i=n(5);function o(t,e){Object(i.a)(2,arguments);var n=Object(r.default)(t),o=Object(r.default)(e),a=n.getFullYear()-o.getFullYear(),s=n.getMonth()-o.getMonth();return 12*a+s}},function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return a}));var r=n(9),i=n(14),o=n(5);function a(t,e){Object(o.a)(1,arguments);var n=e||{},a=n.locale,s=a&&a.options&&a.options.weekStartsOn,u=null==s?0:Object(i.a)(s),l=null==n.weekStartsOn?u:Object(i.a)(n.weekStartsOn);if(!(l>=0&&l<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var c=Object(r.default)(t),f=c.getDay(),d=6+(f=0){i=1;break}var a=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),i))}};function s(t){return t&&"[object Function]"==={}.toString.call(t)}function u(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function l(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function c(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=u(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?t:c(l(t))}var f=n&&!(!window.MSInputMethodContext||!document.documentMode),d=n&&/MSIE 10/.test(navigator.userAgent);function h(t){return 11===t?f:10===t?d:f||d}function p(t){if(!t)return document.documentElement;for(var e=h(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===u(n,"position")?p(n):n:t?t.ownerDocument.documentElement:document.documentElement}function m(t){return null!==t.parentNode?m(t.parentNode):t}function v(t,e){if(!t||!t.nodeType||!e||!e.nodeType)return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,i=n?e:t,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var a=o.commonAncestorContainer;if(t!==a&&e!==a||r.contains(i))return function(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||p(t.firstElementChild)===t)}(a)?a:p(a);var s=m(t);return s.host?v(s.host,e):v(t,m(e).host)}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"===r||"HTML"===r){var i=t.ownerDocument.documentElement,o=t.ownerDocument.scrollingElement||i;return o[n]}return t[n]}function y(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=g(e,"top"),i=g(e,"left"),o=n?-1:1;return t.top+=r*o,t.bottom+=r*o,t.left+=i*o,t.right+=i*o,t}function b(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+r+"Width"],10)}function _(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],h(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function w(t){var e=t.body,n=t.documentElement,r=h(10)&&getComputedStyle(n);return{height:_("Height",e,n,r),width:_("Width",e,n,r)}}var x=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},k=function(){function t(t,e){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],r=h(10),i="HTML"===e.nodeName,o=S(t),a=S(e),s=c(t),l=u(e),f=parseFloat(l.borderTopWidth,10),d=parseFloat(l.borderLeftWidth,10);n&&i&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var p=M({top:o.top-a.top-f,left:o.left-a.left-d,width:o.width,height:o.height});if(p.marginTop=0,p.marginLeft=0,!r&&i){var m=parseFloat(l.marginTop,10),v=parseFloat(l.marginLeft,10);p.top-=f-m,p.bottom-=f-m,p.left-=d-v,p.right-=d-v,p.marginTop=m,p.marginLeft=v}return(r&&!n?e.contains(s):e===s&&"BODY"!==s.nodeName)&&(p=y(p,e)),p}function T(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,r=C(t,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=e?0:g(n),s=e?0:g(n,"left"),u={top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:i,height:o};return M(u)}function P(t){var e=t.nodeName;return"BODY"!==e&&"HTML"!==e&&("fixed"===u(t,"position")||P(l(t)))}function j(t){if(!t||!t.parentElement||h())return document.documentElement;for(var e=t.parentElement;e&&"none"===u(e,"transform");)e=e.parentElement;return e||document.documentElement}function N(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=i?j(t):v(t,e);if("viewport"===r)o=T(a,i);else{var s=void 0;"scrollParent"===r?"BODY"===(s=c(l(e))).nodeName&&(s=t.ownerDocument.documentElement):s="window"===r?t.ownerDocument.documentElement:r;var u=C(s,a,i);if("HTML"!==s.nodeName||P(a))o=u;else{var f=w(t.ownerDocument),d=f.height,h=f.width;o.top+=u.top-u.marginTop,o.bottom=d+u.top,o.left+=u.left-u.marginLeft,o.right=h+u.left}}var p="number"===typeof(n=n||0);return o.left+=p?n:n.left||0,o.top+=p?n:n.top||0,o.right-=p?n:n.right||0,o.bottom-=p?n:n.bottom||0,o}function D(t){return t.width*t.height}function L(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=N(n,r,o,i),s={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},u=Object.keys(s).map((function(t){return E({key:t},s[t],{area:D(s[t])})})).sort((function(t,e){return e.area-t.area})),l=u.filter((function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight})),c=l.length>0?l[0].key:u[0].key,f=t.split("-")[1];return c+(f?"-"+f:"")}function A(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=r?j(e):v(e,n);return C(n,i,r)}function R(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),r=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+r,height:t.offsetHeight+n}}function I(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function z(t,e,n){n=n.split("-")[0];var r=R(t),i={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",s=o?"left":"top",u=o?"height":"width",l=o?"width":"height";return i[a]=e[a]+e[u]/2-r[u]/2,i[s]=n===s?e[s]-r[l]:e[I(s)],i}function B(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function F(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===n}));var r=B(t,(function(t){return t[e]===n}));return t.indexOf(r)}(t,"name",n))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&s(n)&&(e.offsets.popper=M(e.offsets.popper),e.offsets.reference=M(e.offsets.reference),e=n(e,t))})),e}function H(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=A(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=L(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=z(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=F(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function U(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function W(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r1&&void 0!==arguments[1]&&arguments[1],n=et.indexOf(t),r=et.slice(n+1).concat(et.slice(0,n));return e?r.reverse():r}var rt="flip",it="clockwise",ot="counterclockwise";function at(t,e,n,r){var i=[0,0],o=-1!==["right","left"].indexOf(r),a=t.split(/(\+|\-)/).map((function(t){return t.trim()})),s=a.indexOf(B(a,(function(t){return-1!==t.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var u=/\s*,\s*|\s+/,l=-1!==s?[a.slice(0,s).concat([a[s].split(u)[0]]),[a[s].split(u)[1]].concat(a.slice(s+1))]:[a];return(l=l.map((function(t,r){var i=(1===r?!o:o)?"height":"width",a=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,n,r){var i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],a=i[2];if(!o)return t;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return M(s)[e]/100*o}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o;return o}(t,i,e,n)}))}))).forEach((function(t,e){t.forEach((function(n,r){X(n)&&(i[e]+=n*("-"===t[r-1]?-1:1))}))})),i}var st={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var i=t.offsets,o=i.reference,a=i.popper,s=-1!==["bottom","top"].indexOf(n),u=s?"left":"top",l=s?"width":"height",c={start:O({},u,o[u]),end:O({},u,o[u]+o[l]-a[l])};t.offsets.popper=E({},a,c[r])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,r=t.placement,i=t.offsets,o=i.popper,a=i.reference,s=r.split("-")[0],u=void 0;return u=X(+n)?[+n,0]:at(n,o,a,s),"left"===s?(o.top+=u[0],o.left-=u[1]):"right"===s?(o.top+=u[0],o.left+=u[1]):"top"===s?(o.left+=u[0],o.top-=u[1]):"bottom"===s&&(o.left+=u[0],o.top+=u[1]),t.popper=o,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||p(t.instance.popper);t.instance.reference===n&&(n=p(n));var r=W("transform"),i=t.instance.popper.style,o=i.top,a=i.left,s=i[r];i.top="",i.left="",i[r]="";var u=N(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);i.top=o,i.left=a,i[r]=s,e.boundaries=u;var l=e.priority,c=t.offsets.popper,f={primary:function(t){var n=c[t];return c[t]u[t]&&!e.escapeWithReference&&(r=Math.min(c[n],u[t]-("right"===t?c.width:c.height))),O({},n,r)}};return l.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";c=E({},c,f[e](t))})),t.offsets.popper=c,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,r=e.reference,i=t.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(i),s=a?"right":"bottom",u=a?"left":"top",l=a?"width":"height";return n[s]o(r[s])&&(t.offsets.popper[u]=o(r[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!J(t.instance.modifiers,"arrow","keepTogether"))return t;var r=e.element;if("string"===typeof r){if(!(r=t.instance.popper.querySelector(r)))return t}else if(!t.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var i=t.placement.split("-")[0],o=t.offsets,a=o.popper,s=o.reference,l=-1!==["left","right"].indexOf(i),c=l?"height":"width",f=l?"Top":"Left",d=f.toLowerCase(),h=l?"left":"top",p=l?"bottom":"right",m=R(r)[c];s[p]-ma[p]&&(t.offsets.popper[d]+=s[d]+m-a[p]),t.offsets.popper=M(t.offsets.popper);var v=s[d]+s[c]/2-m/2,g=u(t.instance.popper),y=parseFloat(g["margin"+f],10),b=parseFloat(g["border"+f+"Width"],10),_=v-t.offsets.popper[d]-y-b;return _=Math.max(Math.min(a[c]-m,_),0),t.arrowElement=r,t.offsets.arrow=(O(n={},d,Math.round(_)),O(n,h,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(U(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=N(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],i=I(r),o=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case rt:a=[r,i];break;case it:a=nt(r);break;case ot:a=nt(r,!0);break;default:a=e.behavior}return a.forEach((function(s,u){if(r!==s||a.length===u+1)return t;r=t.placement.split("-")[0],i=I(r);var l=t.offsets.popper,c=t.offsets.reference,f=Math.floor,d="left"===r&&f(l.right)>f(c.left)||"right"===r&&f(l.left)f(c.top)||"bottom"===r&&f(l.top)f(n.right),m=f(l.top)f(n.bottom),g="left"===r&&h||"right"===r&&p||"top"===r&&m||"bottom"===r&&v,y=-1!==["top","bottom"].indexOf(r),b=!!e.flipVariations&&(y&&"start"===o&&h||y&&"end"===o&&p||!y&&"start"===o&&m||!y&&"end"===o&&v);(d||g||b)&&(t.flipped=!0,(d||g)&&(r=a[u+1]),b&&(o=function(t){return"end"===t?"start":"start"===t?"end":t}(o)),t.placement=r+(o?"-"+o:""),t.offsets.popper=E({},t.offsets.popper,z(t.instance.popper,t.offsets.reference,t.placement)),t=F(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],r=t.offsets,i=r.popper,o=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return i[a?"left":"top"]=o[n]-(s?i[a?"width":"height"]:0),t.placement=I(e),t.offsets.popper=M(i),t}},hide:{order:800,enabled:!0,fn:function(t){if(!J(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=B(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottomn.right||e.top>n.bottom||e.right2&&void 0!==arguments[2]?arguments[2]:{};x(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=a(this.update.bind(this)),this.options=E({},t.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(E({},t.Defaults.modifiers,i.modifiers)).forEach((function(e){r.options.modifiers[e]=E({},t.Defaults.modifiers[e]||{},i.modifiers?i.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return E({name:t},r.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&s(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)})),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return k(t,[{key:"update",value:function(){return H.call(this)}},{key:"destroy",value:function(){return V.call(this)}},{key:"enableEventListeners",value:function(){return K.call(this)}},{key:"disableEventListeners",value:function(){return Q.call(this)}}]),t}();ut.Utils=("undefined"!==typeof window?window:t).PopperUtils,ut.placements=tt,ut.Defaults=st,e.a=ut}).call(this,n(49))},function(t,e,n){"use strict";e.__esModule=!0;var r=o(n(2)),i=o(n(285));function o(t){return t&&t.__esModule?t:{default:t}}e.default=r.default.createContext||i.default,t.exports=e.default},function(t,e,n){"use strict";var r,i=(r=n(305))&&r.__esModule?r:{default:r};function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(t,e)||function(t,e){if(t){if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n1;){var e=t.pop(),n=e.obj[e.prop];if(o(n)){for(var r=[],i=0;i=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||o===r.RFC1738&&(40===c||41===c)?u+=s.charAt(l):c<128?u+=a[c]:c<2048?u+=a[192|c>>6]+a[128|63&c]:c<55296||c>=57344?u+=a[224|c>>12]+a[128|c>>6&63]+a[128|63&c]:(l+=1,c=65536+((1023&c)<<10|1023&s.charCodeAt(l)),u+=a[240|c>>18]+a[128|c>>12&63]+a[128|c>>6&63]+a[128|63&c])}return u},isBuffer:function(t){return!(!t||"object"!==typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(o(t)){for(var n=[],r=0;r=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n(248),e.setImmediate="undefined"!==typeof self&&self.setImmediate||"undefined"!==typeof t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!==typeof self&&self.clearImmediate||"undefined"!==typeof t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n(49))},function(t,e,n){var r=n(290);t.exports={toObject:function(t,e){var n=(e=e||{}).delimiter||",",i=r.getQuoteChar(e.quote),o=t,a=null;if("string"!==typeof o)throw new Error("Invalid input, input data should be a string");o=o.split(/[\n\r]+/gi),"string"===typeof e.headers?(a=e.headers.split(/[\n\r]+/gi),a=i?r.convertArray(a.shift(),n,i):a.shift().split(n)):a=i?r.convertArray(o.shift(),n,i):o.shift().split(n);var s=[];return o.forEach((function(t){if(t){t=i?r.convertArray(t,n,i):t.split(n);var e={};a.forEach((function(n,i){e[n]=r.removeQuote(t[i])})),s.push(e)}})),s},toArray:function(t,e){var n=(e=e||{}).delimiter||",",i=r.getQuoteChar(e.quote),o=t;if("string"!==typeof o)throw new Error("Invalid input, input data should be a string");o=o.split(/[\n\r]+/gi);var a=[];return o.forEach((function(t){t&&(t=(t=i?r.convertArray(t,n,i):t.split(n)).map((function(t){return r.removeQuote(t)})),a.push(t))})),a},toColumnArray:function(t,e){var n=(e=e||{}).delimiter||",",i=r.getQuoteChar(e.quote),o=t,a=null;if("string"!==typeof o)throw new Error("Invalid input, input data should be a string");o=o.split(/[\n\r]+/gi),"string"===typeof e.headers?(a=e.headers.split(/[\n\r]+/gi),a=i?r.convertArray(a.shift(),n,i):a.shift().split(n)):a=i?r.convertArray(o.shift(),n,i):o.shift().split(n);var s={};return a.forEach((function(t){s[t]=[]})),o.forEach((function(t){t&&(t=i?r.convertArray(t,n,i):t.split(n)).forEach((function(t,e){s[a[e]].push(r.removeQuote(t))}))})),s},toSchemaObject:function(t,e){var n=(e=e||{}).delimiter||",",i=r.getQuoteChar(e.quote),o=t,a=null;if("string"!==typeof o)throw new Error("Invalid input, input should be a string");o=o.split(/[\n\r]+/gi),"string"===typeof e.headers?(a=e.headers.split(/[\n\r]+/gi),a=i?r.convertArray(a.shift(),n,i):a.shift().split(n)):a=i?r.convertArray(o.shift(),n,i):o.shift().split(n);var s=[];return o.forEach((function(t){if(t){t=i?r.convertArray(t,n,i):t.split(n);var e={};t.forEach((function(t,o){r.addDataInSchema(a[o],t,e,n,i)})),s.push(e)}})),s},toCSV:function(t,e){(e=e||{}).delimiter=e.delimiter||",",e.wrap=e.wrap||"",e.arrayDenote=e.arrayDenote&&String(e.arrayDenote).trim()?e.arrayDenote:"[]",e.objectDenote=e.objectDenote&&String(e.objectDenote).trim()?e.objectDenote:".",e.detailedOutput="boolean"!==typeof e.detailedOutput||e.detailedOutput,e.headers=String(e.headers).toLowerCase();var n={},i="";e.headers.match(/none|full|relative|key/)?e.headers=e.headers.match(/none|full|relative|key/)[0]:e.headers="full";!0===e.wrap&&(e.wrap='"');"string"===typeof t&&(t=JSON.parse(t));r.toCsv(t,n,"",0,e);var o=r.getHeaders(e.headers,n,e);o&&(e.wrap&&(o=o.map((function(t){return e.wrap+t+e.wrap}))),i=o.join(e.delimiter));var a=r.getLengthyItem(n),s=Object.keys(n),u=[],l=/\n|\r/g;e.wrap||(l=new RegExp("\n|\r|"+e.delimiter,"g"));for(var c=0;c0?("string"===typeof e||a.objectMode||Object.getPrototypeOf(e)===l.prototype||(e=function(t){return l.from(t)}(e)),r?a.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):w(t,a,e,!0):a.ended?t.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!n?(e=a.decoder.write(e),a.objectMode||0!==e.length?w(t,a,e,!1):M(t,a)):w(t,a,e,!1))):r||(a.reading=!1));return function(t){return!t.ended&&(t.needReadable||t.lengthe.highWaterMark&&(e.highWaterMark=function(t){return t>=x?t=x:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function O(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(h("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?i.nextTick(E,t):E(t))}function E(t){h("emit readable"),t.emit("readable"),P(t)}function M(t,e){e.readingMore||(e.readingMore=!0,i.nextTick(S,t,e))}function S(t,e){for(var n=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):n=function(t,e,n){var r;to.length?o.length:t;if(a===o.length?i+=o:i+=o.slice(0,t),0===(t-=a)){a===o.length?(++r,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=o.slice(a));break}++r}return e.length-=r,i}(t,e):function(t,e){var n=l.allocUnsafe(t),r=e.head,i=1;r.data.copy(n),t-=r.data.length;for(;r=r.next;){var o=r.data,a=t>o.length?o.length:t;if(o.copy(n,n.length-t,0,a),0===(t-=a)){a===o.length?(++i,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=o.slice(a));break}++i}return e.length-=i,n}(t,e);return r}(t,e.buffer,e.decoder),n);var n}function N(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,i.nextTick(D,e,t))}function D(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function L(t,e){for(var n=0,r=t.length;n=e.highWaterMark||e.ended))return h("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?N(this):O(this),null;if(0===(t=k(t,e))&&e.ended)return 0===e.length&&N(this),null;var r,i=e.needReadable;return h("need readable",i),(0===e.length||e.length-t0?j(t,e):null)?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&N(this)),null!==r&&this.emit("data",r),r},b.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},b.prototype.pipe=function(t,e){var n=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=t;break;case 1:o.pipes=[o.pipes,t];break;default:o.pipes.push(t)}o.pipesCount+=1,h("pipe count=%d opts=%j",o.pipesCount,e);var u=(!e||!1!==e.end)&&t!==r.stdout&&t!==r.stderr?c:b;function l(e,r){h("onunpipe"),e===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,h("cleanup"),t.removeListener("close",g),t.removeListener("finish",y),t.removeListener("drain",f),t.removeListener("error",v),t.removeListener("unpipe",l),n.removeListener("end",c),n.removeListener("end",b),n.removeListener("data",m),d=!0,!o.awaitDrain||t._writableState&&!t._writableState.needDrain||f())}function c(){h("onend"),t.end()}o.endEmitted?i.nextTick(u):n.once("end",u),t.on("unpipe",l);var f=function(t){return function(){var e=t._readableState;h("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&s(t,"data")&&(e.flowing=!0,P(t))}}(n);t.on("drain",f);var d=!1;var p=!1;function m(e){h("ondata"),p=!1,!1!==t.write(e)||p||((1===o.pipesCount&&o.pipes===t||o.pipesCount>1&&-1!==L(o.pipes,t))&&!d&&(h("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,p=!0),n.pause())}function v(e){h("onerror",e),b(),t.removeListener("error",v),0===s(t,"error")&&t.emit("error",e)}function g(){t.removeListener("finish",y),b()}function y(){h("onfinish"),t.removeListener("close",g),b()}function b(){h("unpipe"),n.unpipe(t)}return n.on("data",m),function(t,e,n){if("function"===typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events[e]?a(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n)}(t,"error",v),t.once("close",g),t.once("finish",y),t.emit("pipe",n),o.flowing||(h("pipe resume"),n.resume()),t},b.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n)),this;if(!t){var r=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function s(t){var e=this.lastTotal-this.lastNeed,n=function(t,e,n){if(128!==(192&e[0]))return t.lastNeed=0,"\ufffd";if(t.lastNeed>1&&e.length>1){if(128!==(192&e[1]))return t.lastNeed=1,"\ufffd";if(t.lastNeed>2&&e.length>2&&128!==(192&e[2]))return t.lastNeed=2,"\ufffd"}}(this,t);return void 0!==n?n:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function u(t,e){if((t.length-e)%2===0){var n=t.toString("utf16le",e);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function l(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,n)}return e}function c(t,e){var n=(t.length-e)%3;return 0===n?t.toString("base64",e):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-n))}function f(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function d(t){return t.toString(this.encoding)}function h(t){return t&&t.length?this.write(t):""}e.StringDecoder=o,o.prototype.write=function(t){if(0===t.length)return"";var e,n;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0)return i>0&&(t.lastNeed=i-1),i;if(--r=0)return i>0&&(t.lastNeed=i-2),i;if(--r=0)return i>0&&(2===i?i=0:t.lastNeed=i-3),i;return 0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=n;var r=t.length-(n-this.lastNeed);return t.copy(this.lastChar,0,r),t.toString("utf8",e,r)},o.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},function(t,e,n){"use strict";t.exports=a;var r=n(66),i=n(97);function o(t,e){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=e&&this.push(e),r(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length3?c.call(arguments,3):[],i=this;return y.call(this,t,(function(){var t=e,o=r.map(h,i.container);return n?new(e.bind.apply(e,[null].concat(o))):t.apply(null,o)}))},_=function(t,e){Object.defineProperty(this,t,{configurable:!0,enumerable:!0,value:e,writable:!0})},w=function(t,e){var n=t[e];return n||_.call(t,e,n={}),n},x=function(t,e){Object.defineProperty(this,t,{configurable:!1,enumerable:!0,value:e,writable:!1})},k=function(t,e){var n,r;return typeof t===o&&(e=t,t=s),r=(n=t.split(i)).shift(),n.length?d.call(this,r).decorator(n.join(i),e):(this.decorators[r]||(this.decorators[r]=[]),this.decorators[r].push(e)),this},O=function(t){return!/^\$(?:decorator|register|list)$|Provider$/.test(t)},E=function(t){return Object.keys(t||this.container||{}).filter(O)},M={},S=function(t){var e=void 0===t.$value?t:t.$value;return this[t.$type||"service"].apply(this,[t.$name,e].concat(t.$inject||[]))},C=function(t){delete this.providerMap[t],delete this.container[t],delete this.container[t+u]};(r=function t(e){if(!(this instanceof t))return t.pop(e);this.id=l++,this.decorators={},this.middlewares={},this.nested={},this.providerMap={},this.originalProviders={},this.deferred=[],this.container={$decorator:k.bind(this),$register:S.bind(this),$list:E.bind(this)}}).prototype={constant:function(t,e){var n=t.split(i);return t=n.pop(),x.call(n.reduce(w,this.container),t,e),this},decorator:k,defer:function(t){return this.deferred.push(t),this},digest:function(t){return(t||[]).map(h,this.container)},factory:y,instanceFactory:function(t,e){return y.call(this,t,(function(t){return{instance:e.bind(e,t)}}))},list:E,middleware:function(t,e){var n,r;return typeof t===o&&(e=t,t=s),r=(n=t.split(i)).shift(),n.length?d.call(this,r).middleware(n.join(i),e):(this.middlewares[r]||(this.middlewares[r]=[]),this.middlewares[r].push(e)),this},provider:g,resetProviders:function(t){var e=this.originalProviders,n=Array.isArray(t);Object.keys(this.originalProviders).forEach((function(r){if(!n||-1!==t.indexOf(r)){var o=r.split(i);o.length>1&&o.forEach(C,d.call(this,o[0])),C.call(this,r),this.provider(r,e[r])}}),this)},register:S,resolve:function(t){return this.deferred.forEach((function(e){e(t)})),this},service:function(t,e){return b.apply(this,[t,e,!0].concat(c.call(arguments,2)))},serviceFactory:function(t,e){return b.apply(this,[t,e,!1].concat(c.call(arguments,2)))},value:function(t,e){var n;return n=t.split(i),t=n.pop(),_.call(n.reduce(w,this.container),t,e),this}},r.pop=function(t){var e;return typeof t===a?((e=M[t])||(M[t]=e=new r,e.constant("BOTTLE_NAME",t)),e):new r},r.clear=function(t){typeof t===a?delete M[t]:M={}},r.list=E,r.config={strict:!1},e.a=r},,function(t,e,n){t.exports=n(230)},,function(t,e,n){!function(t,e){function n(t){if(t&&t.__esModule)return t;var e=Object.create(null);return t&&Object.keys(t).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}})),e.default=t,e}var r=n(e);function i(){return(i=Object.assign||function(t){for(var e=1;ee?n>0?a:o:r>0?u:s}function g(t,e){if(0===e)return t;var n=Math.PI/180*e;return[t[0]*Math.cos(n)+t[1]*Math.sin(n),t[1]*Math.cos(n)-t[0]*Math.sin(n)]}function y(t,e){var n=function(e){e&&"touches"in e&&e.touches.length>1||t((function(t,n){n.trackMouse&&(document.addEventListener(f,r),document.addEventListener(d,s));var o="touches"in e?e.touches[0]:e,a=g([o.clientX,o.clientY],n.rotationAngle);return i({},t,c,{initial:[].concat(a),xy:a,start:e.timeStamp||0})}))},r=function(e){t((function(t,n){if("touches"in e&&e.touches.length>1)return t;var r="touches"in e?e.touches[0]:e,o=g([r.clientX,r.clientY],n.rotationAngle),a=o[0],s=o[1],u=a-t.xy[0],c=s-t.xy[1],f=Math.abs(u),d=Math.abs(c),h=(e.timeStamp||0)-t.start,p=Math.sqrt(f*f+d*d)/(h||1),m=[u/(h||1),c/(h||1)],y=v(f,d,u,c),b="number"===typeof n.delta?n.delta:n.delta[y.toLowerCase()]||l.delta;if(ft?e:t}));e.a=i},function(t,e,n){(function(t){!function(e,n,r,i,o,a,s,u,l,c,f,d,h,p,m,v,g,y,b,_,w,x,k,O,E,M,S,C,T,P,j,N,D,L,A,R,I,z,B,F,H,U,W,V,Y,q,Z,K,Q,X,G,$,J,tt,et,nt,rt,it,ot,at,st,ut,lt){"use strict";function ct(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var ft=ct(n),dt=ct(i),ht=ct(o),pt=ct(a),mt=ct(s),vt=ct(u),gt=ct(l),yt=ct(c),bt=ct(f),_t=ct(d),wt=ct(h),xt=ct(v),kt=ct(g),Ot=ct(y),Et=ct(b),Mt=ct(_),St=ct(w),Ct=ct(x),Tt=ct(k),Pt=ct(O),jt=ct(E),Nt=ct(M),Dt=ct(S),Lt=ct(C),At=ct(T),Rt=ct(P),It=ct(j),zt=ct(N),Bt=ct(D),Ft=ct(L),Ht=ct(A),Ut=ct(R),Wt=ct(I),Vt=ct(z),Yt=ct(B),qt=ct(H),Zt=ct(U),Kt=ct(W),Qt=ct(V),Xt=ct(Y),Gt=ct(q),$t=ct(Z),Jt=ct(X),te=ct(G),ee=ct($),ne=ct(J),re=ct(tt),ie=ct(et),oe=ct(nt),ae=ct(rt),se=ct(it),ue=ct(ot),le=ct(at),ce=ct(st),fe=ct(lt);function de(t){return(de="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function he(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pe(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&(i=ue.default(t,e.slice(0,t.length),new Date)),Ae(i)||(i=new Date(t))),Ae(i)&&a?i:null)}function Ae(t){return pt.default(t)&&ie.default(t,new Date("1/1/1000"))}function Re(t,e,n){if("en"===n)return mt.default(t,e,{awareOfUnicodeTokens:!0});var r=$e(n);return n&&!r&&console.warn('A locale object was not found for the provided string ["'.concat(n,'"].')),!r&&Ge()&&$e(Ge())&&(r=$e(Ge())),mt.default(t,e,{locale:r||null,awareOfUnicodeTokens:!0})}function Ie(t,e){var n=e.hour,r=void 0===n?0:n,i=e.minute,o=void 0===i?0:i,a=e.second,s=void 0===a?0:a;return zt.default(It.default(Rt.default(t,s),o),r)}function ze(t,e){var n=e&&$e(e)||Ge()&&$e(Ge());return jt.default(t,n?{locale:n}:null)}function Be(t,e){return Re(t,"ddd",e)}function Fe(t){return Zt.default(t)}function He(t,e){var n=$e(e||Ge());return Kt.default(t,{locale:n})}function Ue(t){return Qt.default(t)}function We(t){return Gt.default(t)}function Ve(t){return Xt.default(t)}function Ye(t,e){return t&&e?ne.default(t,e):!t&&!e}function qe(t,e){return t&&e?ee.default(t,e):!t&&!e}function Ze(t,e){return t&&e?re.default(t,e):!t&&!e}function Ke(t,e){return t&&e?te.default(t,e):!t&&!e}function Qe(t,e){return t&&e?Jt.default(t,e):!t&&!e}function Xe(t,e,n){var r,i=Zt.default(e),o=$t.default(n);try{r=ae.default(t,{start:i,end:o})}catch(t){r=!1}return r}function Ge(){return("undefined"!=typeof window?window:t).__localeId__}function $e(e){if("string"==typeof e){var n="undefined"!=typeof window?window:t;return n.__localeData__?n.__localeData__[e]:null}return e}function Je(t,e){return Re(Bt.default(De(),t),"LLLL",e)}function tn(t,e){return Re(Bt.default(De(),t),"LLL",e)}function en(t,e){return Re(Ft.default(De(),t),"QQQ",e)}function nn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.minDate,r=e.maxDate,i=e.excludeDates,o=e.includeDates,a=e.filterDate;return cn(t,{minDate:n,maxDate:r})||i&&i.some((function(e){return Ke(t,e)}))||o&&!o.some((function(e){return Ke(t,e)}))||a&&!a(De(t))||!1}function rn(t){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).excludeDates;return e&&e.some((function(e){return Ke(t,e)}))||!1}function on(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.minDate,r=e.maxDate,i=e.excludeDates,o=e.includeDates,a=e.filterDate;return cn(t,{minDate:n,maxDate:r})||i&&i.some((function(e){return qe(t,e)}))||o&&!o.some((function(e){return qe(t,e)}))||a&&!a(De(t))||!1}function an(t,e,n,r){var i=Lt.default(t),o=Nt.default(t),a=Lt.default(e),s=Nt.default(e),u=Lt.default(r);return i===a&&i===u?o<=n&&n<=s:i=n||ui:void 0}function sn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.minDate,r=e.maxDate,i=e.excludeDates,o=e.includeDates,a=e.filterDate;return cn(t,{minDate:n,maxDate:r})||i&&i.some((function(e){return Ze(t,e)}))||o&&!o.some((function(e){return Ze(t,e)}))||a&&!a(De(t))||!1}function un(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.minDate,r=e.maxDate;return cn(new Date(t,0,1),{minDate:n,maxDate:r})||!1}function ln(t,e,n,r){var i=Lt.default(t),o=Dt.default(t),a=Lt.default(e),s=Dt.default(e),u=Lt.default(r);return i===a&&i===u?o<=n&&n<=s:i=n||ui:void 0}function cn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.minDate,r=e.maxDate;return n&&Vt.default(t,n)<0||r&&Vt.default(t,r)>0}function fn(t,e){return e.some((function(e){return Ct.default(e)===Ct.default(t)&&St.default(e)===St.default(t)}))}function dn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.excludeTimes,r=e.includeTimes,i=e.filterTime;return n&&fn(t,n)||r&&!fn(t,r)||i&&!i(t)||!1}function hn(t,e){var n=e.minTime,r=e.maxTime;if(!n||!r)throw new Error("Both minTime and maxTime props required");var i,o=De(),a=zt.default(It.default(o,St.default(t)),Ct.default(t)),s=zt.default(It.default(o,St.default(n)),Ct.default(n)),u=zt.default(It.default(o,St.default(r)),Ct.default(r));try{i=!ae.default(a,{start:s,end:u})}catch(t){i=!1}return i}function pn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.minDate,r=e.includeDates,i=Ot.default(t,1);return n&&Yt.default(n,i)>0||r&&r.every((function(t){return Yt.default(t,i)>0}))||!1}function mn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.maxDate,r=e.includeDates,i=_t.default(t,1);return n&&Yt.default(i,n)>0||r&&r.every((function(t){return Yt.default(i,t)>0}))||!1}function vn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.minDate,r=e.includeDates,i=Et.default(t,1);return n&&qt.default(n,i)>0||r&&r.every((function(t){return qt.default(t,i)>0}))||!1}function gn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.maxDate,r=e.includeDates,i=wt.default(t,1);return n&&qt.default(i,n)>0||r&&r.every((function(t){return qt.default(i,t)>0}))||!1}function yn(t){var e=t.minDate,n=t.includeDates;if(n&&e){var r=n.filter((function(t){return Vt.default(t,e)>=0}));return Ut.default(r)}return n?Ut.default(n):e}function bn(t){var e=t.maxDate,n=t.includeDates;if(n&&e){var r=n.filter((function(t){return Vt.default(t,e)<=0}));return Wt.default(r)}return n?Wt.default(n):e}function _n(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"react-datepicker__day--highlighted",n=new Map,r=0,i=t.length;r1&&void 0!==arguments[1]?arguments[1]:je,n=Math.ceil(Lt.default(t)/e)*e;return{startPeriod:n-(e-1),endPeriod:n}}function On(t,e,n,r){for(var i=[],o=0;o<2*e+1;o++){var a=t+e-o,s=!0;n&&(s=Lt.default(n)<=a),r&&s&&(s=Lt.default(r)>=a),s&&i.push(a)}return i}var En=function(t){_e(n,t);var e=Ee(n);function n(t){var r;he(this,n),ve(ke(r=e.call(this,t)),"renderOptions",(function(){var t=r.props.year,e=r.state.yearsList.map((function(e){return ft.default.createElement("div",{className:t===e?"react-datepicker__year-option react-datepicker__year-option--selected_year":"react-datepicker__year-option",key:e,onClick:r.onChange.bind(ke(r),e)},t===e?ft.default.createElement("span",{className:"react-datepicker__year-option--selected"},"\u2713"):"",e)})),n=r.props.minDate?Lt.default(r.props.minDate):null,i=r.props.maxDate?Lt.default(r.props.maxDate):null;return i&&r.state.yearsList.find((function(t){return t===i}))||e.unshift(ft.default.createElement("div",{className:"react-datepicker__year-option",key:"upcoming",onClick:r.incrementYears},ft.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming"}))),n&&r.state.yearsList.find((function(t){return t===n}))||e.push(ft.default.createElement("div",{className:"react-datepicker__year-option",key:"previous",onClick:r.decrementYears},ft.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous"}))),e})),ve(ke(r),"onChange",(function(t){r.props.onChange(t)})),ve(ke(r),"handleClickOutside",(function(){r.props.onCancel()})),ve(ke(r),"shiftYears",(function(t){var e=r.state.yearsList.map((function(e){return e+t}));r.setState({yearsList:e})})),ve(ke(r),"incrementYears",(function(){return r.shiftYears(1)})),ve(ke(r),"decrementYears",(function(){return r.shiftYears(-1)}));var i=t.yearDropdownItemNumber,o=t.scrollableYearDropdown,a=i||(o?10:5);return r.state={yearsList:On(r.props.year,a,r.props.minDate,r.props.maxDate)},r}return me(n,[{key:"render",value:function(){var t=dt.default({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return ft.default.createElement("div",{className:t},this.renderOptions())}}]),n}(ft.default.Component),Mn=ce.default(En),Sn=function(t){_e(n,t);var e=Ee(n);function n(){var t;he(this,n);for(var r=arguments.length,i=new Array(r),o=0;o0&&void 0!==arguments[0]?arguments[0]:{},n=!1;0===t.getTabIndex()&&!e.isInputFocused&&t.isSameDay(t.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(n=!0),t.props.inline&&!t.props.shouldFocusDayInline&&(n=!1),t.props.containerRef&&t.props.containerRef.current&&t.props.containerRef.current.contains(document.activeElement)&&document.activeElement.classList.contains("react-datepicker__day")&&(n=!0)),n&&t.dayEl.current.focus({preventScroll:!0})})),ve(ke(t),"renderDayContents",(function(){if(t.isOutsideMonth()){if(t.props.monthShowsDuplicateDaysEnd&&Pt.default(t.props.day)<10)return null;if(t.props.monthShowsDuplicateDaysStart&&Pt.default(t.props.day)>20)return null}return t.props.renderDayContents?t.props.renderDayContents(Pt.default(t.props.day),t.props.day):Pt.default(t.props.day)})),ve(ke(t),"render",(function(){return ft.default.createElement("div",{ref:t.dayEl,className:t.getClassNames(t.props.day),onKeyDown:t.handleOnKeyDown,onClick:t.handleClick,onMouseEnter:t.handleMouseEnter,tabIndex:t.getTabIndex(),"aria-label":t.getAriaLabel(),role:"button","aria-disabled":t.isDisabled()},t.renderDayContents())})),t}return me(n,[{key:"componentDidMount",value:function(){this.handleFocusDay()}},{key:"componentDidUpdate",value:function(t){this.handleFocusDay(t)}}]),n}(ft.default.Component),Rn=function(t){_e(n,t);var e=Ee(n);function n(){var t;he(this,n);for(var r=arguments.length,i=new Array(r),o=0;o=6,s=!n&&!t.isWeekInMonth(r);if(a||s){if(!t.props.peekNextMonth)break;o=!0}}return e})),ve(ke(t),"onMonthClick",(function(e,n){t.handleDayClick(Ue(Bt.default(t.props.day,n)),e)})),ve(ke(t),"handleMonthNavigation",(function(e,n){t.isDisabled(n)||t.isExcluded(n)||(t.props.setPreSelection(n),t.MONTH_REFS[e].current&&t.MONTH_REFS[e].current.focus())})),ve(ke(t),"onMonthKeyDown",(function(e,n){var r=e.key;if(!t.props.disabledKeyboardNavigation)switch(r){case"Enter":t.onMonthClick(e,n),t.props.setPreSelection(t.props.selected);break;case"ArrowRight":t.handleMonthNavigation(11===n?0:n+1,_t.default(t.props.preSelection,1));break;case"ArrowLeft":t.handleMonthNavigation(0===n?11:n-1,Ot.default(t.props.preSelection,1))}})),ve(ke(t),"onQuarterClick",(function(e,n){t.handleDayClick(Ve(Ft.default(t.props.day,n)),e)})),ve(ke(t),"getMonthClassNames",(function(e){var n=t.props,r=n.day,i=n.startDate,o=n.endDate,a=n.selected,s=n.minDate,u=n.maxDate,l=n.preSelection,c=n.monthClassName,f=c?c(r):void 0;return dt.default("react-datepicker__month-text","react-datepicker__month-".concat(e),f,{"react-datepicker__month--disabled":(s||u)&&on(Bt.default(r,e),t.props),"react-datepicker__month--selected":Nt.default(r)===e&&Lt.default(r)===Lt.default(a),"react-datepicker__month-text--keyboard-selected":Nt.default(l)===e,"react-datepicker__month--in-range":an(i,o,e,r),"react-datepicker__month--range-start":t.isRangeStartMonth(e),"react-datepicker__month--range-end":t.isRangeEndMonth(e)})})),ve(ke(t),"getTabIndex",(function(e){var n=Nt.default(t.props.preSelection);return t.props.disabledKeyboardNavigation||e!==n?"-1":"0"})),ve(ke(t),"getAriaLabel",(function(e){var n=t.props,r=n.ariaLabelPrefix,i=void 0===r?"Choose":r,o=n.disabledDayAriaLabelPrefix,a=void 0===o?"Not available":o,s=n.day,u=Bt.default(s,e),l=t.isDisabled(u)||t.isExcluded(u)?a:i;return"".concat(l," ").concat(Re(u,"MMMM yyyy"))})),ve(ke(t),"getQuarterClassNames",(function(e){var n=t.props,r=n.day,i=n.startDate,o=n.endDate,a=n.selected,s=n.minDate,u=n.maxDate;return dt.default("react-datepicker__quarter-text","react-datepicker__quarter-".concat(e),{"react-datepicker__quarter--disabled":(s||u)&&sn(Ft.default(r,e),t.props),"react-datepicker__quarter--selected":Dt.default(r)===e&&Lt.default(r)===Lt.default(a),"react-datepicker__quarter--in-range":ln(i,o,e,r),"react-datepicker__quarter--range-start":t.isRangeStartQuarter(e),"react-datepicker__quarter--range-end":t.isRangeEndQuarter(e)})})),ve(ke(t),"renderMonths",(function(){var e=t.props,n=e.showFullMonthYearPicker,r=e.showTwoColumnMonthYearPicker,i=e.showFourColumnMonthYearPicker,o=e.locale;return(i?[[0,1,2,3],[4,5,6,7],[8,9,10,11]]:r?[[0,1],[2,3],[4,5],[6,7],[8,9],[10,11]]:[[0,1,2],[3,4,5],[6,7,8],[9,10,11]]).map((function(e,r){return ft.default.createElement("div",{className:"react-datepicker__month-wrapper",key:r},e.map((function(e,r){return ft.default.createElement("div",{ref:t.MONTH_REFS[e],key:r,onClick:function(n){t.onMonthClick(n,e)},onKeyDown:function(n){t.onMonthKeyDown(n,e)},tabIndex:t.getTabIndex(e),className:t.getMonthClassNames(e),role:"button","aria-label":t.getAriaLabel(e)},n?Je(e,o):tn(e,o))})))}))})),ve(ke(t),"renderQuarters",(function(){return ft.default.createElement("div",{className:"react-datepicker__quarter-wrapper"},[1,2,3,4].map((function(e,n){return ft.default.createElement("div",{key:n,onClick:function(n){t.onQuarterClick(n,e)},className:t.getQuarterClassNames(e)},en(e,t.props.locale))})))})),ve(ke(t),"getClassNames",(function(){var e=t.props;e.day;var n=e.selectingDate,r=e.selectsStart,i=e.selectsEnd,o=e.showMonthYearPicker,a=e.showQuarterYearPicker;return dt.default("react-datepicker__month",{"react-datepicker__month--selecting-range":n&&(r||i)},{"react-datepicker__monthPicker":o},{"react-datepicker__quarterPicker":a})})),t}return me(n,[{key:"render",value:function(){var t=this.props,e=t.showMonthYearPicker,n=t.showQuarterYearPicker,r=t.day,i=t.ariaLabelPrefix,o=void 0===i?"month ":i;return ft.default.createElement("div",{className:this.getClassNames(),onMouseLeave:this.handleMouseLeave,"aria-label":"".concat(o," ").concat(Re(r,"yyyy-MM"))},e?this.renderMonths():n?this.renderQuarters():this.renderWeeks())}}]),n}(ft.default.Component),Bn=function(t){_e(n,t);var e=Ee(n);function n(){var t;he(this,n);for(var r=arguments.length,i=new Array(r),o=0;o0&&void 0!==arguments[0]?arguments[0]:{}).className||"").split(/\s+/);return Wn.some((function(e){return t.indexOf(e)>=0}))})(t.target)&&r.props.onDropdownFocus()})),ve(ke(r),"getDateInView",(function(){var t=r.props,e=t.preSelection,n=t.selected,i=t.openToDate,o=yn(r.props),a=bn(r.props),s=De();return i||n||e||(o&&oe.default(s,o)?o:a&&ie.default(s,a)?a:s)})),ve(ke(r),"increaseMonth",(function(){r.setState((function(t){var e=t.date;return{date:_t.default(e,1)}}),(function(){return r.handleMonthChange(r.state.date)}))})),ve(ke(r),"decreaseMonth",(function(){r.setState((function(t){var e=t.date;return{date:Ot.default(e,1)}}),(function(){return r.handleMonthChange(r.state.date)}))})),ve(ke(r),"handleDayClick",(function(t,e,n){r.props.onSelect(t,e,n),r.props.setPreSelection&&r.props.setPreSelection(t)})),ve(ke(r),"handleDayMouseEnter",(function(t){r.setState({selectingDate:t}),r.props.onDayMouseEnter&&r.props.onDayMouseEnter(t)})),ve(ke(r),"handleMonthMouseLeave",(function(){r.setState({selectingDate:null}),r.props.onMonthMouseLeave&&r.props.onMonthMouseLeave()})),ve(ke(r),"handleYearChange",(function(t){r.props.onYearChange&&r.props.onYearChange(t),r.props.adjustDateOnChange&&(r.props.onSelect&&r.props.onSelect(t),r.props.setOpen&&r.props.setOpen(!0)),r.props.setPreSelection&&r.props.setPreSelection(t)})),ve(ke(r),"handleMonthChange",(function(t){r.props.onMonthChange&&r.props.onMonthChange(t),r.props.adjustDateOnChange&&(r.props.onSelect&&r.props.onSelect(t),r.props.setOpen&&r.props.setOpen(!0)),r.props.setPreSelection&&r.props.setPreSelection(t)})),ve(ke(r),"handleMonthYearChange",(function(t){r.handleYearChange(t),r.handleMonthChange(t)})),ve(ke(r),"changeYear",(function(t){r.setState((function(e){var n=e.date;return{date:Ht.default(n,t)}}),(function(){return r.handleYearChange(r.state.date)}))})),ve(ke(r),"changeMonth",(function(t){r.setState((function(e){var n=e.date;return{date:Bt.default(n,t)}}),(function(){return r.handleMonthChange(r.state.date)}))})),ve(ke(r),"changeMonthYear",(function(t){r.setState((function(e){var n=e.date;return{date:Ht.default(Bt.default(n,Nt.default(t)),Lt.default(t))}}),(function(){return r.handleMonthYearChange(r.state.date)}))})),ve(ke(r),"header",(function(){var t=He(arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.state.date,r.props.locale),e=[];return r.props.showWeekNumbers&&e.push(ft.default.createElement("div",{key:"W",className:"react-datepicker__day-name"},r.props.weekLabel||"#")),e.concat([0,1,2,3,4,5,6].map((function(e){var n=yt.default(t,e),i=r.formatWeekday(n,r.props.locale),o=r.props.weekDayClassName?r.props.weekDayClassName(n):void 0;return ft.default.createElement("div",{key:e,className:dt.default("react-datepicker__day-name",o)},i)})))})),ve(ke(r),"formatWeekday",(function(t,e){return r.props.formatWeekDay?function(t,e,n){return e(Re(t,"EEEE",n))}(t,r.props.formatWeekDay,e):r.props.useWeekdaysShort?function(t,e){return Re(t,"EEE",e)}(t,e):function(t,e){return Re(t,"EEEEEE",e)}(t,e)})),ve(ke(r),"decreaseYear",(function(){r.setState((function(t){var e=t.date;return{date:Et.default(e,r.props.showYearPicker?r.props.yearItemNumber:1)}}),(function(){return r.handleYearChange(r.state.date)}))})),ve(ke(r),"renderPreviousButton",(function(){if(!r.props.renderCustomHeader){var t;switch(!0){case r.props.showMonthYearPicker:t=vn(r.state.date,r.props);break;case r.props.showYearPicker:t=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.minDate,r=e.yearItemNumber,i=void 0===r?je:r,o=kn(We(Et.default(t,i)),i).endPeriod,a=n&&Lt.default(n);return a&&a>o||!1}(r.state.date,r.props);break;default:t=pn(r.state.date,r.props)}if((r.props.forceShowMonthNavigation||r.props.showDisabledMonthNavigation||!t)&&!r.props.showTimeSelectOnly){var e=["react-datepicker__navigation","react-datepicker__navigation--previous"],n=r.decreaseMonth;(r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker)&&(n=r.decreaseYear),t&&r.props.showDisabledMonthNavigation&&(e.push("react-datepicker__navigation--previous--disabled"),n=null);var i=r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker,o=r.props,a=o.previousMonthAriaLabel,s=void 0===a?"Previous Month":a,u=o.previousYearAriaLabel,l=void 0===u?"Previous Year":u;return ft.default.createElement("button",{type:"button",className:e.join(" "),onClick:n,"aria-label":i?l:s},i?r.props.previousYearButtonLabel:r.props.previousMonthButtonLabel)}}})),ve(ke(r),"increaseYear",(function(){r.setState((function(t){var e=t.date;return{date:wt.default(e,r.props.showYearPicker?r.props.yearItemNumber:1)}}),(function(){return r.handleYearChange(r.state.date)}))})),ve(ke(r),"renderNextButton",(function(){if(!r.props.renderCustomHeader){var t;switch(!0){case r.props.showMonthYearPicker:t=gn(r.state.date,r.props);break;case r.props.showYearPicker:t=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.maxDate,r=e.yearItemNumber,i=void 0===r?je:r,o=kn(wt.default(t,i),i).startPeriod,a=n&&Lt.default(n);return a&&a0&&void 0!==arguments[0]?arguments[0]:r.state.date,e=["react-datepicker__current-month"];return r.props.showYearDropdown&&e.push("react-datepicker__current-month--hasYearDropdown"),r.props.showMonthDropdown&&e.push("react-datepicker__current-month--hasMonthDropdown"),r.props.showMonthYearDropdown&&e.push("react-datepicker__current-month--hasMonthYearDropdown"),ft.default.createElement("div",{className:e.join(" ")},Re(t,r.props.dateFormat,r.props.locale))})),ve(ke(r),"renderYearDropdown",(function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(r.props.showYearDropdown&&!t)return ft.default.createElement(Sn,{adjustDateOnChange:r.props.adjustDateOnChange,date:r.state.date,onSelect:r.props.onSelect,setOpen:r.props.setOpen,dropdownMode:r.props.dropdownMode,onChange:r.changeYear,minDate:r.props.minDate,maxDate:r.props.maxDate,year:Lt.default(r.state.date),scrollableYearDropdown:r.props.scrollableYearDropdown,yearDropdownItemNumber:r.props.yearDropdownItemNumber})})),ve(ke(r),"renderMonthDropdown",(function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(r.props.showMonthDropdown&&!t)return ft.default.createElement(Pn,{dropdownMode:r.props.dropdownMode,locale:r.props.locale,onChange:r.changeMonth,month:Nt.default(r.state.date),useShortMonthInDropdown:r.props.useShortMonthInDropdown})})),ve(ke(r),"renderMonthYearDropdown",(function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(r.props.showMonthYearDropdown&&!t)return ft.default.createElement(Ln,{dropdownMode:r.props.dropdownMode,locale:r.props.locale,dateFormat:r.props.dateFormat,onChange:r.changeMonthYear,minDate:r.props.minDate,maxDate:r.props.maxDate,date:r.state.date,scrollableMonthYearDropdown:r.props.scrollableMonthYearDropdown})})),ve(ke(r),"renderTodayButton",(function(){if(r.props.todayButton&&!r.props.showTimeSelectOnly)return ft.default.createElement("div",{className:"react-datepicker__today-button",onClick:function(t){return r.props.onSelect(Zt.default(De()),t)}},r.props.todayButton)})),ve(ke(r),"renderDefaultHeader",(function(t){var e=t.monthDate,n=t.i;return ft.default.createElement("div",{className:"react-datepicker__header ".concat(r.props.showTimeSelect?"react-datepicker__header--has-time-select":"")},r.renderCurrentMonth(e),ft.default.createElement("div",{className:"react-datepicker__header__dropdown react-datepicker__header__dropdown--".concat(r.props.dropdownMode),onFocus:r.handleDropdownFocus},r.renderMonthDropdown(0!==n),r.renderMonthYearDropdown(0!==n),r.renderYearDropdown(0!==n)),ft.default.createElement("div",{className:"react-datepicker__day-names"},r.header(e)))})),ve(ke(r),"renderCustomHeader",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.monthDate,n=t.i;if(r.props.showTimeSelect&&(r.state.monthContainer||r.props.showTimeSelectOnly))return null;var i=pn(r.state.date,r.props),o=mn(r.state.date,r.props),a=vn(r.state.date,r.props),s=gn(r.state.date,r.props),u=!r.props.showMonthYearPicker&&!r.props.showQuarterYearPicker&&!r.props.showYearPicker;return ft.default.createElement("div",{className:"react-datepicker__header react-datepicker__header--custom",onFocus:r.props.onDropdownFocus},r.props.renderCustomHeader(be(be({},r.state),{},{customHeaderCount:n,changeMonth:r.changeMonth,changeYear:r.changeYear,decreaseMonth:r.decreaseMonth,increaseMonth:r.increaseMonth,decreaseYear:r.decreaseYear,increaseYear:r.increaseYear,prevMonthButtonDisabled:i,nextMonthButtonDisabled:o,prevYearButtonDisabled:a,nextYearButtonDisabled:s})),u&&ft.default.createElement("div",{className:"react-datepicker__day-names"},r.header(e)))})),ve(ke(r),"renderYearHeader",(function(){var t=r.state.date,e=r.props,n=e.showYearPicker,i=kn(t,e.yearItemNumber),o=i.startPeriod,a=i.endPeriod;return ft.default.createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},n?"".concat(o," - ").concat(a):Lt.default(t))})),ve(ke(r),"renderHeader",(function(t){switch(!0){case void 0!==r.props.renderCustomHeader:return r.renderCustomHeader(t);case r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker:return r.renderYearHeader(t);default:return r.renderDefaultHeader(t)}})),ve(ke(r),"renderMonths",(function(){if(!r.props.showTimeSelectOnly&&!r.props.showYearPicker){for(var t=[],e=r.props.showPreviousMonths?r.props.monthsShown-1:0,n=Ot.default(r.state.date,e),i=0;i0;t.push(ft.default.createElement("div",{key:s,ref:function(t){r.monthContainer=t},className:"react-datepicker__month-container"},r.renderHeader({monthDate:a,i:i}),ft.default.createElement(zn,{chooseDayAriaLabelPrefix:r.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:r.props.disabledDayAriaLabelPrefix,weekAriaLabelPrefix:r.props.weekAriaLabelPrefix,onChange:r.changeMonthYear,day:a,dayClassName:r.props.dayClassName,monthClassName:r.props.monthClassName,onDayClick:r.handleDayClick,handleOnKeyDown:r.props.handleOnKeyDown,onDayMouseEnter:r.handleDayMouseEnter,onMouseLeave:r.handleMonthMouseLeave,onWeekSelect:r.props.onWeekSelect,orderInDisplay:i,formatWeekNumber:r.props.formatWeekNumber,locale:r.props.locale,minDate:r.props.minDate,maxDate:r.props.maxDate,excludeDates:r.props.excludeDates,highlightDates:r.props.highlightDates,selectingDate:r.state.selectingDate,includeDates:r.props.includeDates,inline:r.props.inline,shouldFocusDayInline:r.props.shouldFocusDayInline,fixedHeight:r.props.fixedHeight,filterDate:r.props.filterDate,preSelection:r.props.preSelection,setPreSelection:r.props.setPreSelection,selected:r.props.selected,selectsStart:r.props.selectsStart,selectsEnd:r.props.selectsEnd,selectsRange:r.props.selectsRange,showWeekNumbers:r.props.showWeekNumbers,startDate:r.props.startDate,endDate:r.props.endDate,peekNextMonth:r.props.peekNextMonth,setOpen:r.props.setOpen,shouldCloseOnSelect:r.props.shouldCloseOnSelect,renderDayContents:r.props.renderDayContents,disabledKeyboardNavigation:r.props.disabledKeyboardNavigation,showMonthYearPicker:r.props.showMonthYearPicker,showFullMonthYearPicker:r.props.showFullMonthYearPicker,showTwoColumnMonthYearPicker:r.props.showTwoColumnMonthYearPicker,showFourColumnMonthYearPicker:r.props.showFourColumnMonthYearPicker,showYearPicker:r.props.showYearPicker,showQuarterYearPicker:r.props.showQuarterYearPicker,isInputFocused:r.props.isInputFocused,containerRef:r.containerRef,monthShowsDuplicateDaysEnd:u,monthShowsDuplicateDaysStart:l})))}return t}})),ve(ke(r),"renderYears",(function(){if(!r.props.showTimeSelectOnly)return r.props.showYearPicker?ft.default.createElement("div",{className:"react-datepicker__year--container"},r.renderHeader(),ft.default.createElement(Fn,ge({onDayClick:r.handleDayClick,date:r.state.date},r.props))):void 0})),ve(ke(r),"renderTimeSection",(function(){if(r.props.showTimeSelect&&(r.state.monthContainer||r.props.showTimeSelectOnly))return ft.default.createElement(Bn,{selected:r.props.selected,openToDate:r.props.openToDate,onChange:r.props.onTimeChange,timeClassName:r.props.timeClassName,format:r.props.timeFormat,includeTimes:r.props.includeTimes,intervals:r.props.timeIntervals,minTime:r.props.minTime,maxTime:r.props.maxTime,excludeTimes:r.props.excludeTimes,filterTime:r.props.filterTime,timeCaption:r.props.timeCaption,todayButton:r.props.todayButton,showMonthDropdown:r.props.showMonthDropdown,showMonthYearDropdown:r.props.showMonthYearDropdown,showYearDropdown:r.props.showYearDropdown,withPortal:r.props.withPortal,monthRef:r.state.monthContainer,injectTimes:r.props.injectTimes,locale:r.props.locale,showTimeSelectOnly:r.props.showTimeSelectOnly})})),ve(ke(r),"renderInputTimeSection",(function(){var t=new Date(r.props.selected),e=Ae(t)&&Boolean(r.props.selected)?"".concat(xn(t.getHours()),":").concat(xn(t.getMinutes())):"";if(r.props.showTimeInput)return ft.default.createElement(Hn,{date:t,timeString:e,timeInputLabel:r.props.timeInputLabel,onChange:r.props.onTimeChange,customTimeInput:r.props.customTimeInput})})),r.containerRef=ft.default.createRef(),r.state={date:r.getDateInView(),selectingDate:null,monthContainer:null},r}return me(n,[{key:"componentDidMount",value:function(){var t=this;this.props.showTimeSelect&&(this.assignMonthContainer=void t.setState({monthContainer:t.monthContainer}))}},{key:"componentDidUpdate",value:function(t){this.props.preSelection&&!Ke(this.props.preSelection,t.preSelection)?this.setState({date:this.props.preSelection}):this.props.openToDate&&!Ke(this.props.openToDate,t.openToDate)&&this.setState({date:this.props.openToDate})}},{key:"render",value:function(){var t=this.props.container||Un;return ft.default.createElement("div",{ref:this.containerRef},ft.default.createElement(t,{className:dt.default("react-datepicker",this.props.className,{"react-datepicker--time-only":this.props.showTimeSelectOnly}),showPopperArrow:this.props.showPopperArrow,arrowProps:this.props.arrowProps},this.renderPreviousButton(),this.renderNextButton(),this.renderMonths(),this.renderYears(),this.renderTodayButton(),this.renderTimeSection(),this.renderInputTimeSection(),this.props.children))}}],[{key:"defaultProps",get:function(){return{onDropdownFocus:function(){},monthsShown:1,monthSelectedIn:0,forceShowMonthNavigation:!1,timeCaption:"Time",previousYearButtonLabel:"Previous Year",nextYearButtonLabel:"Next Year",previousMonthButtonLabel:"Previous Month",nextMonthButtonLabel:"Next Month",customTimeInput:null,yearItemNumber:je}}}]),n}(ft.default.Component),Yn=function(t){return!t.disabled&&-1!==t.tabIndex},qn=function(t){_e(n,t);var e=Ee(n);function n(t){var r;return he(this,n),ve(ke(r=e.call(this,t)),"getTabChildren",(function(){return Array.prototype.slice.call(r.tabLoopRef.current.querySelectorAll("[tabindex], a, button, input, select, textarea"),1,-1).filter(Yn)})),ve(ke(r),"handleFocusStart",(function(t){var e=r.getTabChildren();e&&e.length>1&&e[e.length-1].focus()})),ve(ke(r),"handleFocusEnd",(function(t){var e=r.getTabChildren();e&&e.length>1&&e[0].focus()})),r.tabLoopRef=ft.default.createRef(),r}return me(n,[{key:"render",value:function(){return this.props.enableTabLoop?ft.default.createElement("div",{className:"react-datepicker__tab-loop",ref:this.tabLoopRef},ft.default.createElement("div",{className:"react-datepicker__tab-loop__start",tabIndex:"0",onFocus:this.handleFocusStart}),this.props.children,ft.default.createElement("div",{className:"react-datepicker__tab-loop__end",tabIndex:"0",onFocus:this.handleFocusEnd})):this.props.children}}],[{key:"defaultProps",get:function(){return{enableTabLoop:!0}}}]),n}(ft.default.Component),Zn=function(t){_e(n,t);var e=Ee(n);function n(t){var r;return he(this,n),(r=e.call(this,t)).el=document.createElement("div"),r}return me(n,[{key:"componentDidMount",value:function(){this.portalRoot=document.getElementById(this.props.portalId),this.portalRoot||(this.portalRoot=document.createElement("div"),this.portalRoot.setAttribute("id",this.props.portalId),document.body.appendChild(this.portalRoot)),this.portalRoot.appendChild(this.el)}},{key:"componentWillUnmount",value:function(){this.portalRoot.removeChild(this.el)}},{key:"render",value:function(){return fe.default.createPortal(this.props.children,this.el)}}]),n}(ft.default.Component),Kn=function(t){_e(n,t);var e=Ee(n);function n(){return he(this,n),e.apply(this,arguments)}return me(n,[{key:"render",value:function(){var t,e=this.props,n=e.className,r=e.wrapperClassName,i=e.hidePopper,o=e.popperComponent,a=e.popperModifiers,s=e.popperPlacement,u=e.popperProps,l=e.targetComponent,c=e.enableTabLoop,f=e.popperOnKeyDown,d=e.portalId;if(!i){var h=dt.default("react-datepicker-popper",n);t=ft.default.createElement(ut.Popper,ge({modifiers:a,placement:s},u),(function(t){var e=t.ref,n=t.style,r=t.placement,i=t.arrowProps;return ft.default.createElement(qn,{enableTabLoop:c},ft.default.createElement("div",{ref:e,style:n,className:h,"data-placement":r,onKeyDown:f},ft.default.cloneElement(o,{arrowProps:i})))}))}this.props.popperContainer&&(t=ft.default.createElement(this.props.popperContainer,{},t)),d&&!i&&(t=ft.default.createElement(Zn,{portalId:d},t));var p=dt.default("react-datepicker-wrapper",r);return ft.default.createElement(ut.Manager,{className:"react-datepicker-manager"},ft.default.createElement(ut.Reference,null,(function(t){var e=t.ref;return ft.default.createElement("div",{ref:e,className:p},l)})),t)}}],[{key:"defaultProps",get:function(){return{hidePopper:!0,popperModifiers:{preventOverflow:{enabled:!0,escapeWithReference:!0,boundariesElement:"viewport"}},popperProps:{},popperPlacement:"bottom-start"}}}]),n}(ft.default.Component),Qn="react-datepicker-ignore-onclickoutside",Xn=ce.default(Vn),Gn="Date input not valid.",$n=function(t){_e(n,t);var e=Ee(n);function n(t){var r;return he(this,n),ve(ke(r=e.call(this,t)),"getPreSelection",(function(){return r.props.openToDate?r.props.openToDate:r.props.selectsEnd&&r.props.startDate?r.props.startDate:r.props.selectsStart&&r.props.endDate?r.props.endDate:De()})),ve(ke(r),"calcInitialState",(function(){var t=r.getPreSelection(),e=yn(r.props),n=bn(r.props),i=e&&oe.default(t,e)?e:n&&ie.default(t,n)?n:t;return{open:r.props.startOpen||!1,preventFocus:!1,preSelection:r.props.selected?r.props.selected:i,highlightDates:_n(r.props.highlightDates),focused:!1,shouldFocusDayInline:!1}})),ve(ke(r),"clearPreventFocusTimeout",(function(){r.preventFocusTimeout&&clearTimeout(r.preventFocusTimeout)})),ve(ke(r),"setFocus",(function(){r.input&&r.input.focus&&r.input.focus({preventScroll:!0})})),ve(ke(r),"setBlur",(function(){r.input&&r.input.blur&&r.input.blur(),r.cancelFocusInput()})),ve(ke(r),"setOpen",(function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];r.setState({open:t,preSelection:t&&r.state.open?r.state.preSelection:r.calcInitialState().preSelection,lastPreSelectChange:tr},(function(){t||r.setState((function(t){return{focused:!!e&&t.focused}}),(function(){!e&&r.setBlur(),r.setState({inputValue:null})}))}))})),ve(ke(r),"inputOk",(function(){return ht.default(r.state.preSelection)})),ve(ke(r),"isCalendarOpen",(function(){return void 0===r.props.open?r.state.open&&!r.props.disabled&&!r.props.readOnly:r.props.open})),ve(ke(r),"handleFocus",(function(t){r.state.preventFocus||(r.props.onFocus(t),r.props.preventOpenOnFocus||r.props.readOnly||r.setOpen(!0)),r.setState({focused:!0})})),ve(ke(r),"cancelFocusInput",(function(){clearTimeout(r.inputFocusTimeout),r.inputFocusTimeout=null})),ve(ke(r),"deferFocusInput",(function(){r.cancelFocusInput(),r.inputFocusTimeout=setTimeout((function(){return r.setFocus()}),1)})),ve(ke(r),"handleDropdownFocus",(function(){r.cancelFocusInput()})),ve(ke(r),"handleBlur",(function(t){(!r.state.open||r.props.withPortal||r.props.showTimeInput)&&r.props.onBlur(t),r.setState({focused:!1})})),ve(ke(r),"handleCalendarClickOutside",(function(t){r.props.inline||r.setOpen(!1),r.props.onClickOutside(t),r.props.withPortal&&t.preventDefault()})),ve(ke(r),"handleChange",(function(){for(var t=arguments.length,e=new Array(t),n=0;n=0||(i[n]=t[n]);return i},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){var r,i,o;!function(n){"use strict";var a=n.setTimeout,s=n.clearTimeout,u=n.XMLHttpRequest,l=n.XDomainRequest,c=n.ActiveXObject,f=n.EventSource,d=n.document,h=n.Promise,p=n.fetch,m=n.Response,v=n.TextDecoder,g=n.TextEncoder,y=n.AbortController;if("undefined"===typeof window||"undefined"===typeof d||"readyState"in d||null!=d.body||(d.readyState="loading",window.addEventListener("load",(function(t){d.readyState="complete"}),!1)),null==u&&null!=c&&(u=function(){return new c("Microsoft.XMLHTTP")}),void 0==Object.create&&(Object.create=function(t){function e(){}return e.prototype=t,new e}),Date.now||(Date.now=function(){return(new Date).getTime()}),void 0==y){var b=p;p=function(t,e){var n=e.signal;return b(t,{headers:e.headers,credentials:e.credentials,cache:e.cache}).then((function(t){var e=t.body.getReader();return n._reader=e,n._aborted&&n._reader.cancel(),{status:t.status,statusText:t.statusText,headers:t.headers,body:{getReader:function(){return e}}}}))},y=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){null!=this.signal._reader&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function _(){this.bitsNeeded=0,this.codePoint=0}_.prototype.decode=function(t){function e(t,e,n){if(1===n)return t>=128>>e&&t<=2048>>e&&t<=57344>>e&&t<=65536>>e&&t<>6>15?3:e>31?2:1;if(12===t)return e>15?3:2;if(18===t)return 3;throw new Error}for(var r=65533,i="",o=this.bitsNeeded,a=this.codePoint,s=0;s191||!e(a<<6|63&u,o-6,n(o,a)))&&(o=0,a=r,i+=String.fromCharCode(a)),0===o?(u>=0&&u<=127?(o=0,a=u):u>=192&&u<=223?(o=6,a=31&u):u>=224&&u<=239?(o=12,a=15&u):u>=240&&u<=247?(o=18,a=7&u):(o=0,a=r),0===o||e(a,o,n(o,a))||(o=0,a=r)):(o-=6,a=a<<6|63&u),0===o&&(a<=65535?i+=String.fromCharCode(a):(i+=String.fromCharCode(55296+(a-65535-1>>10)),i+=String.fromCharCode(56320+(a-65535-1&1023))))}return this.bitsNeeded=o,this.codePoint=a,i};void 0!=v&&void 0!=g&&function(){try{return"test"===(new v).decode((new g).encode("test"),{stream:!0})}catch(t){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+t)}return!1}()||(v=_);var w=function(){};function x(t){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=w,this.onload=w,this.onerror=w,this.onreadystatechange=w,this._contentType="",this._xhr=t,this._sendTimeout=0,this._abort=w}function k(t){return t.replace(/[A-Z]/g,(function(t){return String.fromCharCode(t.charCodeAt(0)+32)}))}function O(t){for(var e=Object.create(null),n=t.split("\r\n"),r=0;r0&&n[1]||""},t.getSecondMatch=function(t,e){var n=e.match(t);return n&&n.length>1&&n[2]||""},t.matchAndReturnConst=function(t,e,n){if(t.test(e))return n},t.getWindowsVersionName=function(t){switch(t){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},t.getMacOSVersionName=function(t){var e=t.split(".").splice(0,2).map((function(t){return parseInt(t,10)||0}));if(e.push(0),10===e[0])switch(e[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},t.getAndroidVersionName=function(t){var e=t.split(".").splice(0,2).map((function(t){return parseInt(t,10)||0}));if(e.push(0),!(1===e[0]&&e[1]<5))return 1===e[0]&&e[1]<6?"Cupcake":1===e[0]&&e[1]>=6?"Donut":2===e[0]&&e[1]<2?"Eclair":2===e[0]&&2===e[1]?"Froyo":2===e[0]&&e[1]>2?"Gingerbread":3===e[0]?"Honeycomb":4===e[0]&&e[1]<1?"Ice Cream Sandwich":4===e[0]&&e[1]<4?"Jelly Bean":4===e[0]&&e[1]>=4?"KitKat":5===e[0]?"Lollipop":6===e[0]?"Marshmallow":7===e[0]?"Nougat":8===e[0]?"Oreo":9===e[0]?"Pie":void 0},t.getVersionPrecision=function(t){return t.split(".").length},t.compareVersions=function(e,n,r){void 0===r&&(r=!1);var i=t.getVersionPrecision(e),o=t.getVersionPrecision(n),a=Math.max(i,o),s=0,u=t.map([e,n],(function(e){var n=a-t.getVersionPrecision(e),r=e+new Array(n+1).join(".0");return t.map(r.split("."),(function(t){return new Array(20-t.length).join("0")+t})).reverse()}));for(r&&(s=a-Math.min(i,o)),a-=1;a>=s;){if(u[0][a]>u[1][a])return 1;if(u[0][a]===u[1][a]){if(a===s)return 0;a-=1}else if(u[0][a]1?i-1:0),a=1;a0){var a=Object.keys(n),u=s.default.find(a,(function(t){return e.isOS(t)}));if(u){var l=this.satisfies(n[u]);if(void 0!==l)return l}var c=s.default.find(a,(function(t){return e.isPlatform(t)}));if(c){var f=this.satisfies(n[c]);if(void 0!==f)return f}}if(o>0){var d=Object.keys(i),h=s.default.find(d,(function(t){return e.isBrowser(t,!0)}));if(void 0!==h)return this.compareVersion(i[h])}},e.isBrowser=function(t,e){void 0===e&&(e=!1);var n=this.getBrowserName().toLowerCase(),r=t.toLowerCase(),i=s.default.getBrowserTypeByAlias(r);return e&&i&&(r=i.toLowerCase()),r===n},e.compareVersion=function(t){var e=[0],n=t,r=!1,i=this.getBrowserVersion();if("string"==typeof i)return">"===t[0]||"<"===t[0]?(n=t.substr(1),"="===t[1]?(r=!0,n=t.substr(2)):e=[],">"===t[0]?e.push(1):e.push(-1)):"="===t[0]?n=t.substr(1):"~"===t[0]&&(r=!0,n=t.substr(1)),e.indexOf(s.default.compareVersions(i,n,r))>-1},e.isOS=function(t){return this.getOSName(!0)===String(t).toLowerCase()},e.isPlatform=function(t){return this.getPlatformType(!0)===String(t).toLowerCase()},e.isEngine=function(t){return this.getEngineName(!0)===String(t).toLowerCase()},e.is=function(t,e){return void 0===e&&(e=!1),this.isBrowser(t,e)||this.isOS(t)||this.isPlatform(t)},e.some=function(t){var e=this;return void 0===t&&(t=[]),t.some((function(t){return e.is(t)}))},t}();e.default=l,t.exports=e.default},92:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=/version\/(\d+(\.?_?\d+)+)/i,a=[{test:[/googlebot/i],describe:function(t){var e={name:"Googlebot"},n=i.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/opera/i],describe:function(t){var e={name:"Opera"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/opr\/|opios/i],describe:function(t){var e={name:"Opera"},n=i.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/SamsungBrowser/i],describe:function(t){var e={name:"Samsung Internet for Android"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/Whale/i],describe:function(t){var e={name:"NAVER Whale Browser"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/MZBrowser/i],describe:function(t){var e={name:"MZ Browser"},n=i.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/focus/i],describe:function(t){var e={name:"Focus"},n=i.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/swing/i],describe:function(t){var e={name:"Swing"},n=i.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/coast/i],describe:function(t){var e={name:"Opera Coast"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(t){var e={name:"Opera Touch"},n=i.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/yabrowser/i],describe:function(t){var e={name:"Yandex Browser"},n=i.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/ucbrowser/i],describe:function(t){var e={name:"UC Browser"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/Maxthon|mxios/i],describe:function(t){var e={name:"Maxthon"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/epiphany/i],describe:function(t){var e={name:"Epiphany"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/puffin/i],describe:function(t){var e={name:"Puffin"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/sleipnir/i],describe:function(t){var e={name:"Sleipnir"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/k-meleon/i],describe:function(t){var e={name:"K-Meleon"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/micromessenger/i],describe:function(t){var e={name:"WeChat"},n=i.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/qqbrowser/i],describe:function(t){var e={name:/qqbrowserlite/i.test(t)?"QQ Browser Lite":"QQ Browser"},n=i.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/msie|trident/i],describe:function(t){var e={name:"Internet Explorer"},n=i.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/\sedg\//i],describe:function(t){var e={name:"Microsoft Edge"},n=i.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/edg([ea]|ios)/i],describe:function(t){var e={name:"Microsoft Edge"},n=i.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/vivaldi/i],describe:function(t){var e={name:"Vivaldi"},n=i.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/seamonkey/i],describe:function(t){var e={name:"SeaMonkey"},n=i.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/sailfish/i],describe:function(t){var e={name:"Sailfish"},n=i.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,t);return n&&(e.version=n),e}},{test:[/silk/i],describe:function(t){var e={name:"Amazon Silk"},n=i.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/phantom/i],describe:function(t){var e={name:"PhantomJS"},n=i.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/slimerjs/i],describe:function(t){var e={name:"SlimerJS"},n=i.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(t){var e={name:"BlackBerry"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/(web|hpw)[o0]s/i],describe:function(t){var e={name:"WebOS Browser"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/bada/i],describe:function(t){var e={name:"Bada"},n=i.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/tizen/i],describe:function(t){var e={name:"Tizen"},n=i.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/qupzilla/i],describe:function(t){var e={name:"QupZilla"},n=i.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/firefox|iceweasel|fxios/i],describe:function(t){var e={name:"Firefox"},n=i.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/electron/i],describe:function(t){var e={name:"Electron"},n=i.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/MiuiBrowser/i],describe:function(t){var e={name:"Miui"},n=i.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/chromium/i],describe:function(t){var e={name:"Chromium"},n=i.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/chrome|crios|crmo/i],describe:function(t){var e={name:"Chrome"},n=i.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/GSA/i],describe:function(t){var e={name:"Google Search"},n=i.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:function(t){var e=!t.test(/like android/i),n=t.test(/android/i);return e&&n},describe:function(t){var e={name:"Android Browser"},n=i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/playstation 4/i],describe:function(t){var e={name:"PlayStation 4"},n=i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/safari|applewebkit/i],describe:function(t){var e={name:"Safari"},n=i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/.*/i],describe:function(t){var e=-1!==t.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:i.default.getFirstMatch(e,t),version:i.default.getSecondMatch(e,t)}}}];e.default=a,t.exports=e.default},93:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18),a=[{test:[/Roku\/DVP/],describe:function(t){var e=i.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,t);return{name:o.OS_MAP.Roku,version:e}}},{test:[/windows phone/i],describe:function(t){var e=i.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,t);return{name:o.OS_MAP.WindowsPhone,version:e}}},{test:[/windows /i],describe:function(t){var e=i.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,t),n=i.default.getWindowsVersionName(e);return{name:o.OS_MAP.Windows,version:e,versionName:n}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(t){var e={name:o.OS_MAP.iOS},n=i.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,t);return n&&(e.version=n),e}},{test:[/macintosh/i],describe:function(t){var e=i.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,t).replace(/[_\s]/g,"."),n=i.default.getMacOSVersionName(e),r={name:o.OS_MAP.MacOS,version:e};return n&&(r.versionName=n),r}},{test:[/(ipod|iphone|ipad)/i],describe:function(t){var e=i.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,t).replace(/[_\s]/g,".");return{name:o.OS_MAP.iOS,version:e}}},{test:function(t){var e=!t.test(/like android/i),n=t.test(/android/i);return e&&n},describe:function(t){var e=i.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,t),n=i.default.getAndroidVersionName(e),r={name:o.OS_MAP.Android,version:e};return n&&(r.versionName=n),r}},{test:[/(web|hpw)[o0]s/i],describe:function(t){var e=i.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,t),n={name:o.OS_MAP.WebOS};return e&&e.length&&(n.version=e),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(t){var e=i.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,t)||i.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,t)||i.default.getFirstMatch(/\bbb(\d+)/i,t);return{name:o.OS_MAP.BlackBerry,version:e}}},{test:[/bada/i],describe:function(t){var e=i.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,t);return{name:o.OS_MAP.Bada,version:e}}},{test:[/tizen/i],describe:function(t){var e=i.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,t);return{name:o.OS_MAP.Tizen,version:e}}},{test:[/linux/i],describe:function(){return{name:o.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:o.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(t){var e=i.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,t);return{name:o.OS_MAP.PlayStation4,version:e}}}];e.default=a,t.exports=e.default},94:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18),a=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(t){var e=i.default.getFirstMatch(/(can-l01)/i,t)&&"Nova",n={type:o.PLATFORMS_MAP.mobile,vendor:"Huawei"};return e&&(n.model=e),n}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(t){var e=t.test(/ipod|iphone/i),n=t.test(/like (ipod|iphone)/i);return e&&!n},describe:function(t){var e=i.default.getFirstMatch(/(ipod|iphone)/i,t);return{type:o.PLATFORMS_MAP.mobile,vendor:"Apple",model:e}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(t){return"blackberry"===t.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(t){return"bada"===t.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(t){return"windows phone"===t.getBrowserName()},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(t){var e=Number(String(t.getOSVersion()).split(".")[0]);return"android"===t.getOSName(!0)&&e>=3},describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(t){return"android"===t.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(t){return"macos"===t.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(t){return"windows"===t.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(t){return"linux"===t.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(t){return"playstation 4"===t.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}},{test:function(t){return"roku"===t.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}}];e.default=a,t.exports=e.default},95:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18),a=[{test:function(t){return"microsoft edge"===t.getBrowserName(!0)},describe:function(t){if(/\sedg\//i.test(t))return{name:o.ENGINE_MAP.Blink};var e=i.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,t);return{name:o.ENGINE_MAP.EdgeHTML,version:e}}},{test:[/trident/i],describe:function(t){var e={name:o.ENGINE_MAP.Trident},n=i.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:function(t){return t.test(/presto/i)},describe:function(t){var e={name:o.ENGINE_MAP.Presto},n=i.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:function(t){var e=t.test(/gecko/i),n=t.test(/like gecko/i);return e&&!n},describe:function(t){var e={name:o.ENGINE_MAP.Gecko},n=i.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:o.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(t){var e={name:o.ENGINE_MAP.WebKit},n=i.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}}];e.default=a,t.exports=e.default}})},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(9),i=n(149),o=n(5);function a(t,e){var n=t.getFullYear()-e.getFullYear()||t.getMonth()-e.getMonth()||t.getDate()-e.getDate()||t.getHours()-e.getHours()||t.getMinutes()-e.getMinutes()||t.getSeconds()-e.getSeconds()||t.getMilliseconds()-e.getMilliseconds();return n<0?-1:n>0?1:n}function s(t,e){Object(o.a)(2,arguments);var n=Object(r.default)(t),s=Object(r.default)(e),u=a(n,s),l=Math.abs(Object(i.default)(n,s));n.setDate(n.getDate()-u*l);var c=Number(a(n,s)===-u),f=u*(l-c);return 0===f?0:f}},function(t,e,n){t.exports=function(t,e){"use strict";function n(t){return t&&"object"===typeof t&&"default"in t?t:{default:t}}var r=n(t),i=n(e);function o(t){return r.default.createElement("button",{type:"button",className:t.classNames.selectedTag,title:t.removeButtonText,onClick:t.onDelete},r.default.createElement("span",{className:t.classNames.selectedTagName},t.tag.name))}var a={position:"absolute",width:0,height:0,visibility:"hidden",overflow:"scroll",whiteSpace:"pre"},s=["fontSize","fontFamily","fontWeight","fontStyle","letterSpacing","textTransform"],u=function(t){function e(e){t.call(this,e),this.state={inputWidth:null},this.input=r.default.createRef(),this.sizer=r.default.createRef()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.componentDidMount=function(){this.props.autoresize&&(this.copyInputStyles(),this.updateInputWidth())},e.prototype.componentDidUpdate=function(t){var e=t.query,n=t.placeholderText;e===this.props.query&&n===this.props.placeholderText||this.updateInputWidth()},e.prototype.copyInputStyles=function(){var t=this,e=window.getComputedStyle(this.input.current);s.forEach((function(n){t.sizer.current.style[n]=e[n]}))},e.prototype.updateInputWidth=function(){var t;this.props.autoresize&&(t=Math.ceil(this.sizer.current.scrollWidth)+2),t!==this.state.inputWidth&&this.setState({inputWidth:t})},e.prototype.render=function(){var t=this.props,e=t.id,n=t.query,i=t.ariaLabelText,o=t.placeholderText,s=t.expanded,u=t.classNames,l=t.inputAttributes,c=t.inputEventHandlers,f=t.index;return r.default.createElement("div",{className:u.searchWrapper},r.default.createElement("input",Object.assign({},l,c,{ref:this.input,value:n,placeholder:o,className:u.searchInput,role:"combobox","aria-autocomplete":"list","aria-label":i||o,"aria-owns":e,"aria-activedescendant":f>-1?e+"-"+f:null,"aria-expanded":s,style:{width:this.state.inputWidth}})),r.default.createElement("div",{ref:this.sizer,style:a},n||o))},e}(r.default.Component);function l(t){return t.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")}function c(t){return new RegExp(l(t),"gi")}function f(t){return new RegExp("(?:^|\\s)"+l(t),"i")}function d(t){return new RegExp("^"+l(t)+"$","i")}function h(t,e){var n=c(e);return t.replace(n,"$&")}function p(t){var e=t.item,n=t.query;return r.default.createElement("span",{dangerouslySetInnerHTML:{__html:h(e.name,n)}})}function m(t){var e=t.suggestionComponent||p,n=t.options.map((function(n,i){var o=t.id+"-"+i,a=[];return t.index===i&&a.push(t.classNames.suggestionActive),n.disabled&&a.push(t.classNames.suggestionDisabled),r.default.createElement("li",{id:o,key:o,role:"option",className:a.join(" "),"aria-disabled":Boolean(n.disabled),onMouseDown:function(t){return t.preventDefault()},onClick:function(){return t.addTag(n)}},n.prefix?r.default.createElement("span",{className:t.classNames.suggestionPrefix},n.prefix," "):null,n.disableMarkIt?n.name:r.default.createElement(e,{item:n,query:t.query}))}));return r.default.createElement("div",{className:t.classNames.suggestions},r.default.createElement("ul",{role:"listbox",id:t.id},n))}function v(t,e){var n=t.querySelectorAll("a,button,input"),r=Array.prototype.findIndex.call(n,(function(t){return t===e})),i=n[r-1]||n[r+1];i&&i.focus()}var g={ENTER:"Enter",TAB:"Tab",BACKSPACE:"Backspace",UP_ARROW:"ArrowUp",UP_ARROW_COMPAT:"Up",DOWN_ARROW:"ArrowDown",DOWN_ARROW_COMPAT:"Down"},y={root:"react-tags",rootFocused:"is-focused",selected:"react-tags__selected",selectedTag:"react-tags__selected-tag",selectedTagName:"react-tags__selected-tag-name",search:"react-tags__search",searchWrapper:"react-tags__search-wrapper",searchInput:"react-tags__search-input",suggestions:"react-tags__suggestions",suggestionActive:"is-active",suggestionDisabled:"is-disabled",suggestionPrefix:"react-tags__suggestion-prefix"};function b(t,e){return t.findIndex((function(t){return d(e).test(t.name)}))}function _(){if(this.state.query.length>=this.props.minQueryLength){var t=b(this.state.options,this.state.query),e=-1===this.state.index?t:this.state.index,n=e>-1?this.state.options[e]:null;n?this.addTag(n):this.props.allowNew&&this.addTag({name:this.state.query})}}function w(t){t.preventDefault();var e=this.state.options.length-1;this.setState({index:this.state.index<=0?e:this.state.index-1})}function x(t){t.preventDefault();var e=this.state.options.length-1;this.setState({index:this.state.index>=e?0:this.state.index+1})}function k(){this.state.query.length||this.deleteTag(this.props.tags.length-1)}function O(t,e){return f(e).test(t.name)}function E(t,e){var n;return n=(n=t.suggestionsTransform?t.suggestionsTransform(e.query,t.suggestions):t.suggestions.filter((function(n){return t.suggestionsFilter(n,e.query)}))).slice(0,t.maxSuggestionsLength),t.allowNew&&t.newTagText&&-1===b(n,e.query)?n.push({id:0,name:e.query,prefix:t.newTagText,disableMarkIt:!0}):t.noSuggestionsText&&0===n.length&&n.push({id:0,name:t.noSuggestionsText,disabled:!0,disableMarkIt:!0}),n}var M=function(t){function e(e){t.call(this,e),this.state={query:"",focused:!1,index:-1},this.inputEventHandlers={onChange:function(){},onBlur:this.onBlur.bind(this),onFocus:this.onFocus.bind(this),onInput:this.onInput.bind(this),onKeyDown:this.onKeyDown.bind(this)},this.container=r.default.createRef(),this.input=r.default.createRef()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.onInput=function(t){var e=t.target.value;this.props.onInput&&this.props.onInput(e),e.length===this.state.query.length+1&&this.props.delimiters.indexOf(e.slice(-1))>-1?_.call(this):e!==this.state.query&&this.setState({query:e})},e.prototype.onKeyDown=function(t){this.props.delimiters.indexOf(t.key)>-1&&((this.state.query||this.state.index>-1)&&t.preventDefault(),_.call(this)),t.key===g.BACKSPACE&&this.props.allowBackspace&&k.call(this,t),t.key!==g.UP_ARROW&&t.key!==g.UP_ARROW_COMPAT||w.call(this,t),t.key!==g.DOWN_ARROW&&t.key!==g.DOWN_ARROW_COMPAT||x.call(this,t)},e.prototype.onClick=function(t){document.activeElement!==t.target&&this.focusInput()},e.prototype.onBlur=function(){this.setState({focused:!1,index:-1}),this.props.onBlur&&this.props.onBlur(),this.props.addOnBlur&&_.call(this)},e.prototype.onFocus=function(){this.setState({focused:!0}),this.props.onFocus&&this.props.onFocus()},e.prototype.onDeleteTag=function(t,e){this.container.current&&v(this.container.current,e.currentTarget),this.deleteTag(t)},e.prototype.addTag=function(t){t.disabled||("function"!==typeof this.props.onValidate||this.props.onValidate(t))&&(this.props.onAddition({id:t.id,name:t.name}),this.clearInput())},e.prototype.deleteTag=function(t){this.props.onDelete(t)},e.prototype.clearInput=function(){this.setState({query:"",index:-1})},e.prototype.clearSelectedIndex=function(){this.setState({index:-1})},e.prototype.focusInput=function(){this.input.current&&this.input.current.input.current&&this.input.current.input.current.focus()},e.prototype.render=function(){var t=this,e=this.props.tagComponent||o,n=this.state.focused&&this.state.query.length>=this.props.minQueryLength,i=Object.assign({},y,this.props.classNames),a=[i.root];return this.state.focused&&a.push(i.rootFocused),r.default.createElement("div",{ref:this.container,className:a.join(" "),onClick:this.onClick.bind(this)},r.default.createElement("div",{className:i.selected,"aria-relevant":"additions removals","aria-live":"polite"},this.props.tags.map((function(n,o){return r.default.createElement(e,{key:o,tag:n,removeButtonText:t.props.removeButtonText,classNames:i,onDelete:t.onDeleteTag.bind(t,o)})}))),r.default.createElement("div",{className:i.search},r.default.createElement(u,Object.assign({},this.state,{id:this.props.id,ref:this.input,classNames:i,inputAttributes:this.props.inputAttributes,inputEventHandlers:this.inputEventHandlers,autoresize:this.props.autoresize,expanded:n,placeholderText:this.props.placeholderText,ariaLabelText:this.props.ariaLabelText})),n&&this.state.options.length?r.default.createElement(m,Object.assign({},this.state,{id:this.props.id,classNames:i,expanded:n,addTag:this.addTag.bind(this),suggestionComponent:this.props.suggestionComponent})):null))},e.getDerivedStateFromProps=function(t,e){return e.prevQuery!==e.query||e.prevSuggestions!==t.suggestions?{prevQuery:e.query,prevSuggestions:t.suggestions,options:E(t,e)}:null},e}(r.default.Component);return M.defaultProps={id:"ReactTags",tags:[],placeholderText:"Add new tag",removeButtonText:"Click to remove tag",noSuggestionsText:null,newTagText:null,suggestions:[],suggestionsFilter:O,suggestionsTransform:null,autoresize:!0,classNames:y,delimiters:[g.TAB,g.ENTER],minQueryLength:2,maxSuggestionsLength:6,allowNew:!1,allowBackspace:!0,addOnBlur:!1,tagComponent:null,suggestionComponent:null,inputAttributes:{}},M.propTypes={id:i.default.string,tags:i.default.arrayOf(i.default.object),placeholderText:i.default.string,ariaLabelText:i.default.string,removeButtonText:i.default.string,noSuggestionsText:i.default.string,newTagText:i.default.string,suggestions:i.default.arrayOf(i.default.object),suggestionsFilter:i.default.func,suggestionsTransform:i.default.func,autoresize:i.default.bool,delimiters:i.default.arrayOf(i.default.string),onDelete:i.default.func.isRequired,onAddition:i.default.func.isRequired,onInput:i.default.func,onFocus:i.default.func,onBlur:i.default.func,onValidate:i.default.func,minQueryLength:i.default.number,maxSuggestionsLength:i.default.number,classNames:i.default.object,allowNew:i.default.bool,allowBackspace:i.default.bool,addOnBlur:i.default.bool,tagComponent:i.default.oneOfType([i.default.func,i.default.element]),suggestionComponent:i.default.oneOfType([i.default.func,i.default.element]),inputAttributes:i.default.object},M}(n(2),n(1))},function(t,e,n){"use strict";n.d(e,"a",(function(){return D}));var r=n(2),i=n.n(r);function o(){return(o=Object.assign||function(t){for(var e=1;e=0||(i[n]=t[n]);return i}function s(t){var e=Object(r.useRef)(t),n=Object(r.useRef)((function(t){e.current&&e.current(t)}));return e.current=t,n.current}var u=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=1),t>n?n:t0:t.buttons>0)&&h.current?p(f(h.current,t,v.current)):n(!1)},e=function(){return n(!1)};function n(n){var r=g.current,i=c(h.current),o=n?i.addEventListener:i.removeEventListener;o(r?"touchmove":"mousemove",t),o(r?"touchend":"mouseup",e)}return[function(t){var e=t.nativeEvent,r=h.current;if(r&&(d(e),!function(t,e){return e&&!l(t)}(e,g.current)&&r)){if(l(e)){g.current=!0;var i=e.changedTouches||[];i.length&&(v.current=i[0].identifier)}r.focus(),p(f(r,e,v.current)),n(!0)}},function(t){var e=t.which||t.keyCode;e<37||e>40||(t.preventDefault(),m({left:39===e?.05:37===e?-.05:0,top:40===e?.05:38===e?-.05:0}))},n]}),[m,p]),b=y[0],_=y[1],w=y[2];return Object(r.useEffect)((function(){return w}),[w]),i.a.createElement("div",o({},u,{onTouchStart:b,onMouseDown:b,className:"react-colorful__interactive",ref:h,onKeyDown:_,tabIndex:0,role:"slider"}))})),p=function(t){return t.filter(Boolean).join(" ")},m=function(t){var e=t.color,n=t.left,r=t.top,o=void 0===r?.5:r,a=p(["react-colorful__pointer",t.className]);return i.a.createElement("div",{className:a,style:{top:100*o+"%",left:100*n+"%"}},i.a.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:e}}))},v=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=Math.pow(10,e)),Math.round(n*t)/n},g=(Math.PI,function(t){return"#"===t[0]&&(t=t.substr(1)),t.length<6?{r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:1}:{r:parseInt(t.substr(0,2),16),g:parseInt(t.substr(2,2),16),b:parseInt(t.substr(4,2),16),a:1}}),y=function(t){var e=t.s,n=t.v,r=t.a,i=(200-e)*n/100;return{h:v(t.h),s:v(i>0&&i<200?e*n/100/(i<=100?i:200-i)*100:0),l:v(i/2),a:v(r,2)}},b=function(t){var e=y(t);return"hsl("+e.h+", "+e.s+"%, "+e.l+"%)"},_=function(t){var e=t.h,n=t.s,r=t.v,i=t.a;e=e/360*6,n/=100,r/=100;var o=Math.floor(e),a=r*(1-n),s=r*(1-(e-o)*n),u=r*(1-(1-e+o)*n),l=o%6;return{r:v(255*[r,s,a,a,u,r][l]),g:v(255*[u,r,r,s,a,a][l]),b:v(255*[a,a,u,r,r,s][l]),a:v(i,2)}},w=function(t){var e=t.toString(16);return e.length<2?"0"+e:e},x=function(t){var e=t.r,n=t.g,r=t.b,i=t.a,o=Math.max(e,n,r),a=o-Math.min(e,n,r),s=a?o===e?(n-r)/a:o===n?2+(r-e)/a:4+(e-n)/a:0;return{h:v(60*(s<0?s+6:s)),s:v(o?a/o*100:0),v:v(o/255*100),a:i}},k=i.a.memo((function(t){var e=t.hue,n=t.onChange,r=p(["react-colorful__hue",t.className]);return i.a.createElement("div",{className:r},i.a.createElement(h,{onMove:function(t){n({h:360*t.left})},onKey:function(t){n({h:u(e+360*t.left,0,360)})},"aria-label":"Hue","aria-valuetext":v(e)},i.a.createElement(m,{className:"react-colorful__hue-pointer",left:e/360,color:b({h:e,s:100,v:100,a:1})})))})),O=i.a.memo((function(t){var e=t.hsva,n=t.onChange,r={backgroundColor:b({h:e.h,s:100,v:100,a:1})};return i.a.createElement("div",{className:"react-colorful__saturation",style:r},i.a.createElement(h,{onMove:function(t){n({s:100*t.left,v:100-100*t.top})},onKey:function(t){n({s:u(e.s+100*t.left,0,100),v:u(e.v-100*t.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+v(e.s)+"%, Brightness "+v(e.v)+"%"},i.a.createElement(m,{className:"react-colorful__saturation-pointer",top:1-e.v/100,left:e.s/100,color:b(e)})))})),E=function(t,e){if(t===e)return!0;for(var n in t)if(t[n]!==e[n])return!1;return!0};function M(t,e,n){var i=s(n),o=Object(r.useState)((function(){return t.toHsva(e)})),a=o[0],u=o[1],l=Object(r.useRef)({color:e,hsva:a});Object(r.useEffect)((function(){if(!t.equal(e,l.current.color)){var n=t.toHsva(e);l.current={hsva:n,color:e},u(n)}}),[e,t]),Object(r.useEffect)((function(){var e;E(a,l.current.hsva)||t.equal(e=t.fromHsva(a),l.current.color)||(l.current={hsva:a,color:e},i(e))}),[a,t,i]);var c=Object(r.useCallback)((function(t){u((function(e){return Object.assign({},e,t)}))}),[]);return[a,c]}var S,C="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,T=new Map,P=function(t){C((function(){var e=t.current?t.current.ownerDocument:document;if(void 0!==e&&!T.has(e)){var r=e.createElement("style");r.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',T.set(e,r);var i=S||n.nc;i&&r.setAttribute("nonce",i),e.head.appendChild(r)}}),[])},j=function(t){var e=t.className,n=t.colorModel,s=t.color,u=void 0===s?n.defaultColor:s,l=t.onChange,c=a(t,["className","colorModel","color","onChange"]),f=Object(r.useRef)(null);P(f);var d=M(n,u,l),h=d[0],m=d[1],v=p(["react-colorful",e]);return i.a.createElement("div",o({},c,{ref:f,className:v}),i.a.createElement(O,{hsva:h,onChange:m}),i.a.createElement(k,{hue:h.h,onChange:m,className:"react-colorful__last-control"}))},N={defaultColor:"000",toHsva:function(t){return x(g(t))},fromHsva:function(t){return n=(e=_(t)).g,r=e.b,"#"+w(e.r)+w(n)+w(r);var e,n,r},equal:function(t,e){return t.toLowerCase()===e.toLowerCase()||E(g(t),g(e))}},D=function(t){return i.a.createElement(j,o({},t,{colorModel:N}))}},,,,function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(108),i=n(123),o=n(63),a=n(109);function s(t){return Object(r.a)(t)||Object(i.a)(t)||Object(o.a)(t)||Object(a.a)()}},function(t,e,n){"use strict";function r(t){return function(e){var n=e.dispatch,r=e.getState;return function(e){return function(i){return"function"===typeof i?i(n,r,t):e(i)}}}}var i=r();i.withExtraArgument=r,e.a=i},function(t,e,n){"use strict";e.a="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAABSCAMAAAAhFXfZAAAC91BMVEVMaXEzeak2f7I4g7g3g7cua5gzeKg8hJo3grY4g7c3grU0gLI2frE0daAubJc2gbQwd6QzeKk2gLMtd5sxdKIua5g1frA2f7IydaM0e6w2fq41fK01eqo3grgubJgta5cxdKI1f7AydaQydaMxc6EubJgvbJkwcZ4ubZkwcJwubZgubJcydqUydKIxapgubJctbJcubZcubJcvbJYubJcvbZkubJctbJctbZcubJg2f7AubJcrbZcubJcubJcua5g3grY0fq8ubJcubJdEkdEwhsw6i88vhswuhcsuhMtBjMgthMsrg8srgss6is8qgcs8i9A9iMYtg8spgcoogMo7hcMngMonf8olfso4gr8kfck5iM8jfMk4iM8he8k1fro7itAgesk2hs8eecgzfLcofssdeMg0hc4cd8g2hcsxeLQbdsgZdcgxeLImfcszhM0vda4xgckzhM4xg84wf8Yxgs4udKsvfcQucqhUndROmdM1fK0wcZ8vb5w0eqpQm9MzeKhXoNVcpdYydKNWn9VZotVKltJFjsIwcJ1Rms9OlslLmtH///8+kc9epdYzd6dbo9VHkMM2f7FHmNBClM8ydqVcpNY9hro3gLM9hLczealQmcw3fa46f7A8gLMxc6I3eagyc6FIldJMl9JSnNRSntNNl9JPnNJFi75UnM9ZodVKksg8kM45jc09e6ZHltFBk883gbRBh7pDk9EwcaBzn784g7dKkcY2i81Om9M7j85Llc81is09g7Q4grY/j9A0eqxKmdFFltBEjcXf6fFImdBCiLxJl9FGlNFBi78yiMxVndEvbpo6js74+vx+psPP3+o/ks5HkcpGmNCjwdZCkNDM3ehYoNJEls+lxNkxh8xHks0+jdC1zd5Lg6r+/v/H2ufz9/o3jM3t8/edvdM/k89Th61OiLBSjbZklbaTt9BfptdjmL1AicBHj8hGk9FAgK1dkLNTjLRekrdClc/k7fM0icy0y9tgp9c4jc2NtM9Dlc8zicxeXZn3AAAAQ3RSTlMAHDdTb4yPA+LtnEQmC4L2EmHqB7XA0d0sr478x4/Yd5i1zOfyPkf1sLVq4Nh3FvjxopQ2/STNuFzUwFIwxKaejILpIBEV9wAABhVJREFUeF6s1NdyFEcYBeBeoQIhRAkLlRDGrhIgY3BJL8CVeKzuyXFzzjkn5ZxzzuScg3PO8cKzu70JkO0LfxdTU//pM9vTu7Xgf6KqOVTb9X7toRrVEfBf1HTVjZccrT/2by1VV928Yty9ZbVuucdz90frG8DBjl9pVApbOstvmMuvVgaNXSfAAd6pGxpy6yxf5ph43pS/4f3uoaGm2rdu72S9xzOvMymkZFq/ptDrk90mhW7e4zl7HLzhxGWPR20xmSxJ/VqldG5m9XhaVOA1DadsNh3Pu5L2N6QtPO/32JpqQBVVk20oy/Pi2s23WEvyfHbe1thadVQttvm7Llf65gGmXK67XtupyoM7HQhmXdLS8oGWJNeOJ3C5fG5XCEJnkez3/oFdsvgJ4l2ANZwhrJKk/7OSXa+3Vw2WJMlKnGkobouYk6T0TyX30klOUnTD9HJ5qpckL3EW/w4XF3Xd0FGywXUrstrclVsqz5Pd/sXFYyDnPdrLcQODmGOK47IZb4CmibmMn+MYRzFZ5jg33ZL/EJrWcszHmANy3ARBK/IXtciJy8VsitPSdE3uuHxzougojcUdr8/32atnz/ev3f/K5wtpxUTpcaI45zusVDpYtZi+jg0oU9b3x74h7+n9ABvYEZeKaVq0sh0AtLKsFtqNBdeT0MrSzwwlq9+x6xAO4tgOtSzbCjrNQQiNvQUbUEubvzBUeGw26yDCsRHCoLkTHDa7IdOLIThs/gHvChszh2CimE8peRs47cxANI0lYNB5y1DljpOF0IhzBDPOZnDOqYYbeGKECbPzWnXludPphw5c2YBq5zlwXphIbO4VDCZ0gnPfUO1TwZoYwAs2ExPCedAu9DAjfQUjzITQb3jNj0KG2Sgt6BHaQUdYzWz+XmBktOHwanXjaSTcwwziBcuMOtwBmqPrTOxFQR/DRKKPqyur0aiW6cULYsx6tBm0jXpR/AUWR6HRq9WVW6MRhIq5jLyjbaCTDCijyYJNpCajdyobP/eTw0iexBAKkJ3gA5KcQb2zBXsIBckn+xVv8jkZSaEFHE+jFEleAEfayRU0MouNoBmB/L50Ai/HSLIHxcrpCvnhSQAuakKp2C/YbCylJjXRVy/z3+Kv/RrNcCo+WUzlVEhzKffnTQnxeN9fWF88fiNCUdSTsaufaChKWInHeysygfpIqagoakW+vV20J8uyl6TyNKEZWV4oRSPyCkWpgOLSbkCObT8o2r6tlG58HQquf6O0v50tB7JM7F4EORd2dx/K0w/KHsVkLPaoYrwgP/y7krr3SSMA4zj+OBgmjYkxcdIJQyQRKgg2viX9Hddi9UBb29LrKR7CVVEEEXWojUkXNyfTNDE14W9gbHJNuhjDettN3ZvbOvdOqCD3Jp/9l+/wJE+9PkYGjx/fqkys3S2rMozM/o2106rfMUINo6hVqz+eu/hd1c4xTg0TAfy5kV+4UG6+IthHTU9woWmxuKNbTfuCSfovBCxq7EtHqvYL4Sm6F8GVxsSXHMQ07TOi1DKtZxjWaaIyi4CXWjxPccUw8WVbMYY5wxC1mzEyXMJWkllpRloi+Kkoq69sxBTlElF6aAxYUbjXNlhlDZilDnM4U5SlN5biRsRHnbx3mbeWjEh4mEyiuJDl5XcWVmX5GvNkFgLWZM5qwsop4/AWfLhU1cR7k1VVvcYCWRkOI6Xy5gmnphCYIkvzuNYzHzosq2oNk2RtSs8khfUOfHIDgR6ysYBaMpl4uEgk2U/oJTs9AaTSwma7dT69geAE2ZpEjUsn2ieJNHeKfrI3EcAGJ2ZaNgVuC8EBctCLc57P5u5led6IOBkIYkuQMrmmjChs4VkfOerHqSBkPzZlhe06RslZ3zMjk2sscqKwY0RcjKK+LWbzd7KiHhkncs/siFJ+V5eXxD34B8nVuJEpGJNmxN2gH3vSvp7J70tF+D1Ej8qUJD1TkErAND2GZwTFg/LubvmgiBG3SOvdlsqFQrkEzJCL1rstlnVFROixZoDDSuXQFHESwVGlcuQcMb/b42NgjLowh5MTDFE3vNB5qStRIErdCQEh6pLPR92anSUb/wAIhldAaDMpGgAAAABJRU5ErkJggg=="},function(t,e,n){"use strict";e.a="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII="},function(t,e,n){"use strict";e.a="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAApCAQAAAACach9AAACMUlEQVR4Ae3ShY7jQBAE0Aoz/f9/HTMzhg1zrdKUrJbdx+Kd2nD8VNudfsL/Th///dyQN2TH6f3y/BGpC379rV+S+qqetBOxImNQXL8JCAr2V4iMQXHGNJxeCfZXhSRBcQMfvkOWUdtfzlLgAENmZDcmo2TVmt8OSM2eXxBp3DjHSMFutqS7SbmemzBiR+xpKCNUIRkdkkYxhAkyGoBvyQFEJEefwSmmvBfJuJ6aKqKWnAkvGZOaZXTUgFqYULWNSHUckZuR1HIIimUExutRxwzOLROIG4vKmCKQt364mIlhSyzAf1m9lHZHJZrlAOMMztRRiKimp/rpdJDc9Awry5xTZCte7FHtuS8wJgeYGrex28xNTd086Dik7vUMscQOa8y4DoGtCCSkAKlNwpgNtphjrC6MIHUkR6YWxxs6Sc5xqn222mmCRFzIt8lEdKx+ikCtg91qS2WpwVfBelJCiQJwvzixfI9cxZQWgiSJelKnwBElKYtDOb2MFbhmUigbReQBV0Cg4+qMXSxXSyGUn4UbF8l+7qdSGnTC0XLCmahIgUHLhLOhpVCtw4CzYXvLQWQbJNmxoCsOKAxSgBJno75avolkRw8iIAFcsdc02e9iyCd8tHwmeSSoKTowIgvscSGZUOA7PuCN5b2BX9mQM7S0wYhMNU74zgsPBj3HU7wguAfnxxjFQGBE6pwN+GjME9zHY7zGp8wVxMShYX9NXvEWD3HbwJf4giO4CFIQxXScH1/TM+04kkBiAAAAAElFTkSuQmCC"},function(t,e,n){"use strict";var r=n(17),i=n(91);var o=n(69),a=n(51),s=n(65),u=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=s.a.init,t.prototype["@@transducer/result"]=s.a.result,t.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.xf["@@transducer/step"](t,e):t},t}(),l=Object(r.a)((function(t,e){return new u(t,e)})),c=n(53),f=Object(r.a)(Object(i.a)(["filter"],l,(function(t,e){return Object(o.a)(e)?Object(a.a)((function(n,r){return t(e[r])&&(n[r]=e[r]),n}),{},Object(c.a)(e)):function(t,e){for(var n=0,r=e.length,i=[];n27&&s.setDate(30),s.setMonth(s.getMonth()-c*f);var d=Object(o.a)(s,u)===-c;l(Object(r.default)(t))&&1===f&&1===Object(o.a)(t,u)&&(d=!1),n=c*(f-Number(d))}return 0===n?0:n}},function(t,e,n){"use strict";n.d(e,"a",(function(){return v})),n.d(e,"b",(function(){return g})),n.d(e,"c",(function(){return y}));var r=n(6),i=n(2),o=n.n(i),a=n(42),s=n(54);function u(t){function e(e,n){var r=t(e).current,a=r.instance,u=r.context;return Object(i.useImperativeHandle)(n,(function(){return a})),null==e.children?null:o.a.createElement(s.b,{value:u},e.children)}return Object(i.forwardRef)(e)}function l(t){function e(e,n){var r=t(e).current.instance;return Object(i.useImperativeHandle)(n,(function(){return r})),null}return Object(i.forwardRef)(e)}function c(t,e){return null==e?function(e,n){return Object(i.useRef)(t(e,n))}:function(n,r){var o=Object(i.useRef)(t(n,r)),a=Object(i.useRef)(n),s=o.current.instance;return Object(i.useEffect)((function(){a.current!==n&&(e(s,n,a.current),a.current=n)}),[s,n,r]),o}}function f(t,e){var n=Object(i.useRef)(e);Object(i.useEffect)((function(){e!==n.current&&null!=t.attributionControl&&(null!=n.current&&t.attributionControl.removeAttribution(n.current),null!=e&&t.attributionControl.addAttribution(e)),n.current=e}),[t,e])}function d(t,e){var n=Object(i.useRef)();Object(i.useEffect)((function(){return null!=e&&t.instance.on(e),n.current=e,function(){null!=n.current&&t.instance.off(n.current),n.current=null}}),[t,e])}var h=n(86);function p(t,e){Object(i.useEffect)((function(){var n;return(null!==(n=e.layerContainer)&&void 0!==n?n:e.map).addLayer(t.instance),function(){var n;null==(n=e.layerContainer)||n.removeLayer(t.instance),e.map.removeLayer(t.instance)}}),[e,t])}function m(t){return function(e){var n=Object(s.c)(),r=t(Object(h.a)(e,n),n);return f(n.map,e.attribution),d(r.current,e.eventHandlers),p(r.current,n),r}}function v(t,e){return u(m(c(t,e)))}function g(t,e){return function(t){function e(e,n){var o=Object(i.useState)(!1),s=Object(r.a)(o,2),u=s[0],l=s[1],c=t(e,l).current.instance;Object(i.useImperativeHandle)(n,(function(){return c})),Object(i.useEffect)((function(){u&&c.update()}),[c,u,e.children]);var f=c._contentNode;return f?Object(a.createPortal)(e.children,f):null}return Object(i.forwardRef)(e)}(function(t,e){return function(n,r){var i=Object(s.c)(),o=t(Object(h.a)(n,i),i);return f(i.map,n.attribution),d(o.current,n.eventHandlers),e(o.current,i,n,r),o}}(c(t),e))}function y(t,e){return l(m(c(t,e)))}},function(t,e,n){"use strict";var r=n(20),i=n(111),o=n(57),a=n(69),s=n(64),u=Object(r.a)((function(t){return null!=t&&"function"===typeof t["fantasy-land/empty"]?t["fantasy-land/empty"]():null!=t&&null!=t.constructor&&"function"===typeof t.constructor["fantasy-land/empty"]?t.constructor["fantasy-land/empty"]():null!=t&&"function"===typeof t.empty?t.empty():null!=t&&null!=t.constructor&&"function"===typeof t.constructor.empty?t.constructor.empty():Object(o.a)(t)?[]:Object(s.a)(t)?"":Object(a.a)(t)?{}:Object(i.a)(t)?function(){return arguments}():void 0})),l=n(88),c=Object(r.a)((function(t){return null!=t&&Object(l.a)(t,u(t))}));e.a=c},,,,function(t,e,n){"use strict";var r=n(2),i=n(134),o=n(220);function a(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n